Efficient Sparsification of Simplicial Complexes via Local Densities of States

Anton Savostianov1 • Michael T. Schaub1 • Nicola Guglielmi2 • Francesco Tudisco2,3

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

Abstract Simplicial complexes (SCs) have become a popular abstraction for analyzing complex data using tools from topological data analysis or topological signal processing. However, the analysis of many real-world datasets often leads to dense SCs, with many higher-order simplicies, which results in prohibitive computational requirements in terms of time and memory consumption. The sparsification of such complexes is thus of broad interest, i.e., the approximation of an original SC with a sparser surrogate SC (with typically only a log-linear number of simplices) that maintains the spectrum of the original SC as closely as possible. In this work, we develop a novel method for a probabilistic sparsification of SCs that uses so-called local densities of states. Using this local densities of states, we can efficiently approximate so-called generalized effective resistance of each simplex, which is proportional to the required sampling probability for the sparsification of the SC. To avoid degenerate structures in the spectrum of the corresponding Hodge Laplacian operators, we suggest a “kernel-ignoring” decomposition to approximate the sampling probability. Additionally, we utilize certain error estimates to characterize the asymptotic algorithmic complexity of the developed method. We demonstrate the performance of our framework on a family of Vietoris–Rips filtered simplicial complexes.

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 𝐿0 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 (𝑘+1)-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 𝑘+1, 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 𝑚𝑘+1(ℒ︀)=𝒪︀(𝑚𝑘(𝒦︀)log𝑚𝑘(𝒦︀)), 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 (𝐿0) 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 𝒪︀(𝛿−3𝑚𝑘+14𝑚𝑘−3), 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:

  1. We show that the required sparsification probability for simplicial complexes is related to the local densities of states of a higher-order down-Laplacian 𝐿𝑘+1↓(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.

  2. 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.

  3. 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 𝐴−𝐵≽0, meaning 𝐴−𝐵 is a symmetric positive semidefinite operator. Two operators 𝐴 and 𝐵 are spectrally 𝜀-close, 𝐴≈𝜀𝐵 iff

(1−𝜀)𝐵≼𝐴≼(1+𝜀)𝐵.

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 𝒱︀0 consisting of the nodes of the graph and a set 𝒱︀1 consisting of edges between the nodes. Notably each edge is a relation between two nodes, i.e., a subset of 𝒱︀0 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 𝒱︀0={𝑣1,𝑣2,…𝑣𝑚0}. A subset 𝜎 of 𝒱︀0 with 𝑘+1 elements is called a simplex of order 𝑘 (𝑘-simplex) with its maximal proper subsets of order (𝑘−1) 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 𝜎⊆𝒱︀0 of cardinality 𝑘+1 can be represented as an ordered tuple 𝜎=[𝑣𝑖0,𝑣𝑖1,…𝑣𝑖𝑘].

Def 2.1 [Simplicial complex, [22]]

A collection of simplices 𝒦︀ on the node set 𝒱︀0 is a simplicial complex, if each simplex 𝜎 enters 𝒦︀ with all its faces. It follows that 𝒦︀=⋃𝑘=0dim𝐾𝒱︀𝑘(𝒦︀), where 𝒱︀𝑘(𝒦︀) is a set of simplices of order 𝑘 and dim𝐾 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 𝑚𝑘+1; we refer to it as the 𝑘-sparsity of the simplicial complex. In particular, the 0-sparsity describes the relation between the number of nodes 𝑚0 and the number of edges 𝑚1 and is typically used to define the sparsity of a graph. Note that the 𝑘-sparsity is not on its own indicative of the (𝑘+1)-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 𝒱︀0(𝒦︀) in magenta, edges from 𝒱︀1(𝒦︀) in black, and triangles from 𝒱︀2(𝒦︀) in blue. Orientation of edges and triangles is shown by arrows; the action of the 𝐵2 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., 𝒞︀0 is the space composed of nodes, 𝒞︀1 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 𝜎=[𝑣𝑖0,𝑣𝑖1,…𝑣𝑖𝑘]∈𝒱︀𝑘(𝒦︀) as the following linear map that sends each 𝑘-simplex to its boundary simplexes via an alternating sum:

𝐵𝑘:𝒞︀𝑘↦𝒞︀𝑘−1,𝐵𝑘𝜎=∑𝑗=0𝑘(−1)𝑗𝜎𝑗¯

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 𝒱︀𝑘−1(𝒦︀) as a canonical bases for 𝒞︀𝑘 and 𝒞︀𝑘−1, 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”), 𝐵𝑘𝐵𝑘+1=0. This gives rise to the Hodge decompositon:

ℝ𝑚𝑘=im𝐵𝑘⊤⊕ker(𝐵𝑘⊤𝐵𝑘+𝐵𝑘+1𝐵𝑘+1⊤)⏞ker𝐵𝑘+1⊤⊕im𝐵𝑘+1=im𝐵𝑘⊤⊕ker(𝐵𝑘⊤𝐵𝑘+𝐵𝑘+1𝐵𝑘+1⊤)⊕im𝐵𝑘+1⏟ker𝐵𝑘.

(1)

Def 2.2 [Hodge Laplacian operator]

The operator 𝐿𝑘=𝐵𝑘⊤𝐵𝑘+𝐵𝑘+1𝐵𝑘+1⊤ is known as the Hodge or higher-order Laplacian operator and has the following properties:

  1. the elements of ker𝐿𝑘 in the Hodge decomposition correspond to the 𝑘-dimensional holes in 𝒦︀ (connected components for 𝑘=0, 1-dimensional holes for 𝑘=1, and so on);

  2. the first term 𝐿𝑘↓=𝐵𝑘⊤𝐵𝑘 is known as the down-Laplacian and describes the relation between 𝑘- and (𝑘−1)-simplices. For 𝑘=1, im𝐿𝑘↓=im𝐵𝑘⊤ contains so-called gradient flows on the edges;

  3. the second term 𝐿𝑘↑=𝐵𝑘+1𝐵𝑘+1⊤ is known as the up-Laplacian and describes the relation between 𝑘- and (𝑘+1)-simplices. For 𝑘=1, im𝐿𝑘↑=im𝐵𝑘+1 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, 𝑊𝑘−1−1𝐵𝑘𝑊𝑘 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 𝒱︀𝑘+1(𝒦︀). 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 𝑊𝑘−1=𝐼 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.

Problem 1

For a given weighted simplicial complex 𝒦︀ and a sensitivity level 𝜀>0, find a simplicial complex ℒ︀ such that

  1. 𝒱︀𝑖(𝒦︀)=𝒱︀𝑖(ℒ︀) for all 𝑖=0,…,𝑘, i.e., all simplices of order up to 𝑘 are preserved;

  2. 𝒱︀𝑘+1(ℒ︀)⊂𝒱︀𝑘+1(𝒦︀) with 𝑚𝑘+1(ℒ︀)≪𝑚𝑘+1(𝒦︀), i.e., the number of (𝑘+1)-simplices is significantly reduced;

  3. 𝐿𝑘↑(ℒ︀)≈𝜀𝐿𝑘↑(𝒦︀), 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 (𝑘+1)-simplices from 𝒱︀𝑘+1(𝒦︀) into 𝒱︀𝑘+1(ℒ︀). 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 (𝑘+1)-simplices according to a specific probability measure.

More precisely, we sample a chosen number, 𝑞(𝑚𝑘), of (𝑘+1)-simplices from the original set 𝒱︀𝑘+1(𝒦︀) according to a probability measure 𝐩 over 𝒱︀𝑘+1(𝒦︀). 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 𝑤𝑘+1(𝜎)↦𝑤𝑘+1(𝜎)𝑞(𝑚𝑘)𝐩(𝜎) and (b) accumulating the weights of repeatedly sampled simplices. Both of these measured combined guarantee that each simplex 𝜎∈𝒱︀𝑘+1(𝒦︀) is sampled with its original weight 𝑤𝑘+1(𝜎) 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:

𝐩∼𝑊𝑘+12𝐫, where 𝐫=diag(𝐵𝑘+1⊤(𝐿𝑘↑)†𝐵𝑘+1).

Under this sampling scheme, a log-linear number 𝑞(𝑚𝑘)=𝑂(𝑚𝑘log(𝑚𝑘/𝜀2)) 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.

Thm 3.1 [Simplicial Sparsification, [14], [19]]

For any 𝜀>1𝑚𝑘>0 and a given simplicial complex 𝒦︀, let complex ℒ︀ be a sparsifier sampled according to Algorithm 1 with 𝑞(𝑚𝑘)≥9𝐶2𝑚𝑘log(𝑚𝑘/𝜀2), for some absolute constant 𝐶>0. Then, with probability at least 1/2, 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 𝒪︀(𝑚𝑘3+2𝑘𝑚𝑘𝑚𝑘+1). This poses the central problem of the current work:

Problem 2

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 𝐩∼𝑊𝑘+12𝐫.

Rem 3.1

Since 𝐩 is a probability measure over 𝒱︀𝑘+1(𝒦︀), it is natural to measure its perturbations in terms of 1𝑚𝑘+1, i.e., |𝐩(𝜎𝑖)−𝐩(𝛿)(𝜎𝑖)|<𝛿𝑚𝑘+1, 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 𝛿=0.5, the convergence rate remains largely unaffected.

Figure 3: Convergence of the sampled simplicial complex ℒ︀ to the original complex 𝒦︀ at 0-order in terms of the spectrum of 𝐿0 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. 𝑚0=100, 𝑚1=𝑚0(𝑚0−1)3. All curves are averaged over 25 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

Def 4.1 [Density of States]

For a given symmetric matrix 𝐴=𝑄Λ𝑄⊤ with 𝑄⊤𝑄=𝐼 and diagonal Λ=diag(𝜆1,…𝜆𝑛), the spectral density or density of states is defined as

𝜇(𝜆∣𝐴)=1𝑛∑𝑖=1𝑛𝜹(𝜆−𝜆𝑖)

where 𝜹(𝜆) is a Dirac delta function. Additionally, let 𝐪𝑖 be a corresponding unit eigenvector of 𝐴 (such that 𝐴𝐪𝑖=𝜆𝑖𝐪𝑖 and 𝑄=(𝐪1∣𝐪2∣…∣𝐪𝑛)). Then one can define a set of local densities of states:

𝜇𝑗(𝜆∣𝐴)=∑𝑖=1𝑛|𝐞𝑗⊤𝐪𝑖|2𝜹(𝜆−𝜆𝑖) for 𝑗=1,…𝑛,

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., ℎ𝑗(𝜆)=[𝜇𝑗(𝜆∣𝐴)∗𝐾Δℎ]=∫ℝ1Δℎ𝐾(𝜆−𝜂Δℎ)𝜇𝑗(𝜂∣𝐴)𝑑𝜂, 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:

Thm 4.1 [Effective resistance through Local Densities of States]

For a given simplicial complex 𝒦︀, with 𝑘-th order up-Laplacian 𝐿𝑘↑=𝐵𝑘+1𝑊𝑘+12𝐵𝑘+1⊤, the generalized effective resistance 𝐫 can be computed through a family of local densities of states {𝜇𝑖(𝜆∣𝐿𝑘+1↓)} of the 𝑘+1 down-Laplacian as follows:

𝐫𝑖=∫ℝ∖{0}𝜇𝑖(𝜆∣𝐿𝑘+1↓)𝑑𝜆

Proof. Let 𝐵𝑘+1𝑊𝑘+1=𝑈𝑆𝑉⊤ where 𝑆 is diagonal and invertible and both 𝑈 and 𝑉 are orthogonal. Stated differently, 𝑈𝑆𝑉⊤ is a truncated singular value decomposition of the matrix 𝐵𝑘+1𝑊𝑘+1 with eliminated kernel. Then:

(𝐿𝑘↑)†=(𝐵𝑘+1𝑊𝑘+12𝐵𝑘+1⊤)†=(𝑈𝑆2𝑈⊤)†=𝑈𝑆−2𝑈⊤

It follows that

𝐫=diag(𝑊𝑘+1𝐵𝑘+1⊤(𝐿𝑘↑)†𝐵𝑘+1𝑊𝑘+1)=diag(𝑉𝑆𝑈⊤𝑈𝑆−2𝑈⊤𝑈𝑆𝑉⊤)=diag(𝑉𝑉⊤)

As a result we can express 𝐫𝑖=‖𝑉𝑖⋅‖2=∑𝑗|𝑣𝑖𝑗|2. 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 𝐿𝑘+1↓=𝑊𝑘+1𝐵𝑘+1⊤𝐵𝑘+1𝑊𝑘+1.

Note that

𝜇𝑖(𝜆∣𝐿𝑘+1↓)=∑𝑗=1𝑚𝑘+1|𝐞𝑖⊤𝐪𝑗|2𝜹(𝜆−𝜆𝑗)=∑𝑗=1𝑚𝑘+1|𝑞𝑖𝑗|2𝜹(𝜆−𝜆𝑗).

Moreover, we have 𝐿𝑘+1↓=𝑉𝑆2𝑉⊤ and 𝑄=𝑉 (up to the zero eigenpairs). It thus follows that

𝐫𝑖=‖𝑉𝑖⋅‖2=∑𝑗|𝑣𝑖𝑗|2=∫ℝ∖{0}∑𝑗=1𝑚𝑘+1|𝑞𝑖𝑗|2𝜹(𝜆−𝜆𝑗)𝑑𝜆=∫ℝ∖{0}𝜇𝑖(𝜆∣𝐿𝑘+1↓)𝑑𝜆

Theorem 4.1 implies that it is sufficient to obtain the family {𝜇𝑖(𝜆∣𝐿𝑘+1↓)} for the next down-Laplacian 𝐿𝑘+1↓ 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 {𝜇𝑖(𝜆∣𝐿𝑘+1↓)} 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:

  1. Shift the operator 𝐴↦𝐻 so that 𝜎(𝐻)⊆[𝑎;𝑏];

  2. Consider a polynomial basis 𝑇𝑚(𝑥) on [𝑎;𝑏], orthogonal with respect to the weight function 𝑤(𝑥). Then the local densities of states can be decomposed as

    𝜇𝑗(𝜆∣𝐻)=∑𝑚=0∞𝑑𝑚𝑗𝑤(𝜆)𝑇𝑚(𝜆)

    where the coefficients 𝑑𝑚𝑗 are known as moments. In practice, one is interested in a truncated decomposition of the form 𝜇^𝑗(𝜆∣𝐻)=∑𝑚=0𝑀𝑑𝑚𝑗𝑤(𝑥)𝑇𝑚(𝑥) for some finite 𝑀;

  3. 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 [−1,1]. 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 𝐿0 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 𝑘>0, the eigenspaces with high multiplicity are unavoidable due to the Hodge decomposition, (1): indeed, since im𝐵𝑘⊤⊆ker𝐵𝑘+1⊤=ker𝐿𝑘↑ and im𝐵𝑘+1⊆ker𝐵𝑘=ker𝐿𝑘↓, 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 {𝜇𝑖(𝜆∣𝐿𝑘+1↓)} that intentionally avoids the spike in the kernel of 𝐿𝑘+1↓, 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 𝜇𝑗(𝜆∣𝐿𝑘+1↓) associated with the kernel since the region of integration excludes 0. Note that, since 𝜇𝑗(𝜆∣𝐿𝑘+1↓)≈∑𝑚=0𝑀𝑑𝑚𝑗𝑤(𝜆)𝑇𝑚(𝜆) is a functional decomposition, the approximation error associated with the spike at 𝜆=0 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 𝐻=2𝜆max𝐿𝑘+1↓−𝐼 was considered, where 𝜆max denotes the largest eigenvalue of 𝐿𝑘+1↓. Hence, the spectrum is bounded in an interval 𝜎(𝐻)⊆[−1;1] and the null eigenvectors of 𝐿𝑘+1↓ are shifted to −1∈𝜎(𝐻). In this work, we instead select 𝐻=1𝜆max𝐿𝑘+1↓ and define a symmetrized version of the local densities of states as:

𝜇~𝑗(𝜆∣𝐻)={𝜇𝑗(𝜆∣𝐻), if 𝜆∈(0,1]0, if 𝜆=0−𝜇𝑗(−𝜆∣𝐻), if 𝜆∈[−1,0)

Note that the support of the symmetrized 𝜇~𝑗(𝜆∣𝐻) still falls within [−1;1], and the spike associated with the value 𝜆=0 is by design tied to 0.

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,

𝑇0(𝑥)=1,𝑇1(𝑥)=𝑥,𝑇𝑚+1(𝑥)=2𝑥𝑇𝑚(𝑥)−𝑇𝑚−1(𝑥)

forming an orthonormal basis on [−1,1] with respect to the scalar product defined by the weight function 𝑤(𝑥)=2/((1+𝛿0𝑚)𝜋1−𝑥2).

We decompose the symmetrized local density of states 𝜇~𝑗(𝜆∣𝐻) as:

𝜇~𝑗(𝜆∣𝐻)=∑𝑚=0∞𝑑𝑚𝑗𝑤(𝜆)𝑇𝑚(𝜆),

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:

Lem 4.1

Let 𝑇𝑚(𝑥) be Chybeshev polynomials of the first kind and 𝜇~𝑗(𝜆∣𝐻) be a symmetrized local density of states defined above. Then its moments 𝑑𝑚𝑗 are given by:

𝑑𝑚𝑗={0,if 𝑚 is even2∑𝜆𝑖∈𝜎(𝐻)∖{0}|𝐞𝑗⊤𝐪𝑖|2𝑇𝑚(𝜆𝑖)=2[𝑇𝑚(𝐻)]𝑗𝑗,if 𝑚 is odd

thus, the 𝑚-th vector of moments (for odd 𝑚) can be expressed as 𝑑𝑚•=2diag(𝑇𝑚(𝐻)).

Proof. Let 𝜇𝑗(𝑥∣𝐴) be the LDoS for a general symmetric matrix 𝐴 with spectra decomposition 𝐴=𝑄Λ𝑄⊤. Then for an arbitrary polynomial function 𝑓(𝑥), we can compute

⟨𝜇𝑗(𝑥∣𝐴),𝑓(𝑥)⟩=∫−∞+∞∑𝑖=1𝑛|𝐞𝑗⊤𝐪𝑖|2𝜹(𝑥−𝜆𝑖)𝑓(𝑥)𝑑𝑥==∑𝑖=1𝑛|𝐞𝑗⊤𝐪𝑖|2∫−∞+∞𝜹(𝑥−𝜆𝑖)𝑓(𝑥)𝑑𝑥=∑𝑖=1𝑛|𝐞𝑗⊤𝐪𝑖|2𝑓(𝜆𝑖)=∑𝑖=1𝑛|𝑞𝑗𝑖|2𝑓(𝜆𝑖)

Since 𝑓(𝐴)=𝑄𝑓(Λ)𝑄⊤, we get

[𝑓(𝐴)]𝑗𝑗=𝐞𝑗⊤𝑄𝑓(Λ)𝑄⊤𝐞𝑗=𝐪𝑗⊤𝑓(Λ)𝐪𝑗=∑𝑖=1𝑛|𝑞𝑗𝑖|2𝑓(𝜆𝑖)=⟨𝜇𝑗(𝑥∣𝐴),𝑓(𝑥)⟩

The case for the symmetrized LDoS 𝜇~𝑗(𝑥∣𝐻) is only marginally different:

⟨𝜇~𝑗(𝑥∣𝐻),𝑓(𝑥)⟩=∑𝑖=1𝜆𝑖≠0𝑛|𝑞𝑗𝑖|2(𝑓(𝜆𝑖)−𝑓(−𝜆𝑖))

Due to the orthonormality of 𝑇𝑚(𝑥), moments 𝑑𝑚𝑗 are given by inner products, 𝑑𝑚𝑗=⟨𝜇~𝑗(𝑥∣𝐻),𝑇𝑚(𝑥)⟩. For even 𝑚, Chebyshev polynomial 𝑇𝑚(𝑥) is even, hence 𝑇𝑚(𝜆𝑖)−=𝑇𝑚(−𝜆𝑖) and 𝑑𝑚𝑗=0. In the case of odd 𝑚, 𝑇𝑚(𝑥) is odd itself and 𝑇𝑚(0)=0, so, as a result:

𝑑𝑚𝑗=∑𝑖=1𝜆𝑖≠0𝑛|𝑞𝑗𝑖|2(𝑇𝑚(𝜆𝑖)−𝑇𝑚(−𝜆𝑖))=2∑𝑖=1𝜆𝑖≠0𝑛|𝑞𝑗𝑖|2𝑇𝑚(𝜆𝑖)=2∑𝑖=1𝑛|𝑞𝑗𝑖|2𝑇𝑚(𝜆𝑖)

where the last equality follows from the fact that 𝑇𝑚(0)=0. Finally, since 𝑇𝑚(𝑥) are polynomial functions, we get

𝑑𝑚𝑗=2∑𝑖=1𝑛|𝑞𝑗𝑖|2𝑇𝑚(𝜆𝑖)=2[𝑇𝑚(𝐻)]𝑗𝑗

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 𝑋:

diag𝑋=𝔼[𝐳⊙𝑋𝐳],

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:

diag𝑋≈1𝑁𝑧(𝑍⊙𝑋𝑍)𝟏

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 diag(𝑇𝑚(𝐻)) to simple matvec operations. Importantly the calculations can be efficiently updated for the next order of moments 𝑑𝑚+1,•, due to the recurrent definition of 𝑇𝑚(𝑥). Assume we store the values of 𝑇𝑖(𝐻)𝑍 for 𝑖=0…𝑚. In order to obtain 𝑇𝑚+1(𝐻)𝑍, we compute 𝑇𝑚+1(𝐻)𝑍=2𝐻⋅(𝑇𝑚(𝐻)𝑍)−(𝑇𝑚−1(𝐻)𝑍) 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 ℎ^𝑀(𝑗)=[(∑𝑚=0𝑀𝑑𝑚𝑗𝑤(𝜆)𝑇𝑚(𝜆))∗𝐾Δℎ] where the moments 𝑑𝑚𝑗 are Monte-Carlo sampled. Using the estimation bound from [1, Thm 4.2], we obtain:

𝔼‖ℎ(𝑗)−ℎ^𝑀(𝑗)‖∞≤1Δℎ(6𝐿𝑀+2‖𝐾Δℎ‖∞𝜋𝑁𝑧)

(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:

Lem 4.2

For a given simplicial complex 𝒦︀ and GER vector 𝐫, it holds that ‖𝐫‖1=𝑚𝑘−∑𝑖=−1𝑘−1(−1)𝑘−1−𝑖(𝑚𝑖−𝛽𝑖+1), where 𝛽𝑘=dimker𝐿𝑘 denotes 𝑘-th Betti’s number and 𝑚−1=0.

Proof. From the proof of Theorem 4.1, we know that 𝐫𝑖≥0, and

‖𝐫‖1=∑𝑖𝐫𝑖=∑𝑖,𝑗|𝑣𝑖𝑗|2

Since each of the right singular vectors 𝑉⋅𝑗 of 𝐵𝑘+1𝑊𝑘+1 has unit length, ∑𝑖,𝑗|𝑣𝑖𝑗|2=number of columns of 𝑉=dimim𝐿𝑘↑=𝑚𝑘−dimker𝐿𝑘↑ given that singular vectors 𝑉⋅𝑗 are defined via truncated SVD. Due to the discrete Hodge decomposition (1), dimker𝐿𝑘↑=dimim𝐵𝑘⊤+dimker𝐿𝑘 and im𝐵𝑘⊤=im𝐿𝑘↓. According to the spectral inheritance principle for Hodge Laplacians [23], 𝜎+(𝐿𝑘↓)=𝜎+(𝐿𝑘−1↑) where 𝜎+ denotes the set of positive eigenvalues of corresponding operators; as a result, dimim𝐿𝑘↓=dimim𝐿𝑘−1↑. Employing such steps recursively, one obtains ‖𝐫‖1=𝑚𝑘−∑𝑖=−1𝑘−1(−1)𝑘−1−𝑖(𝑚𝑖−𝛽𝑖+1).

We can now formulate the following error bound for the KID method:

Thm 4.2

For any fixed 𝛿>0, 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 𝑀≥24𝐿𝑚𝑘+1𝛿𝑚𝑘 moments, and we use 𝑁𝑧≥8‖𝐾Δℎ‖2𝜋2𝑚𝑘+12𝛿2𝑚𝑘2 samples, then

‖𝐩−𝐩^‖∞≤𝛿𝑚𝑘+1

and the computational complexity of the KID approximation is

𝒪︀(𝛿−3𝑚𝑘+14𝑚𝑘−3).

Proof. To show the estimate for the approximation of the sparsifying norm, we consider the estimate

𝔼‖ℎ(𝑗)−ℎ^𝑀(𝑗)‖∞≤1Δℎ(6𝐿𝑀+2‖𝐾Δℎ‖∞𝜋𝑁𝑧)

which translates to the estimate on vector 𝐫. Given each 𝐫𝑖≥0, the probability measure 𝐩 is given by 𝐩=1‖𝐫‖1𝐫. As a result, to obtain the bound ‖𝐩−𝐩^‖∞≤𝛿𝑚𝑘+1, it is sufficient to show:

6𝐿𝑀+2‖𝐾Δℎ‖∞𝜋𝑁𝑧≤𝛿𝑚𝑘+1‖𝐫‖1.

The bound above is guaranteed for parameters 𝑀 and 𝑁𝑧 satisfying:

6𝐿𝑀≤𝛿2𝑚𝑘+1‖𝐫‖1,2‖𝐾Δℎ‖∞𝜋𝑁𝑧≤𝛿2𝑚𝑘+1‖𝐫‖1

Finally, assuming a sufficiently dense (namely, 𝑚𝑘2≥𝑚𝑘−1+𝛽𝑘 ) simplicial complex, one gets ‖𝐫‖1=𝑚𝑘−∑𝑖=−1𝑘−1(−1)𝑘−1−𝑖(𝑚𝑖−𝛽𝑖+1)≥𝑚𝑘−𝛽𝑘−𝑚𝑘−1≥12𝑚𝑘, completing the lower bounds on 𝑀 and 𝑁𝑧 in the theorem’s statement.

To get a clearer understanding of the overall complexity, recall that 𝑚𝑘+1=𝒪︀(𝑚𝑘1+1𝑘+1) for a simplicial complex that includes all possible subsets of 𝑘+2 nodes as (𝑘+1)-simplices (f.i. completely connected graph with all possible triangles), resulting into the worst-case complexity of 𝒪︀(𝛿−3𝑚𝑘1+4𝑘+1). In other words, our approximation is not worse than direct computation for 𝑘=1 (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:

  1. support the asymptotic estimate for the approximation error (2) in terms of the number of moments 𝑀 and the number of Monte-Carlo sample vectors 𝑁𝑧;

  2. showcase the computational complexity of the KID approximation using the (scaled) oracle choice for the parameters, Theorem 4.2;

  3. 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:

  1. We consider 𝑚0 points embedded in ℝ2, sampled randomly in two clusters. Specifically, 𝑚02 points are sampled from 𝒩︀(𝟎,𝐼) and 𝑚02 points are sampled from 𝒩︀(𝑐𝟏,𝐼), for some 𝑐>0.

  2. For a fixed filtration threshold 𝜖>0, a simplex 𝜎=[𝑣𝑖1,...𝑣𝑖𝑝] 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 𝑚0=40 and filtration 𝜖=1.5, inter-cluster distance 𝑐=3. 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 𝑀−1 in terms of the number of moments and as 𝑁𝑧−1/2 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 1-sparsification for 𝐿1↑ operator. Note that all experiments are conducted in the a sufficiently dense setting, where 𝑚2≥𝑚1ln𝑚1.

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 𝑚0 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:

𝑀=⌈𝑚𝑘+1𝛿𝑚𝑘⌉and𝑁𝑧=⌈1108𝜋2𝑚𝑘+12𝛿2𝑚𝑘2⌉.

Figure 6: Execution time of KID approximation for effective resistance of triangles, 𝒱︀2(𝒦︀) (left), and tethrahedrons, 𝒱︀3(𝒦︀) (right). Line colors correspond to varying 𝑚0 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 𝒪︀(𝑚𝑘+14𝑚𝑘3) from Theorem 4.2 aligns with the actual execution time of the KID approximation for varying filtration parameters 𝜖 in the cases of 1- and 2-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 1-sparsification, using the approximation parameters mentioned above (see Figure 7). Note that although the densest case complexity estimate 𝒪︀(𝛿−3𝑚𝑘1+4𝑘+1) 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 ‖𝐩−𝐩^‖∞≤𝛿𝑚2.

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 𝑚0 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 1𝜆max‖𝐿1↑(𝒦︀)−𝐿1↑(ℒ︀)‖2 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 𝑚0=50 and 𝜀=1.75.

0.1𝑞(𝑚𝑘)0.2𝑞(𝑚𝑘)0.33𝑞(𝑚𝑘)
uniform(unbiased)1.08620.86340.5925
𝑘-Neighbours1.01.00.985
Effective Resistance0.58240.28270.125
KID(ours), 𝛿=0.10.59960.31320.1385

Additionally, the performance of the direct computation of 𝐩 for the largest considered point cloud with 𝑚0=125 highlights another important advantage of the KID approximation: reduced memory consumption. Indeed, whether we use the definition of the resistance vector

𝐫=diag(𝐵𝑘+1⊤(𝐿𝑘↑)†𝐵𝑘+1)

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 𝑚0=125, denser VR-complexes lead to real-valued matrices of size 104×104, 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 𝑚𝑘+1×𝑁𝑧, 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 10; then, we performed simplicial closure to obtain simplicial complexes of order 2.

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 10 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; 𝛿=0.1.

dataset𝑚1𝑚2ER timeER errKID timeKID err
email-enron160465782.9s0.0980.31s0.1402
contact-hs2515237059.81s0.09620.0013s0.1311
NDC-classes265837787.53s0.05660.246s0.5628
vegas-bars40785099NANA0.1179s0.1038
algebra193431912.221s0.04790.433s0.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 𝒪︀(𝛿−3𝑚𝑘1+4𝑘+1), 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 𝐿𝑘+1↓, 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 𝑘=0 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.