Lune

SODA2022Top-tier venue

Online Discrepancy with Recourse for Vectors and Graphs

Anupam Gupta, Vijaykrishna Gurunathan, Ravishankar Krishnaswamy, Amit Kumar, Sahil Singla

Abstract

e vector-balancing problem is a fundamental problem in discrepancy theory: given 𝑇 vectors in [-1, 1] 𝑛 , find a signing 𝜎 (𝑎) ∈ ±1 of each vector 𝑎 to minimize the discrepancy 𝑎 𝜎 (𝑎) • 𝑎 ∞ . is problem has been extensively studied in the static/o ine se ing. In this paper we initiate its study in the fully-dynamic se ing with recourse: the algorithm sees a stream of 𝑇 insertions and deletions of vectors, and at each time must maintain a low-discrepancy signing, while also minimizing the amortized recourse (the number of times any vector changes its sign) per update.

For general vectors, we show algorithms which almost match Spencer's 𝑂 ( √ 𝑛) o ine discrepancy bound, with 𝑂 (𝑛 polylog𝑇 ) amortized recourse per update.

e crucial idea behind our algorithm is to compute a basic feasible solution to the linear relaxation in a distributed and recursive manner, which helps find a low-discrepancy signing. We bound the recourse using the distributed computation of the basic solution, and argue that only a small part of the instance needs to be re-computed at each update.

Since vector balancing has also been greatly studied for sparse vectors, we then give algorithms for low-discrepancy edge orientation, where we dynamically maintain signings for 2-sparse vectors in an 𝑛dimensional space. Alternatively, this can be seen as orienting a dynamic set of edges of an 𝑛-vertex graph to minimize the discrepancy, i.e., the absolute difference between in-and out-degrees at any vertex. We present a deterministic algorithm with 𝑂 (polylog 𝑛) discrepancy and 𝑂 (polylog 𝑛) amortized recourse.

e core ideas are to dynamically maintain an expander-decomposition with low recourse (using a very simple approach), and then to show that, as the expanders change over time, a natural local-search algorithm converges quickly (i.e., with low recourse) to a low-discrepancy solution. We also give strong lower bounds (with some matching upper bounds) for local-search discrepancy minimization algorithms for vector balancing and edge orientation.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Discrepancy minimization via a self-balancing walk cites Online vector balancing and geometric discrepancy
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Online Duet between Metric Embeddings and Minimum-Weight Perfect MatchingsSujoy Bhore, Arnold Filtser, Csaba D. TóthSODA 2024 · 4 citations
  2. The Cost of Consistency: Submodular Maximization with Constant RecoursePaul Dütting, Federico Fusco, Silvio Lattanzi, Ashkan Norouzi-Fard et al.STOC 2025

Builds on3

  1. Discrepancy minimization via a self-balancing walkRyan Alweiss, Yang P. Liu, Mehtaab SawhneySTOC 2021 · 17 citations
  2. Dynamic Set Cover: Improved Amortized and Worst-Case Update TimeSayan Bhattacharya, Monika Henzinger, Danupon Nanongkai, Xiaowei WuSODA 2021 · 8 citations
  3. Online vector balancing and geometric discrepancyNikhil Bansal, Haotian Jiang, Sahil Singla, Makrand SinhaSTOC 2020 · 2 citations

Related papers

  1. Online Discrepancy Minimization for Stochastic ArrivalsNikhil Bansal, Haotian Jiang, Raghu Meka, Sahil Singla et al.SODA 2021 · 13 citations
  2. Adaptive Out-Orientations with ApplicationsChandra Chekuri, Aleksander Bjørn Grodt Christiansen, Jacob Holm, Ivor van der Hoog et al.SODA 2024 · 2 citations
  3. Chasing Positive BodiesSayan Bhattacharya, Niv Buchbinder, Roie Levin, Thatchaphol SaranurakFOCS 2023 · 6 citations
  4. Almost Optimal Fully Dynamic k-Center Clustering with RecourseSayan Bhattacharya, Martín Costa, Ermiya Farokhnejad, Silvio Lattanzi et al.ICML 2025
  5. Optimal Online Discrepancy MinimizationJanardhan Kulkarni, Victor Reis, Thomas RothvossSTOC 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines