Geometric Domains: the 5 Gs
local graph
Chapter 4 — Geometric Domains: the 5 Gs
Section titled “Chapter 4 — Geometric Domains: the 5 Gs”Re-transcribed on 2026-10-09 from the authors’ LaTeX source (arXiv 2104.13478v2). Margin notes are shown as quotations after the paragraph they annotate; figures are the scan crops already in the corpus where one exists.
The main focus of our text will be on graphs, grids, groups, geodesics, and gauges. In this context, by ‘groups’ we mean global symmetry transformations in homogeneous space, by ‘geodesics’ metric structures on manifolds, and by ‘gauges’ local reference frames defined on tangent bundles (and vector bundles in general). These notions will be explained in more detail later. In the next sections, we will discuss in detail the main elements in common and the key distinguishing features between these structures and describe the symmetry groups associated with them. Our exposition is not in the order of generality – in fact, grids are particular cases of graphs – but a way to highlight important concepts underlying our Geometric Deep Learning blueprint.
![]()
Figure 9: The 5G of Geometric Deep Learning: grids, groups & homogeneous spaces with global symmetry, graphs, geodesics & metrics on manifolds, and gauges (frames for tangent or feature spaces).
4.1 Graphs and Sets
Section titled “4.1 Graphs and Sets”In multiple branches of science, from sociology to particle physics, graphs are used as models of systems of relations and interactions. From our perspective, graphs give rise to a very basic type of invariance modelled by the group of permutations. Furthermore, other objects of interest to us, such as grids and sets, can be obtained as a particular case of graphs.
A graph is a collection of nodes and edges between pairs of nodes. For the purpose of the following discussion, we will further assume the nodes to be endowed with -dimensional node features, denoted by for all . Social networks are perhaps among the most commonly studied examples of graphs, where nodes represent users, edges correspond to friendship relations between them, and node features model user properties such as age, profile picture, etc. It is also often possible to endow the edges, or entire graphs, with features; but as this does not alter the main findings of this section, we will defer discussing it to future work.
(Figure not in the corpus:
mn_isomorphic.png.) Isomorphism is an edge-preserving bijection between two graphs. Two isomorphic graphs shown here are identical up to reordering of their nodes.
Depending on the application field, nodes may also be called vertices, and edges are often referred to as links or relations. We will use these terms interchangeably.
The key structural property of graphs is that the nodes in are usually not assumed to be provided in any particular order, and thus any operations performed on graphs should not depend on the ordering of nodes. The desirable property that functions acting on graphs should satisfy is thus permutation invariance, and it implies that for any two isomorphic graphs, the outcomes of these functions are identical. We can see this as a particular setting of our blueprint, where the domain and the space is that of -dimensional node-wise signals. The symmetry we consider is given by the permutation group , whose elements are all the possible orderings of the set of node indices .
Let us first illustrate the concept of permutation invariance on sets, a special case of graphs without edges (i.e., ). By stacking the node features as rows of the matrix , we do effectively specify an ordering of the nodes. The action of the permutation on the set of nodes amounts to the reordering of the rows of , which can be represented as an permutation matrix , where each row and column contains exactly one and all the other entries are zeros.
There are exactly such permutations, so is, even for modest , a very large group.
A function operating on this set is then said to be permutation invariant if, for any such permutation matrix , it holds that . One simple such function is
where the function is independently applied to every node’s features, and is applied on its sum-aggregated outputs: as sum is independent of the order in which its inputs are provided, such a function is invariant with respect to the permutation of the node set, and is hence guaranteed to always return the same output, no matter how the nodes are permuted.
Functions like the above provide a ‘global’ graph-wise output, but very often, we will be interested in functions that act ‘locally’, in a node-wise manner. For example, we may want to apply some function to update the features in every node, obtaining the set of latent node features. If we stack these latent features into a matrix is no longer permutation invariant: the order of the rows of should be tied to the order of the rows of , so that we know which output node feature corresponds to which input node. We need instead a more fine-grained notion of permutation equivariance, stating that, once we “commit” to a permutation of inputs, it consistently permutes the resulting objects. Formally, is a permutation equivariant function if, for any permutation matrix , it holds that . A shared node-wise linear transform
We use the bold notation for our function to emphasise it outputs node-wise vector features and is hence a matrix-valued function.
specified by a weight matrix , is one possible construction of such a permutation equivariant function, producing in our example latent features of the form .
This construction arises naturally from our Geometric Deep Learning blueprint. We can first attempt to characterise linear equivariants (functions of the form ), for which it is easy to verify that any such map can be written as a linear combination of two generators, the identity and the average . As will be described in Section 5.4, the popular Deep Sets (Zaheer et al., 2017) architecture follows precisely this blueprint.
We can now generalise the notions of permutation invariance and equivariance from sets to graphs. In the generic setting , the graph connectivity can be represented by the adjacency matrix , defined as
When the graph is undirected, i.e. iff , the adjacency matrix is symmetric, .
Note that now the adjacency and feature matrices and are “synchronised”, in the sense that specifies the adjacency information between the nodes described by the th and th rows of . Therefore, applying a permutation matrix to the node features automatically implies applying it to ‘s rows and columns, . We say that (a graph-wise function) is permutation invariant if
is the representation of acting on matrices.
and (a node-wise function) is permutation equivariant if
As a way to emphasise the fact that our functions operating over graphs now need to take into account the adjacency information, we use the notation .
for any permutation matrix .
Here again, we can first characterise linear equivariant functions. As observed by Maron et al. (2018), any linear satisfying equation (11) can be expressed as a linear combination of fifteen linear generators; remarkably, this family of generators is independent of . Amongst these generators, our blueprint specifically advocates for those that are also local, i.e., whereby the output on node directly depends on its neighbouring nodes in the graph. We can formalise this constraint explicitly in our model construction, by defining what it means for a node to be neighbouring another.
This corresponds to the Bell number , which counts the number of ways to partition a set of elements, in this case given by the 4-indices indexing a linear map acting on the adjacency matrix.
A (undirected) neighbourhood of node , sometimes also called 1-hop, is defined as
Often, the node itself is included in its own neighbourhood.
and the neighbourhood features as the multiset
Operating on 1-hop neighbourhoods aligns well with the locality aspect of our blueprint: namely, defining our metric over graphs as the shortest path distance between nodes using edges in .
A multiset, denoted , is a set where the same element can appear more than once. This is the case here because the features of different nodes can be equal.
The GDL blueprint thus yields a general recipe for constructing permutation equivariant functions on graphs, by specifying a local function that operates over the features of a node and its neighbourhood, . Then, a permutation equivariant function can be constructed by applying to every node’s neighbourhood in isolation (see Figure 10):
As is constructed by applying a shared function to each node locally, its permutation equivariance rests on ‘s output being independent on the ordering of the nodes in . Thus, if is built to be permutation invariant, then this property is satisfied. As we will see in future work, the choice of plays a crucial role in the expressive power of such a scheme. When is injective, it is equivalent to one step of the Weisfeiler-Lehman graph isomorphism test, a classical algorithm in graph theory providing a necessary condition for two graphs to be isomorphic by an iterative color refinement procedure.
Figure 10: An illustration of constructing permutation-equivariant functions over graphs, by applying a permutation-invariant function to every neighbourhood. In this case, is applied to the features of node as well as the multiset of its neighbourhood features, . Applying in this manner to every node’s neighbourhood recovers the rows of the resulting matrix of latents features . (Figure not in the corpus:
GC_GDL.pdf.)
It is also worth noticing that the difference between functions defined on sets and more general graphs in this example is that in the latter case we need to explicitly account for the structure of the domain. As a consequence, graphs stand apart in the sense that the domain becomes part of the input in machine learning problems, whereas when dealing with sets and grids (both particular cases of graphs) we can specify only the features and assume the domain to be fixed. This distinction will be a recurring motif in our discussion. As a result, the notion of geometric stability (invariance to domain deformation) is crucial in most problems of learning on graphs. It straightforwardly follows from our construction that permutation invariant and equivariant functions produce identical outputs on isomorphic (topologically-equivalent) graphs. These results can be generalised to approximately isomorphic graphs, and several results on stability under graph perturbations exist (Levie et al., 2018). We will return to this important point in our discussion on manifolds, which we will use as an vehicle to study such invariance in further detail.
Second, due to their additional structure, graphs and grids, unlike sets, can be coarsened in a non-trivial way, giving rise to a variety of pooling operations.
More precisely, we cannot define a non-trivial coarsening assuming set structure alone. There exist established approaches that infer topological structure from unordered sets, and those can admit non-trivial coarsening.
4.2 Grids and Euclidean spaces
Section titled “4.2 Grids and Euclidean spaces”The second type of objects we consider are grids. It is fair to say that the impact of deep learning was particularly dramatic in computer vision, natural language processing, and speech recognition. These applications all share a geometric common denominator: an underlying grid structure. As already mentioned, grids are a particular case of graphs with special adjacency. However, since the order of nodes in a grid is fixed, machine learning models for signals defined on grids are no longer required to account for permutation invariance, and have a stronger geometric prior: translation invariance.
Circulant matrices and Convolutions. Let us dwell on this point in more detail. Assuming for simplicity periodic boundary conditions, we can think of a one-dimensional grid as a ring graph with nodes indexed by modulo (which we will omit for notation brevity) and the adjacency matrix with elements and zero otherwise. There are two main differences from the general graph case we have discussed before. First, each node has identical connectivity, to its neighbours and , and thus structure-wise indistinguishable from the others.
Second and more importantly, since the nodes of the grid have a fixed ordering, we also have a fixed ordering of the neighbours: we can call the ‘left neighbour’ and the ‘right neighbour’. If we use our previous recipe for designing a equivariant function using a local aggregation function , we now have at every node of the grid: does not need to be permutation invariant anymore. For a particular choice of a linear transformation , we can write as a matrix product,
Note this very special multi-diagonal structure with one element repeated along each diagonal, sometimes referred to as “weight sharing” in the machine learning literature.
As we will see later, this makes the grid a homogeneous space.
(Figure not in the corpus:
grid.png.)
More generally, given a vector , a circulant matrix is obtained by appending circularly shifted versions of the vector . Circulant matrices are synonymous with discrete convolutions,
as one has . A particular choice of yields a special circulant matrix that shifts vectors to the right by one position. This matrix is called the (right) shift or translation operator and denoted by .
The left shift operator is given by . Obviously, shifting left and then right (or vice versa) does not do anything, which means is orthogonal: .
Because of the periodic boundary conditions, it is a circular or cyclic convolution. In signal processing, is often referred to as the “filter,” and in CNNs, its coefficients are learnable.
Circulant matrices can be characterised by their commutativity property: the product of circulant matrices is commutative, i.e. for any and . Since the shift is a circulant matrix, we get the familiar translation or shift equivariance of the convolution operator,
Such commutativity property should not be surprising, since the underlying symmetry group (the translation group) is Abelian. Moreover, the opposite direction appears to be true as well, i.e. a matrix is circulant iff it commutes with shift. This, in turn, allows us to define convolution as a translation equivariant linear operation, and is a nice illustration of the power of geometric priors and the overall philosophy of Geometric ML: convolution emerges from the first principle of translational symmetry.
Note that unlike the situation on sets and graphs, the number of linearly independent shift-equivariant functions (convolutions) grows with the size of the domain (since we have one degree of freedom in each diagonal of a circulant matrix). However, the scale separation prior guarantees filters can be local, resulting in the same -parameter complexity per layer, as we will verify in Section 5.1 when discussing the use of these principles in the implementation of Convolutional Neural Network architectures.
Derivation of the discrete Fourier transform. We have already mentioned the Fourier transform and its connection to convolution: the fact that the Fourier transform diagonalises the convolution operation is an important property used in signal processing to perform convolution in the frequency domain as an element-wise product of the Fourier transforms. However, textbooks usually only state this fact, rarely explaining where the Fourier transform comes from and what is so special about the Fourier basis. Here we can show it, demonstrating once more how foundational are the basic principles of symmetry.
For this purpose, recall a fact from linear algebra that (diagonalisable) matrices are joinly diagonalisable iff they mutually commute. In other words, there exists a common eigenbasis for all the circulant matrices, in which they differ only by their eigenvalues. We can therefore pick one circulant matrix and compute its eigenvectors—we are assured that these will be the eigenvectors of all other circulant matrices as well. It is convenient to pick the shift operator, for which the eigenvectors happen to be the discrete Fourier basis
which we can arrange into an Fourier matrix . Multiplication by gives the Discrete Fourier Transform (DFT), and by the inverse DFT,
Note that the eigenvectors are complex, so we need to take complex conjugation when transposing .
is orthogonal but non-symmetric, hence, its eigenvectors are orthogonal but the eigenvalues are complex (roots of unity).
We must additionally assume distinct eigenvalues, otherwise there might be multiple possible diagonalisations. This assumption is satisfied with our choice of .
Since all circulant matrices are jointly diagonalisable, they are also diagonalised by the Fourier transform and differ only in their eigenvalues. Since the eigenvalues of the circulant matrix are the Fourier transform of the filter (see e.g. Bamieh (2018)), , we obtain the Convolution Theorem:
Since the Fourier transform is an orthogonal matrix (), geometrically it acts as a change of the system of coordinates that amounts to an -dimensional rotation. In this system of coordinates (“Fourier domain”), the action of a circulant matrix becomes element-wise product.
Because the Fourier matrix has a special algebraic structure, the products and can be computed with complexity using a Fast Fourier Transform (FFT) algorithm. This is one of the reasons why frequency-domain filtering is so popular in signal processing; furthermore, the filter is typically designed directly in the frequency domain, so the Fourier transform is never explicitly computed.
Besides the didactic value of the derivation of the Fourier transform and convolution we have done here, it provides a scheme to generalise these concepts to graphs. Realising that the adjacency matrix of the ring graph is exactly the shift operator, one can can develop the graph Fourier transform and an analogy of the convolution operator by computing the eigenvectors of the adjacency matrix (see e.g. Sandryhaila and Moura (2013)). Early attempts to develop graph neural networks by analogy to CNNs, sometimes termed ‘spectral GNNs’, exploited this exact blueprint. We will see in Sections 4.4–4.6 that this analogy has some important limitations. The first limitation comes from the fact that a grid is fixed, and hence all signals on it can be represented in the same Fourier basis. In contrast, on general graphs, the Fourier basis depends on the structure of the graph. Hence, we cannot directly compare Fourier transforms on two different graphs — a problem that translated into a lack of generalisation in machine learning problems. Secondly, multi-dimensional grids, which are constructed as tensor products of one-dimensional grids, retain the underlying structure: the Fourier basis elements and the corresponding frequencies (eigenvalues) can be organised in multiple dimensions. In images, for example, we can naturally talk about horizontal and vertical frequency and filters have a notion of direction. On graphs, the structure of the Fourier domain is one-dimensional, as we can only organise the Fourier basis functions by the magnitude of the corresponding frequencies. As a result, graph filters are oblivious of direction or isotropic.
In graph signal processing, the eigenvectors of the graph Laplacian are often used as an alternative of the adjacency matrix to construct the graph Fourier transform, see Shuman et al. (2013). On grids, both matrices have joint eigenvectors, but on graphs they results in somewhat different though related constructions.
Derivation of the continuous Fourier transform. For the sake of completeness, and as a segway for the next discussion, we repeat our analysis in the continuous setting. Like in Section 3.4, consider functions defined on and the translation operator shifting by some position . Applying to the Fourier basis functions yields, by associativity of the exponent,
i.e., is the complex eigenvector of with the complex eigenvalue – exactly mirroring the situation we had in the discrete setting. Since is a unitary operator (i.e., for any and ), any eigenvalue must satisfy , which corresponds precisely to the eigenvalues found above. Moreover, the spectrum of the translation operator is simple, meaning that two functions sharing the same eigenvalue must necessarily be collinear. Indeed, suppose that for some . Taking the Fourier transform in both sides, we obtain
which implies that for , thus .
For a general linear operator that is translation equivariant (), we have
implying that is also an eigenfunction of with eigenvalue , from where it follows from the simplicity of spectrum that ; in other words, the Fourier basis is the eigenbasis of all translation equivariant operators. As a result, is diagonal in the Fourier domain and can be expressed as , where is a transfer function acting on different frequencies . Finally, for an arbitrary function , by linearity,
Eigenfunction is synonymous with ‘eigenvector’ and is used when referring to eigenvectors of continuous operators.
where is the inverse Fourier transform of . It thus follows that every linear translation equivariant operator is a convolution.
The spectral characterisation of the translation group is a particular case of a more general result in Functional Analysis, the Stone’s Theorem, which derives an equivalent characterisation for any one-parameter unitary group.
4.3 Groups and Homogeneous spaces
Section titled “4.3 Groups and Homogeneous spaces”Our discussion of grids highlighted how shifts and convolutions are intimately connected: convolutions are linear shift-equivariant operations, and vice versa, any shift-equivariant linear operator is a convolution. Furthermore, shift operators can be jointly diagonalised by the Fourier transform. As it turns out, this is part of a far larger story: both convolution and the Fourier transform can be defined for any group of symmetries that we can sum or integrate over.
Technically, we need the group to be locally compact, so that there exists a left-invariant Haar measure. Integrating with respect to this measure, we can “shift” the integrand by any group element and obtain the same result, just as how we have
for functions .
Consider the Euclidean domain . We can understand the convolution as a pattern matching operation: we match shifted copies of a filter with an input signal . The value of the convolution at a point is the inner product of the signal with the filter shifted by ,
Note that in this case is both a point on the domain and also an element of the translation group, which we can identify with the domain itself, . We will now show how to generalise this construction, by simply replacing the translation group by another group acting on .
Note that what we define here is not convolution but cross-correlation, which is tacitly used in deep learning under the name ‘convolution’. We do it for consistency with the following discussion, since in our notation and .
Group convolution. As discussed in Section 3, the action of the group on the domain induces a representation of on the space of signals via . In the above example, is the translation group whose elements act by shifting the coordinates, , whereas is the shift operator acting on signals as . Finally, in order to apply a filter to the signal, we invoke our assumption of being a Hilbert space, with an inner product
where we assumed, for the sake of simplicity, scalar-valued signals, ; in general the inner product has the form of equation (2).
The integration is done w.r.t. an invariant measure on . In case is discrete, this means summing over .
Having thus defined how to transform signals and match them with filters, we can define the group convolution for signals on ,
Note that takes values on the elements of our group rather than points on the domain . Hence, the next layer, which takes as input, should act on signals defined on to the group , a point we will return to shortly.
Just like how the traditional Euclidean convolution is shift-equivariant, the more general group convolution is -equivariant. The key observation is that matching the signal with a -transformed filter is the same as matching the inverse transformed signal with the untransformed filter . Mathematically, this can be expressed as . With this insight, -equivariance of the group convolution (18) follows immediately from its definition and the defining property of group representations,
Let us look at some examples. The case of one-dimensional grid we have studied above is obtained with the choice and the cyclic shift group . The group elements in this case are cyclic shifts of indices, i.e., an element can be identified with some such that , whereas the inverse element is . Importantly, in this example the elements of the group (shifts) are also elements of the domain (indices). We thus can, with some abuse of notation, identify the two structures (i.e., ); our expression for the group convolution in this case
leads to the familiar convolution .
Actually here again, this is cross-correlation.
Spherical convolution. Now consider
the two-dimensional sphere with the group of rotations, the special orthogonal group . While chosen for pedagogical reason, this example is actually very practical and arises in numerous applications. In astrophysics, for example, observational data often naturally has spherical geometry. Furthermore, spherical symmetries are very important in applications in chemistry when modeling molecules and trying to predict their properties, e.g. for the purpose of virtual drug screening.

Cosmic microwave background radiation, captured by the Planck space observatory, is a signal on .
Representing a point on the sphere as a three-dimensional unit vector , the action of the group can be represented as a orthogonal matrix with . The spherical convolution can thus be written as the inner product between the signal and the rotated filter,

The action of group on . Note that three types of rotation are possible; the is a three-dimensional manifold.
The first thing to note is than now the group is not identical to the domain: the group is a Lie group that is in fact a three-dimensional manifold, whereas is a two-dimensional one. Consequently, in this case, unlike the previous example, the convolution is a function on rather than on .
This has important practical consequences: in our Geometric Deep Learning blueprint, we concatenate multiple equivariant maps (“layers” in deep learning jargon) by applying a subsequent operator to the output of the previous one. In the case of translations, we can apply multiple convolutions in sequence, since their outputs are all defined on the same domain . In the general setting, since is a function on rather than on , we cannot use exactly the same operation subsequently—it means that the next operation has to deal with signals on , i.e. . Our definition of group convolution allows this case: we take as domain acted on by itself via the group action defined by the composition operation of . This yields the representation acting on by . Just like before, the inner product is defined by integrating the point-wise product of the signal and the filter over the domain, which now equals . In our example of spherical convolution, a second layer of convolution would thus have the form
The representation of acting on functions defined on itself is called the regular representation of .
Since convolution involves inner product that in turn requires integrating over the domain , we can only use it on domains that are small (in the discrete case) or low-dimensional (in the continuous case). For instance, we can use convolutions on the plane (two dimensional) or special orthogonal group (three dimensional), or on the finite set of nodes of a graph (-dimensional), but we cannot in practice perform convolution on the group of permutations , which has elements. Likewise, integrating over higher-dimensional groups like the affine group (containing translations, rotations, shearing and scaling, for a total of dimensions) is not feasible in practice. Nevertheless, as we have seen in Section 5.3, we can still build equivariant convolutions for large groups by working with signals defined on low-dimensional spaces on which acts. Indeed, it is possible to show that any equivariant linear map between two domains can be written as a generalised convolution similar to the group convolution discussed here.
Second, we note that the Fourier transform we derived in the previous section from the shift-equivariance property of the convolution can also be extended to a more general case by projecting the signal onto the matrix elements of irreducible representations of the symmetry group. We will discuss this in future work. In the case of studied here, this gives rise to the spherical harmonics and Wigner D-functions, which find wide applications in quantum mechanics and chemistry.
Finally, we point to the assumption that has so far underpinned our discussion in this section: whether was a grid, plane, or the sphere, we could transform every point into any other point, intuitively meaning that all the points on the domain “look the same.” A domain with such property is called a homogeneous space, where for any there exists such that . In the next section we will try to relax this assumption.
The additional properties, and are tacitly assumed here.
4.4 Geodesics and Manifolds
Section titled “4.4 Geodesics and Manifolds”In our last example, the sphere was a manifold, albeit a special one with a global symmetry group due to its homogeneous structure. Unfortunately, this is not the case for the majority of manifolds, which typically do not have global symmetries. In this case, we cannot straightforwardly define an action of on the space of signals on and use it to ‘slide’ filters around in order to define a convolution as a direct generalisation of the classical construction. Nevertheless, manifolds do have two types of invariance that we will explore in this section: transformations preserving metric structure and local reference frame change.
As well as the group of rotations , by virtue of it being a Lie group.
While for many machine learning readers manifolds might appear as somewhat exotic objects, they are in fact very common in various scientific domains. In physics, manifolds play a central role as the model of our Universe — according to Einstein’s General Relativity Theory, gravity arises from the curvature of the space-time, modeled as a pseudo-Riemannian manifold. In more ‘prosaic’ fields such as computer graphics and vision, manifolds are a common mathematical model of 3D shapes. The broad spectrum of applications of such models ranges from virtual and augmented reality and special effects obtained by means of ‘motion capture’ to structural biology dealing with protein interactions that stick together (‘bind’ in chemical jargon) like pieces of 3D puzzle. The common denominator of these applications is the use of a manifold to represent the boundary surface of some 3D object.
The term ‘3D’ is somewhat misleading and refers to the embedding space. The shapes themselves are 2D manifolds (surfaces).
There are several reasons why such models are convenient. First, they offer a compact description of the 3D object, eliminating the need to allocate memory to ‘empty space’ as is required in grid-based representations. Second, they allow to ignore the internal structure of the object. This is a handy property for example in structural biology where the internal folding of a protein molecule is often irrelevant for interactions that happen on the molecular surface. Third and most importantly, one often needs to deal with deformable objects that undergo non-rigid deformations. Our own body is one such example, and many applications in computer graphics and vision, such as the aforementioned motion capture and virtual avatars, require deformation invariance. Such deformations can be modelled very well as transformations that preserve the intrinsic structure of a (Riemannian) manifold, namely the distances between points measured along the manifold, without regard to the way the manifold is embedded in the ambient space.

The human body is an example of a non-rigid object deforming in a nearly-isometric way.
We should emphasise that manifolds fall under the setting of varying domains in our Geometric Deep Learning blueprint, and in this sense are similar to graphs. We will highlight the importance of the notion of invariance to domain deformations – what we called ‘geometric stability’ in Section 3.3. Since differential geometry is perhaps less familiar to the machine learning audience, we will introduce the basic concepts required for our discussion and refer the reader to Penrose (2005) for their detailed exposition.
Riemannian manifolds.
Since the formal definition of a manifold is somewhat involved, we prefer to provide an intuitive picture at the expense of some precision. In this context, we can think of a (differentiable or smooth) manifold as a smooth multidimensional curved surface that is locally Euclidean, in the sense that any small neighbourhood around any point it can be deformed to a neighbourhood of ; in this case the manifold is said to be -dimensional. This allows us to locally approximate the manifold around point through the tangent space . The latter can be visualised by thinking of a prototypical two-dimensional manifold, the sphere, and attaching a plane to it at a point: with sufficient zoom, the spherical surface will seem planar (Figure 11). The collection of all tangent spaces is called the tangent bundle, denoted ; we will dwell on the concept of bundles in more detail in Section 4.5.
Formally, the tangent bundle is the disjoint union .
By ‘smooth’ we mean differentiable suffient number of times, which is tacitly assumed for convenience. ‘Deformed’ here means diffeomorphic, i.e., we can map between the two neighbourhoods using a smooth and invertible map with smooth inverse.
A tangent vector, which we denote by , can be thought of as a local displacement from point . In order to measure the lengths of tangent vectors and angles between them,
we need to equip the tangent space with additional structure, expressed as a positive-definite bilinear function depending smoothly on . Such a function is called a Riemannian metric, in honour of Bernhardt Riemann who introduced the concept in 1856, and can be thought of as an inner product on the tangent space, , which is an expression of the angle between any two tangent vectors . The metric also induces a norm allowing to locally measure lengths of vectors.
A bilinear function is said to be positive-definite if for any non-zero vector . If is expressed as a matrix , it means . The determinant provides a local volume element, which does not depend on the choice of the basis.
We must stress that tangent vectors are abstract geometric entities that exists in their own right and are coordinate-free. If we are to express a tangent vector numerically as an array of numbers, we can only represent it as a list of coordinates relative to some local basis . Similarly, the metric can be expressed as an matrix with elements in that basis. We will return to this point in Section 4.5.
Unfortunately, too often vectors are identified with their coordinates. To emphasise this important difference, we use to denote a tangent vector and to denote its coordinates.

Figure 11: Basic notions of Riemannian geometry illustrated on the example of the two-dimensional sphere , realised a subset (sub-manifold) of . The tangent space to the sphere is given as and is a 2D plane – hence this is a 2-dimensional manifold. The Riemannian metric is simply the Euclidean inner product restricted to the tangent plane, for any . The exponential map is given by , for . Geodesics are great arcs of length .
A manifold equipped with a metric is called a Riemannian manifold and properties that can be expressed entirely in terms of the metric are said to be intrinsic. This is a crucial notion for our discussion, as according to our template, we will be seeking to construct functions acting on signals defined on that are invariant to metric-preserving transformations called isometries that deform the manifold without affecting its local structure. If such functions can be expressed in terms of intrinsic quantities, they are automatically guaranteed to be isometry-invariant and thus unaffected by isometric deformations. These results can be further extended to dealing with approximate isometries; this is thus an instance of the geometric stability (domain deformation) discussed in our blueprint.

This result is known as the Embedding Theorem, due to Nash (1956). The art of origami is a manifestation of different isometric embeddings of the planar surface in (Figure: Shutterstock/300 librarians).
While, as we noted, the definition of a Riemannian manifold does not require a geometric realisation in any space, it turns out that any smooth Riemannian manifold can be realised as a subset of a Euclidean space of sufficiently high dimension (in which case it is said to be ‘embedded’ in that space) by using the structure of the Euclidean space to induce a Riemannian metric. Such an embedding is however not necessarily unique – as we will see, two different isometric realisations of a Riemannian metric are possible.
Scalar and Vector fields. Since we are interested in signals defined on , we need to provide the proper notion of scalar- and vector-valued functions on manifolds. A (smooth) scalar field is a function of the form . Scalar fields form a vector space that can be equipped with the inner product

Example of a scalar field.
where is the volume element induced by the Riemannian metric. A (smooth) tangent vector field is a function of the form assigning to each point a tangent vector in the respective tangent space, . Vector fields also form a vector space with the inner product defined through the Riemannian metric,

Example of a vector field. The fields are typically assumed to be of the same regularity class (smoothness) as the manifold itself.
Intrinsic gradient. Another way to think of (and actually define) vector fields is as a generalised notion of derivative. In classical calculus, one can locally linearise a (smooth) function through the differential , which provides the change of the value of the function at point as a result of an inifinitesimal displacement . However, in our case the naïve use of this definition is impossible, since expressions of the form “” are meaningless on manifolds due to the lack of a global vector space structure.
The solution is to use tangent vectors as a model of local infinitesimal displacement. Given a smooth scalar field , we can think of a (smooth) vector field as a linear map satisfying the properties of a derivation: for any constant (corresponding to the intuition that constant functions have vanishing derivatives), (linearity), and (product or Leibniz rule), for any smooth scalar fields . It can be shown that one can use these properties to define vector fields axiomatically. The differential can be viewed as an operator and interpreted as follows: the change of as the result of displacement at point is given by . It is thus an extension of the classical notion of directional derivative.
Importantly, this construction does not use the Riemannian metric whatsoever and can thus can be extended to a more general construction of bundles discussed in the Section 4.5.
Alternatively, at each point the differential can be regarded as a linear functional acting on tangent vectors . Linear functionals on a vector space are called dual vectors or covectors; if in addition we are given an inner product (Riemannian metric), a dual vector can always be represented as
The representation of the differential at point is a tangent vector called the (intrinsic) gradient of ; similarly to the gradient in classical calculus, it can be thought of as the direction of the steepest increase of . The gradient considered as an operator assigns at each point ; thus, the gradient of a scalar field is a vector field .
This is a consequence of the Riesz-Fréchet Representation Theorem, by which every dual vector can be expressed as an inner product with a vector.
Geodesics.
Now consider a smooth curve on the manifold with endpoints and . The derivative of the curve at point is a tangent vector called the velocity vector. Among all the curves connecting points and , we are interested in those of minimum length, i.e., we are seeking minimising the length functional
Such curves are called geodesics (from the Greek γεοδαισία, literally ‘division of Earth’) and they play important role in differential geometry. Crucially to our discussion, the way we defined geodesics is intrinsic, as they depend solely on the Riemannian metric (through the length functional).
It is tacitly assumed that curves are given in arclength parametrisation, such that (constant velocity).
Readers familiar with differential geometry might recall that geodesics are a more general concept and their definition in fact does not necessarily require a Riemannian metric but a connection (also called a covariant derivative, as it generalises the notion of derivative to vector and tensor fields), which is defined axiomatically, similarly to our construction of the differential. Given a Riemannian metric, there exists a unique special connection called the Levi-Civita connection which is often tacitly assumed in Riemannian geometry. Geodesics arising from this connection are the length-minimising curves we have defined above.
The Levi-Civita connection is torsion-free and compatible with the metric. The Fundamental Theorem of Riemannian geometry guarantees its existence and uniqueness.
We will show next how to use geodesics to define a way to transport tangent vectors on the manifold (parallel transport), create local intrinsic maps from the manifold to the tangent space (exponential map), and define distances (geodesic metric). This will allow us to construct convolution-like operations by applying a filter locally in the tangent space.
Parallel transport. One issue we have already encountered when dealing with manifolds is that we cannot directly add or subtract two points . The same problem arises when trying to compare tangent vectors at different points: though they have the same dimension, they belong to different spaces, e.g. and , and thus not directly comparable. Geodesics provide a mechanism to move vectors from one point to another, in the following way: let be a geodesic connecting points and and let . We can define a new set of tangent vectors along the geodesic, such that the length of and the angle (expressed through the Riemannian metric) between it and the velocity vector of the curve is constant,
As a result, we get a unique vector at the end point .

Euclidean transport of a vector from A to C makes no sense on the sphere, as the resulting vectors (red) are not in the tangent plane. Parallel transport from A to C (blue) rotates the vector along the path. It is path dependent: going along the path BC and ABC produces different results.
The map and defined as using the above notation is called parallel transport or connection; the latter term implying it is a mechanism to ‘connect’ between the tangent spaces and . Due to the angle and length preservation conditions, parallel transport amounts to only rotation of the vector, so it can be associated with an element of the special orthogonal group (called the structure group of the tangent bundle), which we will denote by and discuss in further detail in Section 4.5.
Assuming that the manifold is orientable, otherwise .
As we mentioned before, a connection can be defined axiomatically independently of the Riemannian metric, providing thus an abstract notion of parallel transport along any smooth curve. The result of such transport, however, depends on the path taken.
Exponential map. Locally around a point , it is always possible to define a unique geodesic in a given direction , i.e. such that and . When is defined for all (that is, we can shoot the geodesic from a point for as long as we like), the manifold is said to be geodesically complete and the exponential map is defined on the whole tangent space. Since compact manifolds are geodesically complete, we can tacitly assume this convenient property.
This definition of geodesic provided a point and a direction gives a natural mapping from (a subset of) the tangent space to called the exponential map , which is defined by taking a unit step along the geodesic in the direction , i.e., . The exponential map is a local diffeomorphism, as it deforms the neighbourhood (a ball or radius ) of the origin on into a neighbourhood of . Conversely, one can also regard the exponential map as an intrinsic local deformation (‘flattening’) of the manifold into the tangent space.
Note that geodesic completeness does not necessarily guarantee that is a global diffeomorphism – the largest radius about for which is mapped diffeomorphically is called the injectivity radius.
Geodesic distances. A result known as the Hopf-Rinow Theorem guarantees that geodesically complete manifolds are also complete metric spaces, in which one can realise a distance (called the geodesic distance or metric) between any pair of points as the length of the shortest path between them
which exists (i.e., the minimum is attained).
Note that the term ‘metric’ is used in two senses: Riemannian metric and distance . To avoid confusion, we will use the term ‘distance’ referring to the latter. Our notation makes the distance depend on the Riemannian metric , though the definition of geodesic length .
Hopf-Rinow Theorem thus estabilishes the equivalence between geodesic and metric completeness, the latter meaning every Cauchy sequence converges in the geodesic distance metric.
Isometries. Consider now a deformation of our manifold into another manifold with a Riemannian metric , which we assume to be a diffeomorphism between the manifolds. Its differential defines a map between the respective tangent bundles (referred to as pushforward), such that at a point , we have , interpreted as before: if we make a small displacement from point by tangent vector , the map will be displaced from point by tangent vector .
Since the pushforward provides a mechanism to associate tangent vectors on the two manifolds, it allows to pullback the metric from to ,
If the pullback metric coincides at every point with that of , i.e., , the map is called (a Riemannian) isometry. For two-dimensional manifolds (surfaces), isometries can be intuitively understood as inelastic deformations that deform the manifold without ‘stretching’ or ‘tearing’ it.
Pushforward and pullback are adjoint operators where is a dual vector field, defined at each point as a linear functional acting on and the inner products are defined respectively on vector and dual vector fields.
By virtue of their definition, isometries preserve intrinsic structures such as geodesic distances, which are expressed entirely in terms of the Riemannian metric. Therefore, we can also understand isometries from the position of metric geometry, as distance-preserving maps (‘metric isometries’) between metric spaces , in the sense that
for all , or more compactly, . In other words, Riemannian isometries are also metric isometries. On connected manifolds, the converse is also true: every metric isometry is also a Riemannian isometry.
This result is known as the Myers–Steenrod Theorem. We tacitly assume our manifolds to be connected.
In our Geometric Deep Learning blueprint, is a model of domain deformations. When is an isometry, any intrinsic quantities are unaffected by such deformations. One can generalise exact (metric) isometries through the notions of metric dilation
or metric distortion
which capture the relative and absolute change of the geodesic distances under , respectively. The condition (5) for the stability of a function under domain deformation can be rewritten in this case as
The Gromov-Hausdorff distance between metric spaces, which we mentioned in Section 3.2, can be expressed as the smallest possible metric distortion.
Intrinsic symmetries. A particular case of the above is a diffeomorphism of the domain itself (what we termed automorphism in Section 3.2), which we will denote by . We will call it a Riemannian (self-)isometry if the pullback metric satisfies , or a metric (self-)isometry if . Not surprisingly, isometries form a group with the composition operator denoted by and called the isometry group; the identity element is the map and the inverse always exists (by definition of as a diffeomorphism). Self-isometries are thus intrinsic symmetries of manifolds.
Continuous symmetries on manifolds are infinitesimally generated by special tangent vector fields called Killing fields, named after Wilhelm Killing.
Fourier analysis on Manifolds. We will now show how to construct intrinsic convolution-like operations on manifolds, which, by construction, will be invariant to isometric deformations. For this purpose, we have two options: One is to use an analogy of the Fourier transform, and define the convolution as a product in the Fourier domain. The other is to define the convolution spatially, by correlating a filter locally with the signal. Let us discuss the spectral approach first.
We remind that in the Euclidean domain the Fourier transform is obtained as the eigenvectors of circulant matrices, which are jointly diagonalisable due to their commutativity. Thus, any circulant matrix and in particular, differential operator, can be used to define an analogy of the Fourier transform on general domains. In Riemannian geometry, it is common to use the orthogonal eigenbasis of the Laplacian operator, which we will define here.
For this purpose, recall our definition of the intrinsic gradient operator , producing a tangent vector field that indicates the local direction of steepest increase of a scalar field on the manifold. In a similar manner, we can define the divergence operator . If we think of a tangent vector field as a flow on the manifold, the divergence measures the net flow of a field at a point, allowing to distinguish between field ‘sources’ and ‘sinks’. We use the notation (as opposed to the common ) to emphasise that the two operators are adjoint,
where we use the inner products (19) and (20) between scalar and vector fields.
The Laplacian (also known as the Laplace-Beltrami operator in differential geometry) is an operator on defined as , which can be interpreted as the difference between the average of a function on an infinitesimal sphere around a point and the value of the function at the point itself. It is one of the most important operators in mathematical physics, used to describe phenomena as diverse as heat diffusion, quantum oscillations, and wave propagation. Importantly in our context, the Laplacian is intrinsic, and thus invariant under isometries of .
From this interpretation it is also clear that the Laplacian is isotropic. We will see in Section 4.6 that it is possible to define anisotropic Laplacians (see (Andreux et al., 2014; Boscaini et al., 2016b)) of the form , where is a position-dependent tensor determining local direction.
It is easy to see that the Laplacian is self-adjoint (‘symmetric’),
The quadratic form on the left in the above expression is actually the already familiar Dirichlet energy,
measuring the smoothness of .
The Laplacian operator admits an eigedecomposition
with countable spectrum if the manifold is compact (which we tacitly assume), and orthogonal eigenfunctions, , due to the self-adjointness of . The Laplacian eigenbasis can also be constructed as a set of orthogonal minimisers of the Dirichlet energy,
for , allowing to interpret it as the smoothest orthogonal basis on . The eigenfunctions and the corresponding eigenvalues can be interpreted as the analogy of the atoms and frequencies in the classical Fourier transform.
In fact are the eigenfunctions of the Euclidean Laplacian .
This orthogonal basis allows to expand square-integrable functions on into Fourier series
where are referred to as the Fourier coefficient or the (generalised) Fourier transform of . Truncating the Fourier series results in an approximation error that can be bounded (Aflalo and Kimmel, 2013) by
Aflalo et al. (2015) further showed that no other basis attains a better error, making the Laplacian eigenbasis optimal for representing smooth signals on manifolds.
Note that this Fourier transform has a discrete index, since the spectrum is discrete due to the compactness of .
Spectral Convolution on Manifolds.
Spectral convolution can be defined as the product of Fourier transforms of the signal and the filter ,
Note that here we use what is a property of the classical Fourier transform (the Convolution Theorem) as a way to define a non-Euclidean convolution. By virtue of its construction, the spectral convolution is intrinsic and thus isometry-invariant. Furthermore, since the Laplacian operator is isotropic, it has no sense of direction; in this sense, the situation is similar to that we had on graphs in Section 4.1 due to permutation invariance of neighbour aggregation.

Figure 12: Instability of spectral filters under domain perturbation. Left: a signal on the mesh . Middle: result of spectral filtering in the eigenbasis of the Laplacian on . Right: the same spectral filter applied to the eigenvectors of the Laplacian of a nearly-isometrically perturbed domain produces a very different result.
In practice, a direct computation of (21) appears to be prohibitively expensive due to the need to diagonalise the Laplacian. Even worse, it turns out geometrically unstable: the higher-frequency eigenfunctions of the Laplacian can change dramatically as a result of even small near-isometric perturbations of the domain (see Figure 12). A more stable solution is provided by realising the filter as a spectral transfer function of the form ,
which can be interpreted in two manners: either as a spectral filter (4.4), where we identify , or as a spatial filter (4.4) with a position-dependent kernel . The advantage of this formulation is that can be parametrised by a small number of coefficients, and choosing parametric functions such as polynomials allows for efficiently computing the filter as
avoiding the spectral decomposition altogether. We will discuss this construction in further detail in Section 4.6.
Geometric Deep Learning methods based on spectral convolution expressed through the Fourier transform are often referred to as ‘spectral’ and opposed to ‘spatial’ methods we have seen before in the context of graphs. We see here that these two views may be equivalent, so this dichotomy is somewhat artificial and not completely appropriate.
Spatial Convolution on Manifolds.
A second alternative is to attempt defining convolution on manifolds is by matching a filter at different points, like we did in formula (18),
where we now have to use the exponential map to access the values of the scalar field from the tangent space, and the filter is defined in the tangent space at each point and hence position-dependent. If one defines the filter intrinsically, such a convolution would be isometry-invariant, a property we mentioned as crucial in many computer vision and graphics applications.
We need, however, to note several substantial differences from our previous construction in Sections 4.2–4.3. First, because a manifold is generally not a homogeneous space, we do not have anymore a global group structure allowing us have a shared filter (i.e., the same at every rather than in expression (22)) defined at one point and then move it around. An analogy of this operation on the manifold would require parallel transport, allowing to apply a shared , defined as a function on , at some other . However, as we have seen, this in general will depend on the path between and , so the way we move the filter around matters. Third, since we can use the exponential map only locally, the filter must be local, with support bounded by the injectivity radius. Fourth and most crucially, we cannot work with , as is an abstract geometric object: in order for it to be used for computations, we must represent it relative to some local basis , as an -dimensional array of coordinates . This allows us to rewrite the convolution (22) as
with the filter defined on the unit cube. Since the exponential map is intrinsic (through the definition of geodesic), the resulting convolution is isometry-invariant.
Yet, this tacitly assumed we can carry the frame along to another manifold, i.e. . Obtaining such a frame (or gauge, in physics terminology) given only a the manifold in a consistent manner is however fraught with difficulty. First, a smooth global gauge may not exist: this is the situation on manifolds that are not parallelisable, in which case one cannot define a smooth non-vanishing tangent vector field. Second, we do not have a canonical gauge on manifolds, so this choice is arbitrary; since our convolution depends on , if one chose a different one, we would obtain different results.
The sphere is an example of a non-parallelisable manifold, a result of the Poincaré-Hopf Theorem, which is colloquially stated as ‘one cannot comb a hairy ball without creating a cowlick.’
We should note that this is a case where practice diverges from theory: in practice, it is possible to build frames that are mostly smooth, with a limited number of singularities, e.g. by taking the intrinsic gradient of some intrinsic scalar field on the manifold. Moreover, such constructions are stable, i.e., the frames constructed this way will be identical on isometric manifolds and similar on approximately isometric ones. Such approaches were in fact employed in the early works on deep learning on manifolds (Masci et al., 2015; Monti et al., 2017).

Example of stable gauges constructed on nearly-isometric manifolds (only one axis is shown) using the GFrames algorithm of Melzi et al. (2019).
Nevertheless, this solution is not entirely satisfactory because near singularities, the filter orientation (being defined in a fixed manner relative to the gauge) will vary wildly, leading to a non-smooth feature map even if the input signal and filter are smooth. Moreover, there is no clear reason why a given direction at some point should be considered equivalent to another direction at an altogether different point . Thus, despite practical alternatives, we will look next for a more theoretically well-founded approach that would be altogether independent on the choice of gauge.
4.5 Gauges and Bundles
Section titled “4.5 Gauges and Bundles”The notion of gauge, which we have defined as a frame for the tangent space, is quite a bit more general in physics: it can refer to a frame for any vector bundle, not just the tangent bundle. Informally, a vector bundle describes a family of vector spaces parametrised by another space and consists of a base space with an identical vector space (called the fibre) attached to each position (for the tangent bundle these are the tangent spaces ). Roughly speaking, a bundle looks as a product locally around , but globally might be ‘twisted’ and have an overall different structure. In Geometric Deep Learning, fibres can be used to model the feature spaces at each point in the manifold , with the dimension of the fibre being equal to the number of feature channels. In this context, a new and fascinating kind of symmetry, called gauge symmetry may present itself.
Historically, fibre bundles arose first in modern differential geometry of Élie Cartan (who however did not define them explicitly), and were then further developed as a standalone object in the field of topology in the 1930s.
Let us consider again an -dimensional manifold with its tangent bundle , and a vector field (which in this terminology is referred to as a section on the tangent bundle). Relative to a gauge for the tangent bundle, is represented as a function . However it is important to realise that what we are really interested in is the underlying geometrical object (vector field), whose representation as a function depends on the choice of gauge . If we change the gauge, we also need to change so as to preserve the underlying vector field being represented.
Tangent bundles and the Structure group. When we change the gauge, we need to apply at each point an invertible matrix that maps the old gauge to the new one. This matrix is unique for every pair of gauges at each point, but possibly different at different points. In other words, a gauge transformation is a mapping , where is the general linear group of invertible matrices. It acts on the gauge to produce a new gauge . The gauge transformation acts on a coordinate vector field at each point via to produce the coordinate representation of relative to the new gauge. The underlying vector field remains unchanged:
which is exactly the property we desired. More generally, we may have a field of geometric quantities that transform according to a representation of , e.g. a field of 2-tensors (matrices) that transform like . In this case, the gauge transformation acts via .
Sometimes we may wish to restrict attention to frames with a certain property, such as orthogonal frames, right-handed frames, etc. Unsurprisingly, we are interested in a set of some property-preserving transformations that form a group. For instance, the group that preserves orthogonality is the orthogonal group (rotations and reflections), and the group that additionally preserves orientation or ‘handedness’ is (pure rotations). Thus, in general we have a group called the structure group of the bundle, and a gauge transformation is a map . A key observation is that in all cases with the given property, for any two frames at a given point there exists exactly one gauge transformation relating them.
As mentioned before, gauge theory extends beyond tangent bundles, and in general, we can consider a bundle of vector spaces whose structure and dimensions are not necessarily related to those of the base space . For instance, a color image pixel has a position on a 2D grid and a value in the RGB space, so the space of pixels can be viewed as a vector bundle with base space and a fibre attached at each point. It is customary to express an RGB image relative to a gauge that has basis vectors for R, G, and B (in that order), so that the coordinate representation of the image looks like . But we may equally well permute the basis vectors (color channels) independently at each position, as long as we remember the frame (order of channels) in use at each point. As a computational operation this is rather pointless, but as we will see shortly it is conceptually useful to think about gauge transformations for the space of RGB colors, because it allows us to express a gauge symmetry – in this case, an equivalence between colors – and make functions defined on images respect this symmetry (treating each color equivalently).
In this example we have chosen the permutations of the 3 color channels as the structure group of the bundle. Other choices, such as a Hue rotation are also possible.
We use to denote the dimension of the base space and referring to the dimension of the fibre. For tangent bundles, is the dimension of the underlying manifold. For RGB image, and .
As in the case of a vector field on a manifold, an RGB gauge transformation changes the numerical representation of an image (permuting the RGB values independently at each pixel) but not the underlying image. In machine learning applications, we are interested in constructing functions on such images (e.g. to perform image classification or segmentation), implemented as layers of a neural network. It follows that if, for whatever reason, we were to apply a gauge transformation to our image, we would need to also change the function (network layers) so as to preserve their meaning. Consider for simplicity a convolution, i.e. a map that takes an RGB pixel to a feature vector . According to our Geometric Deep Learning blueprint, the output is associated with a group representation , in this case a -dimensional representation of the structure group (RGB channel permutations), and similarly the input is associated with a representation . Then, if we apply a gauge transformation to the input, we would need to change the linear map ( convolution) to so that the output feature vector transforms like at every point. Indeed we verify:
Here the notation should be understood as the inverse of the group representation (matrix) .
Gauge Symmetries. To say that we consider gauge transformations to be symmetries is to say that any two gauges related by a gauge transformation are to be considered equivalent. For instance, if we take , any two right-handed orthogonal frames are considered equivalent, because we can map any such frame to any other such frame by a rotation. In other words, there are no distinguished local directions such as “up” or “right”. Similarly, if (the orthogonal group), then any left and right handed orthogonal frame are considered equivalent. In this case, there is no preferred orientation either. In general, we can consider a group and a collection of frames at every point such that for any two of them there is a unique that maps one frame onto the other.
Regarding gauge transformations as symmetries in our Geometric Deep Learning blueprint, we are interested in making the functions acting on signals defined on and expressed with respect to the gauge should equivariant to such transformation. Concretely, this means that if we apply a gauge transformation to the input, the output should undergo the same transformation (perhaps acting via a different representation of ). We noted before that when we change the gauge, the function should be changed as well, but for a gauge equivariant map this is not the case: changing the gauge leaves the mapping invariant. To see this, consider again the RGB color space example. The map is equivariant if , but in this case the gauge transformation applied to has no effect: . In other words, the coordinate expression of a gauge equivariant map is independent of the gauge, in the same way that in the case of graph, we applied the same function regardless of how the input nodes were permuted. However, unlike the case of graphs and other examples covered so far, gauge transformations act not on but separately on each of the feature vectors by a transformation for each .
Further considerations enter the picture when we look at filters on manifolds with a larger spatial support. Let us first consider an easy example of a mapping from scalar fields to scalar fields on an -dimensional manifold . Unlike vectors and other geometric quantities, scalars do not have an orientation, so a scalar field is invariant to gauge transformations (it transforms according to the trivial representation ). Hence, any linear map from scalar fields to scalar fields is gauge equivariant (or invariant, which is the same in this case). For example, we could write similarly to (4.4), as a convolution-like operation with a position-dependent filter ,
This implies that we have a potentially different filter at each point, i.e., no spatial weight sharing — which gauge symmetry alone does not provide.
Consider now a more interesting case of a mapping from vector fields to vector fields. Relative to a gauge, the input and output vector fields are vector-valued functions . A general linear map between such functions can be written using the same equation we used for scalars (24), only replacing the scalar kernel by a matrix-valued one . The matrix should map tangent vectors in to tangent vectors in , but these points have different gauges that we may change arbitrarily and independently. That is, the filter would have to satisfy for all , where denotes the action of on vectors, given by an rotation matrix. Since and can be chosen freely, this is an overly strong constraint on the filter.
Indeed would have to be zero in this case
A better approach is to first transport the vectors to a common tangent space by means of the connection, and then impose gauge equivariance w.r.t. a single gauge transformation at one point only. Instead of (24), we can then define the following map between vector fields,
where denotes the parallel transport from to along the geodesic connecting these two points; its representation is an rotation matrix rotating the vector as it moves between the points. Note that this geodesic is assumed to be unique, which is true only locally and thus the filter must have a local support. Under a gauge transformation , this element transforms as , and the field itself transforms as . If the filter commutes with the structure group representation , equation (25) defines a gauge-equivariant convolution, which transforms as
under the aforementioned transformation.
4.6 Geometric graphs and Meshes
Section titled “4.6 Geometric graphs and Meshes”We will conclude our discussion of different geometric domains with geometric graphs (i.e., graphs that can be realised in some geometric space) and meshes. In our ‘5G’ of geometric domains, meshes fall somewhere between graphs and manifolds: in many regards, they are similar to graphs, but their additional structure allows to also treat them similarly to continuous objects. For this reason, we do not consider meshes as a standalone object in our scheme, and in fact, will emphasise that many of the constructions we derive in this section for meshes are directly applicable to general graphs as well.
As we already mentioned in Section 4.4, two-dimensional manifolds (surfaces) are a common way of modelling 3D objects (or, better said, the boundary surfaces of such objects). In computer graphics and vision applications, such surfaces are often discretised as triangular meshes, which can be roughly thought of as a piece-wise planar approximation of a surface obtained by gluing triangles together along their edges. Meshes are thus (undirected) graphs with additional structure: in addition to nodes and edges, a mesh also have ordered triplets of nodes forming triangular faces ; the order of the nodes defines the face orientation.

Triangular meshes are examples of topological structures known as simplicial complexes.
Examples of manifold (top) and non-manifold (bottom) edges and nodes. For manifolds with boundary, one further defines boundary edges that belong to exactly one triangle.
It is further assumed that that each edge is shared by exactly two triangles, and the boundary of all triangles incident on each node forms a single loop of edges. This condition guarantees that 1-hop neighbourhoods around each node are disk-like and the mesh thus constitutes a discrete manifold – such meshes are referred to as manifold meshes. Similarly to Riemannian manifolds, we can define a metric on the mesh. In the simplest instance, it can be induced from the embedding of the mesh nodes and expressed through the Euclidean length of the edges, . A metric defined in this way automatically satisfies properties such as the triangle inequality, i.e., expressions of the form for any and any combination of edges. Any property that can be expressed solely in terms of is intrinsic, and any deformation of the mesh preserving is an isometry – these notions are already familiar to the reader from our discussion in Section 4.4.
Laplacian matrices. By analogy to our treatment of graphs, let us assume a (manifold) mesh with nodes, each associated with a -dimensional feature vector, which we can arrange (assuming some arbitrary ordering) into an matrix . The features can represent the geometric coordinates of the nodes as well as additional properties such as colors, normals, etc, or in specific applications such as chemistry where geometric graphs model molecules, properties such as the atomic number.
Let us first look at the spectral convolution (21) on meshes, which we remind the readers, arises from the Laplacian operator. Considering the mesh as a discretisation of an underlying continuous surface, we can discretise the Laplacian as
or in matrix-vector notation, as an symmetric matrix , where is called the degree matrix and the degree of node . It is easy to see that equation (26) performs local permutation-invariant aggregation of neighbour features , and is in fact an instance of our general blueprint (17) for constructing permutation-equivariant functions on graphs.
Note that insofar there is nothing specific to meshes in our definition of Laplacian in (26); in fact, this construction is valid for arbitrary graphs as well, with edge weights identified with the adjacency matrix, , i.e., if and zero otherwise. Laplacians constructed in this way are often called combinatorial, to reflect the fact that they merely capture the connectivity structure of the graph. For geometric graphs (which do not necessarily have the additional structure of meshes, but whose nodes do have spatial coordinates that induces a metric in the form of edge lengths), it is common to use weights inversely related to the metric, e.g. .
If the graph is directed, the corresponding Laplacian is non-symmetric.
The degree in this case equals the number of neighbours.
On meshes, we can exploit the additional structure afforded by the faces, and define the edge weights in equation (26) using the cotangent formula (Pinkall and Polthier, 1993; Meyer et al., 2003)

The earliest use of this formula dates back to the PhD thesis of MacNeal (1949), who developed it to solve PDEs on the Caltech Electric Analog Computer.
where and are the two angles in the triangles and opposite the shared edge , and is the local area element, typically computed as the area of the polygon constructed upon the barycenters of the triangles sharing the node and given by .
The cotangent Laplacian can be shown to have multiple convenient properties (see e.g. Wardetzky et al. (2007)): it is a positive-semidefinite matrix, and thus has non-negative eigenvalues that can be regarded as an analogy of frequency, it is symmetric and thus has orthogonal eigenvectors, and it is local (i.e., the value of depends only on 1-hop neighbours, ). Perhaps the most important property is the convergence of the cotangent mesh Laplacian matrix to the continuous operator when the mesh is infinitely refined (Wardetzky, 2008). Equation (27) constitutes thus an appropriate discretisation of the Laplacian operator defined on Riemannian manifolds in Section 4.4.
Some technical conditions must be imposed on the refinement, to avoid e.g. triangles becoming pathological. One such example is a bizarre triangulation of the cylinder known in German as the Schwarzscher Stiefel (Schwarz’s boot) or in English literature as the ‘Schwarz lantern’, proposed in 1880 by Hermann Schwarz, a German mathematician known from the Cauchy-Schwarz inequality fame.
While one expects the Laplacian to be intrinsic, this is not very obvious from equation (27), and it takes some effort to express the cotangent weights entirely in terms of the discrete metric as
where the area of the triangles is given as
using Heron’s semiperimeter formula with . This endows the Laplacian (and any quantities associated with it, such as its eigenvectors and eigenvalues) with isometry invariance, a property for which it is so loved in geometry processing and computer graphics (see an excellent review by Wang and Solomon (2019)): any deformation of the mesh that does not affect the metric (does not ‘stretch’ or ‘squeeze’ the edges of the mesh) does not change the Laplacian.
Finally, as we already noticed, the definition of the Laplacian (27) is invariant to the permutation of nodes in , as it involves aggregation in the form of summation. While on general graphs this is a necessary evil due to the lack of canonical ordering of neighbours, on meshes we can order the 1-hop neighbours according to some orientation (e.g., clock-wise), and the only ambiguity is the selection of the first node. Thus, instead of any possible permutation we need to account for cyclic shifts (rotations), which intuitively corresponds to the ambiguity arising from gauge transformations discussed in Section 4.5. For a fixed gauge, it is possible to define an anisotropic Laplacian that is sensitive to local directions and amounts to changing the metric or the weights . Constructions of this kind were used to design shape descriptors by Andreux et al. (2014); Boscaini et al. (2016b) and in early Geometric Deep Learning architectures on meshes by Boscaini et al. (2016a).

Laplacian-based filters are isotropic. In the plane, such filters have radial symmetry.
Spectral analysis on meshes. The orthogonal eigenvectors diagonalising the Laplacian matrix (, where is the diagonal matrix of Laplacian eigenvalues), are used as the non-Euclidean analogy of the Fourier basis, allowing to perform spectral convolution on the mesh as the product of the respective Fourier transforms,
where the filter is designed directly in the Fourier domain. Again, nothing in this formula is specific to meshes, and one can use the Laplacian matrix of a generic (undirected) graph. It is tempting to exploit this spectral definition of convolution to generalise CNNs to graphs, which in fact was done by one of the authors of this text, Bruna et al. (2013). However, it appears that the non-Euclidean Fourier transform is extremely sensitive to even minor perturbations of the underlying mesh or graph (see Figure 12 in Section 4.4) and thus can only be used when one has to deal with different signals on a fixed domain, but not when one wishes to generalise across different domains. Unluckily, many computer graphics and vision problems fall into the latter category, where one trains a neural network on one set of 3D shapes (meshes) and test on a different set, making the Fourier transform-based approach inappropriate.
The fact that the graph is assumed to be undirected is important: in this case the Laplacian is symmetric and has orthogonal eigenvectors.
As noted in Section 4.4, it is preferable to use spectral filters of the form (4.4) applying some transfer function to the Laplacian matrix,
When can be expressed in terms of matrix-vector products, the eigendecomposition of the matrix can be avoided altogether. For example, Defferrard et al. (2016) used polynomials of degree as filter functions,
amounting to the multiplication of the feature matrix by the Laplacian matrix times. Since the Laplacian is typically sparse (with non-zero elements) this operation has low complexity of . Furthermore, since the Laplacian is local, a polynomial filter of degree is localised in -hop neighbourhood.
Meshes are nearly-regular graphs, with each node having neighbours, resulting in non-zeros in .
In the general case, the complexity of eigendecomposition is .
However, this exact property comes at a disadvantage when dealing with meshes, since the actual support of the filter (i.e., the radius it covers) depends on the resolution of the mesh. One has to bear in mind that meshes arise from the discretisation of some underlying continuous surface, and one may have two different meshes and representing the same object. In a finer mesh, one might have to use larger neighbourhoods (thus, larger degree of the filter) than in a coarser one.

Two-hop neighbourhoods on meshes of different resolution.
For this reason, in computer graphics applications it is more common to use rational filters, since they are resolution-independent. There are many ways to define such filters (see, e.g. Patanè (2020)), the most common being as a polynomial of some rational function, e.g., . More generally, one can use a complex function, such as the Cayley transform that maps the real line into the unit circle in the complex plane. Levie et al. (2018) used spectral filters expressed as Cayley polynomials, real rational functions with complex coefficients ,
When applied to matrices, the computation of the Cayley polynomial requires matrix inversion,
which can be carried out approximately with linear complexity. Unlike polynomial filters, rational filters do not have a local support, but have exponential decay (Levie et al., 2018). A crucial difference compared to the direct computation of the Fourier transform is that polynomial and rational filters are stable under approximate isometric deformations of the underlying graph or mesh – various results of this kind were shown e.g. by Levie et al. (2018); Levie et al. (2019); Gama et al. (2020); Kenlay et al. (2021).
In signal processing, polynomial filters are termed finite impulse response (FIR), whereas rational filters are infinite impulse response (IIR).
Cayley transform is a particular case of a Möbius transformation. When applied to the Laplacian (a positive-semindefinite matrix), it maps its non-negative eigenvalues to the complex half-circle.
Meshes as operators and Functional maps.
The paradigm of functional maps suggests thinking of meshes as operators. As we will show, this allows obtaining more interesting types of invariance exploiting the additional structure of meshes. For the purpose of our discussion, assume the mesh is constructed upon embedded nodes with coordinates . If we construct an intrinsic operator like the Laplacian, it can be shown that it encodes completely the structure of the mesh, and one can recover the mesh (up to its isometric embedding, as shown by Zeng et al. (2012)). This is also true for some other operators (see e.g. Boscaini et al. (2015); Corman et al. (2017); Chern et al. (2018)), so we will assume a general operator, or matrix , as a representation of our mesh.
In this view, the discussion of Section 4.1 of learning functions of the form can be rephrased as learning functions of the form . Similar to graphs and sets, the nodes of meshes also have no canonical ordering, i.e., functions on meshes must satisfy the permutation invariance or equivariance conditions,
for any permutation matrix . However, compared to general graphs we now have more structure: we can assume that our mesh arises from the discretisation of some underlying continuous surface . It is thus possible to have a different mesh with nodes and coordinates representing the same object as . Importantly, the meshes and can have a different connectivity structure and even different number of nodes (). Therefore, we cannot think of these meshes as isomorphic graphs with mere reordering of nodes and consider the permutation matrix as correspondence between them.
Functional maps were introduced by Ovsjanikov et al. (2012) as a generalisation of the notion of correspondence to such settings, replacing the correspondence between points on two domains (a map ) with correspondence between functions (a map , see Figure 13). A functional map is a linear operator , represented as a matrix , establishing correspondence between signals and on the respective domains as
Rustamov et al. (2013) showed that in order to guarantee area-preserving mapping, the functional map must be orthogonal, , i.e., be an element of the orthogonal group . In this case, we can invert the map using .
In most cases the functional map is implemented in the spectral domain, as a map between the Fourier coefficients, where and are the respective and matrices of the (truncated) Laplacian eigenbases, with .

Figure 13: Pointwise map (left) vs functional map (right).
The functional map also establishes a relation between the operator representation of meshes,
which we can interpret as follows: given an operator representation of and a functional map , we can construct its representation of by first mapping the signal from to (using ), applying the operator , and then mapping back to (using ) This leads us to a more general class of remeshing invariant (or equivariant) functions on meshes, satisfying
Note that we read these operations right-to-left.
for any . It is easy to see that the previous setting of permutation invariance and equivariance is a particular case, which can be thought of as a trivial remeshing in which only the order of nodes is changed.
This follows from the orthogonality of permutation matrices, .
Wang et al. (2019a) showed that given an eigendecomposition of the operator , any remeshing invariant (or equivariant) function can be expressed as and , or in other words, remeshing-invariant functions involve only the spectrum of . Indeed, functions of Laplacian eigenvalues have been proven in practice to be robust to surface discretisation and perturbation, explaining the popularity of spectral constructions based on Laplacians in computer graphics, as well as in deep learning on graph (Defferrard et al., 2016; Levie et al., 2018). Since this result refers to a generic operator , multiple choices are available besides the ubiquitous Laplacian – notable examples include the Dirac (Liu et al., 2017; Kostrikov et al., 2018) or Steklov (Wang et al., 2018) operators, as well as learnable parametric operators (Wang et al., 2019a).