Data Structures and Algorithms · Cross-listed from cs.CR
An Exposition of GPT Astra's Proof of Lower Bound on DP Continual Counting
Jalaj Upadhyay
The goal of this note is to give a detailed proof, to the best of our understanding, of the recent presentation by Harrison and Leeman (arXiv:2609.17650v01 and arXiv:2609.17650v02) of the proof by Astra on the lower bound for differentially private continual counting. We believe a more natural and easy proof is possible and hope that this note will help in that effort. Prior to the initial preprint by Harrison and Leeman (arXiv:2609.17650v01), Bairaktari and Larsen (arXiv:2607.00876) gave an elegant proof to show a lower bound of $\Omega(\log^{3/2}(n))$ for both pure and approximate-DP continual counting, and in personal communication had informed us that they have a proof of optimal $\Omega(\log^{2}(n))$ for pure-differential private continual counting as well. They have subsequently published their $\Omega(\log^{2}(n))$ bound, which is now a joint work of Bairaktari, Dahl, and Larsen (arXiv:2607.00876v3). Their new result is an elegant extension of their technique for approximate-differential
privacy. Although the two proofs are technically different, the Astra argument uses related tree geometry introduced in Bairaktari and Larsen.
Read the full abstract ▾
Data Structures and Algorithms
Locally Sparsified, Globally Near-Optimal: Matching under Independent Vertex Arrivals
Sara Ahmadian, Edith Cohen and Mohammad Roghani
Resource allocation systems often restrict each request to a short list of options before coordinating assignments globally. We study this separation in
stochastic bipartite matching under independent vertex arrivals. Each request draws a state from its own known distribution, determining its compatible resources, and independently retains a menu of at most $k$ edges. A maximum matching is then computed on the retained graph. We show that bounded local menus universally suffice for near-optimal matching. For every $\varepsilon>0$, there is a menu size $k_\varepsilon$ depending only on $\varepsilon$ that preserves at least a $(1-\varepsilon)$ fraction of the expected maximum-matching size of the full realized graph. Earlier guarantees required additional assumptions on how matching mass is distributed across edges; our result resolves the unrestricted case. Moreover, the menus are simple to generate from any
benchmark matching rule, either by weighted sampling according to the
benchmark's edge marginals, or by applying the
benchmark to sampled realizations and retaining the resulting partners. Our proof constructs a near-optimal certificate inside the sparsifier by combining a locally computable surrogate for the large-marginal edges with a fractional completion from sampled light edges. The surrogate nearly preserves the
benchmark's value and endpoint loads while controlling dependencies, which makes the statistical light-edge completion possible.
Read the full abstract ▾
Data Structures and Algorithms
Minimum Sum Vertex Cover via Minimum Vertex Cover
Ahmad Biniaz, Jean-Lou De Carufel, Anil Maheshwari et al. (+2 more)
The Minimum Sum Vertex Cover (MSVC) problem asks for an ordering of the vertices of a graph that minimizes the sum, over all edges, of the time at which each edge is first covered. We study the problem through the structure of vertex covers and obtain new approximation and exact
algorithms, together with conditional lower bounds. For graphs of maximum degree $\Delta$, we show that a simple ordering
algorithm based on a minimum vertex cover achieves approximation ratio $R_\Delta \le {(\sqrt{\Delta}+1)}/{2}$. For $d$-regular graphs, we give a
polynomial-time $1.184$-approximation by combining Max-$k$-Vertex-Cover approximation with a structural bound on optimal prefixes. On the exact side, we give an
algorithm parameterized by the vertex cover number $k$ running in $2^{O(k\log k)} + O(n+m)$ time, improving the previous dependence on $k$, where $n$ and $m$ are the number of vertices and edges in the graph, respectively. We also develop a separator-based exact
algorithm running in $ 2^{O(\sqrt n \log n)}$ time on planar, bounded-genus, and fixed-minor-free graph classes. Finally, we prove that Minimum Sum Vertex Cover is NP-hard on planar graphs and, assuming ETH, admits no $2^{o(\sqrt n)}$-time exact
algorithm on $n$-vertex planar graphs. Thus our planar upper bound is tight up to logarithmic factors in the exponent.
Read the full abstract ▾
All authors Ahmad Biniaz, Jean-Lou De Carufel, Anil Maheshwari, Saeed Odak, Michiel Smid
Data Structures and Algorithms
Backtracking Candidate Elimination: A One-Pass Algorithm for the Chip Testing Problem
Shiyi Chen
In the chip testing problem, we are given $n$ chips, strictly more than half of which are good. Chips can test one another in pairs; a good chip always reports the status of the other chip correctly, whereas a bad chip may report arbitrarily and adversarially. The goal is to identify a single chip that is guaranteed to be good. The problem originates in system-level fault diagnosis and is closely related to the "knights and spies" puzzle. The standard textbook solution is a halving recursion that tests disjoint pairs in rounds and keeps one chip from each consistent pair. We present the Backtracking Candidate Elimination (BCE)
algorithm, a sequential alternative that scans the chips once while maintaining a current candidate and a stack of retained chips. Every chip is tested at most once as the incoming chip; when a test is inconclusive the candidate and the incoming chip are discarded together, and the
algorithm backtracks to the most recently retained chip. BCE uses at most $n-1$ tests and $O(n)$ time, needs no parity case analysis, and works online. Its correctness follows from two invariants: the retained chips all have the same type, and every discarded pair contains at least one bad chip. We explain how BCE can be viewed as the Boyer-Moore majority vote
algorithm with its counter replaced by a stack of physical witnesses, and why that replacement is needed. We also give an early termination rule and a variant for the weaker model of one-directional tests.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from stat.ML
Tight Regret Bound for Online Inverse Linear Optimization via Multiscale Matrix Weights
Shinsaku Sakaue
We study online inverse linear optimization with a fixed unknown linear utility: in each round, an environment presents a compact action set, the learner recommends an action from it, and the environment returns an action that maximizes the utility over the same set. When the utility vector and the actions lie in the $d$-dimensional Euclidean unit ball, we give a randomized
algorithm whose regret—the cumulative utility shortfall relative to optimal actions—is $O(\sqrt d)$ in expectation for every time horizon, without knowledge of the horizon. The dependence on $d$ is optimal up to a constant factor by the known $\Omega(\sqrt d)$ lower bound for horizons $T\ge d$. Our
algorithm maintains
matrix multiplicative weights on
polynomial feature spaces at geometrically spaced scales. It selects a recommendation distribution by solving a linear program and updates its score
matrices by comparing the available actions with the feedback action. With rational oracle outputs and feedback actions, an implementation computable relative to a linear-optimization oracle preserves the $O(\sqrt d)$ regret bound. Whether the same rate is attainable with running time
polynomial in the dimension, horizon, and input length remains open.
Read the full abstract ▾
Data Structures and Algorithms
Fast Geometric Spanners via Approximate Nearest Neighbor Search
Alexandr Andoni, Manuel Paez, Krish Singal et al. (+1 more)
We study the problem of constructing metric spanners in general metric spaces in subquadratic time when given blackbox access to a fast
algorithm for batch approximate nearest neighbor search. In particular, we show the following results for any metric space $\mathsf{M} = ([n], \mathsf{d})$ with aspect ratio $\Delta$ admitting a $c$-approximate batch nearest neighbor search
algorithm with runtime $\tau_{\mathsf{M}}(n)$, (1) There exists an
algorithm that, for any $k \in \mathbb{N}$, constructs an $O(c k)$-distortion spanner with $\tilde{O}(kn^{1+1/2k} \log \Delta)$ edges and runs in time $\tilde{O}(\tau_{\mathsf{M}} \cdot k n^{1/k} \log \Delta)$. (2) Any
algorithm that learns at most $o(n^{1+1/k}/k)$ pairwise distances by querying a distance oracle and a blackbox batch nearest neighbor search oracle necessarily incurs $\Omega(c k)$ distortion. Our results entail that (truly) sub-quadratic time
algorithms for spanner construction is equivalent to subquadratic time BANN (up to constant-factor losses). As a further application, we use our fast spanner constructions to obtain a fast
algorithm for approximating the Wasserstein distance $\mathsf{W}_q$, for all $q > 1$, over any metric space admitting an efficient batch approximate nearest neighbor search
algorithm. Together with recent new efficient
algorithms for approximate nearest neighbor search in $\ell_p$ spaces, for $p > 2$, our results entail the first subquadratic time
algorithms for spanner construction (with the stated size-distortion tradeoff) and $\mathsf{W}_q$ distance approximation over these metric spaces.
Read the full abstract ▾
All authors Alexandr Andoni, Manuel Paez, Krish Singal, Tian Zhang
Data Structures and Algorithms · Cross-listed from math.OC
Silver Rate Is (Almost) Optimal for Gradient Descent: The Strongly Convex Case
Kaizhao Liu and Yuhan Ye
We study gradient descent with predetermined nonnegative stepsizes on smooth strongly convex functions. Let $p_{\mathrm{sil}}=\log_2(1+\sqrt2)$ and $\kappa$ be the condition number. We prove the iteration lower bound $\Omega\left(\kappa^{\frac{1}{p_{\mathrm{sil}}}-o(1)}\log\frac1\delta\right)$ for both relative squared distance and relative function error, uniformly over $0<\delta<1$ and sufficiently large $\kappa$. This matches the
polynomial exponent of $\kappa$ for the Silver stepsize schedule established in [Altschuler and Parrilo, 2025].
Read the full abstract ▾
Data Structures and Algorithms
Polylogarithmic Collective Tree Exploration
Romain Cosson and Laurent Massoulié
We study asynchronous collective tree exploration, where $k$
agents with unrestricted communication start at the root of an unknown tree and discover edges online. At each step, an adversary chooses which
agent moves. We give a deterministic
algorithm that explores any tree with $n$ nodes and depth $D$ in at most \[ 2n+O\left(k\log^2(k)D\right) \] moves, matching known lower bounds up to a constant factor. As a direct consequence, we obtain a near-optimal competitive ratio of $O(\log^2 k)$ for synchronous collective tree exploration, where all
agents move at each round. The proof relies on a multiscale power regularizer that may be of independent interest.
Read the full abstract ▾
Data Structures and Algorithms
Remote Matching: Exact-Cardinality Approximation and Tight UGC Hardness
Arash Ahadi, Morteza Alimi, Sharareh Alipour et al. (+1 more)
In the unrestricted max–min metric $T$-join problem, one seeks an even terminal set $T$ maximizing the cost of a minimum $T$-join. Iwata and Ravi gave a factor-$3/2$ approximation for this problem. We show that this guarantee is tight under the Unique Games
Conjecture: no
polynomial-time approximation with factor strictly smaller than $3/2$ exists under UGC. We then consider the exact-cardinality variant, which prescribes an even number \(k\) of terminals. Writing \(p:=k/n\), we give a deterministic
polynomial-time \(\rho(p)\)-approximation for every feasible cardinality, where \[ \rho(p)= \begin{cases} 7/2, & \makebox[1.5em][r]{$0$}<p\le2/7,\\ 1/p, & 2/7\le p\le2/3,\\ 1/[2(1-p)], & 2/3\le p\le7/8,\\ 4, & 7/8\le p<1. \end{cases} \] In particular, a factor-\(4\) approximation holds throughout the entire feasible cardinality range, the factor is at most \(7/2\) whenever \(0<k\le 6n/7\), and equals \(3/2\) at \(k=2n/3\). The algorithmic framework is based on optimal laminar cut packings, their weighted tree representations, exact-cardinality rounding, and tree dynamic programming.
Read the full abstract ▾
All authors Arash Ahadi, Morteza Alimi, Sharareh Alipour, Shayan Tayefeh
Data Structures and Algorithms
Pangenome Optimization via Elastic Degenerate Strings
Nicola Rizzo, Sebastian Visan-Draghicescu, Nadia Pisanti et al. (+1 more)
An Elastic Degenerate String (EDS, or ED-string) is a sequence of string sets. A pangenome, consisting of variations observed in a population along the genome sequences, can be naturally encoded as an EDS. Pattern matching and comparison problems on pangenome representations such as EDSes have been widely studied in the literature, but optimizing the pangenome properties during its construction has been largely omitted. We fill this gap by showing how methods originally developed for the related problem of founder reconstruction can be adapted to minimize, in linear time, the total cardinality of the EDS sets or the total size of the EDS strings, given suitable multiple
alignments representing the input data. We provide an implementation for the minimum-cardinality criterion in a tool mincard, and conduct the first experiments on scalable pangenome optimization via EDSes. The code and experiments are available at https://github.com/algbio/eds.
Read the full abstract ▾
All authors Nicola Rizzo, Sebastian Visan-Draghicescu, Nadia Pisanti, Veli Mäkinen
Data Structures and Algorithms
A $59/33$ Cut-LP Guarantee for Matching Augmentation
Morteza Alimi and Tobias Mömke
The Matching Augmentation Problem (MAP) asks for a minimum-cardinality set of unit-cost edges that, together with a zero-cost matching, forms a 2-edge-connected spanning multigraph. We study the standard cut relaxation. Bamas, Drygala, and Svensson proposed a particularly simple LP-guided
algorithm: compute an extreme optimum, run a depth-first search that prioritizes large LP coordinates, and augment the resulting DFS tree optimally. We give a new structural analysis of the Bamas–Drygala–Svensson LP-guided DFS
algorithm. The analysis combines an exact primal–dual identity for the residual uplink problem with a rank bound that measures fractional support relative to the unit-valued skeleton. The result is that for every root and every deterministic tie-breaking order consistent with the LP priorities, the
algorithm returns a solution of cost at most $\frac{59}{33}c(x^*)-\frac{25}{33}=\left(2-\frac7{33}\right)c(x^*)-\frac{25}{33}\approx1.788c(x^*)-0.758$, where $x^*$ is an optimum of the cut LP. Consequently, the integrality gap of the relaxation is at most $59/33\approx1.788$. No new algorithmic step is required; the improvement is analytical. The exact packing certificate for the residual uplink problem yields a cost identity with a packing-slack term, while a rank
theorem bounds fractional support relative to the unit-valued skeleton. A regional classification accounts for the non-tree edges, and a two-cut identity handles self-holes. As a direct corollary, the same $59/33\approx1.788$ bound holds for Forest Augmentation in the minimum-value regime. The proof is self-contained apart from one
theorem on the dimension of minimum-cut vectors.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from cs.LG
Gap-Free Streaming PCA Beyond Rank-One Updates: Near-Optimal Rates and Applications to Differential Privacy
Anming Gu, Syamantak Kumar, Kevin Tian et al. (+1 more)
Streaming principal component analysis (PCA) seeks to recover a leading spectral subspace in a single pass over a data stream. We give a new analysis of the ubiquitous Oja's
algorithm [Oja82] for the most general, gap-free variant of this problem, where no eigengap assumptions are made on the underlying mean
matrix, complemented by a nearly-matching lower bound. Prior works achieving near-optimal rates for streaming PCA either required gap assumptions [JJK+16, HNWW21], or were limited to rank-one updates [AZL17, Lia23]. Our proof only uses a second moment bound on the individual
stochastic updates, bypassing the almost sure bounds needed by prior near-optimal analyses, and the analogous offline
matrix Bernstein bound. We also extend our result to a Rayleigh quotient notion of approximate PCA, addressing an open question of [JJK+16]. As our main application, we give gap-free differentially private PCA guarantees for sub-Gaussian data, settling
Conjecture 1.1 of [Bro26] up to logarithmic factors.
Read the full abstract ▾
All authors Anming Gu, Syamantak Kumar, Kevin Tian, Chutong Yang
Data Structures and Algorithms · Cross-listed from cs.CG
Approximation Algorithm for the Min-Cost Bipartite Matching with Penalties
Eunjin Oh, Seongbin Park and Chanho Song
In this paper, we study the minimum-cost bipartite matching with penalties problem in metric spaces with bounded doubling dimension: Given two disjoint sets $R, B$ in a metric space $\mathcal{M}$ with $|R|+|B|=n$ and a penalty function $p \colon R \cup B \to \mathbb{R}_{\ge 0}$, the goal is to select a set of pairs in $R\times B$ so that every point belongs to at most one pair and the sum of the distances of the selected pairs and the penalties of the points not belonging to any pair is minimized. While near-linear time approximation
algorithms are known for the minimum-cost perfect matching problem in
geometric settings, no such
algorithm was previously known for the penalty setting. We present a randomized
algorithm that computes a $(1+\varepsilon)$-approximate minimum-cost bipartite matching with penalties in $O(n \mathrm{poly}(\log n, 1/\varepsilon))$ time with high probability. To the best of our knowledge, this is the first near-linear time approximation
algorithm for the problem in the penalty setting.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from cs.DM
Factorisability of Low Dimensional Non-Negative Integer Matrices
Paul C. Bell, Eva Foster, Daniel Reidenbach et al. (+1 more)
We consider the problem of determining if a given two-dimensional nonnegative integer
matrix $M$ is the product of two such
matrices, excluding trivial units. A
matrix $M$ with no such factorisation is called
prime and therefore belongs to the minimal (infinite rank) generator of $2 \times 2$
matrices over the natural numbers, otherwise it is called composite. We also consider the problem of finding a (non-unique) factorisation of a composite
matrix. Our results have applications in computational group theory and the theory of codes, where such
matrices are called incidence
matrices. We analyse the complexity of primality and finding a factorisation for a composite
matrix, providing a first efficient
algorithm.
Read the full abstract ▾
All authors Paul C. Bell, Eva Foster, Daniel Reidenbach, Pavel Semukhin
Data Structures and Algorithms · Cross-listed from math.OC
Sample-Based Prophet Inequalities for Random Walks
Pieter Kleer, Johan van Leeuwaarden and Daan Noordenbos
We study prophet inequalities for a random walk reward stopping problem with sample-based information. The goal is to stop as close as possible to the maximum of a random walk with i.i.d. increments, measuring performance by the ratio between the expected reward when stopping and the expected true maximum. We consider a sample-based model in which the increment distribution is unknown and the decision maker has access to $K$ independent sample paths of the reward process. For the infinite-horizon setting, we establish a sharp prophet inequality with constant $(K/(K+1))^{K+1}$. The guarantee is attained by a randomised stopping rule based on the ladder height decomposition of random walks. As $K\to\infty$, this recovers the classical $1/e$ prophet inequality from the full-information setting. For the finite-horizon setting, where the process terminates after $n$ steps, we first prove a tight no-information prophet inequality with constant $1/H_n$, where $H_n$ is the $n$-th harmonic number. For $K\ge1$ samples, we show that a prophet constant of $1/4$ is attainable. Finally, we prove that, with $K$ samples, the prophet constant is at most $(K/(K+1))^{K+1}+(6+6H_K)/H_n$ for $n\ge 2K^2$, implying convergence to the infinite-horizon constant as $n\to\infty$. Our approach combines random walk theory, including ladder heights and Spitzer's identity, with linear programming duality. Our results contribute to random walk stopping theory and to sample-based prophet inequalities for correlated rewards, an area that remains largely unexplored. To the best of our knowledge, our tight sample-based prophet inequalities are the first whose performance is parameterised exactly, rather than only up to constants, by the number of available samples.
Read the full abstract ▾
Data Structures and Algorithms
Structural Complexity of Matching-Match: Dense and Sparse Graphs
Ilie Dumitru, Adrian Miclăuş and Alexandru Popa
The Matching-Match puzzle asks whether the vertices of a fixed graph can be colored so that the multiset of color pairs induced by its edges is exactly a prescribed multiset. We study how the complexity of this realization problem depends on the host graph. On the dense side, we give a
polynomial-time
algorithm for complete $k$-partite graphs for every fixed number $k$ of parts, with arbitrary precoloring and an arbitrary number of colors. We prove a sharp complement-degree threshold: the problem is
polynomial-time solvable when $\Delta(\overline G)\le1$, but NP-complete on completely uncolored graphs already when $\Delta(\overline G)=2$. This yields a dichotomy for uniform complete multipartite graphs, and connected diameter two already suffices for NP-completeness. We also prove W[1]-hardness on cographs parameterized by the number of colors. On the sparse side, completely uncolored paths and cycles admit a linear-time characterization by Euler trails and
circuits, while counting feasible colorings is $\#P$-complete on both classes. Counting is nevertheless
polynomial-time solvable on
stars and complete graphs, even with arbitrary precoloring. A decomposition-transfer
theorem yields NP-completeness already at tree-depth two. A separate path-decomposition reduction gives a maximum-degree threshold between one and two for completely uncolored disconnected host graphs with unrestrictedly many colors. Components with at most two edges are tractable, while a disjoint union of $P_4$'s is NP-complete. Finally, precoloring restores tractability in several cases:
star forests are
polynomial when every center is precolored, and two broad precoloring regimes on length-two spiders are
polynomial even when the number of colors is unbounded.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Exponential Quantum Advantage in Testing Fourier Dimensionality
Kenny Chen
A boolean function $f$ has
Fourier dimension $k$ if its nonzero
Fourier coefficients span a subspace of dimension $k$. We consider the property testing task of determining whether a function has
Fourier dimension at most $k$, or is $\epsilon$-far from being so. We show that there is a $O(k/\sqrt{\epsilon})$-query
quantum property tester for this problem, which we show to be almost optimal. Combined with Gopalan et al.'s classical lower bound of $\Omega(2^{k/2})$, this demonstrates an exponential
quantum advantage for this task \cite{DBLP:journals/siamcomp/GopalanOSSW11}. We complement this result with a $\tilde{O}(2^{k/2}/\epsilon)$ classical tester, giving a quadratic improvement over the previous best tester, and essentially settling the classical query complexity.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from cs.CC
Improved Algorithms for the Remote Point Problem
Ben Lee Volk
The Remote Point Problem (RPP) is an algorithmic problem that asks, given a linear subspace $L \subseteq \mathbb{F}^n$ of dimension $k$, to deterministically find a vector $v \in \mathbb{F}^n$ far in Hamming distance from $L$. This problem was introduced by Alon, Panigrahy and Yekhanin [APY09], motivated in part by the
matrix rigidity approach for proving
circuit lower bounds. An
algorithm is said to achieve remoteness $d$ if it finds a vector $v$ whose Hamming distance from $L$ is at least $d$. We observe that over the rational numbers, the problem admits a deterministic
polynomial-time
algorithm that achieves optimal remoteness $n-k$. Over finite fields, we obtain a (modest) improvement of a result of Alon, Panigrahy and Yekhanin [APY09], and give an
algorithm that achieves remoteness $\Omega\left(\frac{n}{\max\{k, \log n\}} \log n\right)$.
Read the full abstract ▾
Data Structures and Algorithms
Linear-Query Deterministic Approximation for Non-monotone Submodular Maximization under a Knapsack Constraint
Zihui Liu and Zhijie Zhang
Submodular maximization under a knapsack constraint (SMK) is a fundamental combinatorial optimization problem with broad applications across machine learning and data mining. Motivated by large-scale applications where query efficiency is paramount, we study non-monotone SMK and focus on deterministic
algorithms with linear query complexity. Prior deterministic linear-query
algorithms achieve at best a $1/5-\varepsilon$ approximation, falling short of the $1/4-\varepsilon$ ratio attainable by randomized
algorithms. We close this gap by presenting a deterministic $(1/4-\varepsilon)$-approximation with $O(n\log^2(1/\varepsilon)/\varepsilon^2)$ queries. Our approach partitions the analysis based on the cost of the largest optimal element $r$: when the cost of $r$ is moderate, we refine the threshold-twin-greedy framework via residual-budget enumeration to tighten the analysis; when the cost of $r$ is large, we reduce the problem to bicriteria submodular maximization. As a secondary contribution, we obtain a $(1/2-\varepsilon, O(1/\varepsilon))$-bicriteria approximation with $O(n\log(1/\varepsilon)/\varepsilon^2)$ queries, improving over the previous $O(n^2/\varepsilon)$ query bound.
Read the full abstract ▾