Efficient Sparsification of Simplicial Complexes via Local Densities of States
1Computational Network Science, RWTH Aachen, Germany {savostianov, schaub}@cs.rwth-aachen.de
2Gran Sasso Science Institute, L'Aquila, Italy nicola.guglielmi@gssi.it
3University of Edinburgh, Edinburgh, UK f.tudisco@ed.ac.uk
Acknowledgements: AS and MTS acknowledge funding by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project number 442047500 through the Collaborative Research Center “Sparsity and Singular Structures” (SFB 1481). MTS acknowledges funding by the European Union (ERC, HIGH-HOPeS, 101039827). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them. The research of NG was supported by funds from the Italian MUR (Ministero dell’Università e della Ricerca) within the PRIN 2022 Project “Advanced numerical methods for time dependent parametric partial differential equations with applications” and the PRO3 joint project entitled “Calcolo scientifico per le scienze naturali, sociali e applicazioni: sviluppo metodologico e tecnologico”. FT is partially funded by the PRIN-MUR project MOLE code: 2022ZK5ME7 Principal MUR D.D. financing decree n. 20428 of November 6th, 2024, CUP B53C24006410006. FT and NG were supported from MUR-PRO3 grant STANDS and the PRIN-PNRR project FIN4GEO within the European Union’s Next Generation EU framework, Mission 4, Component 2, CUP P2022BNB97. FT and NG are members of INdAM GNCS (Gruppo Nazionale di Calcolo Scientifico).
1 Introduction
Graphs have become a virtually ubiquitous modeling tool for complex systems and relational data. They encode structural information in various machine learning tasks, and are often the subject of analysis in their own right, e.g., in the context of link prediction, node importance ranking, or label propagation, with numerous applications across disciplines. However, graphs are inherently restricted to model pairwise interactions between entities [1], [2], [3], while many natural systems include polyadic interactions (occurring between multiple entities), such as chemical reactions, co-authorship networks, and social connections. To address this limitation, higher-order models of relational data have gained popularity recently, including hypergraphs, motifs, cell and simplicial complexes [2], [3], [4]. Accounting for such higher-order effects can have profound effects, as polyadic interactions can, e.g., promote synchronization [5], alter and enhance label propagation methods and critical node identification [6], [7], or support higher-order random walks and trajectory classification [8], [9].
However, as system size increases, the number of (possible) higher-order interactions scales combinatorially, which often leads to (often dense) higher-order models that are computationally prohibitive to analyze. It is thus natural to pose the question, if such higher-order networks can be sparsified: for a given high-order model , can we find a model with similar key properties (such as similar topology or comparable rates of information propagation), but with significantly fewer -order interactions?
Related Work The notion of sparsification has been extensively discussed for graphs with numerous sparsification algorithms being proposed over the years. These methods aim to reduce the number of edges and preserve specific properties of the original graphs, such as cut costs [10], [11], clustering [12], or classification scores [13]. One prominent approach introduced by Spielman and Srivastava is the concept of spectral sparsification, [14], [15], which preserves the spectrum of the corresponding graph Laplacian operator by sampling edges based on their generalized effective resistance [16]. Sparsification is also closely related to the Lottery Ticket theorem for (graph) neural networks, [17], which posits that dense, randomly initialized neural networks contain sparse subnetworks that can be trained in isolation to achieve performance comparable to the original network.
The spectral sparsification approach has later been extended to the case of higher-order models such as hypergraphs, [18], and simplicial complexes, [19]. The latter is of specific interest if we are interested in topological properties, since SCs are generalizations of classical graph models that include higher-order relations represented by nodal simplices, aligning with the intrinsic topology of the data, [20], [21]. Specifically, the corresponding higher-order Hodge Laplacian operators define homology groups which describe -dimensional “holes” (connected components, loops, voids, etc.) in the complex, relating homology to the elements of the kernel of , [22]. Interestingly, spectral information of can be used to determine topological stability of the simplicial complex, [23], and can be exploited for spectral clustering [9], [24], [25], which makes the spectral sparsification of SCs particularly relevant. These topological and spectral properties can also be employed in topological signal processing, since the Hodge Laplacians can act as natural structural shift operator for signals defined on complexes[4], [26], [27], and thus is also instrumental for defining neural networks defined on simplicial complexes [28], [29], [30]. Consequently, given the importance of the spectral information of for the topological features of the complex , a natural goal is to develop sparsificationo schemes that preserve spectral properties of .
Overview of Approach and Main Results In this work, we consider the efficient spectral sparsification of simplicial complexes at the level of simplices of order , i.e., the reduction of the number of -simplices with respect to the number of -simpices while maintaining the spectrum or specific spectral properties of the original operator (note that the spectral properties of all lower order Laplacians are unaffected by the sparsification). To be more specific, each operator is composed of down- and up-Laplacian terms, . Since describes up-adjacency between simplices of orders and , we need to control its spectrum to create a good sparsifier. Central results from spectral sparsification, [14], [15], [19], guarantee the existence of such a sparsifier for any simplicial complex with , where denotes the number of simplices of order in the simplicial complex . However, to create such a sparsifier we need to sample simplices from the original complex with a probability proportional to the generalized effective resistance vector . Computing this exactly is inherently computationally prohibitive as it requires access to the entries of the pseudo-inverse of the Laplacian . This computational challenge directly links the graph and simplicial sparsification problems to efficient solvers for linear systems involving the operators . For graphs () several methods have been proposed to efficiently compute (or approximate) the effective resistance, [31], [32], [33]. Unlike the graph case, available approaches for higher-order Laplacians[34], [35], [36] are either uniquely applicable for sparse simplicial complexes or their performance suffers in the dense case. As a result, spectral sparsification remains a challenge for a large number of simplicial complexes arising in practice.
In this work, we show that effective resistance vector can be directly computed using functional descriptors of the spectral information known as the network’s local density of states. These descriptors, which are well-established across various areas of physics, [37], were introduced for network analysis in [38], and can be used to encode topological and spectral information as node features [39]. To build a sparsification algorithms for SCs based on the local density of states, we first show that the generalized resistance vector – and hence our required sampling probability – can be expressed in terms of the full spectral information of the up-Laplacian . We then reformulate this computation in terms of the local densities of states of the up-Laplacian operator . One computational challenge that we need to address in this context is that existing kernel polynomial methods to approximate LDoS [37] fail to converge due to the presence of a large kernel in , arising from the specific algebraic structure of the Laplacians [8], [22]. (Note that similar behaviour is associated with over-represented motifs in case of graphs, [38]), which can however be addressed by other means). To resolve this issue arising for higher-order SCs, we suggest a novel method based on a kernel-ignoring decomposition. Additionally, we provide error estimates which allow us to derive guarantees for the method’s advantageous computational complexity , where controls the approximation error. The performance of the developed method is illustrated on a family of Vietoris–Rips simplicial complexes [40], for various density levels and orders of simplices. We provide a brief schematic overview of the proposed method in Figure 1.
Figure 1: Overview of the proposed method. Top row: the spectral sparsification task and existing sampling approach using generalized effective resistance vector , [15], [19]. Bottom row: proposed method for approximating the vector using local densities of states and kernel-ignoring decomposition (KID), Section 4.
Contributions Our main contributions can be summarized as follows:
We show that the required sparsification probability for simplicial complexes is related to the local densities of states of a higher-order down-Laplacian (whose spectrum is inherited from , [23]). This measure has previously been defined in terms of the full spectrum of the up-Laplacian; the transition to LDoS enables an efficient approximation.
We develop a novel kernel-ignoring decomposition (KID) for the efficient approximation of LDoS. The suggested method avoids certain spectral structures of the up-Laplacian, which prevent a successful application of preexisting methods.
Finally, we prove that our method outperforms previous approaches in terms of algorithmic complexity, bounding the number of parameters required to obtain a desired approximation error.
Outline The rest of the paper is organized as follows: Section 2 provides a brief introduction to simplicial complexes. In Section 3, we present our main sparsification result and its connection to the local spectral density of states, which can be used as efficiently computable proxies for spectral information. Section 4 outlines the proposed novel approach for efficiently computing the sparsifying probability measure. Finally, numerical experiments are presented in Section 5, followed by concluding remarks in Section 6.
2 Preliminaries
2.1 Notation
We use to denote the spectrum of a symmetric operator . denotes the strictly positive part of the spectrum. We say that two symmetric operators and are semi-positive ordered iff , meaning is a symmetric positive semidefinite operator. Two operators and are spectrally -close, iff
We use to denote element-wise matrix multiplication. Finally, for a finite set , corresponds to its cardinality.
2.2 Simplicial complexes
Graphs are typically defined in terms of two sets: a set consisting of the nodes of the graph and a set consisting of edges between the nodes. Notably each edge is a relation between two nodes, i.e., a subset of of order 2. Simplicial complexes may be considered as a structured generalization, which include higher-order relations between the nodes, i.e., subsets of nodes of cardinality larger than two. Let us assume that . A subset of with elements is called a simplex of order (-simplex) with its maximal proper subsets of order known as faces of . To enable computations, we assume that simplices in have a fixed lexicographical ordering, which defines an orientation of each simplex. Then, each subset of cardinality can be represented as an ordered tuple .
A collection of simplices on the node set is a simplicial complex, if each simplex enters with all its faces. It follows that , where is a set of simplices of order and is the maximal order of simplices in . We provide a small example of a simplicial complex in Figure 2.
Let us denote the number of -simplices in by . The sparsity of at the level of -simplices is defined by the relation between and ; we refer to it as the -sparsity of the simplicial complex. In particular, the -sparsity describes the relation between the number of nodes and the number of edges and is typically used to define the sparsity of a graph. Note that the -sparsity is not on its own indicative of the -sparsity, as both depend on the intrinsic topology of the simplicial complex. Consequently, if we want to sparsify a simplicial complex, it is natural to consider this problem for a fixed rather than attempting to define a unified notion across all simplex orders.
We now formalize the concept of closeness between simplicial complexes. Following [14], [19], we use a notion of sparsification defined via the spectral closeness of a family of (higher-order) Laplacian operators that describe the topology of the underlying simplicial complex. For this purpose, the operators are formally defined below.
2.3 Laplacian Operators and Topology
In a simplicial complex , each simplex is part of along with all its faces. Hence, there exists a map matching it to its boundary formed by its faces.
Figure 2: Example of a simplicial complex with ordering and orientation: nodes from in magenta, edges from in black, and triangles from in blue. Orientation of edges and triangles is shown by arrows; the action of the operator is exemplified for both triangles. Adapted from [34].
To formally define such a map, we make use of the lexicographical ordering (orientation) with which we endowed the simplices. To this end, let us consider the linear spaces of formal sums of simplices in ; i.e., is the space composed of nodes, the space composed of (ordered) edges, and so on. Note that each such space is isomorphic to , . In the following, we will also use the alternative (dual) viewpoint of considering elements of as signals defined on the simplices in , i.e., functions which may be thought of as “flows” supported on the simplices in . We now define the boundary map on as the following linear map that sends each -simplex to its boundary simplexes via an alternating sum:
where denotes the face of that does not include . Given our fixed orientation for each simplex (as induced by the lexicographical ordering), we can use the ordered simplices in and as a canonical bases for and , respectively. In this basis, we can represent the boundary operators as matrices. For simplicity, from now on, we will thus use the symbol to denote the matrix representation of the boundary operator. An example for a simplicial complex and the action of the boundary operator is provided in Figure 2.
Importantly, the alternating sum in the definition of boundary operators upholds the fundamental lemma of homology (“a boundary of a boundary is zero”), . This gives rise to the Hodge decompositon:
(1)
The operator is known as the Hodge or higher-order Laplacian operator and has the following properties:
the elements of in the Hodge decomposition correspond to the -dimensional holes in (connected components for , 1-dimensional holes for , and so on);
the first term is known as the down-Laplacian and describes the relation between - and -simplices. For , contains so-called gradient flows on the edges;
the second term is known as the up-Laplacian and describes the relation between - and -simplices. For , contains so-called curl flows.
Note that boundary and Laplacian operators can be generalized to the weighted case. Let be a diagonal matrix such that its -th diagonal entry contains the weight of the -th simplex in , . Then, provides a weighted version of that preserves all the fundamental topological features of , and the same is true for the corresponding weighted higher-order Laplacian [23].
By definition, the up-Laplacian describes the relationship between simplicies in and . At the same time, its spectrum encodes information about the overall topology of the simplicial complex. As a result, the (spectrum of the) operator is an appropriate object to quantify the closeness between two simplicial complexes for the task of -sparsification, as we describe below.
3 Sparsification of Simplicial Complexes
We consider the -sparsification of a weighted simplicial complex . While we will assume that in the following, for ease of exposition, every statement below holds (or can be readily generalized) to the general case. To simplify notation, we will further omit the index sometimes. The task of spectral sparsification we are concerned with can be formalized as follows.
For a given weighted simplicial complex and a sensitivity level , find a simplicial complex such that
for all , i.e., all simplices of order up to are preserved;
with , i.e., the number of -simplices is significantly reduced;
, i.e., the up-Laplacians of and are spectrally -close.
In the framework of Problem 1, the sparsifier is obtained from the original complex by keeping all simplices of lower orders as is and subsampling -simplices from into . Following the seminal work of Spielman and Srivastava [14], [15], and its generalization to simplicial complexes [19], one can show that such a sparsifier can be obtained by a randomized sampling of -simplices according to a specific probability measure.
More precisely, we sample a chosen number, , of -simplices from the original set according to a probability measure over . To obtain a good sparsifier fo the up-Laplacian for sufficiently large , such sampling has to be unbiased, i.e., under our sampling scheme we have to recover the original up-Laplacian in expectation. This property may be achieved by (a) scaling the weights of sampled simplices as and (b) accumulating the weights of repeatedly sampled simplices. Both of these measured combined guarantee that each simplex is sampled with its original weight in expectation, i.e., we obtain an unbiased sampling scheme.
In the unbiased case, the probability of large deviations between randomly sampled up-Laplacian and the original up-Laplacian can be bound by the concentration inequalities with the probability measure affecting such bound (see, f.i. Rudelson’s theorem, [41], [42]). As a result, the optimal choice of the probability measure allows for faster concentration, smaller sample size and sparser resulting complex . The work [19] suggested to choose the probability measure proportional to the generalized effective resistance of the simplices:
Under this sampling scheme, a log-linear number of sampled simplices suffices to obtain a spectral sparsifier . We summarize the steps of the random spectral sparsification in Algorithm 1 and provide a theoretical guarantee in Theorem 3.1 below.
For any and a given simplicial complex , let complex be a sparsifier sampled according to Algorithm 1 with , for some absolute constant . Then, with probability at least , the up-Laplacian of is spectrally -close to the up-Laplacian of , i.e., we have .
The computational bottleneck in Algorithm 1 is finding the generalized effective resistance vector , as it amounts to computing the pseudo-inverse , which has computational complexity . This poses the central problem of the current work:
Find a computationally efficient and arbitrarily close approximation of the generalized effective resistance vector for a given weighted simplicial complex and simplices of fixed -th order.
In the rest of the paper, we formulate and discuss a novel method for approximating the generalized effective resistance vector , using efficiently computable spectral densities of the up-Laplacian operators . Note that the unbiased random sparsification process defined above admits any probability measure , and hence, any approximation of the effective resistance vector (Algorithm 1) can be used for the sparsification. However, non-optimal choices of the measure will require far larger number of sampled simplices to achieve similar spectra for and . Hence a good approximation of is critical to obtain a good sparsifier with a small number of sampled simplices. Below we demonstrate the low sensitivity of the sparsification to the moderate perturbations of the resistance-based probability measure .
Since is a probability measure over , it is natural to measure its perturbations in terms of , i.e., since the size of the perturbation is meaningful only in relation to the actual support of the measure. As shown in Figure 3, random perturbations of can, on average, slow down the convergence of the approximately sampled complex to the original simplicial complex in terms of the number of sampled simplices. However, even for moderately high values of , such as , the convergence rate remains largely unaffected.
Figure 3: Convergence of the sampled simplicial complex to the original complex at -order in terms of the spectrum of Laplacian operator. Left pane: convergence rate vs the number of sampled edges for various perturbed measures . Right pane: convergence rate for chosen values of in relation to the unperturbed sparsifier. , . All curves are averaged over random perturbations for VR-complex (see Section 5).
4 Sparsification measure via Kernel Ignoring Decomposition of Local Densities of States
In this section we show how the effective resistance vector can be efficiently approximated via functional descriptors of the up-Laplacian spectrum known as spectral densities or densities of states , [1]. Subsequently, we propose a novel method for computing .
4.1 Density of States
For a given symmetric matrix with and diagonal , the spectral density or density of states is defined as
where is a Dirac delta function. Additionally, let be a corresponding unit eigenvector of (such that and ). Then one can define a set of local densities of states:
with being the -th canonical basis vector.
Here, the density function contains the overall spectrum of the operator while the family of local densities describes the contribution of the simplex to the spectral information.
Finally, one should note that by definition, and are generalized functions. Hence, the quality of their computation is difficult to assess directly. To this end, one can instead consider their histogram representations:
which correspond to the discretized output of the convolution of spectral densities with a mollifier , i.e., , where is a smooth approximation to identity.
With the notion of spectral density in place, we can now obtain the following reformulation of the generalized effective resistance vector and its computation:
For a given simplicial complex , with -th order up-Laplacian , the generalized effective resistance can be computed through a family of local densities of states of the down-Laplacian as follows:
Proof. Let where is diagonal and invertible and both and are orthogonal. Stated differently, is a truncated singular value decomposition of the matrix with eliminated kernel. Then:
It follows that
As a result we can express . Hence, the -th entry of the generalized resistance vector is defined by the sum of squares of the th entries of the eigenvectors associated to nonzero eigenvalues of the down-Laplacian matrix .
Note that
Moreover, we have and (up to the zero eigenpairs). It thus follows that
Theorem 4.1 implies that it is sufficient to obtain the family for the next down-Laplacian in order to compute the sparsifying probability measure at the level of -simplices. At the same time, by its definition, the spectral density requires the complete spectral information of the original operator and, hence, is not immediately computationally beneficial. To avoid this computational overhead, we leverage the functional nature of the local densities of states and obtain an efficient approximation of via truncated polynomial expansion.
4.2 Efficient approximation of Local Densities of States
Fast approximations of spectral densities are typically based on Kernel Polynomial Methods (KPM), [37], that schematically operate as follows:
Shift the operator so that ;
Consider a polynomial basis on , orthogonal with respect to the weight function . Then the local densities of states can be decomposed as
where the coefficients are known as moments. In practice, one is interested in a truncated decomposition of the form for some finite ;
To determine the values of it can be leveraged that are functions of and can be efficiently sampled via Monte-Carlo methods. In this contexts, a three-term recurrence of orthogonal polynomial bases can be exploited [1] – we review this step in more detail below.
We point out that a typical choice for the shift interval is . The polynomial basis is typically chosen to correspond to Chebyshev polynomials of the first kind.
A fundamental limitation of KPM is the polynomial nature of the decomposition, which may require a large number of moments for to produce an accurate approximation for “pathologic” functions that are far from being polynomials. In the case of the (local) densities of states, a particularly challenging setting is associated with eigenvalues of high multiplicity, which result in dominating “spikes” in the histogram representations of the spectral densities. Following KPM, one would have to approximate an outlier with a polynomial function. In the case of the classical graph Laplacian and the adjacency matrix, these spikes may be caused by over-represented motifs in the graph [1]. However, in this setting, one knows the closed form of the corresponding eigenspace, and thus, the over-represented eigenvalues can be explicitly filtered out. For the general case of up- and down-Laplacians and of order , the eigenspaces with high multiplicity are unavoidable due to the Hodge decomposition, (1): indeed, since and , both operators have large kernels which are detrimental to KPM approximation. Moreover, the kernel’s bases depend on the topology of the simplicial complex and cannot be easily estimated.
Below, we thus propose a novel modified method for approximating that intentionally avoids the spike in the kernel of , with all the necessary definitions.
4.3 Kernel-ignoring Decomposition
As discussed above, the quality of the KPM approximation of LDoS suffers from the large null space of the operator. However, Theorem 4.1 suggests that the target resistance vector ignores the values of associated with the kernel since the region of integration excludes . Note that, since is a functional decomposition, the approximation error associated with the spike at will not be localized but will spread across the whole domain. For that reason, we suggest a modified shifting technique that leads to a decomposition that ignores the singular value of associated with the operator’s null space.
In prior works, the choice was considered, where denotes the largest eigenvalue of . Hence, the spectrum is bounded in an interval and the null eigenvectors of are shifted to . In this work, we instead select and define a symmetrized version of the local densities of states as:
Note that the support of the symmetrized still falls within , and the spike associated with the value is by design tied to .
The remainder of the approximation approach can now be adopted from the KPM method. Let us assume that are Chebyhev polynomials of the first kind. Specifically,
forming an orthonormal basis on with respect to the scalar product defined by the weight function .
We decompose the symmetrized local density of states as:
Since is odd by design, its decomposition should contain only odd Chebyshev polynomials. Moreover, the remaining for odd can be explicitly expressed through the entries of as follows:
Let be Chybeshev polynomials of the first kind and be a symmetrized local density of states defined above. Then its moments are given by:
thus, the -th vector of moments (for odd ) can be expressed as .
Proof. Let be the LDoS for a general symmetric matrix with spectra decomposition . Then for an arbitrary polynomial function , we can compute
Since , we get
The case for the symmetrized LDoS is only marginally different:
Due to the orthonormality of , moments are given by inner products, . For even , Chebyshev polynomial is even, hence and . In the case of odd , is odd itself and , so, as a result:
where the last equality follows from the fact that . Finally, since are polynomial functions, we get
Instead of computing the diagonal elements directly, we can use Monte-Carlo estimations for the diagonal. Specifically, we will use the fact that for any matrix :
where is a vector of i.i.d. random variables with zero mean and unit variance. In practice, we approximate the expectation via sampling with samples:
where is the Hadamard (element-wise) product, is a vector of ones, and is a matrix collecting copies of column-wise [43], [44].
This Monte-Carlo sampling strategy reduces the compuations of to simple matvec operations. Importantly the calculations can be efficiently updated for the next order of moments , due to the recurrent definition of . Assume we store the values of for . In order to obtain , we compute requiring only one additional matvec operation. As a result, the computational cost of the approximation is fixed to , where is the cost of one matvec operation for the operator . We provide a brief pseudocode for the KID-approximation method in Algorithm 2.
4.4 Error Propagation and the Choice of Constants
The computational complexity of the KID method described above cannot be directly compared with the computation of the resistance vector via the pseudo-inverse of , because the complexity of the KID methods is parametrized by and rather than the number of simplices . Nonetheless, one can establish the relation between the method’s parameters and and the original simplicial complex through error estimates for the approximation of the local densities of states, as we demonstrate below.
Let us consider the histogram representations of the exact symmetrized densities and its KPM approximation where the moments are Monte-Carlo sampled. Using the estimation bound from [1, Thm 4.2], we obtain:
(2)
where is the Lipschitz constant of . This result can be further extended to an error estimate for the KID-approximation; we start by showing the following auxiliary fact:
For a given simplicial complex and GER vector , it holds that , where denotes -th Betti’s number and .
Proof. From the proof of Theorem 4.1, we know that , and
Since each of the right singular vectors of has unit length, given that singular vectors are defined via truncated SVD. Due to the discrete Hodge decomposition (1), and . According to the spectral inheritance principle for Hodge Laplacians [23], where denotes the set of positive eigenvalues of corresponding operators; as a result, . Employing such steps recursively, one obtains .
We can now formulate the following error bound for the KID method:
For any fixed , let be the exact sparsifying probability measure for a given sufficiently dense simplicial complex . Let be the corresponding KID-approximated sparsifying probability measure. If the approximation is truncated at moments, and we use samples, then
and the computational complexity of the KID approximation is
Proof. To show the estimate for the approximation of the sparsifying norm, we consider the estimate
which translates to the estimate on vector . Given each , the probability measure is given by . As a result, to obtain the bound , it is sufficient to show:
The bound above is guaranteed for parameters and satisfying:
Finally, assuming a sufficiently dense (namely, ) simplicial complex, one gets , completing the lower bounds on and in the theorem’s statement.
To get a clearer understanding of the overall complexity, recall that for a simplicial complex that includes all possible subsets of nodes as -simplices (f.i. completely connected graph with all possible triangles), resulting into the worst-case complexity of . In other words, our approximation is not worse than direct computation for (even in the densest case) and is asymptotically linear in .
5 Benchmarking
In this section, we numerically investigate the performance of the KID approximation and its computational complexity. In particular, through our experimental evaluation, we aim to do the following:
support the asymptotic estimate for the approximation error (2) in terms of the number of moments and the number of Monte-Carlo sample vectors ;
showcase the computational complexity of the KID approximation using the (scaled) oracle choice for the parameters, Theorem 4.2;
compare the actual execution time of the approximation to the direct computation for complexes of different sizes and densities.
Vietoris–Rips filtration Theorem 4.2 and Equation (2) describe the performance of the developed method in terms of the number of simplices . To numerically illustrate these behaviours appropriately, we consider a family of arbitrarily large and dense simplicial complexes. For this reason, we use simplicial complexes induced by a filtration procedure on point clouds. Formally, we proceed as follows:
We consider points embedded in , sampled randomly in two clusters. Specifically, points are sampled from and points are sampled from , for some .
For a fixed filtration threshold , a simplex on these nodes enters the generated complex if and only if for all pairs and .
This straightforward filtration is known as Vietoris–Rips filtration, and the corresponding complex as a VR-complex. An illustrative example is provided in Figure 4. In the chosen setup, the value of the filtration parameter naturally governs the density of the generated simplicial complexes of every order, as shown by the right panel in Figure 4: larger values of define complexes with a higher number of edges, triangles, tetrahedrons, etc., until every possible simplex is included in .
Figure 4: Example of VR-filtration. Left pane: point cloud with and filtration , inter-cluster distance . Right pane: dynamics of the number of simplices of different orders for varying filtration parameter .
Parameter choice and computational complexity The error estimate from (2) suggests that the approximation error for the sparsifying norm scales as in terms of the number of moments and as in terms of the number of Monte-Carlo vectors (MC-vectors). To illustrate this behaviour, we fix one of the parameters ( or ) to their theoretical estimates provided by Theorem 4.2 and demonstrate the dynamic of the error as the function of the other parameter. As shown by Figure 5, the overall scaling law coincides with the estimates of (2) in the case of -sparsification for operator. Note that all experiments are conducted in the a sufficiently dense setting, where .
Figure 5: Dependence of the approximation error on the number of moments and number of MC vectors . Values are tested up to (scaled) theoretical bounds from Theorem 4.2 (in red); line colors correspond to varying in the point cloud. Left pane: errors vs the number of moments with fixed theoretical ; right pane: errors vs the number of MC vectors with fixed theoretical . Errors are averaged over several generated VR-complexes; colored areas correspond to the spread of values.
We explicitly highlight two observations from Figure 5: (1) larger and denser simplicial complexes tend to exhibit faster convergence in both parameters (especially in the number of moments ); (2) Theorem 4.2 provides theoretical (greedy) estimates for and that are sufficient for achieving the target approximation quality and can be interpreted asymptotically. Consequently, we may choose scaled (and empirically sufficient) values for these parameters:
Figure 6: Execution time of KID approximation for effective resistance of triangles, (left), and tethrahedrons, (right). Line colors correspond to varying in the point cloud; theoretical estimation of the computational complexity is given in dash. Execution times are averaged over several generated VR-complexes; colored areas correspond to the spread of values.
Given this choice of parameters, in Figure 6 we demonstrate that the complexity estimate from Theorem 4.2 aligns with the actual execution time of the KID approximation for varying filtration parameters in the cases of - and -sparsification of VR-complexes.
Comparison with the direct computation Finally, we compare the execution time of the KID approximation with that of the direct computation of the sparsifying measure for -sparsification, using the approximation parameters mentioned above (see Figure 7). Note that although the densest case complexity estimate suggests that the KID method’s execution time might be comparable to direct computation, in practice the developed algorithm is significantly faster while still maintaining the target approximation error .
Figure 7: Computation time comparison between KID-approximation , solid line, and directly computed sparsifying measure , dashed line (left), and corresponding approximation error (right). Target approximation error is given in dotted line (right pane); line colors correspond to varying in the point cloud. Execution times are averaged over several generated VR-complexes.
Note that the comparison of the performance of the KID method with sparsification methods besides effective resistance sampling is for illustration only, since other methods do not aim to obtain spectrally close sparsifiers. Nevertheless, we provide a comparison between the KID method, effective resistance sampling, uniform sampling of triangles and -Neighbours approach (where one subsamples triangles to guarantee that every edge is up-adjacent to at most triangles) in terms of the spectral distance in Table 1 Teh two latter methods are trivially generalized from the case of graphs, [45]. As expected, only effective resistance and KID methods are able to achieve spectrally close sparsifiers for moderate numbers of sampled triangles Note that we suggest uniform sampling with the reweighting technique from Theorem 3.1, which implies that the sampled complex eventually converges to the original complex but requires a larger number of sampled triangles to obtain small spectral distances.
Table 1:Comparison of Effective Resistance and KID approximations with trivial sparsification methods. Results are shown for VR-complexes generated from point clouds with and .
| uniform(unbiased) | 1.0862 | 0.8634 | 0.5925 |
| -Neighbours | 1.0 | 1.0 | 0.985 |
| Effective Resistance | 0.5824 | 0.2827 | 0.125 |
| KID(ours), | 0.5996 | 0.3132 | 0.1385 |
Additionally, the performance of the direct computation of for the largest considered point cloud with highlights another important advantage of the KID approximation: reduced memory consumption. Indeed, whether we use the definition of the resistance vector
or the reformulation in terms of the right singular vector from Theorem 4.1, a full SVD of is required. In the case of point clouds with , denser VR-complexes lead to real-valued matrices of size , resulting in substantial memory demands for the SVD. By contrast, the KID approximation avoids this decomposition and restricts the additional memory usage to storing Monte-Carlo matrices and their matvecs of dimension , which is comparatively small.
5.1 Real-world data
In addition to extensive benchmarking on synthetic VR-complexes, we also tested the KID approximation on real-life data provided in Austin Benson’s collection of hypergraph data (https://www.cs.cornell.edu/~arb/data/). For each hypergraph, we limited consideration to hyperedges of size at most ; then, we performed simplicial closure to obtain simplicial complexes of order .
The results are summarized in Table 2: for each dataset, we report the average effective resistance (ER) and KID approximation times and spectral error over runs. Similarly to the case of VR-filtration, the KID approximation is significantly faster and introduces a moderate, but controllable approximation error. Note, however, that for the largest considered simplicial complex vegas-bars, the memory usage of the direct GER approach prevents its application on a standard laptop while our novel method performs well.
Table 2:Comparison of Effective Resistance (ER) and KID approximation times for various datasets; .
| dataset | ER time | ER err | KID time | KID err | ||
|---|---|---|---|---|---|---|
| email-enron | 1604 | 6578 | 2.9s | 0.098 | 0.31s | 0.1402 |
| contact-hs | 2515 | 2370 | 59.81s | 0.0962 | 0.0013s | 0.1311 |
| NDC-classes | 2658 | 3778 | 7.53s | 0.0566 | 0.246s | 0.5628 |
| vegas-bars | 4078 | 5099 | NA | NA | 0.1179s | 0.1038 |
| algebra | 1934 | 3191 | 2.221s | 0.0479 | 0.433s | 0.0504 |
6 Discussion
In this work we have proposed a fast method of approximating generalized effective resistance vector for simplices of an arbitrary order inside simplicial complex with the algorithmic complexity , Theorem 4.2, allowing for efficient -sparsification of through subsampling, Theorem 3.1. Our novel approach is based on the connection between generalized effective resistance vector and the family of local density of states of the corresponding higher-order down-Laplacian operator , Theorem 4.1. We avoid problematic behaviour of the pre-existing KPM approximation methods for LDoS by suggesting a kernel-ignoring decomposition, which de facto decomposes a symmetrized spectral density via odd Chebyshev polynomials. Our approach numerically follows our theoretical estimates, Theorem 4.2 and Equation (2), for the approximation error. This enables us to choose the number of moments and number of Monte Carlo vectors , to control the final approximation error, which is shown to be sufficient at a moderate level for a close-to-efficient sparsification, Figure 3. Given the fact that the developed method is only dependent on the upper Hodge Laplacian , it can also be directly applied to cell complexes.
Several applications may directly benefit from the proposed method. Specifically, the introduction of a sparsified complex in label spreading, spectral clustering or generic simplicial complex GNN tasks may sufficiently decrease computational costs, [24], [30].
Additionally, the cost of trajectory classification as well as landmark detection algorithms for SCs can be directly scaled down by transitioning to a sparser, but spectrally similar model, [9]. Separately, one may notice that the existence of the efficient sparsifier effectively bridges the gap between dense complexes and complexes for which one can obtain a preconditioner through a collapsible subcomplex [34].
We remark that, while the developed method admits graph sparsification as a special case, the computational complexity for would clearly exceed the copmutational complexity of preexisting graph sparsification algorthims. Note that we do not suggest the application of KID-approximations for the case of the graphs, since it is not the focus of the current work.
Finally, it should be noted that the approximation quality given in Theorem 4.2 may still be improved, e.g. by accounting for over-represented motifs in the graph (see [38]) through similar filtration techniques. Whilst we avoid explicitly defining a generalized motif for simplices of arbitrary order this appears to be a promising future venue of research.
Bibliography
- [1] A. R. Benson, D. F. Gleich, and J. Leskovec, “Higher-order organization of complex networks,” Science, vol. 353, pp. 163–166, 2016.
- [2] C. Bick, E. Gross, H. A. Harrington, and M. T. Schaub, “What are higher-order networks?,” SIAM review, vol. 65, pp. 686–731, 2023.
- [3] F. Battiston et al., “Networks beyond pairwise interactions: Structure and dynamics,” Physics Reports, vol. 874, pp. 1–92, 2020.
- [4] M. T. Schaub, Y. Zhu, J.-B. Seby, T. M. Roddenberry, and S. Segarra, “Signal processing on higher-order networks: Livin’on the edge... and beyond,” Signal Processing, vol. 187, p. 108149, 2021.
- [5] L. V. Gambuzza et al., “Stability of synchronization in simplicial complexes,” Nature Communications, vol. 12, p. 1255, 2021.
- [6] F. Tudisco, A. R. Benson, and K. Prokopchik, “Nonlinear higher-order label spreading,” in Proceedings of the Web Conference 2021, 2021, pp. 2402–2413.
- [7] K. Prokopchik, A. R. Benson, and F. Tudisco, “Nonlinear feature diffusion on hypergraphs,” in International Conference on Machine Learning, PMLR, 2022, pp. 17945–17958.
- [8] 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, pp. 353–391, 2020.
- [9] V. P. Grande, J. Hoppe, F. Frantzen, and M. T. Schaub, “Topological trajectory classification and landmark inference on simplicial complexes,” in 2024 58th Asilomar Conference on Signals, Systems, and Computers, IEEE, 2024, pp. 44–48.
- [10] A. A. Benczúr and D. R. Karger, “Approximating s-t minimum cuts in Õ(n²) time,” in Proceedings of the twenty-eighth annual ACM symposium on Theory of computing, 1996, pp. 47–55.
- [11] K. J. Ahn, S. Guha, and A. McGregor, “Graph sketches: sparsification, spanners, and subgraphs,” in Proceedings of the 31st ACM SIGMOD-SIGACT-SIGAI symposium on Principles of Database Systems, 2012, pp. 5–14.
- [12] V. Satuluri, S. Parthasarathy, and Y. Ruan, “Local graph sparsification for scalable clustering,” in Proceedings of the 2011 ACM SIGMOD International Conference on Management of data, 2011, pp. 721–732.
- [13] J. Li, T. Zhang, H. Tian, S. Jin, M. Fardad, and R. Zafarani, “Graph sparsification with graph convolutional networks,” International Journal of Data Science and Analytics, pp. 1–14, 2022.
- [14] D. A. Spielman and N. Srivastava, “Graph sparsification by effective resistances,” in Proceedings of the fortieth annual ACM symposium on Theory of computing, 2008, pp. 563–568.
- [15] D. A. Spielman and S.-H. Teng, “Spectral sparsification of graphs,” SIAM Journal on Computing, vol. 40, pp. 981–1025, 2011.
- [16] P. Tetali, “Random walks and the effective resistance of networks,” Journal of Theoretical Probability, vol. 4, pp. 101–109, 1991.
- [17] T. Chen, Y. Sui, X. Chen, A. Zhang, and Z. Wang, “A unified lottery ticket hypothesis for graph neural networks,” in International conference on machine learning, PMLR, 2021, pp. 1695–1706.
- [18] T. Soma and Y. Yoshida, “Spectral sparsification of hypergraphs,” in Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2019, pp. 2570–2581.
- [19] B. Osting, S. Palande, and B. Wang, “Spectral sparsification of simplicial complexes for clustering and label propagation,” Journal of computational geometry, vol. 11, 2022.
- [20] D. G. Quillen, Homotopical algebra, vol. 43. Springer, 2006.
- [21] J. R. Munkres, Elements of algebraic topology. CRC press, 2018.
- [22] L.-H. Lim, “Hodge laplacians on graphs,” Siam Review, vol. 62, pp. 685–715, 2020.
- [23] N. Guglielmi, A. Savostianov, and F. Tudisco, “Quantifying the Structural Stability of Simplicial Homology,” Journal of Scientific Computing, vol. 97, p. 2, 2023.
- [24] 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.
- [25] V. P. Grande and M. T. Schaub, “Point-level topological representation learning on point clouds,” arXiv preprint arXiv:2406.02300, 2024.
- [26] S. Barbarossa and S. Sardellitti, “Topological signal processing over simplicial complexes,” IEEE Transactions on Signal Processing, vol. 68, pp. 2992–3007, 2020.
- [27] M. T. Schaub, J.-B. Seby, F. Frantzen, T. M. Roddenberry, Y. Zhu, and S. Segarra, “Signal processing on simplicial complexes,” in Higher-Order Systems, Springer, 2022, pp. 301–328.
- [28] S. Ebli, M. Defferrard, and G. Spreemann, “Simplicial neural networks,” in TDA & Beyond, 2020.
- [29] T. M. Roddenberry, N. Glaze, and S. Segarra, “Principled simplicial neural networks for trajectory prediction,” in International Conference on Machine Learning, PMLR, 2021, pp. 9020–9029.
- [30] M. Yang, E. Isufi, and G. Leus, “Simplicial convolutional neural networks,” in ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), IEEE, 2022, pp. 8847–8851.
- [31] 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, pp. 835–885, 2014.
- [32] M. B. Cohen et al., “Solving sdd linear systems in nearly m log1/2 n time,” in Proceedings of the forty-sixth annual ACM symposium on Theory of computing, 2014, pp. 343–352.
- [33] J. A. Kelner, L. Orecchia, A. Sidford, and Z. A. Zhu, “A simple, combinatorial algorithm for solving sdd systems in nearly-linear time,” in Proceedings of the forty-fifth annual ACM symposium on Theory of computing, 2013, pp. 911–920.
- [34] A. Savostianov, F. Tudisco, and N. Guglielmi, “Cholesky-like preconditioner for hodge laplacians via heavy collapsible subcomplex,” SIAM Journal on Matrix Analysis and Applications, vol. 45, pp. 1827–1849, 2024.
- [35] M. B. Cohen, B. T. Fasy, G. L. Miller, A. Nayyeri, R. Peng, and N. Walkington, “Solving 1-laplacians in nearly linear time: Collapsing and expanding a topological ball,” in Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2014, pp. 204–216.
- [36] R. Kyng and S. Sachdeva, “Approximate gaussian elimination for laplacians-fast, sparse, and simple,” in 2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS), IEEE, 2016, pp. 573–582.
- [37] A. Weiße, G. Wellein, A. Alvermann, and H. Fehske, “The kernel polynomial method,” Reviews of modern physics, vol. 78, pp. 275–306, 2006.
- [38] K. Dong, A. R. Benson, and D. Bindel, “Network density of states,” in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2019, pp. 1152–1161.
- [39] K. Y. Djima and K. M. Yim, “Power spectrum signatures of graphs,” arXiv preprint arXiv:2503.09660, 2025.
- [40] J.-C. Hausmann and others, On the Vietoris-Rips complexes and a cohomology theory for metric spaces. Université de Genève-Section de mathématiques, 1994.
- [41] J. Batson, D. A. Spielman, N. Srivastava, and S.-H. Teng, “Spectral sparsification of graphs: theory and algorithms,” Communications of the ACM, vol. 56, pp. 87–94, 2013.
- [42] M. Rudelson, “Random vectors in the isotropic position,” Journal of Functional Analysis, vol. 164, pp. 60–72, 1999.
- [43] M. F. Hutchinson, “A stochastic estimator of the trace of the influence matrix for laplacian smoothing splines,” Communications in Statistics-Simulation and Computation, vol. 18, pp. 1059–1076, 1989.
- [44] R. A. Meyer, C. Musco, C. Musco, and D. P. Woodruff, “Hutch++: Optimal stochastic trace estimation,” in Symposium on Simplicity in Algorithms (SOSA), SIAM, 2021, pp. 142–155.
- [45] Y. Chen et al., “Demystifying graph sparsification algorithms in graph properties preservation,” Proceedings of the VLDB Endowment, vol. 17, pp. 427–440, 2023.