Pointwise Lipschitz Continuous Graph Algorithms

Quanquan C. Liu, Grigoris Velegkas, Yuichi Yoshida, Felix ZhouNeurIPS 2026

TL;DR

Classical graph algorithms are notoriously jittery: nudge a single edge weight, and the output solution might completely flip, leading to real-world chaos like unstable image segmentations or costly network reconfigurations. This paper introduces a new optimization analysis framework that bridges continuous optimization and discrete stability, yielding graph algorithms whose outputs change smoothly when inputs are perturbed. Using this tool, the authors achieve the first provably optimal stability-accuracy trade-off for the minimum $S$-$T$ cut problem and extend stable algorithms to general $b$-matchings.

What Problem Does This Paper Address?

Imagine using a minimum $S$-$T$ cut algorithm to separate a foreground object from the background in an image, where pixel similarities dictate edge weights. If camera noise slightly alters a few pixels, you wouldn't want the segmentation boundary to jump wildly across the screen. Yet, standard graph algorithms optimize purely for accuracy, ignoring stability. On the flip side, a trivially stable algorithm (like one that outputs the exact same cut regardless of the input) has terrible accuracy.

The authors tackle the challenge of designing randomized graph algorithms that are simultaneously accurate and stable. They measure stability via pointwise Lipschitz continuity: if you perturb the input edge weights slightly, the expected symmetric difference (measured via Earth Mover's Distance) between the old and new output distributions grows at most proportionally to the perturbation. Prior work struggled to achieve tight bounds here because existing proof techniques broke down if the mathematical "shock absorbers" (regularizers) depended on the graph's edge weights.

Methods

To get smooth discrete outputs, the authors first relax the discrete graph problem into a continuous Linear Program (LP), add a smooth, strongly convex regularizer to stabilize the fractional solution, and then carefully round that fractional solution back to a discrete set.

  • What’s New — Proximal Gradient Trajectory Analysis (PGTA): Previous analyses compared optimal fractional solutions directly using first-order optimality conditions, which mathematically forced them to use unweighted regularizers. Instead, the authors analyze the step-by-step trajectory of the Proximal Gradient Method—an iterative optimization algorithm—running on both the original and perturbed graphs. By showing the update steps are contractions that stay close together, they bound the distance between the final converged solutions. Crucially, this unlocks weighted regularizers (like the graph's own Laplacian) and holds true regardless of which solver you actually use in practice.
  • Stable Rounding & Boosting: A stable fractional solution is useless if rounding shatters the stability. For minimum $S$-$T$ cuts, using the Laplacian regularizer forces the optimization domain into $[-1, 1]^n$, meaning standard threshold rounding only succeeds with $1/2$ probability. Running independent trials and picking a winner isn't smooth. The authors invent two stable probability-boosting techniques: one using differential privacy's exponential mechanism to smoothly select a valid cut, and another using $k$-way submodularity to merge multiple candidate cuts. For $b$-matchings (where each node $v$ can connect to $b_v$ edges), they introduce a novel multi-item auction rounding scheme.

Datasets

Not discussed in the paper. (This is a purely theoretical work proving mathematical guarantees on worst-case/general graph structures.)

Key Insights and Ideas

  • Dodging the "$\ell_\infty$-barrier": Prior methods suffered additive accuracy errors proportional to the maximum range of the regularizer, which scales poorly with graph size $n$. Because PGTA tracks optimization trajectories rather than global regularizer ranges, it completely sidesteps this bottleneck, yielding polynomial improvements in stability.
  • Algorithm-agnostic trajectory proofs: You don't actually have to run the Proximal Gradient Method to get the stability bounds. Because the regularized objective has a unique optimum, PGTA is used purely as a theoretical lens to prove the optima of two nearby graphs are close—you can still use your favorite fast solver to find the solution.
  • Stability gives dynamic algorithms for free: If an algorithm has a pointwise Lipschitz constant $K$, simply re-running it from scratch on a dynamically changing graph automatically bounds the recourse (how much the solution changes step-to-step). This immediately yields the first dynamic minimum $S$-$T$ cut algorithm with non-trivial recourse bounds.

Key Results

The theoretical trade-offs depend on graph size ($n$ vertices, $m$ edges), the minimum edge weight ($w_{\min}$), and algebraic connectivity ($\lambda_2$, the second-smallest eigenvalue of the unnormalized graph Laplacian).

Summary of Minimum Vertex S-T Cut Results
  • Optimal Minimum $S$-$T$ Cut: They achieve a $(1 + o(1))$-multiplicative approximation with $O(\lambda_2)$ additive error and a pointwise Lipschitz constant of $O(n/\lambda_2)$—improving polynomially over the $O(n^2/\lambda_2)$ limit of prior techniques. They also prove a matching $\Omega(n/\lambda_2)$ lower bound, confirming this trade-off is unimprovable.
  • Balanced $S$-$T$ Cut: Using submodular boosting, they eliminate the additive error entirely for $\beta$-balanced cuts, getting an $O(\beta^{-1})$-approximation with an $O(\frac{\sqrt{n}}{\beta^2 \lambda_2})$ Lipschitz constant.
Summary of Bipartite Matching Results
  • Bipartite ($b$-)Matching: They achieve a $(2+\varepsilon)$-approximation for standard bipartite matching with Lipschitz constant $O(\frac{\sqrt{m}}{\varepsilon w_{\min}})$, beating prior state-of-the-art on sparse graphs with small optimal matchings and uniform weights. Furthermore, their framework generalizes cleanly to $b$-matchings with a $\frac{2+\varepsilon}{1-1/e}$ ($\approx 3.164 + \varepsilon$) approximation and the exact same Lipschitz bound, whereas prior entropy-regularized methods were hardwired for $b \equiv 1$.

Limitations and Future Work

While the authors nailed the exact lower bound for the minimum $S$-$T$ cut problem, it remains an open question whether their Lipschitz constants for bipartite matching and $b$-matching are tight. Finding matching lower bounds—or even tighter algorithms—for matching problems and other combinatorial optimizations is highlighted as the primary avenue for future work. Additionally, for general $S$-$T$ cuts, removing the $O(\lambda_2)$ additive error required restricting the problem to $\beta$-balanced cuts.

Summary updated

Abstract

In many real-world applications, it is undesirable to drastically change the problem solution after a small perturbation in the input as unstable outputs can lead to costly transaction fees, privacy and security concerns, reduced user trust, and lack of replicability. Despite the widespread application of graph algorithms, many classical algorithms are not robust to small input disturbances. Towards addressing this issue, we study the pointwise Lipschitz continuity of graph algorithms, a notion of stability introduced by Kumabe and Yoshida (2023, FOCS’23) and further studied in related settings (Kumabe and Yoshida, 2024, ICALP’24), (Kumabe and Yoshida, 2025, SODA’25), (Gima et al., 2025, ESA’25). Our main result is a linear programming (LP) based minimum S-T cut algorithm with a provably optimal Lipschitz constant, as witnessed by an accompanying lower bound. As a direct corollary, we give the first dynamic minimum S-T cut algorithm with non-trivial recourse bound. At the core of our techniques is a novel framework for analyzing the Lipschitz constant of regularized LP relaxations. Our framework crucially unlocks the use of weighted regularizers, which could not be analyzed through previous methods and leads to polynomial improvements in the Lipschitz constant compared to what is achievable through previous techniques. To demonstrate the flexibility of our methods, we also design an LP-based b-matching algorithm that improves on the state-of- the-art Lipschitz constant in certain input regimes when b ≡ 1. Moreover, our algorithm cleanly extends to the general case when b ≥ 1, whereas prior works are specialized to the case of b ≡ 1.
BibTeX
@inproceedings{liu2026pointwise,
  author = {Quanquan C. Liu and Grigoris Velegkas and Yuichi Yoshida and Felix Zhou},
  title = {{Pointwise Lipschitz Continuous Graph Algorithms}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=52Yg457yMf},
}
Figure