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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9abc34a5-031a-47dc-9878-37a18a4a491aCited by top-tier papers2
- Online Duet between Metric Embeddings and Minimum-Weight Perfect MatchingsSujoy Bhore, Arnold Filtser, Csaba D. TรณthSODA 2024 ยท 4 citations
- The Cost of Consistency: Submodular Maximization with Constant RecoursePaul Dรผtting, Federico Fusco, Silvio Lattanzi, Ashkan Norouzi-Fard et al.STOC 2025
Builds on3
- Discrepancy minimization via a self-balancing walkRyan Alweiss, Yang P. Liu, Mehtaab SawhneySTOC 2021 ยท 17 citations
- Dynamic Set Cover: Improved Amortized and Worst-Case Update TimeSayan Bhattacharya, Monika Henzinger, Danupon Nanongkai, Xiaowei WuSODA 2021 ยท 8 citations
- Online vector balancing and geometric discrepancyNikhil Bansal, Haotian Jiang, Sahil Singla, Makrand SinhaSTOC 2020 ยท 2 citations
Related papers
- Online Discrepancy Minimization for Stochastic ArrivalsNikhil Bansal, Haotian Jiang, Raghu Meka, Sahil Singla et al.SODA 2021 ยท 13 citations
- Adaptive Out-Orientations with ApplicationsChandra Chekuri, Aleksander Bjรธrn Grodt Christiansen, Jacob Holm, Ivor van der Hoog et al.SODA 2024 ยท 2 citations
- Chasing Positive BodiesSayan Bhattacharya, Niv Buchbinder, Roie Levin, Thatchaphol SaranurakFOCS 2023 ยท 6 citations
- Almost Optimal Fully Dynamic k-Center Clustering with RecourseSayan Bhattacharya, Martรญn Costa, Ermiya Farokhnejad, Silvio Lattanzi et al.ICML 2025
- Optimal Online Discrepancy MinimizationJanardhan Kulkarni, Victor Reis, Thomas RothvossSTOC 2024 ยท 3 citations
