Abstract 1 Introduction 2 Preliminaries 3 Dynamic Spectral Sparsification References

Fully Dynamic Spectral Sparsification for Directed Hypergraphs

Sebastian Forster ORCID Department of Computer Science, University of Salzburg, Austria Gramoz Goranci ORCID Faculty of Computer Science, University of Vienna, Austria Ali Momeni ORCID Faculty of Computer Science, UniVie Doctoral School Computer Science DoCS, University of Vienna, Austria
Abstract

There has been a surge of interest in spectral hypergraph sparsification, a natural generalization of spectral sparsification for graphs. In this paper, we present a simple fully dynamic algorithm for maintaining spectral hypergraph sparsifiers of directed hypergraphs. Our algorithm achieves a near-optimal size of O(n2/ε2log7m) and amortized update time of O(r2log3m), where n is the number of vertices, and m and r respectively upper bound the number of hyperedges and the rank of the hypergraph at any time.

We also extend our approach to the parallel batch-dynamic setting, where a batch of any k hyperedge insertions or deletions can be processed with O(kr2log3m) amortized work and O(log2m) depth. This constitutes the first spectral-based sparsification algorithm in this setting.

Keywords and phrases:
Spectral sparsification, Dynamic algorithms, (Directed) hypergraphs, Data structures
Funding:
Sebastian Forster: This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 947702).
Copyright and License:
[Uncaptioned image] © Sebastian Forster, Gramoz Goranci, and Ali Momeni; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Sparsification and spanners
Related Version:
Full Version: https://arxiv.org/abs/2512.21671
Editors:
Meena Mahajan, Florin Manea, Annabelle McIver, and Nguyễn Kim Thắng

1 Introduction

Sparsification – the process of approximating a graph with another that has fewer edges while preserving a key property – is a central paradigm in the design of efficient graph algorithms. A fundamental property of interest is graph cuts, which are not only foundational in graph theory and serve as duals to flows, but also have widespread applications in areas such as graph clustering [39, 46, 17] and image segmentation [10, 34], to mention a few. In their seminal work, Benczúr and Karger [7] initiated the study of sparsifiers in the context of graph cuts. They showed that any graph admits a sparse reweighted cut-sparsifier whilst paying a small loss in the approximation. Spielman and Teng [52] introduced a variant of sparsification known as spectral sparsification, which generalizes cut sparsification and measures graph similarity via the spectrum of their Laplacian matrices. The development of such sparsification techniques has had a profound impact across algorithm design [42, 48, 53, 45], with the Laplacian paradigm standing out as a key example [9, 51, 14, 31, 36].

Motivated by the need to capture complex interdependencies in real-world data, beyond the pairwise relationships modeled by traditional graphs, there has been a surge of interest in recent years in developing spectral sparsifiers for hypergraphs. These efforts have led to algorithmic constructions that achieve near-optimal size guarantees [24, 25, 44, 23, 38]. However, a common limitation of these algorithms is the assumption that the input graph is static – an assumption that does not hold in many practical settings. For example, real-world graphs, such as those modeling social networks, are inherently dynamic and undergo continual structural changes. For undirected hypergraphs, this limitation has been addressed in two recent independent works [22, 32], which show that spectral hypergraph sparsifiers can be maintained dynamically, supporting both hyperedge insertions and deletions in polylogarithmic time with respect to input parameters. This naturally leads to the question of whether directed hypergraphs also admit similarly efficient dynamic sparsification algorithms.

In this paper, we study problems at the intersection of dynamic graph-based data structures and spectral sparsification for directed hypergraphs. Specifically, we consider the setting where a directed hypergraph undergoes hyperedge insertions and deletions, and the goal is to efficiently process these updates while maintaining a spectral sparsifier that approximates the input hypergraph. Our work builds upon variants of two key algorithmic constructions: the static spectral sparsification framework for directed hypergraphs developed by Oko et al. [44], and the dynamic sparsifier maintenance techniques for ordinary graphs by Abraham et al. [1]. Leveraging insights from both lines of work and modifying them to our setting, we design efficient dynamic algorithms for maintaining spectral sparsifiers of directed hypergraphs, as formalized in the theorem below.

Theorem 1.

Given a directed hypergraph H=(V,E,𝐰) with n vertices, rank r, and at most m hyperedges (at any time), there is a fully dynamic data structure that, with high probability, maintains a (1±ε)-spectral hypersparsifier H~ of H of size O(n2/ε2log7m) in O(r2log3m) amortized update time.

The guarantees provided by the above theorem are nearly tight, for the following reasons: (1) even reading the hyperedges in a hypergraph of rank r requires Θ(r) time, which means any update time must inherently depend on r, and (2) in the setting of directed graphs, it is folklore that a complete bipartite graph on n vertices, with all edges directed from one partition to the other, gives an Ω(n2) lower bound on the size of any directed sparsifier. Moreover, Oko et al. [44] established an even stronger lower bound, showing that any spectral sparsifier must also incur a Ω(ϵ1) dependence. The latter implies that the size of our dynamic sparsifier is optimal up to a factor of ϵ1 and polylogarithmic terms.

Our algorithmic construction also extends naturally to the closely related batch-dynamic setting. In this model – similar to the fully dynamic setting – updates consist of hyperedge insertions and deletions, but are processed in batches, enabling the exploitation of parallelism. This approach is particularly well-suited for handling high-throughput update streams and may more accurately reflect how dynamic changes are managed in real-time systems. Our result in this model is formalized in the theorem below.

Theorem 2.

Given a directed hypergraph H=(V,E,𝐰) with n vertices, rank r, and at most m hyperedges (at any time) undergoing batches of k hyperedge additions or deletions, there is a parallel fully dynamic data structure that, with high probability, maintains a (1±ε)-spectral hypersparsifier H~ of H of size O(n2/ε2log7m) in O(kr2log3m) amortized work and O(log2m) depth.

The data structure of Theorem 2, along with its analysis, is explained in the full version of the paper (Appendix A).

1.1 Related Work

We briefly discuss the related work for spectral sparsification on both graphs and hypergraphs below.

Static Algorithms

Starting with Spielman and Teng [52], spectral sparsification has been extensively studed on graphs [5, 29, 6, 57, 35, 40, 41]. Recently, the concept has been extended to undirected and directed hypergraphs [50, 4, 24, 25, 47, 44, 38, 23, 33].

Dynamic Algorithms

For undirected graphs, there have been several results for dynamic spectral sparsifiers that use a similar approach to ours. This includes the work of Abraham, Durfee, Koutis, Krinninger, and Peng [1], which achieves polylogarithmic update time using t-bundle spanners, and its extension against an adaptive adversary by Bernstein, Brand, Gutenberg, Nanongkai, Saranurak, Sidford, and Sun [8] and to directed graphs by Zhao [55]. More recently, Khanna, Li, and Putterman [32] achieved a fully dynamic spectral sparsifier with near-optimal size and update time for undirected hypergraphs. A closely related notion of sparsification, namely vertex sparsifiers, has also been studied in the dynamic setting [21, 16, 11, 19, 3, 54, 15].

Distributed and Parallel Algorithms

Koutis and Xu [37] achieved simple algorithms for spectral graph sparsification that can be implemented in many computational models, including both parallel and distributed settings, with sub-optimal guarantees on the sparsifier size. Very recently, Ghaffari and Koo [20] developed a parallel batch-dynamic algorithm for spanners. Other related works include distributed vertex sparsifiers [56, 18].

Online and Streaming Algorithms

For graphs, Kelner and Levin [30] extended the sampling scheme based on effective resistances [51] to the semi-streaming setting. Cohen, Musco, and Pachocki [13] obtained an online spectral sparsification algorithm for graphs. Recently, Soma, Tung, and Yoshida [49] proposed an online algorithm for spectral hypergraph sparsification. For graphs in dynamic streams, Ahn, Guha, and McGregor [2] developed a spectral sparsifier. Also, there has been a series of work on spectral sparsification in dynamic streams for both graphs and hypergraphs [26, 28, 27].

1.2 Technical Overview

In this section, we present the main ideas behind our fully dynamic algorithm for maintaining a (1±ε)-spectral hypersparsifier H~ of a directed hypergraph H. Our algorithm builds on the static algorithm of [44], which we briefly review.

The algorithm of [44] constructs H~ by computing a sequence of hypergraphs H1,,Hk, where H1 is a spectral hypersparsifier of H, H2 is a spectral hypersparsifier of H1, and so on, until Hk=H~. Each Hi is obtained via simple sampling scheme (discussed shortly) that guarantees, with high probability, Hi is proportionally smaller than Hi1. As a result, the number of iterations is bounded by k=O(logm). In constructing Hi from Hi1, the algorithm obtains two sub-hypergraphs of Hi1: the coreset hypergraph Ci and the sampled hypergraph Si.

At a high level, Ci consists of a sufficient number of heavy-weight hyperedges of Hi1 (to be specified shortly). This ensures that, when hyperedges are sampled uniformly at random from the remaining hypergraph Hi1Ci to construct Si, the resulting union Hi:=CiSi forms a spectral hypersparsifier of Hi1. More precisely, Ci is constructed as follows. For every pair (u,v)V×V, the algorithm selects the O(log3m/ε2) heaviest hyperedges whose tail111In a directed hypergraph, each hyperedge e is a pair (t(e),h(e)), with the tail t(e)V and the head h(e)V reflecting the direction of e. See Section 2 for further details. contains u and whose head contains v.222If multiple hyperedges have equal weight, the algorithm picks them arbitrarily. These hyperedges are then added to Ci.

To construct Si, each hyperedge in Hi1Ci1 is sampled independently with probability 1/2, and its weight is doubled. They prove that, with high probability, this simple sampling scheme produces a (1±ε)-spectral hypersparsifier Hi=CiSi of Hi1. Moreover, with high probability, |E(Hi)|3|E(Hi1)|/4 and so k=O(logm). See Figure 1(a) for an illustration of their approach.

(a)
(b)
Figure 1: Comparison of (a) the algorithm of [44] and (b) our static algorithm. In each iteration i, their algorithm recurses on Hi1=Ci1Si1 and computes Hi=CiSi for the next iteration. In contrast, our algorithm recurses solely on Si1, adds the coreset Ci to the sparsifier H~, and computes the sampled hypergraph Si for the next iteration. After k=O(logm) iterations, our algorithm terminates and returns H~=C1CkSk, whereas the algorithm of [44] returns H~=CkSk (the shaded parts in the figures). The increase in the size of H~ in our algorithm allows us to maintain H~ efficiently in the dynamic setting, as detailed in Section 3.2.

Unfortunately, the static algorithm cannot be directly converted into an efficient dynamic algorithm. This is mostly due to the way the hypergraphs in the sequence H1,,Hk are built on top of each other, as a single change in H can propagate into O(m) changes across the sequence. As an example, we explain how the removal of a hyperedge e from Hi can cause at least two changes in Hi+1, which can eventually lead to O(2k)=O(m) changes throughout the sequence. Assume a hyperedge e is removed from H and that e also belongs to the coreset hypergraph Ci of Hi1. As Hi+1 is a sub-hypergraph of Hi=CiSi, e may also belong to Hi+1, necessitating its removal from Hi+1 as well. To maintain Ci as a coreset of Hi1, the algorithm must replace e with a next heaviest hyperedge e from Hi1Ci. If e is an unsampled hyperedge (i.e., belongs to Hi1Si), its addition to Ci (and so Hi) may require updating Hi+1 as well: as Hi+1 is a sub-hypergraph of Hi, the (newly added) hyperedge e could be heavier than some hyperedge e′′ in Ci+1, necessitating the replacement of e′′ in Ci+1. Thus, the removal of a hyperedge e from Hi can trigger at least two removals (namely, e and e′′) and one insertion (namely, e) in Hi+1. See Section 3.1 for further details.

To overcome this issue, our static algorithm deviates from that of [44] in the following way. We ensure that each hyperedge is included in at most one coreset by recursing on the sampled hypergraph Si rather than on CiSi. At the same time, we add Ci to the sparsifier H~. i.e., we set H~=C1CkSk, which can be verified to remain a spectral sparsifier of H (as discussed in Lemma 5). See Figure 1(b) for an illustration. Using this approach, after the deletion of e from Hi, each hypergraph Hi+1,,Hk in the sequence will undergo at most one change. Specifically, in the case of replacing a hyperedge e by e as in the high-recourse example above, there are two possibilities: either (1) e does not belong to Hi+1 (i.e., it is not in the sampled hypergraph Si), in which case the replacement does not affect Hi+1, or (2) e belongs to Hi+1, in which case the update is interpreted as the removal of e from Hi+1 (note that since Ci is excluded from Hi+1, the hyperedge e no longer belongs to Hi+1,,Hk). The downside of this approach is that it increases the size of H~ from O(n2/ε2log3(n/ε)) to O(n2/ε2poly(logm)). This increase becomes noticeable only when m is exponential in n. Even in that case, however, the size of H~ stays poly(n), which is asymptotically much smaller than the exponential size of H.

To dynamize our static algorithm, we adapt an approach similar to that of [1] for graphs. We first design a decremental data structure (Algorithm 4 in Section 3.2.1), where the updates consist of only hyperedge deletions, and then use it to design a fully dynamic data structure (Algorithm 5 in Section 3.2.2) via a reduction technique.

Our decremental algorithm leverages the fact that a hyperedge deletion in H causes at most one hyperedge deletion in each hypergraph in the sequence H1,,Hk. The removal of a hyperedge e from Hi=CiSi is handled using a straightforward replacement scheme. If e belongs to the sampled hypergraph Si, then Si remains valid after the removal of e, in the sense that it is still a set of hyperedges sampled uniformly at random from the updated HiCi. The update procedure is more involved if e belongs to the coreset hypergraph Ci. Recall that e was added to Ci through a pair (u,v)V×V, where u belongs to the tail of e and v belongs to the head of e. The replacement of e is handled by removing it from all sets representing such pairs and then selecting a hyperedge with high weight that is not already in Ci. Since there are O(r2) such pairs, this results in an O~(r2) update time for maintaining Hi. See Section 3.2.1 for more details.

To convert our decremental data structure to a fully dynamic one, we leverage the decomposability property of spectral sparsifiers: the union of spectral sparsifiers of hyperedge partitions of H forms a spectral sparsifier of H (see Lemma 3 for a formal statement). The main idea is to maintain a hyperedge partition I1,,Il of H where |E(Ii)|2i at any time. Deletions are handled by passing them to the respective Ii, whereas insertions are more difficult to handle: the data structure finds an integer j and moves all the hyperedges in I1,,Ij1 to Ij along with the inserted hyperedge. The choice of j depends on the number of insertions so far, with smaller values of j (corresponding to hypergraphs considerably smaller than H) being chosen more frequently. On each Ii, we run our decremental data structure to maintain a spectral sparsifier I~i of Ii, and upon an insertion, we reinitialize it for Ij. The algorithm sets H~=I~1I~l, and since k=O(logm) the desired size of H~ follows. See Section 3.2.2 for further discussion.

Our approach in designing a decremental data structure and extending it to a fully dynamic one is similar to recent work on dynamic sparsification for undirected hypergraphs [22, 32]. Moreover, [22] also builds on the framework of [44]. The key difference is that we adapt the directed framework of [44] (specifically, λ-coresets), whereas [22] employs their undirected framework (specifically, t-bundle hyperspanners, a concept also used in [32]). Both [22] and [32] rely on spanner-based techniques to bound the effective resistances in the associated graph of the hypergraph as a crucial step in enabling their simple sampling scheme. For the directed case, however, [44] shows that this translates to using coresets, which are structurally simpler than hyperspanners. This structural simplicity allows us to design relatively simpler algorithms compared to those in [22, 32].

It is noteworthy to mention the recent work of [33] that reduces directed hypergraph sparsification to undirected hypergraph sparsification. Combining this reduction with the fully dynamic undirected hypergraph sparsification result of [32] yields a dynamic algorithm for directed hypergraph sparsification with guarantees similar to ours. However, the algorithm of [32] is substantially more involved: (i) it relies on vertex-sampling steps, which our approach does not require, and (ii) it uses dynamic graph spanner constructions in a black-box manner. Moreover, it does not seem straightforward to extend their algorithm to the batch-parallel setting. In comparison, our coreset-based construction is significantly simpler and potentially more practically relevant. It readily extends to the batch-parallel setting and achieves a better and explicit polylogarithmic overhead in both sparsifier size and update time.

Lastly, in the full version of the paper (Appendix A), we show how to parallelize our data structures when H undergoes batches of k hyperedge deletions or additions as a single update. This discussion also explains how to adapt our fully dynamic data structure to support batch updates rather than single updates.

2 Preliminaries

Hypergraphs

A hypergraph H=(V,E,𝒘) consists of a set of vertices V, a set of hyperedges E, and a weight vector 𝒘+|E|. The direction of a hyperedge eE is defined by sets t(e) and h(e) as follows. Each hyperedge eE is a pair (t(e),h(e)), where both t(e) and h(e) are non-empty subsets of V. The sets t(e) and h(e) are called the tail and head of e, respectively; they indicate the direction of e. Note that t(e) and h(e) may overlap.

We use E(H) to denote the set E of hyperedges of H whenever necessary, to avoid possible confusion. We define n=|V| and m=|E| and call H an m-edge n-vertex hypergraph. We say H is of rank r if, for every hyperedge eE, |t(e)h(e)|r.

Given a vector 𝒙n defined on the set of vertices V, we define xv to be the value of vector 𝒙 at the element associated with vertex vV. Similarly, for a vector 𝒘+m defined on the set of hyperedges E, we define we to be the value of vector 𝒘 at the element associated with hyperedge eE.

Spectral Sparsification of Directed Hypergraphs

We define the spectral property of a directed hypergraph H=(V,E,𝒘) using the energy function defined in the following. For a vector 𝒙n, we define the energy of 𝒙 with respect to H as

QH(𝒙)=eEwemaxut(e),vh(e)(xuxv)+2,

where (xuxv)+=max{xuxv,0} and (xuxv)+2=((xuxv)+)2. Note that this definition generalizes a similar definition for graphs, given by QG(𝒙)=uvEwuv(xuxv)2, which represents the total energy dissipated in G when viewed as an electrical network. In such electrical network, the endpoints of each edge uv have potentials xu and xv, respectively, and the edge itself has resistance 1/wuv. This interpretation is closely related to the notion of electrical flows, a concept that is deeply intertwined with spectral analysis.

The central object of this paper is the notion of a spectral hypersparsifier. A hypergraph H~=(V,E~,𝒘~) is called a (1±ε)-spectral hypersparsifier of H if for every vector 𝒙n,

(1ε)QH~(𝒙)QH(𝒙)(1+ε)QH~(𝒙).

The following lemma will be useful later in proving the guarantees of our algorithm.

Lemma 3 (Decomposability).

Let H1,,Hk partition the hyperedges of a hypergraph H. For each 1ik, let H~i be a (1±ε)-spectral hypersparsifiers of Hi. Then, the union l=1kH~l is a (1±ε)-spectral hypersparsifier of H.

Proof.

By definition, for every vector 𝒙n, we have

(1ε)QH~i(𝒙)QHi(𝒙)(1+ε)QH~i(𝒙).

Summing over all 1ik, results in

(1ε)i=1kQH~i(𝒙)i=1kQHi(𝒙)(1+ε)i=1kQH~i(𝒙),

which means

(1ε)QH~(𝒙)QH(𝒙)(1+ε)QH~(𝒙)

as H1,,Hk partition H.

Chernoff Bound [12, 43]

Let X1,,Xk be independent random variables, where each Xi equals 1 with probability pi, and 0 otherwise. Let X=i=1kXi and μ=𝔼[X]=i=1kpi. Then, for all δ0,

[X(1+δ)μ]exp(δ2μ2+δ). (1)
Parallel Batch-Dynamic Model

We use the work-depth model to analyze our parallel algorithm. Work is defined as the total number of operations done by the algorithm, and depth is the length of the longest chain of dependencies. Intuitively, work measures the time required for the algorithm to run on a single processor, whereas depth measures the optimal time assuming the algorithm has access to an unlimited number of processors.

In the batch-dynamic setting, each update consists of a batch of k insertions or deletions, and the goal is to take advantage of performing several hyperedge insertions or deletions as a single update to improve the work and depth of the parallel algorithm. Note that this model is equivalent to the one with mixed updates (i.e., when the batch consists of both insertions and deletions), as this can be transformed into two steps, each consisting of insertions and deletions separately, without asymptotically increasing the work or depth.

3 Dynamic Spectral Sparsification

In this section, we present our fully dynamic algorithm of Theorem 1 for maintaining a (1±ε)-spectral hypersparsifier of a directed hypergraph H=(V,E,𝒘). To achieve this goal, we use a static algorithm as the cornerstone for our dynamic algorithm. The static algorithm is explained in Section 3.1 and is followed by the dynamic data structure in Section 3.2.

3.1 The Static Algorithm

We start by briefly explaining the algorithm of [44], which serves as a foundation for our algorithm. Their algorithm constructs a (1±ε)-spectral hypersparsifier H~ of H using an iterative approach: starting with H0=H, each iteration i computes a sub-hypergraph Hi of Hi1, until the final iteration computes Hilast, where H~=Hilast.

To compute Hi from Hi1, the algorithm first obtains a λ-coreset Ci of Hi1. Roughly speaking, Ci is a sub-hypergraph containing “heavyweight” hyperedges of Hi1 and is defined as follows. The algorithm defines an ordering on hyperedges in H by their weights in decreasing order. Note that this ordering naturally extends to every hypergraph Hi as a sub-hypergraph of H. To construct Ci, the algorithm examines every pair (u,v)V×V and selects the first λ hyperedges in the ordering (if any) that are not already in Ci, whose tail contains u and whose head contains v. These hyperedges are then added to Ci. The second building-block of Hi1 is the sampled hypergraph Si of Hi1 defined as follows. The algorithm samples the non-heavy hyperedges (i.e., the ones in Hi1Ci) with probability 1/2 and adds them to Si while doubling their weight. Consequently, Hi=CiSi. See Algorithm 1 for a pseudocode.

Algorithm 1 Coreset-And-Sample(H,ε).

Having heavyweight hyperedges in Ci ensures that the simple sampling scheme used for constructing Si results in Hi=CiSi, which, with high probability, is a (1±ε)-spectral hypersparsifier of Hi1 [44, Lemma 4.3]. Due to the sampling scheme, Hi is roughly half the size of Hi1, which ensures the termination of the algorithm after ilast=O(logm) iterations. Using this sequence H1,,Hilast of hypergraphs, they achieve a sparsifier H~ with an almost optimal size of O(n2/ε2log3(n/ε)) [44, Theorem 1.1]. See Figure 1(a) for an illustration.

Unfortunately, employing the sequence of hypergraphs H1,,Hilast can result in O(m) recourse (and consequently, update time) in the dynamic setting. For example, consider the removal of a hyperedge e from H that also belongs to the coreset Ci of Hi1. In this scenario, to ensure Ci remains a λ-coreset and so Hi=CiSi remains a (1±εi)-spectral hypersparsifier of Hi1, we need to replace e with another hyperedge e from Hi1Ci. i.e., if e was added to Ci through the pair (u,v), hyperedge e in Hi1Ci is the next hyperedge in the ordering whose tail contains u and whose head contains v. Since Si is a set of sampled hyperedges uniformly at random, it may be the case that e does not belong to Si, and therefore to none of Hj for j>i. Since e is added to Hi after the update (as it now belongs to Ci), it must be taken into account in the update of Hi+1 as a sub-hypergraph of (newly updated) Hi. But now, e may be heavier than another hyperedge e′′ in Ci+i, which necessitates the replacement of e′′ with e. Since e can be present in Ci+1 as well, this means that the deletion of e from Hi can result in at least 2 changes in Hi+1, and at least 2ki=O(m) changes in the sequence, which is too expensive to afford.

To alleviate this issue, our static algorithm deviates from that of [44] by recursing on Si instead of CiSi as follows. At each iteration i, the algorithm recurses on Si1, adds the coreset Ci of Si1 to H~, and samples the rest, Si1Ci, to obtain a smaller hypergraph Si for the next iteration. More precisely, the algorithm starts with S0=H and an empty sparsifier H~. In the first iteration, it computes the coreset C1 of S0, and adds it to H~. The algorithm then samples the remaining hypergraph S0C1 to compute S1 by sampling every hyperedge in S0C1 with probability 1/2 and doubling their weight. Similar to [44], with high probability, CiSi is a (1±εi)-spectral hypersparsifier of Si1 (Lemma 4). The algorithm then recurses on S1, and so on. Thus, our algorithm adds the sequence of coresets C1,,Cilast to H~ while recursing on the sequence of hypergraphs S1,,Silast. In the last iteration ilast, our algorithm adds Cilast as well as Silast to H~. See Algorithm 2 for a pseudocode and Figure 1(b) for an illustration.

This technique, which is similar to the one used in [1] for graphs, ensures that each hyperedge of H~ is associated with at most one coreset. This guarantees O(logm) hyperedge deletions from S1,,Silast after a hyperedge deletion in H (Lemma 8), but in return, results in a poly(logm) overhead in the size of H~ as we include the coresets C1,,Cilast in H~. i.e., our algorithm ensures that H~ is a desired sparsifier of size O(n2/ε2poly(logm)), which is asymptotically much smaller than H even when m is exponential in n.

Algorithm 2 Spectral-Sparsify(H,ε).

The rest of this section examines the correctness of Algorithms 1 and 2. Algorithm 1, used as a subroutine of Algorithm 2, computes a coreset and a sampled hypergraph of the input hypergraph. The guarantees of Algorithm 1 are stated in the following lemma.

Lemma 4.

Let 0<ε<1 and let H=(V,E,𝐰) be an m-edge n-vertex hypergraph. For any positive constant c1, if mclogm, then Algorithm 1 returns a coreset C and a sampled hypergraph S such that CS is a (1±ε)-spectral hypersparsifier of H of size O(m/2+(2cmlogm)1/2+λn2) with probability at least 11/mc.

Proof.

The lemma is derived from [44, Lemma 4.3]. The only difference is that we guarantee a probability of success of at least 11/poly(m), instead of 11/poly(n). Thus, we only prove the claim about the probability using an argument similar to that in [44, Lemma 4.4].

High probability claim.

For every hyperedge e in HC, we define the random variable Xe to be equal 1 if e is sampled to be in S, and 0 otherwise. Let X=e in SXe. Since each hyperedge in S is sampled independently with probability 1/2, we can use Equation 1 and we have μ=𝔼[X]=1/2|HC|m/2. By substituting δ=(2clogm/m)1/22 in Equation 1,

[X(1+(8clogmm)1/2)m2]exp(14(8clogmm)m2)=exp(clogm)=1mc,

or equivalently

[Xm2+(2cmlogm)1/2]11mc. (2)

Since each pair (u,v)V×V adds at most λ hyperedges to S, we have |S|=O(λn2). Together with Equation 2, it follows that H~=CS has size O(m/2+(2cmlogm)1/2+λn2) with probability at least 11/mc.

The guarantees of Algorithm 2 are stated in the following lemma.

Lemma 5.

Let 0<ε<1 and let H=(V,E,𝐰) be an m-edge n-vertex hypergraph. Then, with high probability, Algorithm 2 returns a (1±ε)-spectral hypersparsifier H~ of H of size O(n2/ε2log6m).

Proof.

We prove each guarantee separately below.

Approximation guarantee.

We prove that Hl=j=1lCjSl is a (1±ε/(2k))l-spectral hypersparsifier of H by induction on l.

If l=1, by Lemma 4, H1=C1S1 is a (1±ε/(2k))-spectral hypersparsifier of H.

Suppose that, for an integer l>1, Hl be a (1±ε/(2k))l-spectral hypersparsifier of H. To compute Hl+1, the algorithm computes a (1+ε/(2k))-spectral hypersparsifier S~l=Cl+1Sl+1 of Sl. Since j=1lCjSl partition Hl, by Lemma 3, Hl+1=j=1lCj(Cl+1Sl+1) is a (1±ε/(2k))-spectral hypersparsifier of Hl. For every vector 𝒙n, we have

QHl+1(𝒙)(1+ε/(2k))QHl(𝒙)(1+ε/(2k))(1+ε/(2k))lQH(𝒙)=(1+ε/(2k))l+1QH(𝒙).

Similarly, (1ε/(2k))l+1QH(𝒙)QHl+1(𝒙), and so Hl+1 is a (1±ε/(2k))l+1-spectral hypersparsifier of H.

The desired bound follows from the fact that ilastk, and

(1+ε/(2k))k(1+ε)and(1ε)(1ε/(2k))k.
Size of 𝑯~.

Let mi be the number of hyperedges present in Si, where 1iilast. We first show that mi3mi1/4. By Equation 2, Si has size O(mi1/2+(2cmi1logmi1)1/2), so it suffices to show that (2cmi1logmi1)1/2mi1/4. By the assumption of the loop, we have

mi132cm=32cn2/ε2log3m32clogmi1,

and thus (2cmi1logmi1)1/2mi1/4. This means that the size of Silast is

O(max{logm,m})=O(n2/ε2log3m).

The rest of H~ consists of the coresets C1,,Cilast. By Lemma 4, each Ci has size O(λin2)=n2/(ε/2k)2log3m. Since k=O(logm), the total size of the coresets is

O(l=1kk2n2/ε2log3m)=O(n2/ε2log6m).

Therefore, the total size of H~ is

O(n2/ε2log3m+n2/ε2log6m)=O(n2/ε2log6m).
High probability claim.

Since ilast=O(logm) and from Lemma 4, H~ is a (1±ε)-spectral hypersparsifier with probability at least 1O(logm/mc). The claim follows by choosing c2.

3.2 The Dynamic Algorithm

In this section, we dynamize our static algorithm (Algorithm 2). We first design a decremental data structure in Section 3.2.1, where H undergoes only hyperedge deletions. Then, we reduce it to a fully dynamic data structure in Section 3.2.2 using the following lemma.

Lemma 6.

Assume that there is a decremental algorithm that with probability at least 11/poly(m), maintains a (1±ε)-spectral hypersparsifier of any hypergraph with m initial hyperedges in T(m,n,ε1) amortized update time and of size S(m,n,ε1), where S and T are monotone non-decreasing functions. Then, the algorithm can be transferred into a fully dynamic algorithm that, with high probability, maintains a (1±ε)-spectral hypersparsifier of any hypergraph with m hyperedges (at any point) in O(T(m,n,ε1)logm) amortized update time of size O(S(m,n,ε1)logm).

The fully dynamic to decremental reduction (Lemma 6) uses the batching technique [1, 22, 32] and is explained in Section 3.2.2.

3.2.1 Decremental Spectral Sparsifier

In this section, we explain our data structure (Algorithm 4) to decrementally maintains a (1±ε)-spectral hypersparsifier H~ of H. As Algorithm 1 is used as a subroutine of Algorithm 2, we begin by explaining its decremental implementation (presented in Algorithm 3).

Decremental Implementation of Algorithm 1

To decrementally maintain a coreset C and a sampled hypergraph S of H, we need to ensure that after each deletion, the maintained CS remains a valid sparsifier for H. i.e., it continues to be a (1±ε)-spectral hypersparsifier of H (Lemma 4).

Recall that, for every pair (u,v)V×V, Algorithm 1 defines the set E(u,v) of hyperedges where eE(u,v) iff ut(e) and vh(e). It then constructs a coreset C by adding λ (defined in Algorithm 1) heaviest hyperedges of E(u,v)C to C. The hypergraph S is then obtained by sampling each hyperedge in HC with probability 1/2 while doubling its weight.

To construct C, the algorithm greedily chooses a pair (u,v), adds its heavyweight hyperedges to C, and continues with another pair (u,v). Note that the order of choosing the pairs might affect the choice of hyperedges included in C. Nevertheless, the guarantee of the algorithm (Lemma 4) is independent of this order. For example, it does not matter whether (u,v) is chosen first or (u,v) is. We will use this fact later to maintain a valid C and S after each deletion.

We use the same procedure to initialize the decremental implementation. Since we would need to find the heaviest hyperedges in E(u,v)C after a deletion, we also order each E(u,v).

Suppose that hyperedge e has been removed from H. Then, e must belong to one of the three cases below, which together cover all hyperedges of H.

  • If e belongs to neither C nor to S, then its removal does not affect CS. This is because C still contains the heaviest hyperedges associated with each pair (u,v)V×V, and each hyperedge in S has been independently sampled.

  • If e belongs to S, similar to the previous case, the sampled hypergraph S after the removal of e is still a valid sample. Thus, no further changes are required to maintain CS.

  • If e belongs to C, then the deletion from C translates to undoing the addition of e to C from the specific set E(u,v) that originally added e to C. In this case, since e no longer exists in E(u,v), we add a heaviest hyperedge e from E(u,v)C to C. Since the order of hyperedge addition to C does not affect its guarantees (Lemma 4), the updated C remains valid. For bookkeeping reasons, if e was previously sampled, we remove it from S. Based on the previous discussion, the updated S is also valid.

In addition to the changes explained above, the maintenance involves the removal of e from every set E(u,v) containing e, which, as explained in the lemma below, adds O(logm) overhead to the update time. Putting it all together, Algorithm 3 is our decremental data structure for maintaining CS. We have the following.

Algorithm 3 Decremental-Coreset-And-Sample(H,ε).
Lemma 7.

Given a constant c2 and an m-edge n-vertex hypergraph H=(V,E,𝐰) of rank r undergoing hyperedge deletions. If mclogm, then Algorithm 3 maintains a (1±ε)-spectral hypersparsifier CS of H of size O(m/2+(2cmlogm)1/2+n2/ε2log3m) in O(r2logm) amortized update time with probability at least 11/mc1.

Proof.

Suppose the hyperedge e is removed from H.

Correctness.

From the discussion above, it follows immediately that CS, after the update, is a valid sparsifier for H; the correctness of its spectral property is addressed in the high probability claim below.

Size of 𝑪𝑺.

Since after each hyperedge deletion from CS, the algorithm substitutes it with at most one other hyperedge from H, the size of CS is monotonically decreasing. Thus, CS has the same size guarantee as of Algorithm 1 explained in Lemma 4, which is

O(m/2+(2cmlogm)1/2+λn2)=O(m/2+(2cmlogm)1/2+n2/ε2log3m).
Update time.

Since each hyperedge e contains O(r) vertices, the total number of E(,)’s containing e is O(r2). Thus, constructing E(,)’s, takes O(mr2) time, while ordering them adds O(mr2logm) time to the initialization time as well. As explained before, the deletion of e from H translates to its deletion from at most r2 sets of E(,)’s, each of which takes O(logm) time, i.e., O(mr2logm) total time. Other changes, such as substituting another hyperedge in S, can be done by probing E(,)’s only once in total. We conclude that the total update time is O(mr2logm), resulting in O(r2logm) amortized update time.

High probability claim.

By choosing c2 in Lemma 4, each update is guaranteed to succeed with probability at least 11/mc. Since there are at most m updates, it follows that Algorithm 3 succeeds with probability at least 11/mc1.

Decremental Implementation of Algorithm 2

Our decremental data structure for maintaining a (1±ε)-spectral hypersparsifier H~ of H (Algorithm 4) is a decremental implementation of Algorithm 2. Recall that, in Algorithm 2, we recurse on the sampled hypergraphs S1,,Silast and add the coresets C1,,Cilast to H~. By Lemma 5, H~=j=1ilastCjSilast is a (1±ε)-spectral hypersparsifier of H.

Algorithm 4 Decremental-Spectral-Sparsify(H,ε).

In Algorithm 4, we decrementally maintain the hypergraphs S1,,Silast and the coresets C1,,Cilast. Suppose that hyperedge e has been deleted from H as the most recent update. Below, we discuss how the data structure handles the deletion in all possible scenarios.

  • If e does not belong to H~, then e can only exist in the sets of sampled hyperedges S1,,Silast1. In this case, removing e from all Si’s does not affect H~ since the set of sampled hyperedges remains valid, as each hyperedge is sampled independently.

  • If e belongs to Silast, then e is present in all sets of sampled hyperedges, i.e., in S1,,Silast. Note that, although e belongs to H~ in this case, since it is only present in sampled hypergraphs, its removal does not affect the coresets and can be handled similarly to the previous case.

  • If e belongs to a coreset Ci, then it belongs to the sets of sampled hyperedges S1,,Si1, and since it is in the coreset Ci of Si1, it cannot be present in Si,,Silast. Similar to the previous cases, we can simply remove e from S1,,Si1 to maintain C1S1,,Ci1Si1. For CiSi, we need to maintain Ci, for which we use Algorithm 3 as a subroutine to find a hypergraph e to be added to Ci as the substitution for e. By Algorithm 3, e belongs to Si1 and thus its addition to Ci does not affect C1S1,,Ci1Si1. On the other hand, e might be present in Ci+1Si+1,,CilastSilast, and we need to ensure they are still valid after adding e to Ci. If e appears in the sets of sampled hyperedges, then similar to the previous cases, simply removing e from the sparsifiers makes them valid. Therefore, we pass the deletion of e to the next sparsifiers until we reach CjSj containing e in its coreset Cj. Again, by construction, e cannot be present in Cj+1Sj+1,,CilastSilast, and we need to remove e from Cj. This procedure is similar to the one we just explained for the removal of e from Ci, except that we now use it to remove e from Cj.

As explained above, to handle hyperedge deletions in each sparsifier CiSi, the data structure utilizes Algorithm 3 and then transmits the changes in CiSi to Ci+1Si+1. The key point of our data structure is that it guarantees the transfer of at most one hyperedge deletion from one level to the next, thereby ensuring low recourse at each level. This results in at most ilast=O(logm) hyperedge deletions across all levels following a hyperedge deletion in H. The guarantees of the data structure are stated below.

Lemma 8.

Given a constant c3 and an m-edge n-vertex hypergraph H=(V,E,𝐰) of rank r undergoing hyperedge deletions, Algorithm 4 maintains a (1±ε)-spectral hypersparsifier H~ of H of size O(n2/ε2log6m) in O(r2log2m) amortized update time with probability at least 11/mc2. Additionally, each deletion in H results in O(logm) recourse in H~.

Proof.

Suppose that a deletion has happened in H.

Correctness.

From Lemma 7, each 𝒜i correctly handles the deletions. The fact that the data structure correctly transfers hyperedge deletions between 𝒜i’s and thus correctly maintains H~ follows from the discussion above.

Size of 𝑯~.

The data structure includes ilast=O(logm) coresets C1,,Cilast in H~. By Lemma 7, for each 1iilast, Ci has a size of O(n2/εi2log3m), where εi=ε/(2k) and k=O(logm). As shown in the proof of Lemma 5, the size of Silast is O(n2/ε2log3m). It follows that the size of H~ is

O(i=1kn2/εi2log3m+n2/ε2log3m)=O(n2/ε2log6m).
Update time.

The data structure initializes and decrementally maintains ilast=O(logm) data structures of Algorithm 3. By Lemma 7, each data structure takes O(mr2logm) total update time. Also, at each update, the data structure transmits at most one hyperedge from one level to the next, which results in an O(mlogm) total transmission. Thus, the algorithm takes O(mr2log2m) total update time, or equivalently, O(r2log2m) amortized update time.

High probability claim.

From Lemma 7, for any constant c2, each 𝒜i correctly maintains its coreset and the set of sampled hyperedges with probability at least 11/mc1. Since 1ilogm, by choosing c3, the claim follows.

Recourse bound.

As explained before, every hyperedge deletion from H translates to at most one hyperedge deletion or addition in 𝒜i for 1iilast. Since ilast=O(logm), it follows that the total number of hyperedge changes in H~ is O(logm).

3.2.2 Fully Dynamic Spectral Sparsifier

With a decremental data structure (Algorithm 4) in hand, we now obtain the fully dynamic data structure. We begin by explaining the reduction from the fully dynamic to the decremental data structure and by proving Lemma 6. We then prove Theorem 1.

Reduction from Fully Dynamic to Decremental

We explain how to use the decremental data structure to design a fully dynamic data structure, as described in Algorithm 5. In a nutshell, the data structure uses the batching technique; it maintains a batch of (1±ε)-spectral hypersparsifiers H~1,,H~k, each of which decrementally maintains sub-hypergraphs H1,,Hk, respectively, such that these sub-hypergrphs partition H. The union H~=i=1kH~i, by decomposability (Lemma 3), is a (1±ε)-spectral hypersparsifier of H.

Algorithm 5 Fully-Dynamic-Spectral-Sparsify(H,ε).

More specifically, the data structure starts with an empty H and empty H1,,Hk and ensures that each Hi contains at most 2i hyperedges at all time (which we call the size constraint of Hi). Intuitively, a hyperedge e inserted in H is placed in H1 as long as the size constraint of H1 is not violated. If there are already two hyperedges in H1, the data structure moves all hyperedges of H1 (along with e) to the empty H2. Note that H2 can contain at most four hyperedges, and so its size constraint is not violated. However, if there were already two hyperedges in H2, then the addition of three more hyperedges (from H1 plus e) would violate its size constraint. In this case, the data structure would move the hyperedges of H1 and H2 plus e to H3, and so on.

To regularize the insertion process, we initialize a counter t as a binary sequence of logk zeros. After each insertion, the data structure increments t (in the binary format) by one and finds the highest index i whose bit flipped due to the increment. The data structure then moves the hyperedges in H1,,Hi1, along with the inserted hyperedge e, to Hi and reinitializes the decremental data structure with the new Hi.

The deletion process can be done as before; since each hyperedge is associated with exactly one sub-hypergraph Hi, its deletion would be easily handled by passing it to the decremental data structure maintaining H~i.

Proof of Lemma 6.

Suppose that the decremental data structure maintains a (1±ε)-spectral hypersparsifier of any hypergraph with m initial hyperedges in T(m,n,ε1) amortized update time and of size S(m,n,ε1) with probability at least 11/poly(m).

Correctness.

From the discussion above, the sub-hypergraphs H1,,Hk correctly partition the hyperedges of H. By Lemma 8, the sparsifiers H~1,,H~k are correctly maintained. It follows from Lemma 3 that H~=i=1kH~i is a (1±ε)-spectral hypersparsifier of H.

Size of 𝑯~.

By assumption, each H~i has size S(mi,n,ε1), which is upper bounded by S(m,n,ε1) since mim and S is a monotone non-decreasing function. Since k=O(logm), the size of H~ is bounded by i=1logmS(mi,n,ε1)=O(S(m,n,ε1)logm).

Update time.

After l insertions, Hi has been reinitialized for at most l/2i times. This is because Hi can contain at most mi=2i hyperedges. By assumption, the total time for the initialization and maintenance of 𝒜i is bounded by miT(mi,n,ε1)=2iT(mi,n,ε1), which is bounded by 2iT(m,n,ε1) since mim and S is a monotone non-decreasing function. Thus, the total time for the initialization and maintenance of 𝒜i throughout l insertions is O(l2i2iT(m,n,ε1))=O(lT(m,n,ε1)). Therefore, the total update time for maintaining H~1,,H~k is

O(i=1logmlT(m,n,ε1))=O(lT(m,n,ε1)logm),

resulting in an O(T(m,n,ε1)logm) amortized update time.

High probability claim.

After l insertions, each Hi is reinitialized O(l) times. By Lemma 8, the probability of failure is at most l/mc2, where c3. Since k=logm, it follows that the probability of failure for maintaining H~1,,H~k is at most llogm/mc2. Since l=poly(m), the high probability claim follows by choosing c to be large enough.

Proof of Theorem 1.

Given an m-edge n-vertex hypergraph H of rank r, by Lemma 8, the decremental data structure (Algorithm 4) maintains a (1±ε)-spectral hypersparsifier of H of size S(m,n,ε1)=O(n2/ε2log6m) in T(m,n,ε1)=O(r2log2m) amortized update time.

Since S and T are monotone non-decreasing functions, it follows from Lemma 6 that, for any hypergraph H containing at most m hyperedges at any point, the fully dynamic data structure (Algorithm 5) maintains a (1±ε)-spectral hypersparsifier of H of size O(n2/ε2log7m) in O(r2log3m) amortized update time.

References

  • [1] Ittai Abraham, David Durfee, Ioannis Koutis, Sebastian Krinninger, and Richard Peng. On fully dynamic graph sparsifiers. In 57th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 335–344, 2016. doi:10.1109/FOCS.2016.44.
  • [2] Kook Jin Ahn, Sudipto Guha, and Andrew McGregor. Spectral sparsification in dynamic graph streams. In Prasad Raghavendra, Sofya Raskhodnikova, Klaus Jansen, and José D. P. Rolim, editors, 16th Workshop on Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX), volume 8096 of Lecture Notes in Computer Science, pages 1–10. Springer, 2013. doi:10.1007/978-3-642-40328-6_1.
  • [3] Kyriakos Axiotis, Aleksander Madry, and Adrian Vladu. Faster sparse minimum cost flow by electrical flow localization. In 62nd IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 528–539, 2021. doi:10.1109/FOCS52979.2021.00059.
  • [4] Nikhil Bansal, Ola Svensson, and Luca Trevisan. New notions and constructions of sparsification for graphs and hypergraphs. In 60th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 910–928, 2019. doi:10.1109/FOCS.2019.00059.
  • [5] Joshua Batson, Daniel A. Spielman, and Nikhil Srivastava. Twice-ramanujan sparsifiers. SIAM Journal on Computing, 41(6):1704–1721, 2012. doi:10.1137/090772873.
  • [6] Joshua D. Batson, Daniel A. Spielman, Nikhil Srivastava, and Shang-Hua Teng. Spectral sparsification of graphs: theory and algorithms. Commun. ACM, 56(8):87–94, 2013. doi:10.1145/2492007.2492029.
  • [7] András A. Benczúr and David R. Karger. Approximating s-t minimum cuts in O(n2) time. In 28th Annual ACM Symposium on Theory of Computing (STOC), pages 47–55, 1996. doi:10.1145/237814.237827.
  • [8] Aaron Bernstein, Jan van den Brand, Maximilian Probst Gutenberg, Danupon Nanongkai, Thatchaphol Saranurak, Aaron Sidford, and He Sun. Fully-dynamic graph sparsifiers against an adaptive adversary. In 49th International Colloquium on Automata, Languages and Programming (ICALP), volume 229, pages 20:1–20:20, 2022. doi:10.4230/LIPIcs.ICALP.2022.20.
  • [9] Erik G. Boman, Bruce Hendrickson, and Stephen A. Vavasis. Solving elliptic finite element systems in near-linear time with support preconditioners. SIAM J. Numer. Anal., 46(6):3264–3284, 2008. doi:10.1137/040611781.
  • [10] Yuri Boykov and Olga Veksler. Graph cuts in vision and graphics: Theories and applications. In Handbook of Mathematical Models in Computer Vision, pages 79–96. 2006. doi:10.1007/0-387-28831-7_5.
  • [11] Li Chen, Gramoz Goranci, Monika Henzinger, Richard Peng, and Thatchaphol Saranurak. Fast dynamic cuts, distances and effective resistances via vertex sparsifiers. In 61st IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 1135–1146, 2020. doi:10.1109/FOCS46700.2020.00109.
  • [12] Herman Chernoff. A measure of asymptotic efficiency for tests of a hypothesis based on the sum of observations. The Annals of Mathematical Statistics, 23(4):493–507, 1952. URL: http://www.jstor.org/stable/2236576.
  • [13] Michael B. Cohen, Cameron Musco, and Jakub Pachocki. Online row sampling. Theory Comput., 16:1–25, 2020. doi:10.4086/TOC.2020.V016A015.
  • [14] Samuel I. Daitch and Daniel A. Spielman. Faster approximate lossy generalized flow via interior point algorithms. In 40th Annual ACM Symposium on Theory of Computing (STOC), pages 451–460, 2008. doi:10.1145/1374376.1374441.
  • [15] Sally Dong, Yu Gao, Gramoz Goranci, Yin Tat Lee, Richard Peng, Sushant Sachdeva, and Guanghao Ye. Nested dissection meets ipms: Planar min-cost flow in nearly-linear time. In 33rd ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 124–153, 2022. doi:10.1137/1.9781611977073.7.
  • [16] David Durfee, Yu Gao, Gramoz Goranci, and Richard Peng. Fully dynamic spectral vertex sparsifiers and applications. In 51st Annual ACM Symposium on Theory of Computing (STOC), pages 914–925, 2019. doi:10.1145/3313276.3316379.
  • [17] Zhuo Feng. Similarity-aware spectral sparsification by edge filtering. In Proceedings of the 55th Annual Design Automation Conference, pages 1–6, 2018. doi:10.1145/3195970.3196114.
  • [18] Sebastian Forster, Gramoz Goranci, Yang P. Liu, Richard Peng, Xiaorui Sun, and Mingquan Ye. Minor sparsifiers and the distributed laplacian paradigm. In 62nd IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 989–999, 2021. doi:10.1109/FOCS52979.2021.00099.
  • [19] Yu Gao, Yang P. Liu, and Richard Peng. Fully dynamic electrical flows: Sparse maxflow faster than goldberg-rao. In 62nd IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 516–527, 2021. doi:10.1109/FOCS52979.2021.00058.
  • [20] Mohsen Ghaffari and Jaehyun Koo. Parallel batch-dynamic algorithms for spanners, and extensions. In 37th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pages 299–313. ACM, 2025. doi:10.1145/3694906.3743322.
  • [21] Gramoz Goranci, Monika Henzinger, and Pan Peng. Dynamic effective resistances and approximate schur complement on separable graphs. In 26th European Symposium on Algorithms (ESA), volume 112, pages 40:1–40:15, 2018. doi:10.4230/LIPIcs.ESA.2018.40.
  • [22] Gramoz Goranci and Ali Momeni. Fully dynamic spectral sparsification of hypergraphs. CoRR, abs/2502.01421, 2025. doi:10.48550/arXiv.2502.01421.
  • [23] Arun Jambulapati, Yang P. Liu, and Aaron Sidford. Chaining, group leverage score overestimates, and fast spectral hypergraph sparsification. In 55th Annual ACM Symposium on Theory of Computing (STOC), pages 196–206, 2023. doi:10.1145/3564246.3585136.
  • [24] Michael Kapralov, Robert Krauthgamer, Jakab Tardos, and Yuichi Yoshida. Spectral hypergraph sparsifiers of nearly linear size. In 62nd IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 1159–1170, 2021. doi:10.1109/FOCS52979.2021.00114.
  • [25] Michael Kapralov, Robert Krauthgamer, Jakab Tardos, and Yuichi Yoshida. Towards tight bounds for spectral sparsification of hypergraphs. In 53rd Annual ACM Symposium on Theory of Computing (STOC), pages 598–611, 2021. doi:10.1145/3406325.3451061.
  • [26] Michael Kapralov, Yin Tat Lee, Cameron Musco, Christopher Musco, and Aaron Sidford. Single pass spectral sparsification in dynamic streams. SIAM J. Comput., 46(1):456–477, 2017. doi:10.1137/141002281.
  • [27] Michael Kapralov, Aida Mousavifar, Cameron Musco, Christopher Musco, Navid Nouri, Aaron Sidford, and Jakab Tardos. Fast and space efficient spectral sparsification in dynamic streams. In Shuchi Chawla, editor, ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1814–1833. SIAM, 2020. doi:10.1137/1.9781611975994.111.
  • [28] Michael Kapralov, Navid Nouri, Aaron Sidford, and Jakab Tardos. Dynamic streaming spectral sparsification in nearly linear time and space. CoRR, abs/1903.12150, 2019. arXiv:1903.12150.
  • [29] Michael Kapralov and Rina Panigrahy. Spectral sparsification via random spanners. In Shafi Goldwasser, editor, Innovations in Theoretical Computer Science (ITCS), pages 393–398. ACM, 2012. doi:10.1145/2090236.2090267.
  • [30] Jonathan A. Kelner and Alex Levin. Spectral sparsification in the semi-streaming setting. Theory Comput. Syst., 53(2):243–262, 2013. doi:10.1007/S00224-012-9396-1.
  • [31] Jonathan A. Kelner and Aleksander Madry. Faster generation of random spanning trees. In 50th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 13–21, 2009. doi:10.1109/FOCS.2009.75.
  • [32] Sanjeev Khanna, Huan Li, and Aaron Putterman. Near-optimal linear sketches and fully-dynamic algorithms for hypergraph spectral sparsification. In Michal Koucký and Nikhil Bansal, editors, 57th Annual ACM Symposium on Theory of Computing (STOC), pages 1190–1200. ACM, 2025. doi:10.1145/3717823.3718239.
  • [33] Sanjeev Khanna, Aaron (Louie) Putterman, and Madhu Sudan. Almost-tight bounds on preserving cuts in classes of submodular hypergraphs. In Karl Bringmann, Martin Grohe, Gabriele Puppis, and Ola Svensson, editors, 51st International Colloquium on Automata, Languages and Programming (ICALP), volume 297 of LIPIcs, pages 98:1–98:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.ICALP.2024.98.
  • [34] Pushmeet Kohli and Philip H. S. Torr. Dynamic graph cuts and their applications in computer vision. In Computer Vision: Detection, Recognition and Reconstruction, volume 285 of Studies in Computational Intelligence, pages 51–108. 2010. doi:10.1007/978-3-642-12848-6_3.
  • [35] Ioannis Koutis, Alex Levin, and Richard Peng. Faster spectral sparsification and numerical algorithms for SDD matrices. ACM Trans. Algorithms, 12(2):17:1–17:16, 2016. doi:10.1145/2743021.
  • [36] Ioannis Koutis, Gary L. Miller, and David Tolliver. Combinatorial preconditioners and multilevel solvers for problems in computer vision and image processing. Comput. Vis. Image Underst., 115(12):1638–1646, 2011. doi:10.1016/J.CVIU.2011.05.013.
  • [37] Ioannis Koutis and Shen Chen Xu. Simple parallel and distributed algorithms for spectral graph sparsification. ACM Trans. Parallel Comput., 3(2):14:1–14:14, 2016. doi:10.1145/2948062.
  • [38] James R. Lee. Spectral hypergraph sparsification via chaining. In 55th Annual ACM Symposium on Theory of Computing (STOC), pages 207–218, 2023. doi:10.1145/3564246.3585165.
  • [39] James R. Lee, Shayan Oveis Gharan, and Luca Trevisan. Multiway spectral partitioning and higher-order cheeger inequalities. Journal of the ACM, 61(6):1–30, 2014. doi:10.1145/2665063.
  • [40] Yin Tat Lee and He Sun. An sdp-based algorithm for linear-sized spectral sparsification. In Hamed Hatami, Pierre McKenzie, and Valerie King, editors, 49th Annual ACM Symposium on Theory of Computing (STOC), pages 678–687. ACM, 2017. doi:10.1145/3055399.3055477.
  • [41] Huan Li and Aaron Schild. Spectral subspace sparsification. In Mikkel Thorup, editor, 59th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 385–396. IEEE Computer Society, 2018. doi:10.1109/FOCS.2018.00044.
  • [42] Aleksander Madry. Fast approximation algorithms for cut-based problems in undirected graphs. In 51st IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 245–254, 2010. doi:10.1109/FOCS.2010.30.
  • [43] Michael Mitzenmacher and Eli Upfal. Probability and computing: Randomization and probabilistic techniques in algorithms and data analysis. Cambridge university press, 2017.
  • [44] Kazusato Oko, Shinsaku Sakaue, and Shin-ichi Tanigawa. Nearly tight spectral sparsification of directed hypergraphs. In 50th International Colloquium on Automata, Languages and Programming (ICALP), pages 94:1–94:19, 2023. doi:10.4230/LIPIcs.ICALP.2023.94.
  • [45] Richard Peng. Approximate undirected maximum flows in O(mpolylog(n)) time. In 27th ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1862–1867, 2016. doi:10.1137/1.9781611974331.CH130.
  • [46] Richard Peng, He Sun, and Luca Zanetti. Partitioning well-clustered graphs: Spectral clustering works! SIAM Journal on Computing, 46(2):710–743, 2017. doi:10.1137/15m1047209.
  • [47] Akbar Rafiey and Yuichi Yoshida. Sparsification of decomposable submodular functions. In 36th Conference on Artificial Intelligence (AAAI), pages 10336–10344. AAAI Press, 2022. doi:10.1609/AAAI.V36I9.21275.
  • [48] Jonah Sherman. Nearly maximum flows in nearly linear time. In 54th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 263–269, 2013. doi:10.1109/FOCS.2013.36.
  • [49] Tasuku Soma, Kam Chuen Tung, and Yuichi Yoshida. Online algorithms for spectral hypergraph sparsification. In Jens Vygen and Jaroslaw Byrka, editors, 25th Conference on Integer Programming and Combinatorial Optimization (IPCO), volume 14679 of Lecture Notes in Computer Science, pages 405–417. Springer, 2024. doi:10.1007/978-3-031-59835-7_30.
  • [50] Tasuku Soma and Yuichi Yoshida. Spectral sparsification of hypergraphs. In Timothy M. Chan, editor, 30th ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2570–2581. SIAM, 2019. doi:10.1137/1.9781611975482.159.
  • [51] Daniel A. Spielman and Nikhil Srivastava. Graph sparsification by effective resistances. In 40th Annual ACM Symposium on Theory of Computing (STOC), 2008. doi:10.1145/1374376.1374456.
  • [52] Daniel A. Spielman and Shang-Hua Teng. Spectral sparsification of graphs. SIAM J. Comput., 40(4):981–1025, 2011. doi:10.1137/08074489X.
  • [53] Daniel A. Spielman and Shang-Hua Teng. Nearly linear time algorithms for preconditioning and solving symmetric, diagonally dominant linear systems. SIAM J. Matrix Anal. Appl., 35(3):835–885, 2014. doi:10.1137/090771430.
  • [54] Jan van den Brand, Yu Gao, Arun Jambulapati, Yin Tat Lee, Yang P. Liu, Richard Peng, and Aaron Sidford. Faster maxflow via improved dynamic spectral vertex sparsifiers. In 54th Annual ACM Symposium on Theory of Computing (STOC), pages 543–556, 2022. doi:10.1145/3519935.3520068.
  • [55] Yibin Zhao. Fully dynamic spectral and cut sparsifiers for directed graphs. CoRR, 2025. doi:10.48550/arXiv.2507.19632.
  • [56] Chunjiang Zhu, Qinqing Liu, and Jinbo Bi. Spectral vertex sparsifiers and pair-wise spanners over distributed graphs. In 38th International Conference on Machine Learning (ICML), volume 139, pages 12890–12900, 2021. URL: https://proceedings.mlr.press/v139/zhu21c.html.
  • [57] Zeyuan Allen Zhu, Zhenyu Liao, and Lorenzo Orecchia. Spectral sparsification and regret minimization beyond matrix multiplicative updates. In Rocco A. Servedio and Ronitt Rubinfeld, editors, 47th Annual ACM Symposium on Theory of Computing (STOC), pages 237–245. ACM, 2015. doi:10.1145/2746539.2746610.