Quantifying the structural stability of simplicial homology

Nicola Guglielmi1 • Anton Savostianov1 • Francesco Tudisco1

1Gran Sasso Science Institute, L'Aquila, Italy {nicola.guglielmi, anton.savostianov, francesco.tudisco}@gssi.it

Abstract Simplicial complexes are generalizations of classical graphs. Their homology groups are widely used to characterize the structure and the topology of data in e.g. chemistry, neuroscience, and transportation networks. In this work we assume we are given a simplicial complex and that we can act on its underlying graph, formed by the set of 1-simplices, and we investigate the stability of its homology with respect to perturbations of the edges in such graph. Precisely, exploiting the isomorphism between the homology groups and the higher-order Laplacian operators, we propose a numerical method to compute the smallest graph perturbation sufficient to change the dimension of the simplex’s Hodge homology. Our approach is based on a matrix nearness problem formulated as a matrix differential equation, which requires an appropriate weighting and normalizing procedure for the boundary operators acting on the Hodge algebra’s homology groups. We develop a bilevel optimization procedure suitable for the formulated matrix nearness problem and illustrate the method’s performance on a variety of synthetic quasi-triangulation datasets and real-world transportation networks.

1 Introduction

Models based on graphs are ubiquitous in the sciences and engineering as they allow us to model various complex systems in a unified form. Despite being widely and successfully used, graph-based models are limited to pairwise relationships and a variety of recent work has shown that many complex systems and datasets are better described by higher-order relations that go beyond pairwise interactions [1], [2], [3]. Relational data is full of interactions that happen in groups. For example, friendship relations often involve groups that are larger than two individuals and triangles are important building blocks of relational data [4], [5], [6]. Also in the presence of point-cloud data, directly modeling higher-order data interactions has led to improvements in numerous data mining settings, including clustering [2], [7], [8], link prediction [5], [9], and ranking [10], [11], [12].

A popular extension of dyadic models to the higher-order setting uses hypergraphs and relies on the transition from matrix-based to tensor-based models [1], [3]. Based on recent generalizations of graph spectral theory to tensor eigenproblems [13], [14], a number of graph methods based on matrices for e.g. clustering, community detection, centrality, opinion dynamics, have been extended to higher-order models based on tensors [5], [8], [10], [15], [16].

Alongside hypergraphs and tensors, simplicial complexes and higher-order Laplacians are another standard model for higher-order interactions, where simplices of different order can connect an arbitrary number of nodes [1], [3]. Higher-order Laplacians are linear operators that generalize the better-known graph Laplacian and provide key algebraic tools that allow to describe a simplicial complex and its structural properties. In particular, their kernels define a homology of the data and reveal fundamental topological properties such as connected components, holes, and voids [17], [18].

In this work we are interested to quantifying the stability of such topological properties, with respect to edge perturbations. More precisely, given an initial simplicial complex 𝒦︀ with a corresponding homology and an underlying graph 𝒢︀𝒦︀ formed by the 1-simplices of 𝒦︀, we want to quantify how far is 𝒦︀ from another simplicial complex with a homology group of strictly different dimension. Here we assume we can act on the edges of 𝒢︀𝒦︀ and “being far” is measured in terms of the least number (or, in the weighted case, the least weight) of edges of 𝒢︀𝒦︀ that can be eliminated to change the dimension of the chosen homology group. While this form of stability is reminiscent of the persistence of the homology, which is widely studied in the literature, we remark that the two are significantly different. Rather than starting with a dataset of points on which to build a chain of simplices and an associated persistency diagram, in our setting, we assume we are given an initial simplex as a result of a data assimilation and modeling process we have no access to. Thus, acting on the elementary pairwise information we are given, the 1-simplices, we want to quantify the robustness of the homology that characterizes the simplex at hand. While a great effort has been devoted in recent years to measure the presence and persistence of simplicial homology [19], [20], much less is available about the stability of the homology classes with respect to data perturbation in the non-regular (non-geometric) setting [21].

The resulting problem can be formulated as a structured matrix nearness problem, which we approach by means of a spectral objective function and the integration of the corresponding matrix-valued gradient flow. In order to make a sound mathematical formulation of the problem we aim to solve, and of the numerical model we design for its solution, we structure the remainder of the paper as follows: in Section 2 we review in detail the notion of simplicial complexes and the corresponding higher-order Laplacians. In Subsection 2.2 and Subsection 3.1 we discuss how these operators may be extended to account for weighted higher-order node relations and formulate the corresponding stability problem in Section 3 and Section 4. After introducing a suitable spectral functional whose minimization to zero mathematically translates the stability problem, in Section 5 and Section 6 we present a two-level methodology whose inner iteration consists of a constrained matrix gradient flow on which is based our numerical method, and whose outer level tunes a suitable scalar parameter in order to solve a related scalar equation. Finally, we devote Section 7 to illustrate the performance of the proposed numerical scheme on several example datasets.

2 Simplicial complexes and higher-order relations

A graph 𝒢︀ is a pair of sets (𝒱︀,ℰ︀), where 𝒱︀={1,…,𝑛} is the set of vertices and ℰ︀⊂𝒱︀×𝒱︀ is a set of unordered pairs representing the undirected edges of 𝒢︀. We let 𝑚 denote the number of edges ℰ︀={𝑒1,…,𝑒𝑚} and we assume them ordered lexicographically, with the convention that 𝑖<𝑗 for any {𝑖,𝑗}∈ℰ︀. For brevity, we often write 𝑖𝑗 in place of {𝑖,𝑗} to denote the edge joining 𝑖 and 𝑗. Moreover, we assume no self-loops, i.e., 𝑖𝑖∉ℰ︀ for all 𝑖∈𝒱︀.

A graph only considers pairwise relations between the vertices. A simplicial complex 𝒦︀ is a generalization of a graph that allows us to model connections involving an arbitrary number of nodes by means of higher-order simplices. Formally, a 𝑘-th order simplex (or 𝑘-simplex, briefly) is a set of 𝑘+1 vertices {𝑖0,𝑖1,…,𝑖𝑘} with the property that every subset of 𝑘 nodes itself is a (𝑘−1)-simplex. Any (𝑘−1)-simplex of a 𝑘-simplex is called a face. The collection of all such simplices forms a simplicial complex 𝒦︀, which therefore essentially consists of a collection of sets of vertices such that every subset of the set in the collection is in the collection itself. Thus, a graph 𝒢︀ can be thought of as the collection of 0- and 1- simplices: the 0-simplices form the nodes set of 𝒢︀, while 1-simplices form its edges. To emphasize this analogy, in the sequel we often specify that 𝒦︀ is a simplicial complex on the vertex set 𝒱︀.

Just like the edges of a graph, to any simplicial complex, we can associate an orientation (or ordering). To underline that an ordering has been fixed, we denote an ordered 𝑘-simplex 𝜎 using square brackets 𝜎=[𝑖0…𝑖𝑘]. In particular, as for the case of edges, we always assume the lexicographical ordering, unless specified otherwise. That is, we assume that:

  1. any 𝑘-simplex [𝑖0…𝑖𝑘] in 𝒦︀ is such that 𝑖0<…<𝑖𝑘;

  2. the 𝑘-simplices 𝜎1,𝜎2,… of 𝒦︀ are ordered so that 𝜎𝑖≺𝜎𝑖+1 for all 𝑖, where [𝑖0…𝑖𝑘]≺[𝑖0′…𝑖𝑘′] if and only if there exists ℎ such that 0≤ℎ≤𝑘, 𝑖𝑗=𝑖𝑗′ for 𝑗=0,…,ℎ and 𝑖ℎ<𝑖ℎ′.

As for the edges, we often write 𝑖0…𝑖𝑘 in place of [𝑖0…𝑖𝑘] in this case.

2.1 Homology, boundary operators and higher-order Laplacians

Topological properties of a simplicial complex can be studied by considering boundary operators, higher-order Laplacians, and the associated homology. Here we recall these concepts trying to emphasize their matrix-theoretic flavor. To this end, we first fix some further notation and recall the notion of a real 𝑘-chain.

Def 2.1

Assume 𝒦︀ is a simplicial complex on the vertex set 𝒱︀. For 𝑘≥0, we denote the set of all the oriented 𝑘-th order simplices in 𝒦︀ as 𝒱︀𝑘(𝒦︀) or simply 𝒱︀𝑘. Thus, 𝒱︀0=𝒱︀ and 𝒱︀1=ℰ︀ form the underlying graph of 𝒦︀, which we denote by 𝒢︀𝒦︀=(𝒱︀,ℰ︀)=(𝒱︀0,𝒱︀1).

Def 2.2

The formal real vector space spanned by all the elements of 𝒱︀𝑘 with real coefficients is denoted by 𝐶𝑘(𝒦︀). Any element of 𝐶𝑘(𝒦︀), the formal linear combinations of simplices in 𝒱︀𝑘, is called a 𝑘-chain.

We remark that, in the graph-theoretic terminology, 𝐶0(𝒦︀) is usually called the space of vertices’ states, while 𝐶1(𝒦︀) is usually called the space of flows in the graph.

The chain spaces are finite vector spaces generated by the set of 𝑘-simplices. The boundary and co-boundary operators are particular linear mappings between 𝐶𝑘 and 𝐶𝑘−1, which in a way are the discrete analogous of high-order differential operators (and their adjoints) on continuous manifolds. The boundary operator 𝜕𝑘 maps a 𝑘-simplex to an alternating sum of its (𝑘−1)-dimensional faces obtained by omitting one vertex at a time. Its precise definition is recalled below, while Figure 1 provides an illustrative example of its action.

Def 2.3

Let 𝑘≥1. Given a simplicial complex 𝒦︀ over the set 𝒱︀, the boundary operator 𝜕𝑘:𝐶𝑘(𝒦︀)↦𝐶𝑘−1(𝒦︀) maps every ordered 𝑘-simplex [𝑖0…𝑖𝑘]∈𝐶𝑘(𝒦︀) to the following alternated sum of its faces:

𝜕𝑘[𝑖0…𝑖𝑘]=∑𝑗=0𝑘(−1)𝑗[𝑖0…𝑖𝑗−1𝑖𝑗+1…𝑖𝑘]∈𝐶𝑘−1(𝒦︀)

As we assume the 𝑘-simplices in 𝒱︀𝑘 are ordered lexicographically, we can fix a canonical basis for 𝐶𝑘(𝒦︀) and we can represent 𝜕𝑘 as a matrix 𝐵𝑘 with respect to such basis. In fact, once the ordering is fixed, 𝐶𝑘(𝒦︀) is isomorphic to ℝ𝒱︀𝑘, the space of functions from 𝒱︀𝑘 to ℝ or, equivalently, the space of real vectors with |𝒱︀𝑘| entries. Thus, 𝐵𝑘 is a |𝒱︀𝑘−1|×|𝒱︀𝑘| matrix and 𝜕𝑘∗ coincides with 𝐵𝑘⊤. We shall always assume the canonical basis for 𝐶𝑘(𝒦︀) is fixed in this way and we will deal exclusively with the matrix representation 𝐵𝑘 from now on. An example of 𝐵𝑘 for 𝑘=1 and 𝑘=2 is shown in Figure 1.

Figure 1: Left-hand side panel: example of simplicial complex 𝒦︀ on 7 nodes, and of the action of 𝜕2 on the 2-simplex [1,2,3]; 2-simplices included in the complex are shown in red, arrows correspond to the orientation. Panels on the right: matrix forms 𝐵1 and 𝐵2 of boundary operators 𝜕1 and 𝜕2 respectively.

A direct computation shows that the following fundamental identity holds (see e.g. [17, Thm. 5.7])

𝐵𝑘𝐵𝑘+1=0

(1)

for any 𝑘. This identity is also known in the continuous case as the Fundamental Lemma of Homology and it allows us to define a homology group associated with each 𝑘-chain. In fact, Equation (1) implies in particular that im𝐵𝑘+1⊂ker𝐵𝑘, so that the 𝑘-th homology group is correctly defined:

ℋ︀𝑘=ker𝐵𝑘/im𝐵𝑘+1

The dimensionality of the 𝑘-th homology group is known as 𝑘-th Betti’s number 𝛽𝑘=dimℋ︀𝑘, while the elements of ℋ︀𝑘 correspond to so-called 𝑘-dimensional holes in the simplicial complex. For example, ℋ︀0, ℋ︀1 and ℋ︀2 describe connected components, holes and three-dimensional voids respectively. By standard algebraic passages one sees that ℋ︀𝑘 is isomorphic to ker(𝐵𝑘⊤𝐵𝑘+𝐵𝑘+1𝐵𝑘+1⊤). Thus, the number of 𝑘-dimensional holes corresponds to the dimension of the kernel of a linear operator, which is known as 𝑘-th order Laplacian or higher-order Laplacian of the simplicial complex 𝒦︀.

Def 2.4

Given a simplicial complex 𝒦︀ and the boundary operators 𝐵𝑘 and 𝐵𝑘+1, the 𝑘-th order Laplacian 𝐿𝑘 of 𝒦︀ is the |𝒱︀𝑘|×|𝒱︀𝑘| matrix defined as:

𝐿𝑘=𝐵𝑘⊤𝐵𝑘+𝐵𝑘+1𝐵𝑘+1⊤

(2)

In particular, we remark that:

  • the 0-order Laplacian is the standard combinatorial graph Laplacian 𝐿0=𝐵1𝐵1⊤∈ℝ𝑛×𝑛, whose diagonal entries consist of the degrees of the corresponding vertices (i.e. the number of 1-simplices each vertex belongs to), while the off-diagonal (𝐿0)𝑖𝑗 is equal to −1 if either 𝑖𝑗 is a 1-simplex, and it is zero otherwise;

  • the 1-order Laplacian is known as Hodge Laplacian 𝐿1=𝐵1⊤𝐵1+𝐵2𝐵2⊤∈ℝ𝑚×𝑚. Similarly to the 0-order case 𝐿0, one can describe the entries of 𝐿1 in terms of the structure of the simplicial complex, see e.g. [22].

2.1.1 Connected components and holes

The boundary operators 𝐵𝑘 on 𝒦︀ are directly connected with discrete notions of differential operators on the graph. In particular, 𝐵1, 𝐵1⊤, and 𝐵2⊤ are the graph’s divergence, gradient, and curl operators, respectively. We refer to [17] for more details. As ℋ︀𝑘 is isomorphic to ker𝐿𝑘, we have that the following Hodge decomposition of ℝ𝒱︀𝑘 holds

ℝ𝒱︀𝑘=im𝐵𝑘+1⊕im𝐵𝑘⊤⊕ker𝐿𝑘=im𝐵¯𝑘+1⊕im𝐵¯𝑘⊤⊕ker𝐿¯𝑘.

(3)

Thus, the space of vertex states ℝ𝒱︀0 can be decomposed as ℝ𝒱︀0=im𝐵1⊕ker𝐿0, the sum of divergence-free vectors and harmonic vectors, which correspond to the connected components of the graph. In particular, for a connected graph, ker𝐿0 is one-dimensional and consists of entry-wise constant vectors. Thus, for a connected graph, im𝐵1 is the set of vectors whose entries sum up to zero.

Similarly, the space of flows on graph’s edges ℝ𝒱︀1 can be decomposed as ℝ𝒱︀1=im𝐵2⊕im𝐵1⊤⊕ker𝐿1. Thus, each flow can be decomposed into its gradient part im𝐵1⊤, which consists of flows with zero cycle sum, its curl part im𝐵2, which consists of circulations around order-2 simplices in 𝒦︀, and its harmonic part ker𝐿1, which represents 1-dimensional holes defined as global circulations modulo the curl flows.

While 0-dimensional holes are easily understood as the connected components of the graph 𝒢︀𝒦︀, a notion of “holes in the graph” 𝒢︀𝒦︀ corresponds to 1-dimensional holes in 𝒦︀. This terminology comes from the analogy with the continuous case. In fact, if the graph is obtained as a discretization of a continuous manifold, harmonic functions in the homology group ℋ︀1 would correspond to the holes in the manifold, as illustrated in Figure 2. Moreover, the Hodge Laplacian of a simplicial complex built on 𝑁 randomly sampled points in the manifold converges in the thermodynamic limit to its continuous counterpart, as 𝑁→∞, [23].

Figure 2: Continuous and analogous discrete manifolds with one 1-dimensional hole (dimℋ︀¯1=1). Left pane: the continuous manifold; center pane: the discretization with mesh vertices; right pane: a simplicial complex built upon the mesh. Triangles in the simplicial complex 𝒦︀ are colored gray (right).

2.2 Normalized and weighted higher-order Laplacians

In the classical graph setting, a normalized and weighted version of the Laplacian matrix is very often employed in applications. From a matrix theoretic point of view, having a weighted graph corresponds to allowing arbitrary nonnegative entries in the adjacency matrix defining the graph. In terms of boundary operators, this coincides with a positive diagonal rescaling. Analogously, the normalized Laplacian is defined by applying a diagonal congruence transformation to the standard Laplacian using the node weights. We briefly review these two constructions below.

Let 𝒢︀=(𝒱︀,ℰ︀) be a graph with positive node and edge weight functions 𝑤0:𝒱︀→ℝ++ and 𝑤1:ℰ︀→ℝ++, respectively. Define the |𝒱︀|×|𝒱︀| and |ℰ︀|×|ℰ︀| diagonal matrices 𝑊0=Diag{𝑤0(𝑣𝑖)1/2}𝑖=1𝑛 and 𝑊1=Diag{𝑤1(𝑒𝑖)1/2}𝑖=1𝑚. Then 𝐵¯1=𝑊0−1𝐵1𝑊1 is the normalized and weighted boundary operator of 𝒢︀ and we have that

𝐿¯0=𝐵¯1𝐵¯1⊤=𝑊0−1𝐵1𝑊12𝐵1⊤𝑊0−1

(4)

is the normalized weighted graph Laplacian of 𝒢︀.

In particular, note that, as for 𝐿0, the entries of 𝐿¯0 uniquely characterize the graph topology, in fact we have

(𝐿¯0)𝑖𝑖=deg(𝑖)𝑤0(𝑖),(𝐿¯0)𝑖𝑗={−𝑤1(𝑖𝑗)𝑤0(𝑖)𝑤0(𝑗)𝑖𝑗∈ℰ︀0otherwise,for𝑖≠𝑗

where deg(𝑖) denotes the (weighted) degree of node 𝑖, i.e. deg(𝑖)=∑𝑒∈ℰ︀:𝑖∈𝑒𝑤1(𝑒).

While the definition of 𝑘-th order Laplacian is well-established for the case of unweighted edges and simplices, a notion of weighted and normalized 𝑘-th order Laplacian is not universally available and it might depend on the application one has at hand. For example, different definitions of weighted Hodge Laplacian are considered in [17], [18], [24], [25].

At the same time, we notice that the notation used in Equation (4) directly generalizes to higher orders. Thus, we propose the following notion of normalized and weighted 𝑘-th Laplacian

Def 2.5

Let 𝒦︀ be a simplicial complex and let 𝑤𝑘:𝒱︀𝑘→ℝ++ be a positive-valued weight function on the 𝑘-simplices of 𝒦︀. Define the diagonal matrix 𝑊𝑘=Diag{𝑤𝑘(𝜎𝑖)1/2}𝑖=1|𝒱︀𝑘|. Then, 𝐵¯𝑘=𝑊𝑘−1−1𝐵𝑘𝑊𝑘 is the normalized and weighted 𝑘-th boundary operator, to which corresponds the normalized and weighted 𝑘-th Laplacian

𝐿¯𝑘=𝐵¯𝑘⊤𝐵¯𝑘+𝐵¯𝑘+1𝐵¯𝑘+1⊤=𝑊𝑘𝐵𝑘⊤𝑊𝑘−1−2𝐵𝑘𝑊𝑘+𝑊𝑘−1𝐵𝑘+1𝑊𝑘+12𝐵𝑘+1⊤𝑊𝑘−1.

(5)

Note that, from the definition 𝐵¯𝑘=𝑊𝑘−1−1𝐵𝑘𝑊𝑘 and Equation (1), we immediately have that 𝐵¯𝑘𝐵¯𝑘+1=0. Thus, the group ℋ︀¯𝑘=ker𝐵¯𝑘/im𝐵¯𝑘+1 is well defined for any choice of positive weights 𝑤𝑘 and is isomorphic to ker𝐿¯𝑘. While the homology group may depend on the weights, we observe below that its dimension does not. Precisely, we have

Prop 2.6

The dimension of the homology groups of 𝒦︀ is not affected by the weights of its 𝑘-simplices. Precisely, if 𝑊𝑘 are positive diagonal matrices, we have

dimker𝐵¯𝑘=dimker𝐵𝑘,dimker𝐵¯𝑘⊤=dimker𝐵𝑘⊤,dimℋ︀¯𝑘=dimℋ︀𝑘.

Moreover, ker𝐵𝑘=𝑊𝑘ker𝐵¯𝑘 and ker𝐵𝑘⊤=𝑊𝑘−1−1ker𝐵¯𝑘⊤.

Proof. Since 𝑊𝑘 is an invertible diagonal matrix,

𝐵¯𝑘𝒙=0⇔𝑊𝑘−1−1𝐵𝑘𝑊𝑘𝒙=0⇔𝐵𝑘𝑊𝑘𝒙=0.

Hence, if 𝒙∈ker𝐵¯𝑘, then 𝑊𝑘𝒙∈ker𝐵𝑘, and, since 𝑊𝑘 is bijective, dimker𝐵¯𝑘=dimker𝐵𝑘. Similarly, one observes that dimker𝐵¯𝑘⊤=dimker𝐵𝑘⊤. Moreover, since 𝐵¯𝑘𝐵¯𝑘+1=0, then im𝐵¯𝑘+1⊆ker𝐵¯𝑘 and im𝐵¯𝑘⊤⊆ker𝐵¯𝑘+1⊤. This yields ker𝐵¯𝑘∪ker𝐵¯𝑘+1⊤=ℝ𝒱︀𝑘=ker𝐵𝑘∪ker𝐵𝑘+1⊤. Thus, for the homology group it holds dimℋ︀¯𝑘=dimℋ︀𝑘.

2.3 Principal spectral inheritance

Before moving on to the next section, we recall here a relatively direct but important spectral property that connects the spectra of the 𝑘-th and (𝑘+1)-th order Laplacians.

Thm 2.1 [Spectral inheritance of higher-order Laplacians]

Let 𝐿¯𝑘down=𝐵¯𝑘⊤𝐵¯𝑘 and 𝐿¯𝑘up=𝐵¯𝑘+1𝐵¯𝑘+1⊤. Then:

  1. 𝜎+(𝐿¯𝑘up)=𝜎+(𝐿¯𝑘+1down), where 𝜎+(⋅) denotes the set of positive eigenvalues;

  2. for any 𝜇∈𝜎+(𝐿¯𝑘), either 𝜇∈𝜎+(𝐿¯𝑘up) or the corresponding eigenvector 𝒗∈ker𝐿¯𝑘up. Similarly, for any 𝜈∈𝜎+(𝐿¯𝑘+1), either 𝜈∈𝜎+(𝐿¯𝑘+1down) or the corresponding eigenvector 𝒖∈ker𝐿¯𝑘+1down, and

    𝐵¯𝑘⊤𝐵¯𝑘𝒗=𝜇𝒗,𝐵¯𝑘+2𝐵¯𝑘+2⊤𝒖=𝜈𝒖.

Proof. For 𝜇>0 it is sufficient to note that if (𝜇,𝒙) is an eigenpair for 𝐿¯𝑘up, then (𝜇,𝜇−1/2𝐵¯𝑘+1⊤𝒙) is an eigenpair for 𝐿¯𝑘+1down. Similarly, if (𝜇,𝒚) is an eigenpair of 𝐿¯𝑘+1down, thens (𝜇,𝜇−1/2𝐵¯𝑘+1𝒚) is the corresponding eigenpair of 𝐿¯𝑘up, yielding (1). The statement in (2) follows immediately from the Hodge decomposition (3).

In other words, the variation of the spectrum of the 𝑘-th Laplacian when moving from one order to the next one works as follows: the down-term 𝐿¯𝑘+1down inherits the positive part of the spectrum from the up-term of 𝐿¯𝑘up; the eigenvectors corresponding to the inherited positive part of the spectrum lie in the kernel of 𝐿¯𝑘+1up; at the same time, the “new” up-term 𝐿¯𝑘+1up has a new, non-inherited, part of the positive spectrum (which, in turn, lies in the kernel of the (𝑘+2)-th down-term).

In particular, we notice that for 𝑘=0, since 𝐵0=0 and 𝐿¯0=𝐿¯0up, the theorem yields 𝜎+(𝐿¯0)=𝜎+(𝐿1¯down)⊆𝜎+(𝐿¯1). In other terms, the positive spectrum of the 𝐿¯0 is inherited by the spectrum of 𝐿¯1 and the remaining (non-inherited) part of 𝜎+(𝐿¯1) coincides with 𝜎+(𝐿¯1up). Figure 3 provides an illustration of the statement of Theorem 2.1 for 𝑘=0.

Figure 3: Illustration for the principal spectrum inheritance (Theorem 2.1) in case 𝑘=0: spectra of 𝐿¯1, 𝐿¯1down and 𝐿¯1up are shown. Colors signify the splitting of the spectrum, 𝜆𝑖>0∈𝜎(𝐿¯1) ; all yellow eigenvalues are inherited from 𝜎+(𝐿¯0); red eigenvalues belong to the non-inherited part. Dashed barrier 𝜇 signifies the penalization threshold (see the target functional in Section 4) preventing homological pollution (see Subsection 3.1).

3 Problem setting: Nearest complex with different homology

Suppose we are given a simplicial complex 𝒦︀ on the vertex set 𝒱︀, with simplex weight functions 𝑤0,𝑤1,…, and let 𝛽𝑘=dimℋ︀𝑘=dimℋ︀¯𝑘 the dimension of its 𝑘-homology. We aim at finding the closest simplex on the same vertex set 𝒱︀, with a strictly larger number of holes. As it is the most frequent higher-order Laplacian appearing in applications and since this provides already a large number of numerical complications, we focus here only on the Hodge Laplacian case: given the simplicial complex 𝒦︀=(𝒱︀0,𝒱︀1,𝒱︀2,…), we look for the smallest perturbation of the edges 𝒱︀1 which increases the dimension of ℋ︀1. More precisely:

Problem 1

Let 𝒦︀ be a simplicial complex of order at least 2 with associated edge weight function 𝑤1 and corresponding diagonal weight matrix 𝑊1, and let 𝛽1(𝑊1) be the dimension of the homology group corresponding to the weights in 𝑊1. For 𝜀>0, let

Ω(𝜀)={diagonal matrices 𝑊 such that ‖𝑊‖=𝜀},Π(𝑊1)={diagonal matrices 𝑊 such that 𝑊1+𝑊≥0}.

In other words, Ω(𝜀) is an 𝜀-sphere and Π(𝑊1) allows only non-negative simplex weights. We look for the smallest perturbation 𝜀 such that there exists a weight modification 𝛿𝑊1∈Ω(𝜀)∩Π(𝑊1) such that 𝛽1(𝑊1)<𝛽1(𝑊1+𝛿𝑊1).

Here, and throughout the paper, ‖𝑋‖ denotes either the Frobenius norm if 𝑋 is a matrix, or the Euclidean norm if 𝑋 is a vector. Note that, as we are looking for the smallest 𝜀, the equality ‖𝑊‖=𝜀 is an obvious choice, as opposed to ‖𝑊‖≤𝜀.

As the dimension 𝛽1 coincides with the dimension of the kernel of 𝐿¯1, we approach this problem through the minimization of a functional based on the spectrum of the 0-th and 1-st Laplacian of the simplicial complex. In order to define such functional, we first make a number of considerations.

Note that, due to Proposition 2.6, the dimension of the first homology group does not change when the edge weights are perturbed, as long as all the weights remain positive. Thus, in order to find the desired perturbation 𝛿𝑊1, we need to set some of the initial weights to zero. This operation creates several potential issues we need to address, as discussed next.

First, setting an edge to zero implies that one is formally removing that edge from the simplicial complex. As the simplicial complex structure needs to be maintained, when doing so we need to set to zero also the weight of any 2-simplex that contains that edge. For this reason, if 𝑤~1(𝑒)=𝑤1(𝑒)+𝛿𝑤1(𝑒) is the new edge weight function, we require the weight function of the 2-simplices to change into 𝑤~2, defined as

𝑤~2(𝑖1𝑖2𝑖3)=𝑓(𝛿𝑤1(𝑖1𝑖2)𝑤1(𝑖1𝑖2),𝛿𝑤1(𝑖2𝑖3)𝑤1(𝑖2𝑖3),𝛿𝑤1(𝑖1𝑖3)𝑤1(𝑖1𝑖3))⋅𝑤2(𝑖1𝑖2𝑖3)

where 𝑓(𝑢1,𝑢2,𝑢3) is a function such that 𝑓(0,0,0)=1 and that monotonically decreases to zero as 𝑢𝑖→−1, for any 𝑖=1,2,3. An example of such 𝑓 is

𝑓(𝑢1,𝑢2,𝑢3)=1−min{𝑢1,𝑢2,𝑢3}.

(6)

Second, when setting the weight of an edge to zero we may disconnect the underlying graph and create an all-zero column and row in the Hodge Laplacian. This gives rise to the phenomenon that we call “homological pollution”, which we will discuss in detail in the next subsection.

3.1 Homological pollution: inherited almost disconnectedness

As the dimension of Hodge homology 𝛽1 corresponds to the number of zero eigenvalues in 𝐿¯1, the intuition suggests that if 𝐿¯1 has some eigenvalue that is close to zero, then the simplicial complex is “close to” having at least one more 1-dimensional hole. There are a number of problems with this intuitive consideration.

By Theorem 2.1 for 𝑘=0, 𝜎+(𝐿¯1) inherits 𝜎+(𝐿¯0). Hence, if the weights in 𝑊1 vary continuously so that a positive eigenvalue in 𝜎+(𝐿¯0) approaches 0, the same happens to 𝜎+(𝐿¯1). Assuming the initial graph 𝒢︀𝒦︀ is connected, an eigenvalue that approaches zero in 𝜎(𝐿¯0) would imply that 𝒢︀𝒦︀ is approaching disconnectedness. This leads to a sort of pollution of the kernel of 𝐿¯1 as an almost-zero eigenvalue which corresponds to an “almost” 0-dimensional hole (disconnected component) from 𝐿¯0 is inherited into the spectrum of 𝐿¯1, but this small eigenvalue of 𝐿¯1 does not correspond to the creation of a new 1-dimensional hole in the reduced complex.

To better explain the problem of homological pollution, let us consider the following illustrative example.

Ex 3.1

Consider the simplicial complex of order 2 depicted in Figure 4a. In this example we have 𝒱︀0={1,…,7}, 𝒱︀1={[1,2],[1,3],[2,3],[2,4],[3,5],[4,5], [4,6],[5,6],[5,7],[6,7]} and 𝒱︀2={[1,2,3],[4,5,6],[5,6,7]}, all with weight equal to one: 𝑤𝑘≡1 for 𝑘=0,1,2. The only existing 1-dimensional hole is shown in red and thus the corresponding Hodge homology is 𝛽=1. Now, consider perturbing the weight of edges [2,4] and [3,5] by setting their weights to 𝜀>0 Figure 4b. For small 𝜀, this perturbation implies that the smallest nonzero eigenvalue 𝜇2 in 𝜎+(𝐿¯0) is scaled by 𝜀. As 𝜎+(𝐿¯0)⊆𝜎+(𝐿¯1), we have that dimker𝐿¯1=1 and 𝜎+(𝐿¯1) has an arbitrary small eigenvalue, approaching 0 with 𝜀→0.

Figure 4: Example of the homological pollution, Example 3.1, for the simplicial complex 𝒦︀ on 7 vertices; the existing hole is [2,3,4,5] (left and center pane), all 3 cliques are included in the simplicial complex and shown in blue. The left pane demonstrates the initial setup with 1 hole; the center pane retains the hole exhibiting spectral pollution; the continuous transition to the eliminated edges with 𝛽1=0 (no holes) is shown on the right pane.

At the same time, when 𝜀→0, the reduced complex obtained by removing the zero edges as in Figure 4c does not have any 1-dimensional hole, i.e. 𝛽1=0. Thus, in this case, the presence of a very small eigenvalue 𝜇2∈𝜎+(𝐿¯1) does not imply that the simplicial complex is close to a simplicial complex with a larger dimension of the Hodge homology.

To mitigate the phenomenon of homological pollution, in our spectral-based functional for Problem 1 we include a term that penalizes the spectrum of 𝐿¯0 from approaching zero. To this end, we observe below that a careful choice of the vertex weights is required.

The smallest non-zero eigenvalue of the Laplacian 𝜇2∈𝜎(𝐿¯0) is directly related to the connectedness of the graph 𝒢︀𝒦︀. This relation is well-known and dates back to the pioneering work of Fiedler [26]. In particular, as 𝜇2 is a function of node and edge weights, the following generalized version of the Cheeger inequality holds (see e.g. [27])

12𝜇2≤ℎ(𝒢︀𝒦︀)≤(2𝜇2max𝑖∈𝒱︀0deg(𝑖)𝑤0(𝑖))1/2,

(7)

where ℎ(𝒢︀𝒦︀) is the Cheeger constant of the graph 𝒢︀𝒦︀, defined as

ℎ(𝒢︀𝒦︀)=min𝑆⊂𝒱︀0𝑤1(𝑆,𝒱︀0∖𝑆)min{𝑤0(𝑆),𝑤0(𝒱︀0∖𝑆)},

with 𝑤1(𝑆,𝒱︀0∖𝑆)=∑𝑖𝑗∈𝒱︀1:𝑖∈𝑆,𝑗∉𝑆𝑤1(𝑖𝑗), deg(𝑖)=∑𝑗:𝑖𝑗∈𝒱︀1𝑤1(𝑖𝑗), and 𝑤0(𝑆)=∑𝑖∈𝑆𝑤0(𝑖).

We immediately see from (7) that when the graph 𝒢︀𝒦︀ is disconnected, then ℎ(𝒢︀𝒦︀)=0 and 𝜇2=0 as well. Vice-versa, if 𝜇2 goes to zero, then ℎ(𝒢︀𝒦︀) decreases to zero too. While this happens independently of 𝑤0 and 𝑤1, if 𝑤0 is a function of 𝑤1 then it might fail to capture the presence of edges whose weight is decreasing and is about to disconnect the graph.

To see this, consider the example choice 𝑤0(𝑖)=deg(𝑖), the degree of node 𝑖 in 𝒢︀𝒦︀. Note that this is a very common choice in the graph literature, with several useful properties, including the fact that no other graph-dependent constant appears in the Cheeger inequality (7) other than 𝜇2. For this weight choice, consider the case of a leaf node, a node 𝑖∈𝒱︀0 that has only one edge 𝑖𝑗0∈𝒱︀1 connecting 𝑖 to the rest of the (connected) graph 𝒢︀𝒦︀ via the node 𝑗0. If we set 𝑤1(𝑖𝑗0)=𝜀 and we let 𝜀 decrease to zero, the graph 𝒢︀𝒦︀ is approaching disconnectedness and we would expect ℎ(𝒢︀𝒦︀) and 𝜇2 to decrease as well. However, one easily verifies that both 𝜇2 and ℎ(𝒢︀𝒦︀) are constant with respect to 𝜀 in this case, as long as 𝜀≠0.

In order to avoid such a discontinuity, in our weight perturbation strategy for the simplex 𝒦︀, if 𝑤0 is a function of 𝑤1, we perturb it by a constant shift. Precisely, if 𝑤0 is the initial vertex weight of 𝒦︀, we set 𝑤~0(𝑖)=𝑤0(𝑖)+𝜚, with 𝜚>0. So, for example, if 𝑤0=deg and the new edge weight function 𝑤~1(𝑒)=𝑤1(𝑒)+𝛿𝑤1(𝑒) is formed after the addition of 𝛿𝑊1, we set 𝑤~0(𝑖)=∑𝑗[𝑤1(𝑖𝑗)+𝛿𝑤1(𝑖𝑗)]+𝜚.

4 Spectral functional for 1-st homological stability

We are now in the position to formulate our proposed spectral-based functional, whose minimization leads to the desired small perturbation that changes the first homology of 𝒦︀. In the notation of Problem 1, we are interested in the smallest perturbation 𝜀 and the corresponding modification 𝛿𝑊1∈Ω(𝜀)∩Π(𝑊1) that increases 𝛽1.

As ‖𝛿𝑊1‖=𝜀, for convenience we indicate 𝛿𝑊1=𝜀𝐸 with ‖𝐸‖=1  so 𝐸∈Ω(1)∩Π𝜀(𝑊1), where Π𝜀(𝑊1)={𝑊∣𝜀𝑊∈Π(𝑊1)}. For the sake of simplicity, we will omit the dependencies and write Ω and Π𝜀, when there is no danger of ambiguity. Finally, let us denote by 𝛽1(𝜀,𝐸) the first Betti number corresponding to the simplicial complex perturbed via the edge modification 𝜀𝐸. With this notation, we can reformulate Problem 1 as follows:

Problem 2

Find the smallest 𝜀>0, such that there exists an admissible perturbation 𝐸∈Ω∩Π𝜀 with an increased number of holes, i.e.

min{𝜀>0:𝛽1(𝜀,𝐸)≥𝛽1+1 for some 𝐸∈Ω∩Π𝜀}

(8)

where 𝛽1=𝛽1(0,⋅) is the first Betti number of the original simplicial complex.

In order to approach Problem 2, we introduce a target functional 𝐹(𝜀,𝐸), based on the spectrum of the 1-Laplacian 𝐿¯1(𝜀,𝐸) and the 0-Laplacian 𝐿¯0(𝜀,𝐸), where the dependence on 𝜀 and 𝐸 is to emphasize the corresponding weight perturbation is of the form 𝑊1↦𝑊1+𝜀𝐸.

Our goal is to move a positive entry from 𝜎+(𝐿¯1(𝜀,𝐸)) to the kernel. At the same time, assuming the initial graph 𝒢︀𝒦︀ is connected, one should avoid the inherited almost disconnectedness with small positive entries of 𝜎+(𝐿¯0(𝜀,𝐸)). As, by Theorem 2.1 for 𝑘=0, 𝜎+(𝐿¯0(𝜀,𝐸))=𝜎+(𝐿¯1down(𝜀,𝐸)), the only eigenvalue of 𝐿¯1(𝜀,𝐸) that can be continuously driven to 0 comes from 𝐿¯1up(𝜀,𝐸). For this reason, let us denote the first non-zero eigenvalue of the up-Laplacian 𝐿¯1up(𝜀,𝐸) by 𝜆+(𝜀,𝐸). The proposed target functional is defined as:

𝐹(𝜀,𝐸)=𝜆+(𝜀,𝐸)22+𝛼2max(0,1−𝜇2(𝜀,𝐸)𝜇)2

(9)

where 𝛼 and 𝜇 are positive parameters, and 𝜇2(𝜀,𝐸) is the first nonzero eigenvalue of 𝐿¯0(𝜀,𝐸). As recalled in Subsection 3.1, 𝜇2(𝜀,𝐸) is an algebraic measure of the connectedness of the perturbed graph, thus the whole second term in (9) “activates” when such algebraic connectedness falls below the threshold 𝜇.

By design, 𝐹(𝜀,𝐸) is non-negative and is equal to 0 iff 𝜆+(𝜀,𝐸) reaches 0, increasing the dimension of ℋ︀1. Using this functional, we recast the Problem 2 as

min{𝜀>0:𝐹(𝜀,𝐸)=0 for some 𝐸∈Ω𝜀}

(10)

Rem 4.1

When 𝒢︀𝒦︀ is connected, dimker𝐿¯0=1 and, by the Theorem 2.1, dimker𝐿¯1up=dimker𝐿¯1+(𝑛−dimker𝐿¯0)=𝑛+𝛽1−1, so the first nonzero eigenvalue of 𝐿¯1up is the (𝑛+𝛽1)-th. While (𝑛+𝛽1) can be a large number in practice, we will discuss in Subsection 6.1 an efficient method that allows us to compute 𝜆+(𝜀,𝐸) without computing any of the previous (𝑛+𝛽1−1) eigenvalues.

5 A two-level optimization procedure

We approach problem (10) by the means of a two-level iterative method, which is based on the successive minimization of the target functional 𝐹(𝜀,𝐸) and a subsequent tuning of the parameter 𝜀. More precisely, we propose the following two-level scheme.

  1. Inner level: for fixed 𝜀>0, solve the minimization problem

    𝐸(𝜀)=arg min𝐸∈Ω∩Π𝜀𝐹(𝜀,𝐸)

    by a constrained gradient flow which we formulate below, where we denote the computed minimizer by 𝐸(𝜀).

  2. Outer level: given the function 𝜀↦𝐸(𝜀), we wish to solve the equation:

    𝐹(𝜀,𝐸(𝜀))=0

    (11)

    and our goal is to compute the smallest solution 𝜀∗>0 of (11).

A similar procedure was used in the context of graph spectral nearness in [28], [29] and in other matrix nearness problems [30].

We approach the inner level by means of the constrained gradient system

𝐸.(𝑡)=−ℙΩ∩Π𝜀𝐺(𝜀,𝐸(𝑡)),𝐺(𝜀,𝐸)=∇𝐸𝐹(𝜀,𝐸)

(12)

where ℙΩ∩Π𝜀 is an orthogonal projector (wrt to Frobenius inner product) onto the admissible set Ω∩Π𝜀 (where 𝜀 is fixed). Since the system integrates the anti-gradient, a minimizer (at least local) of 𝐹(𝜀,𝐸) is obtained as 𝑡→∞.

We devote the next two Subsection 5.1 and Subsection 5.2 to computing the projected gradient in (12). The idea is to express the derivative of 𝐹 in terms of the derivative of the perturbation and this way identifying the free gradient, and then projecting it onto the constraints obtaining the constrained gradient. To this end, we first compute the free gradient and then we discuss how to deal with the projection onto the admissible set.

By construction, the resulting algorithm converges to a (local) minimum of 𝐹(𝜀,𝐸). Although global convergence to the global optimum is not guaranteed, in a few simple experiments we observe the method reaches the expected global solution.

5.1 The free gradient

We compute here the free gradient of 𝐹 with respect to 𝐸, given a fixed 𝜀. In order to proceed, we need a few preliminary results.

The following is a standard perturbation result for eigenvalues; see e.g. [31], where we denote by ⟨𝑋,𝑌⟩=∑𝑖,𝑗𝑥𝑖𝑗𝑦𝑖𝑗=Tr(𝑋⊤𝑌) the inner product in ℝ𝑛×𝑛 that induces the Frobenius norm ‖𝑋‖=⟨𝑋,𝑋⟩1/2.

Thm 5.1 [Derivative of simple eigenvalues]

Consider a continuously differentiable path of square symmetric matrices 𝐴(𝑡) for 𝑡 in an open interval ℐ︀. Let 𝜆(𝑡), 𝑡∈ℐ︀, be a continuous path of simple eigenvalues of 𝐴(𝑡). Let 𝒙(𝑡) be the eigenvector associated to the eigenvalue 𝜆(𝑡) and assume ‖𝒙(𝑡)‖=1 for all 𝑡. Then 𝜆 is continuously differentiable on ℐ︀ with the derivative (denoted by a dot)

𝜆.=𝒙⊤𝐴.𝒙=⟨𝒙𝒙⊤,𝐴.⟩.

Moreover, “continuously differentiable” can be replaced with “analytic” in the assumption and the conclusion.

Let us denote the perturbed weight matrix by 𝑊~1(𝑡)=𝑊1+𝜀𝐸(𝑡), and the corresponding 𝑊~0(𝑡)=𝑊0(𝑊~1(𝑡)) and 𝑊~2(𝑡)=𝑊2(𝑊~1(𝑡)), defined accordingly as discussed in Section 3. From now on we omit the time dependence for the perturbed matrices to simplify the notation. Since 𝑊~0, 𝑊~1 and 𝑊~2 are necessarily diagonal, by the chain rule we have 𝑊~.𝑖(𝑡)=𝜀diag(𝐽1𝑖𝐸.𝟏), where 𝟏 is the vector of all ones, diag(𝒗) is the diagonal matrix with diagonal entries the vector 𝒗, and 𝐽1𝑖 is the Jacobian matrix of the 𝑖-th weight matrix with respect to 𝑊~1, which for any 𝑢1∈𝒱︀1 and 𝑢2∈𝒱︀𝑖, has entries [𝐽1𝑖]𝑢1,𝑢2=𝜕𝜕𝑤~1(𝑢1)𝑤~𝑖(𝑢2).

Next, in the following two lemmas, we express the time derivative of the Laplacian 𝐿¯0 and 𝐿¯1up as functions of 𝐸(𝑡). The proofs of these results are straightforward and omitted for brevity. In what follows, Sym[𝐴] denotes the symmetric part of the matrix 𝐴, namely Sym[𝐴]=(𝐴+𝐴⊤)/2.

Lem 5.1 [Derivative of 𝐿¯0]

For the simplicial complex 𝒦︀ with the initial edges’ weight matrix 𝑊1 and fixed perturbation norm 𝜀, let 𝐸(𝑡) be a smooth path and 𝑊~0,𝑊~1,𝑊~2 be corresponding perturbed weight matrices. Then,

12𝜀𝑑𝑑𝑡𝐿¯0(𝑡)=𝑊~0−1𝐵1𝑊~1𝐸.𝐵1⊤𝑊~0−1−Sym[𝑊~0−1diag(𝐽10𝐸.𝟏)𝐿¯0].
Lem 5.2 [Derivative of 𝐿¯1up]

For the simplicial complex 𝒦︀ with the initial edges’ weight matrix 𝑊1 and fixed perturbation norm 𝜀, let 𝐸(𝑡) be a smooth path and 𝑊~0,𝑊~1,𝑊~2 be corresponding perturbed weight matrices. Then,

12𝜀𝑑𝑑𝑡𝐿¯1up(𝑡)=−Sym[𝑊~1−1𝐵2𝑊~22𝐵2⊤𝑊~1−1𝐸.𝑊~1−1]+𝑊~1−1𝐵2𝑊~2diag(𝐽10𝐸.𝟏)𝐵2⊤𝑊~1−1

Combining Theorem 5.1 with Lemma 5.1 and Lemma 5.2 we obtain the following expression for the free gradient of the functional.

Thm 5.2 [The free gradient of 𝐹(𝜀,𝐸)]

Assume the initial weight matrices 𝑊0, 𝑊1 and 𝑊2, as well as the parameters 𝜀>0, 𝛼>0 and 𝜇>0, are given. Additionally assume that 𝐸(𝑡) is a differentiable matrix-valued function such that the first non-zero eigenvalue 𝜆+(𝜀,𝐸) of 𝐿¯1up(𝜀,𝐸) and the second smallest eigenvalue 𝜇2(𝜀,𝐸) of 𝐿¯0(𝜀,𝐸) are simple. Let 𝑊~0,𝑊~1,𝑊~2 be corresponding perturbed weight matrices; then:

1𝜀∇𝐸𝐹(𝜀,𝐸)(𝑡)=𝜆+(𝜀,𝐸)⋅⋅[Sym[−𝑊~1−1𝐵2𝑊~22𝐵2⊤𝑊~1−1𝒙+𝒙+⊤𝑊~1−1]+diag((𝐽12)⊤diagvec(𝐵2⊤𝑊~1−1𝒙+𝒙+⊤𝑊~1−1𝐵2𝑊~2))]−𝛼𝜇max{0,1−𝜇2(𝜀,𝐸)𝜇}⋅⋅[𝐵1⊤𝑊~0−1𝒚2𝒚2⊤𝑊~0−1𝐵1𝑊~1−diag((𝐽10)⊤diagvec(Sym[𝑊~0−1𝒚2𝒚2⊤𝐿¯0]))]

where 𝒙+ is a unit eigenvector of 𝐿¯1up corresponding to 𝜆+, 𝒚2 is a unit eigenvector of 𝐿¯0 corresponding to 𝜇2, and the operator diagvec(𝑋) returns the main diagonal of 𝑋 as a vector.

Proof. To derive the expression for the gradient ∇𝐸𝐹, we exploit the chain rule for the time derivative: 𝜆.=⟨𝑑𝑑𝑡𝐴(𝐸(𝑡)),𝒙𝒙⊤⟩=⟨∇𝐸𝜆,𝐸.⟩. Then it is sufficient to apply the cyclic perturbation for the scalar products of Lemma 5.1 and Lemma 5.2 with 𝒙+𝒙+⊤ and 𝒚2𝒚2⊤ respectively. The final transition requires the formula:

⟨𝐴,diag(𝐵𝐸𝟏)⟩=⟨diag(𝐵⊤(diagvec𝐴)),𝐸⟩.
Rem 5.1

The derivation above assumes the simplicity of both 𝜇2(𝜀,𝐸) and 𝜆+(𝜀,𝐸). This assumption is not restrictive as simplicity for these extremal eigenvalues is a generic property. Indeed we observe simplicity in all our numerical tests.

5.2 The constrained gradient system and its stationary points

In this section we are deriving from the free gradient determined in Theorem 5.2 the constrained gradient of the considered functional, that is the projected gradient (with respect to the Frobenius inner product) onto the manifold Ω∩Π𝜀, which consists of perturbations 𝐸 of unit norm which preserve the structure of 𝑊.

In order to obtain the constrained gradient system, we need to project the unconstrained gradient given by Theorem 5.2 onto the feasible set and also to normalize 𝐸 to preserve its unit norm. Using the Karush-Kuhn-Tucker conditions on a time interval where the set of 0-weight edges remain unchanged, the projection is done via the mapping ℙ+𝐺(𝜀,𝐸), where

[ℙ+𝑋]𝑖𝑗={𝑋𝑖𝑗,[𝑊1+𝜀𝐸]𝑖𝑗>00,otherwise.

Further, in order to comply with the constraint ‖𝐸(𝑡)‖2=1, we must have

0=12𝑑𝑑𝑡‖𝐸(𝑡)‖2=⟨𝐸(𝑡),𝐸.(𝑡)⟩.

(13)

Thus, we obtain the following constrained optimization problem for the admissible direction of the steepest descent

Lem 5.3 [Direction of steepest admissible descent]

Let 𝐸,𝐺∈ℝ𝑚×𝑚 with 𝐺 given by (12), and ‖𝐸‖=1. On a time interval where the set of 0-weight edges remains unchanged, the gradient system reads

𝐸.(𝑡)=−ℙ+𝐺(𝜀,𝐸(𝑡))+𝜅ℙ+𝐸(𝑡),where𝜅=⟨𝜀,𝐺(𝐸(𝑡)),ℙ+𝐸(𝑡)⟩‖ℙ+𝐸(𝑡)‖2.

(14)

Proof. We need to orthogonalize 𝐸.(𝑡) with respect to 𝐸(𝑡). To this end, we introduce a linear orthogonality correction, i.e. we set 𝐸.=ℙ+(−𝐺−𝜅𝐸), and we determine 𝜅 by imposing the constraint ⟨𝐸,𝐸.⟩=0. We then have

0=⟨𝐸,𝐸.⟩=⟨𝐸,ℙ+(−𝐺−𝜅𝐸)⟩=−⟨ℙ+𝐸,𝐺⟩−𝜅⟨ℙ+𝐸,ℙ+𝐸⟩,

and the result follows.

Equation (14) suggests that the system goes “primarily” in the direction of the antigradient −𝐺(𝜀,𝐸), thus the functional is expected to decrease along it.

Lem 5.4 [Monotonicity]

Let 𝐸(𝑡) of unit Frobenius norm satisfy the differential equation (14), with 𝐺 given by (12). Then, 𝐹(𝜀,𝐸(𝑡)) decreases monotonically with 𝑡.

Proof. We consider first the simpler case where the non-negativity projection does not apply so that 𝐺=𝐺(𝜀,𝐸) (without ℙ+). Then

𝑑𝑑𝑡𝐹(𝜀,𝐸)(𝑡)=⟨∇𝐸𝐹𝑘(𝜀,𝐸),𝐸.⟩=⟨𝜀𝐺(𝜀,𝐸(𝑡)),−𝐺(𝜀,𝐸(𝑡))+𝜅𝐸(𝑡)⟩=−𝜀‖𝐺(𝜀,𝐸)‖2+𝜀⟨𝐺(𝜀,𝐸),𝐸⟩⟨𝐸,𝐸⟩⟨𝐺(𝜀,𝐸),𝐸⟩=𝜀(−‖𝐺(𝜀,𝐸)‖2+|⟨𝐺(𝜀,𝐸),𝐸⟩|2‖𝐸‖2)≤0

(15)

where the final estimate is given by the Cauchy-Bunyakovsky-Schwarz inequality. The derived inequality holds on the time interval without the change in the support of ℙ+ (so that no new edges are prohibited by the non-negativity projection).

5.3 Free Gradient Transition in the Outer Level

The optimization problem in the inner level is non-convex due to the non-convexity of the functional 𝐹(𝜀,𝐸). Hence, for a given 𝜀, the computed minimizer 𝐸(𝜀) may depend on the initial guess 𝐸0=𝐸0(𝜀).

The effects of the initial choice are particularly important upon the transition 𝜀^→𝜀=𝜀^+Δ𝜀 between constrained inner levels: given reasonably small Δ𝜀, one should expect relatively close optimizers 𝐸(𝜀^) and 𝐸(𝜀), and, hence, the initial guess 𝐸0(𝜀) being close to and dependent on 𝐸(𝜀).

This choice, which seems very natural, determines however a discontinuity

𝐹(𝜀^,𝐸(𝜀^))≠𝐹(𝜀,𝐸(𝜀^)),

which may prevent the expected monotonicity property with respect to 𝜀 in the (likely unusual case) where 𝐹(𝜀^,𝐸(𝜀^))<𝐹(𝜀,𝐸(𝜀^)). This may happen in particular when Δ𝜀 is not taken small; since the choice of Δ𝜀 is driven by a Newton-like iteration we are interested in finding a way to prevent this situation and making the whole iterative method more robust. The goal is that of guaranteeing monotonicity of the functional both with respect to time and with respect to 𝜀.

Figure 5: The scheme of alternating constrained (blue, ‖𝐸(𝑡)‖≡1) and free gradient (red) flows. Each stage inherits the final iteration of the previous stage as initial 𝐸0(𝜀𝑖) or 𝐸~0(𝜀𝑖) respectively; constrained gradient is integrated till the stationary point (‖∇𝐹(𝐸)‖=0), free gradient is integrated until ‖𝛿𝑊1‖=𝜀𝑖+Δ𝜀. The scheme alternates until the target functional vanishes (𝐹(𝜀,𝐸)=0).

When in the outer iteration we increase 𝜀 from a previous value 𝜀^<𝜀, we have the problem of choosing a suitable initial value for the constrained gradient system (14), such that at the stationary point 𝐸(𝜀^) we have 𝐹(𝜀^,𝐸(𝜀^))<𝐹(𝜀,𝐸(𝜀)) (which we assume both positive, that is on the left of the value 𝜀⋆ which identifies the closest zero of the functional).

In order to maintain monotonicity with respect to time and also with respect to 𝜀, it is convenient to start to look at the optimization problem with value 𝜀, with the initial datum 𝛿𝑊1=𝜀^𝐸(𝜀^) of norm 𝜀^<𝜀.

This means we have essentially to optimize with respect to the inequality constraint ‖𝛿𝑊1‖≤𝜀, or equivalently solve the problem (now with inequality constrain on ‖𝐸‖𝐹):

𝐸(𝜀)=arg min𝐸∈Ω,‖𝐸‖≤1𝐹(𝜀,𝐸)

The situation changes only slightly from the one discussed above. If ‖𝐸‖<1, every direction is admissible, and the direction of the steepest descent is given by the negative gradient. So we choose the free gradient flow

𝐸.=−ℙ+𝐺(𝜀,𝐸(𝑡))as long as ‖𝐸(𝑡)‖<1.

(16)

When ‖𝐸(𝑡)‖=1, then there are two possible cases. If ⟨ℙ+𝐺(𝜀,𝐸),𝐸⟩≥0, then the solution of (16) has

𝑑𝑑𝑡‖𝐸(𝑡)‖2=2⟨𝐸.,𝐸⟩=−2⟨ℙ+𝐺(𝜀,𝐸(𝑡)),𝐸⟩≤0,

and hence the solution of (16) remains of Frobenius norm at most 1.

Otherwise, if ⟨ℙ+𝐺(𝜀,𝐸),𝐸⟩<0, the admissible direction of steepest descent is given by the right-hand side of (14), and so we choose this ODE to evolve 𝐸. The situation can be summarized as taking, if ‖𝐸(𝑡)‖=1,

𝐸.=−ℙ+𝐺(𝜀,𝐸)+𝜇𝐸 with 𝜇=min(0,𝜅)

(17)

with 𝜅=⟨𝐺(𝜀,𝐸),ℙ+𝐸⟩/‖ℙ+𝐸‖2. Along the solutions of (17), the functional 𝐹 decays monotonically, and stationary points of (17) (i.e. points such that 𝐸.=0) with ℙ+𝐺(𝜀,𝐸(𝑡))≠0 are characterized by

𝐸is a𝑛𝑒𝑔𝑎𝑡𝑖𝑣𝑒real multiple ofℙ+𝐺(𝜀,𝐸(𝑡)).

(18)

If it can be excluded that the gradient ℙ+𝐺(𝜀,𝐸(𝑡)) vanishes at an optimizer, it can thus be concluded that the optimizer of the problem with inequality constraints is a stationary point of the gradient flow (14) for the problem with equality constraints.

Rem 5.2

As a result, 𝐹(𝜀,𝐸(𝑡)) monotonically decreases both with respect to time 𝑡 and to the value of the norm 𝜀, when 𝜀≤𝜀⋆.

6 Algorithm details

In Algorithm 1 we provide the pseudo-code of the whole bi-level procedure. The initial “𝛼-phase” is used to choose an appropriate value for the regularization parameter 𝛼. In order to avoid the case in which the penalizing term on the right-hand side of (9) dominates the loss 𝐹(𝜀,𝐸(𝑡)) in the early stages of the descent flow, we select 𝛼 by first running such an initial phase, prior to the main alternated constrained/free gradient loop. In this phase, we fix a small 𝜀=𝜀0 and run the constrained gradient integration for an initial 𝛼=𝛼∗. After the computation of a local optimum 𝐸∗, we then increase 𝛼 and rerun for the same 𝜀0 with 𝐸∗ as starting point. We iterate until no change in 𝐸∗ is observed or until 𝛼 reaches an upper bound 𝛼∗.

The resulting value of 𝛼 and 𝐸∗ are then used in the main loop where we first increase 𝜀 by the chosen step size, we rescale 𝐸𝑖 by 0<𝜀/(𝜀+Δ𝜀)<1, and then we perform the free gradient integration described in Subsection 5.3 until we reach a new point 𝐸𝑖 on the unit sphere ‖𝐸𝑖‖=1. Then, we perform the inner constrained gradient step by integrating Equation (14), iterating the following two-step norm-corrected Euler scheme:

{𝐸𝑖+1/2=𝐸𝑖−ℎ𝑖(ℙ+𝐺(𝐸𝑖,𝜀)−𝜅𝑖ℙ+𝐸𝑖).𝐸𝑖+1=ℙΠ𝜀𝐸𝑖+1/2/‖ℙΠ𝜀𝐸𝑖+1/2‖

(19)

where the second step is necessary to numerically guarantee the Euler integration remains in the set of admissible flows since the discretization does not conserve the norm and larger steps ℎ𝑖 may violate the non-negativity of the weights.

In both the free and constrained integration phases, since we aim to obtain the solution at 𝑡→∞ instead of the exact trajectory, we favor larger steps ℎ𝑖 given that the established monotonicity is conserved. Specifically, if 𝐹(𝜀,𝐸𝑖+1)<𝐹(𝜀,𝐸𝑖), then the step is accepted and we set ℎ𝑖+1=𝛽ℎ𝑖 with 𝛽>1; otherwise, the step is rejected and repeated with a smaller step ℎ𝑖←ℎ𝑖/𝛽.

Rem 6.1

The step acceleration strategy described above, where 𝛽ℎ𝑖 is immediately increased after one accepted step, may lead to “oscillations” between accepted and rejected steps in the event the method would prefer to maintain the current step size ℎ𝑖. To avoid this potential issue, in our experiments we actually increase the step length after two consecutive accepted steps. Alternative step-length selection strategies are also possible, for example, based on Armijo’s rule or non-monotone stabilization techniques [32].

6.1 Computational costs

Each step of either the free or the constrained flows requires one step of explicit Euler integration along the anti-gradient −∇𝐸𝐹(𝜀,𝐸(𝑡)). As discussed in Section 5, the construction of such a gradient requires several sparse and diagonal matrix-vector multiplications as well as the computation of the smallest nonzero eigenvalue of both 𝐿¯1up(𝜀,𝐸) and 𝐿¯0(𝜀,𝐸). The latter two represent the major computational requirements of the numerical procedure. Fortunately, as both matrices are of the form 𝐴⊤𝐴, with 𝐴 being either of the two boundary or co-boundary operators 𝐵¯2 and 𝐵¯1⊤, we have that both the two eigenvalue problems boil down to a problem of the form

min𝒙⊥ker𝐴‖𝐴𝒙‖‖𝒙‖

i.e., the computation of the smallest singular value of the sparse matrix 𝐴. This problem can be approached by a sparse singular value solver based on a Krylov subspace scheme for the pseudo inverse of 𝐴⊤𝐴. In practice, we implement the pseudo inversion by solving the corresponding least squares problems

min𝒙‖𝐿¯1up(𝜀,𝐸)𝒙−𝒃‖,min𝒙‖𝐿¯0(𝜀,𝐸)𝒙−𝒃‖,

which, in our experiments, we solved using the least square minimal-residual method (LSMR) from [33]. This approach allows us to use a preconditioner for the normal equation corresponding to the least square problem. For simplicity, in our tests we used a constant preconditioner computed by means of an incomplete Cholesky factorization of the initial unperturbed 𝐿¯1up, or 𝐿¯0. Possibly, much better performance can be achieved with a tailored preconditioner that is efficiently updated throughout the matrix flow. We also note that the eigenvalue problem for the graph Laplacian 𝐿¯0(𝜀,𝐸) may be alternatively approached by a combinatorial multigrid strategy [34]. However, designing a suitable preconditioning strategy goes beyond the scope of this work and will be the subject of future investigations.

7 Numerical experiments

In this section, we provide several synthetic and real-world example applications of the proposed stability algorithm. The code for all the examples is available at https://github.com/COMPiLELab/HOLaGraF. All experiments are run until the global stopping criterion |𝐹(𝜀,𝐸(𝑡))|<10−6 is met. The parameters 𝜇 and 𝛼 are chosen as follows. Concerning 𝜇, we set 𝜇=0.75𝜇2, where 𝜇2 is the smallest nonzero eigenvalue of the initial Laplacian 𝐿¯0. As for 𝛼, we run the 𝛼-phase described in Section 6 with parameters 𝜀0=10−3, 𝛼∗=1 and 𝛼∗=100.

7.1 Illustrative Example

We consider here a small example of a simplicial complex 𝒦︀ of order 2 consisting of eight 0-simplices (vertices), twelve 1-simplices (edges), four 2-simplices 𝒱︀2={[1,2,3],[1,2,8],[4,5,6],[5,6,7]} and one corresponding hole [2,3,4,5], hence, 𝛽1=1. By design, the dimensionality of the homology group ℋ︀¯1 can be increased only by eliminating edges [1,2] or [5,6]; for the chosen weight profile 𝑤1([1,2])>𝑤1([5,6]), hence, the method should converge to the minimal perturbation norm 𝜀=𝑤1([5,6]) by eliminating the edge [5,6], Figure 6.

Figure 6: Simplicial complex 𝒦︀ on 8 vertices for the illustrative run (on the left): all 2-simplices from 𝒱︀2 are shown in blue, the weight of each edge 𝑤1(𝑒𝑖) is given on the figure. On the right: perturbed simplicial complex 𝒦︀ through the elimination of the edge [5,6] creating additional hole [5,6,7,8].

Figure 7: Illustrative run of the framework determining the topological stability: the top pane — the flow of the functional 𝐹(𝜀,𝐸(𝑡)); the second pane — the flow of 𝜎(𝐿¯1), 𝜆+ is highlighted; third pane — the change of the perturbation norm ‖𝐸(𝑡)‖; the bottom pane — the heatmap of the perturbation profile 𝐸(𝑡).

The exemplary run of the optimization framework in time is shown on Figure 7. The top panel of Figure 7 provides the continued flow of the target functional 𝐹(𝜀,𝐸(𝑡)) consisting of the initial 𝛼-phase (in green) and alternated constrained (in blue) and free gradient (in orange) stages. As stated above, 𝐹(𝜀,𝐸(𝑡)) is strictly monotonic along the flow since the support of ℙ+ does not change. Since the initial setup is not pathological with respect to the connectivity, the initial 𝛼-phase essentially reduces to a single constrained gradient flow and terminates after one run with 𝛼=𝛼∗. The constrained gradient stages are characterized by a slow changing 𝐸(𝑡), which is essentially due to the flow performing small adjustments to find the correct rotation on the unit sphere, whereas the free gradient stage quickly decreases the target functional.

The second panel shows the behaviour of first non-zero eigenvalue 𝜆+(𝜀,𝐸(𝑡)) (solid line) of 𝐿¯1up(𝜀,𝐸(𝑡)) dropping through the ranks of 𝜎(𝐿¯1(𝜀,𝐸(𝑡))) (semi-transparent); similar to the case of the target functional 𝐹(𝜀,𝐸(𝑡)), 𝜆+(𝜀,𝐸(𝑡)) monotonically decreases. The rest of the eigenvalues exhibit only minor changes, and the rapidly changing 𝜆+ successfully passes through the connectivity threshold 𝜇 (dotted line).

The third and the fourth panels show the evolution of the norm of the perturbation ‖𝐸(𝑡)‖ and the perturbation 𝐸(𝑡) itself, respectively. The norm ‖𝐸(𝑡)‖ is conserved during the constrained-gradient and the 𝛼- stages; these stages correspond to the optimization of the perturbation shape, as shown by the small positive values at the beginning of the bottom panel which eventually vanish. During the free gradient integration the norm ‖𝐸(𝑡)‖ increases, but the relative change of the norm declines with the growth of 𝜀𝑖 to avoid jumping over the smallest possible 𝜀. Finally, due to the simplicity of the complex, the edge we want to eliminate, 56, dominates the flow from the very beginning (see bottom panel); such a clear pattern persists only in small examples, whereas for large networks the perturbation profile is initially spread out among all the edges.

7.2 Triangulation Benchmark

To provide more insight into the computational behavior of the method, we synthesize here an almost planar graph dataset. Namely, we assume 𝑁 uniformly sampled vertices on the unit square with a network built by the Delaunay triangulation; then, edges are randomly added or erased to obtain the sparsity 𝜈 (so that the graph has 12𝜈𝑁(𝑁−1) edges overall). An order-2 simplicial complex 𝒦︀=(𝒱︀0,𝒱︀1,𝒱︀2) is then formed by letting 𝒱︀0 be the generated vertices, 𝒱︀1 the edges, and 𝒱︀2 every 3-clique of the graph; edges’ weights are sampled uniformly between 1/4 and 3/4, namely 𝑤1(𝑒𝑖)∼𝑈[14,34].

An example of such triangulation is shown in Figure 8a; here 𝑁=8 and edges [6,8] and [2,7] were eliminated to achieve the desired sparsity.

Figure 8: Benchmarking Results on the Synthetic Triangulation Dataset: varying sparsities 𝜈=0.35,0.5 and 𝑁=16,22,28,34,40; each network is sampled 10 times. Shapes correspond to the number of eliminated edges in the final perturbation: 1: ○, 2: □, 3:

, 4: △. For each pair (𝜈,𝑁), the un-preconditioned and Cholesky-preconditioned execution times are shown.

We sample networks with a varying number of vertices 𝑁=10,16,22,28 and varying sparsity pattern 𝜈=0.35,0.5 which determine the number of edges in the output as 𝑚=𝜈𝑁(𝑁−1)2. Due to the highly randomized procedure, topological structures of a sampled graph with a fixed pair of parameters may differ substantially, so 10 networks with the same (𝑁,𝜈) pair are generated. For each network, the working time (without considering the sampling itself) and the resulted perturbation norm 𝜀, and are reported in Figure 8b and Figure 8c, respectively. As anticipated in Subsection 6.1, we show the performance of two implementations of the method, one based on LSMR and one based on LSMR preconditioned by using the incomplete Cholesky factorization of the initial matrices. We observe that,

  • the computational cost of the whole procedure lies between 𝒪︀(𝑚2) and 𝒪︀(𝑚3)

  • denser structures, with a higher number of vertices, result in the higher number of edges being eliminated; at the same time, even most dense cases still can exhibit structures requiring the elimination of a single edge, showing that the flow does not necessarily favor multi-edge optima;

  • the required perturbation norm 𝜀 is growing with the size of the graph, Figure 8c, but not too fast: it is expected that denser networks would require larger 𝜀 to create a new hole; at the same time if the perturbation were to grow drastically with the sparsity 𝜈, it would imply that the method tries to eliminate sufficiently more edges, a behavior that resembles convergence to a sub-optimal perturbation;

  • preconditioning with a constant incomplete Cholesky multiplier, computed for the initial Laplacians, provides a visible execution time gain for medium and large networks. Since the quality of the preconditioning deteriorates as the flow approaches the minimizer (as a non-zero eigenvalue becomes 0), it is worth investigating the design of a preconditioner for the up-Laplacian that can be efficiently updated.

7.3 Transportation Networks

Finally, we provide an application to real-world examples based on city transportation networks. We consider networks for Bologna, Anaheim, Berlin Mitte, and Berlin Tiergarten; each network consists of nodes — intersections/public transport stops — connected by edges (roads) and subdivided into zones; for each road the free flow time, length, speed limit are known; moreover, the travel demand for each pair of nodes is provided through the dataset of recorded trips. All the datasets used here are publicly available at https://github.com/bstabler/TransportationNetworks; Bologna network is provided by the Physic Department of the University of Bologna (enriched through the Google Maps API https://developers.google.com/maps).

The regularity of city maps naturally lacks 3-cliques, hence forming the simplicial complex based on triangulations as done before frequently leads to trivial outcomes. Instead, here we “lift” the network to city zones, thus more effectively grouping the nodes in the graph. Specifically:

  1. we consider the completely connected graph where the nodes are zones in the city/region;

  2. the free flow time between two zones is temporarily assigned as a weight of each edge: the time is as the shortest path between the zones (by the classic Dijkstra algorithm) on the initial graph;

  3. similarly to what is done in the filtration used for persistent homology, we filter out excessively distant nodes; additionally, we exclude the longest edges in each triangle in case it is equal to the sum of two other edges (so the triangle is degenerate and the trip by the longest edge is always performed through to others);

  4. finally, we use the travel demand as an actual weight of the edges in the final network; travel demands are scaled logarithmically via the transformation 𝑤𝑖↦log10(𝑤𝑖0.95min𝑤𝑖); see the example on the left panel of Figure 9.

Given the definition of weights in the network, high instability (corresponding to small perturbation norm 𝜀) implies structural phenomena around the “almost-hole”, where the faster and shorter route is sufficiently less demanded.

Figure 9: Example of the Transportation Network for Bologna. Left pane: original zone graph where the width of edges corresponds to the weight, to-be-eliminated edge is colored in red. Right pane: eigenflows, original and created; color and width correspond to the magnitude of entries.

Table 1:Topological instability of the transportation networks: filtered zone networks with the corresponding perturbation norm 𝜀 and its percentile among 𝑤1(⋅) profile. For each simplicial complex the number of nodes, edges and triangles in 𝒱︀2(𝒦︀) are provided alongside the initial number of holes 𝛽1. The results of the algorithm consist of the perturbation norm, 𝜀, computation time, and approximate percentile 𝑝.

network𝛽1logarithmic weights
𝑛𝑚Δtime𝜀𝑝
Bologna6017517122.43 s0.650.003
[11, 47] (4th smallest)
Anaheim3815922115.39 s0.570.003
[10, 29] (11th smallest)
Berlin-Tiergarten26635502.46 s1.180.015
[6, 16] (20th smallest)
Berlin-Mitte984569001127 s0.8870.0016
[57, 87] (6th), [58, 87] (17th)

In the case of Bologna, Figure 9, the algorithm eliminates the edge [11,47] (Casalecchio di Reno – Pianoro) creating a new hole 6−11−57−47. We also provide examples of the eigenflows in the kernel of the Hodge Laplacian (original and additional perturbed): original eigenvectors correspond to the circulations around holes 7−26−12−20 and 8−21−20−16−37 non-locally spread in the neighborhood [25].

The results for four different networks are summarized in the Table 1; 𝑝 mimics the percentile, 𝜀/∑𝑒∈𝒱︀1𝑤𝑖(𝑒), showing the overall small perturbation norm contextually. At the same time, we emphasize that except Bologna (which is influenced by the geographical topology of the land), the algorithm does not choose the smallest weight possible; indeed, given our interpretation of the topological instability, the complex for Berlin-Tiergarten is stable and the transportation network is effectively constructed.

8 Discussion

In the current work, we formulate the notion of 𝑘-th order topological stability of a simplicial complex 𝒦︀ as the smallest data perturbation required to create one additional 𝑘-th order hole in 𝒦︀. By introducing an appropriate weighting and normalization, the stability is reduced to a matrix nearness problem solved by a bi-level optimization procedure. Despite the highly nonconvex landscape, our proposed procedure alternating constrained and free gradient steps yields a monotonic descending scheme. Our experiments show that this approach is generally successful in computing the minimal perturbation increasing 𝛽1(𝜀,𝐸), even for potentially difficult cases, as the one proposed in Subsection 7.1.

For simplicity, here we limit our attention to the smallest perturbation that introduces only one new hole. However, a simple modification may be employed to address the case of the introduction of 𝑚 new holes: include the sum of 𝑚 nonzero eigenvalues of 𝐿1up(𝜀,𝐸) rather than just the first one in the spectral functional (9). We also remark that, due to the spectral inheritance principle Theorem 2.1, the proposed framework for ℋ︀¯1 can be in principle extended to a general ℋ︀¯𝑘; however, this extension requires nontrivial considerations on the data modification procedure and on the numerical linear algebra tools, as a nontrivial topology of higher-order requires a much denser network.

Different improvements are possible in terms of numerical implementation, including investigating the use of more sophisticated (e.g. implicit) integrators for the gradient flow system (14), which would additionally require the use of higher-order derivatives of 𝜆+(𝜀,𝐸). Moreover, as already mentioned in Subsection 6.1, the numerical method for the computation of the small singular values would benefit from the use of an efficient preconditioner that can be effectively updated throughout the flow. Investigations in this direction are in progress and will be the subject of future work.

Bibliography

  • [1] F. Battiston et al., “Networks beyond pairwise interactions: Structure and dynamics,” Physics Reports, vol. 874, pp. 1–92, Aug. 2020, doi: 10.1016/j.physrep.2020.05.004.
  • [2] A. R. Benson, D. F. Gleich, and J. Leskovec, “Higher-order organization of complex networks,” Science, vol. 353, no. 6295, pp. 163–166, 2016, doi: 10.1126/science.aad9029.
  • [3] C. Bick, E. Gross, H. A. Harrington, and M. T. Schaub, “What are higher-order networks?,” SIAM Review, vol. abs/2104.11329, 2023.
  • [4] K. M. Altenburger and J. Ugander, “Monophily in social networks introduces similarity among friends-of-friends,” Nature Human Behaviour, vol. 2, no. 4, pp. 284–290, 2018.
  • [5] F. Arrigo, D. J. Higham, and F. Tudisco, “A framework for second-order eigenvector centralities and clustering coefficients,” Proceedings of the Royal Society A, vol. 476, no. 2236, p. 20190724, 2020.
  • [6] B. Nettasinghe, V. Krishnamurthy, and K. Lerman, “Diffusion in social networks: Effects of monophilic contagion, friendship paradox and reactive networks,” IEEE Transactions on Network Science and Engineering, 2019.
  • [7] K. Fountoulakis, P. Li, and S. Yang, “Local hyper-flow diffusion,” Advances in Neural Information Processing Systems, vol. 34, pp. 27683–27694, 2021.
  • [8] F. Tudisco, A. R. Benson, and K. Prokopchik, “Nonlinear higher-order label spreading,” in Proceedings of the Web Conference 2021, 2021, pp. 2402–2413.
  • [9] A. R. Benson, R. Abebe, M. T. Schaub, A. Jadbabaie, and J. Kleinberg, “Simplicial closure and higher-order link prediction,” Proceedings of the National Academy of Sciences, vol. 115, no. 48, pp. E11221–E11230, 2018.
  • [10] A. R. Benson, “Three hypergraph eigenvector centralities,” SIAM Journal on Mathematics of Data Science, vol. 1, no. 2, pp. 293–312, 2019.
  • [11] F. Tudisco, F. Arrigo, and A. Gautier, “Node and layer eigenvector centralities for multiplex networks,” SIAM Journal on Applied Mathematics, vol. 78, no. 2, pp. 853–876, 2018.
  • [12] F. Tudisco and D. J. Higham, “Core-periphery detection in hypergraphs,” SIAM Journal on Mathematics of Data Science.
  • [13] L. Qi and Z. Luo, Tensor Analysis. Philadelphia, PA: Society for Industrial, Applied Mathematics, 2017.
  • [14] A. Gautier, F. Tudisco, and M. Hein, “Nonlinear Perron-Frobenius theorems for nonnegative tensors,” SIAM Review, vol. 65, no. 2, pp. 495–536, 2023.
  • [15] L. Neuhäuser, R. Lambiotte, and M. T. Schaub, “Consensus dynamics and opinion formation on hypergraphs,” in Higher-Order Systems, Springer, 2022, pp. 347–376.
  • [16] L. Neuhäuser, M. Scholkemper, F. Tudisco, and M. T. Schaub, “Learning the effective order of a hypergraph dynamical system,” arXiv preprint arXiv:2306.01813, 2023.
  • [17] L.-H. Lim, “Hodge Laplacians on graphs,” SIAM Review, vol. 62, no. 3, pp. 685–715, 2015.
  • [18] Y.-C. Chen and M. Meila, “The decomposition of the higher-order homology embedding constructed from the 𝑘-Laplacian”, Advances in Neural Information Processing Systems, vol. 34, pp. 15695–15709, 2021.
  • [19] S. Ebli and G. Spreemann, “A notion of harmonic clustering in simplicial complexes,” in 2019 18th IEEE International Conference On Machine Learning And Applications (ICMLA), IEEE, 2019, pp. 1083–1090.
  • [20] N. Otter, M. A. Porter, U. Tillmann, P. Grindrod, and H. A. Harrington, “A roadmap for the computation of persistent homology,” EPJ Data Science, vol. 6, pp. 1–38, 2017.
  • [21] F. Chazal, V. De Silva, and S. Oudot, “Persistence stability for geometric complexes,” Geometriae Dedicata, vol. 173, no. 1, pp. 193–214, 2014.
  • [22] A. Muhammad and M. Egerstedt, “Control using higher order Laplacians in network topologies,” in Proc. of 17th International Symposium on Mathematical Theory of Networks and Systems, Citeseer, 2006, pp. 1024–1038.
  • [23] Y.-C. Chen, M. Meilă, and I. G. Kevrekidis, “Helmholtzian eigenmap: Topological feature discovery and edge flow learning from point cloud data,” arXiv:2103.07626, 2021, doi: 10.48550/ARXIV.2103.07626.
  • [24] D. Horak and J. Jost, “Spectra of combinatorial Laplace operators on simplicial complexes,” Advances in Mathematics, vol. 244, pp. 303–336, 2013.
  • [25] M. T. Schaub, A. R. Benson, P. Horn, G. Lippner, and A. Jadbabaie, “Random walks on simplicial complexes and the normalized Hodge 1-Laplacian,” SIAM Review, vol. 62, no. 2, pp. 353–391, 2020.
  • [26] M. Fiedler, “Laplacian of graphs and algebraic connectivity,” Banach Center Publications, vol. 25, no. 1, pp. 57–70, 1989.
  • [27] F. Tudisco and M. Hein, “A nodal domain theorem and a higher-order Cheeger inequality for the graph 𝑝-Laplacian”, ArXiv, vol. 1602.05567, Feb. 2016.
  • [28] E. Andreotti, D. Edelmann, N. Guglielmi, and C. Lubich, “Constrained graph partitioning via matrix differential equations,” SIAM Journal on Matrix Analysis and Applications, vol. 40, no. 1, pp. 1–22, 2019, doi: 10.1137/17M1160987.
  • [29] E. Andreotti, D. Edelmann, N. Guglielmi, and C. Lubich, “Measuring the stability of spectral clustering,” Linear Algebra and its Applications, vol. 610, pp. 673–697, 2021, doi: 10.1016/j.laa.2020.10.015.
  • [30] N. Guglielmi and C. Lubich, “Matrix nearness problems and eigenvalue optimization,” 2022.
  • [31] R. A. Horn and C. R. Johnson, Matrix Analysis. Cambridge University Press, 1990.
  • [32] L. Grippo, F. Lampariello, and S. Lucidi, “A class of nonmonotone stabilization methods in unconstrained optimization,” Numerische Mathematik, vol. 59, no. 1, pp. 779–805, 1991.
  • [33] D. C.-L. Fong and M. Saunders, “LSMR: An iterative algorithm for sparse least-squares problems,” SIAM Journal on Scientific Computing, vol. 33, no. 5, pp. 2950–2971, 2011.
  • [34] D. A. Spielman and S.-H. Teng, “Nearly linear time algorithms for preconditioning and solving symmetric, diagonally dominant linear systems,” SIAM Journal on Matrix Analysis and Applications, vol. 35, no. 3, pp. 835–885, 2014.