Independent scholarship · Open accessThe monthly digest

Indexed text attachment

topos-actions-in-machine-learning-and-ai.tex

Source for Topos Actions in Machine Learning and Artificial Intelligence

View paper · Download original file

Lines 347–446 of 1207. Source text is displayed literally.

347transports on a graph.348 349\subsection{From sheaf Laplacians to learned incidence maps}350 351Hansen and Ghrist develop the spectral theory of cellular352sheaves, including Hodge Laplacians and their relation to353sheaf cohomology \cite{hansen-ghrist-sheaves}. Hansen and354Gebhart use the sheaf Laplacian in graph neural layers355\cite{hansen-gebhart-snn}. Bodnar et al.\ learn the356incidence maps from data, study how sheaf geometry changes357diffusion and oversmoothing, and compare their models on358graphs where adjacent vertices can have different labels \cite{bodnar-nsd}. An earlier direction359in graph learning uses edge-conditioned filters360\cite{simonovsky-ecc}. Edge attributes there determine361message weights. In a sheaf layer, maps from the two362endpoints into a common stalk determine which local363features agree and how disagreement contributes to the364diffusion.365 366For a finite loopless graph $\Gamma$, write $V_v$ for a vertex367stalk and $V_e$ for an edge stalk, with maps368$r_{ev}:V_v\to V_e$ at each incidence. Give the finite369dimensional stalks inner products and orient each edge370$e:u\to v$ for purposes of signs. Set371\[372  (\delta x)_e=r_{ev}x_v-r_{eu}x_u,\qquad373  L=\delta^*\delta .374\]375The Laplacian satisfies376$\langle x,Lx\rangle=\|\delta x\|^2$.377Thus $\ker L=\ker\delta$ is the vector space of global378sections, and $e^{-tL}$ converges to orthogonal projection379onto that space as $t\to\infty$. This last statement is380for the fixed unnormalized operator on a finite graph.381It follows by diagonalizing the positive semidefinite382operator and does not describe an arbitrary learned383nonlinear diffusion trajectory.384 385Suppose each incidence map is invertible. Then the edge386transport from $u$ to $v$ is387$T_e=r_{ev}^{-1}r_{eu}$, and the reverse edge transports388by $T_e^{-1}$. These maps extend to a representation of389the fundamental groupoid of the graph, regarded as a390one-dimensional complex. Indeed, the incidence category has391the vertices and edges as objects and arrows from a vertex to392its incident edges. Localizing by those arrows gives the393fundamental groupoid of the barycentric subdivision. By the394universal property of localization, precisely the diagrams with395invertible incidence maps extend. Restricting to the original396vertices gives the edge transports $T_e$. Global sections correspond to397parallel families $x_v=T_e x_u$. On each connected398component choose a base vertex $b$. Transport of $x_b$399determines the whole family, and it is independent of400the chosen paths precisely when $x_b$ is fixed by every401based loop transport. Hence the global sections on a402connected graph identify with the holonomy-invariant403subspace of $V_b$. The assertion concerns graph paths.404If two-cells are added and their boundary loops are405imposed as relations, their transports must satisfy the406additional flatness conditions.407 408A rank-one example is a triangle with two positive unit409transports and one negative unit transport. The product410around the cycle is $-1$, so the only real global section411is zero. By comparison, using three positive unit412transports gives the line of constant sections. The413underlying incidence graph is unchanged. This separates414the effect of the transport from that of connectivity.415When the incidence maps are isometries, each residual416has norm $\|x_v-T_e x_u\|$. In that case the operator is417a discrete connection Laplacian in the sense relevant418to vector diffusion maps \cite{singer-wu-vdm}. For orthogonal419changes of stalk coordinates, let $Q_0$ and $Q_1$ be the block420diagonal changes at vertices and edges, respectively. The new421incidence matrices are $r'_{ev}=Q_e r_{ev}Q_v^{-1}$, giving422$\delta'=Q_1\delta Q_0^{-1}$ and $L'=Q_0 L Q_0^{-1}$.423Thus the fixed diffusion is compatible with these changes of424frames even when the incidence maps are noninvertible.425 426The same argument constrains learnable linear parameters.427For two representations $V,W$ of the graph path428groupoid, a family of local linear maps429$A_v:V_v\to W_v$ is compatible with transport exactly430when431\[432  A_v T_e^V = T_e^W A_u,\qquad e:u\to v .433\]434Equivalently, $A$ is a parallel section of the bundle of435linear maps, with transport436$A\mapsto T_e^W A(T_e^V)^{-1}$. On a connected graph437its parameter space is therefore the space of438intertwiners of the two holonomy representations at439one vertex. For sign and trivial line holonomies440around the same cycle, a scalar parameter is forced441to vanish. For two copies of sign holonomy, any scalar442at the chosen vertex extends. Weight tying here is443dictated by representation type as well as by444the connectivity of the data. The invertibility445hypothesis matters: ordinary cellular sheaves also446permit noninvertible incidence maps and unequal stalk