Dynamic Sketching for Graph Optimization Problems with Applications to Cut-Preserving Sketches

Sepehr Assadi, Sanjeev Khanna, Yang Li, Val Tannen

Introduction

In the field of sublinear algorithms, the challenge is to solve complex problems using resources—time or memory—significantly smaller than the input size. While many approximation algorithms exist for massive graphs, finding exact solutions for fundamental problems like maximum matching often requires storing the entire graph, a limitation proven in the standard streaming model. This paper introduces dynamic sketching, a novel framework that bridges the gap between massive static datasets and the need for exact local updates. By partitioning a graph into a large static component and a small dynamic set of "terminal" vertices, the authors demonstrate that it is possible to maintain exact solutions using summaries that are independent of the total number of vertices $n$.

The Dynamic Sketching Model

The dynamic sketching model addresses scenarios where a large graph $G = (V, E)$ is mostly static, but a subset of $k$ terminal vertices $T \subseteq V$ can have their interconnecting edges modified. The goal is to produce a compact "sketch" of the static portion such that, when combined with any arbitrary set of edges between terminals, the exact value of a graph property (e.g., the size of a maximum matching) can be computed.

Crucially, the size of this sketch should be a function of $k$ (the number of terminals) rather than $n$ (the total number of vertices). This model is particularly relevant for large-scale networks where core infrastructures remain stable while local connections between specific nodes are highly volatile.

Methodology: Algebraic Compression

The authors' primary technical contribution is an algebraic approach to graph theory, moving away from purely combinatorial methods to leverage the power of matrix rank.

1. The Tutte Matrix and Rank

To solve the Maximum Matching problem, the authors employ the Tutte matrix, a symbolic skew-symmetric matrix where the rank is exactly twice the size of the maximum matching. By substituting variables with random values from a sufficiently large field, the rank is preserved with high probability.

2. Schur Complements

Because only the edges between the $k$ terminals are dynamic, only a $k \times k$ sub-block of the massive $n \times n$ Tutte matrix changes. Using Gaussian elimination, the authors compute the Schur complement of the static portion. This process "crunches" the $n \times n$ matrix into a $k \times k$ matrix that captures all necessary connectivity information from the static graph. This allows for the computation of the updated rank—and thus the maximum matching—using only the $O(k^2)$ sized sketch.

3. Reductions and Pruning

Beyond matching, the authors utilize reductions to solve other optimization problems:

  • Connectivity: $s-t$ connectivity and min-cuts are reduced to matching problems in bipartite graphs.
  • Minimum Spanning Trees (MST): The authors use a combinatorial "pruning" method. By taking the MST of the static graph and removing branches that do not lead to terminals, they reduce the static graph to a tree with $O(k)$ vertices, which serves as the sketch.

Key Results and Optimality

The paper establishes several state-of-the-art bounds for compact sketches:

  • Maximum Matching: The authors achieve a sketch size of $O(k^2)$. Using communication complexity and the "Membership Problem," they prove a lower bound of $\Omega(k^2)$, establishing that their matching sketch is information-theoretically optimal.
  • $s-t$ Edge Connectivity: By reducing connectivity to matching, they achieve a sketch size of $O(k^4)$.
  • Minimum Spanning Tree: A highly efficient sketch of $O(k)$ is achieved through tree pruning.
  • Cut-Preserving Sketches: The framework matches the best-known upper bound of $O(kC^2)$ (where $C$ is terminal capacity) and improves the lower bound for these sparsifiers to $\Omega(C / \log C)$.

Theoretical Boundaries

While dynamic sketching is powerful, the authors identify clear limits to the model. They prove that NP-hard problems, such as finding a Maximum Clique or Minimum Vertex Cover, do not admit compact sketches; these problems require space exponential in $k$ ($2^{\Omega(k)}$).

Furthermore, a significant divide is discovered between uncapacitated and capacitated problems. While $s-t$ connectivity (uncapacitated) has a polynomial sketch, the $s-t$ maximum flow problem (capacitated) requires $2^{\Omega(k)}$ space. This suggests that the presence of capacities fundamentally changes the compressibility of graph information in this model.

Conclusion

Dynamic sketching provides a robust framework for handling local updates in massive graphs. By treating graph edges as algebraic entries in a matrix, the authors demonstrate that exact solutions for matching and connectivity are possible with surprisingly small summaries. Future research may further define the boundary between polynomial and exponential sketch sizes, potentially extending these algebraic techniques to a broader class of graph optimization problems.

Summary updated

BibTeX
@inproceedings{assadi2015dynamic,
  author = {Sepehr Assadi and Sanjeev Khanna and Yang Li and Val Tannen},
  title = {{Dynamic Sketching for Graph Optimization Problems with Applications to Cut-Preserving Sketches}},
  booktitle = {FSTTCS},
  year = {2015},
  doi = {10.4230/lipics.fsttcs.2015.52},
}
Figure