CS Paper Radar

Daily listing

2026-11-20 · cs.DS

18 papers first submitted this day (UTC) in cs.DS — Data Structures and Algorithms. arXiv announces a day's submissions the next evening, so the newest day fills up over ~24 h.

Score = weighted mean ofCitations 20%Upvotes 10%Code stars 10%Venue 15%Code/data 10%Novelty 15%Momentum 15%Substance 5%how it works

Theory & Algorithms 14

Testable Testing: Distribution-Robust Property Testing

cs.DS ·2026-11-20 ·Xi Chen, Renato Ferreira Pinto, Nathaniel Harms, Rocco A. Servedio
publishedhot direction
Abstract · 51 pages. To appear at ITCS 2027

We introduce a new model for property testing of Boolean functions, which we call distribution-robust testing. Distribution-robust testing is motivated by the hope of designing testers whose output can be trusted even when the underlying probability distribution does not satisfy the assumptions of the tester, while still being more efficient than distribution-free testers that make no assumptions at all. The purpose of this paper is to perform a broad initial exploration of this new model. In particular, we present a variety of general algorithmic techniques, which we apply to show that several well-studied properties admit distribution-robust testers that are significantly more efficient than their distribution-free counterparts. For example, we obtain constant-query distribution-robust testers for conjunctions, decision lists, and unions of intervals, all of which are known to require significantly more queries in the distribution-free model. These encouraging results suggest a range of questions for future work.

0.56

Kidney Exchange in Deterministic $O^*(4^{t+o(t)})$ Time

cs.DS cs.GT ·2026-11-20 ·Binh T. Nguyen
Abstract · 24 pages; submitted

Kidney exchange admits a randomized $O^*(4^t)$ algorithm parameterized by the target number $t$ of transplants, but the best previous deterministic algorithm requires $O^*(6.855^t)$ time. We nearly close this gap by developing a deterministic $O^*(4^{t+o(t)})$ algorithm. Our approach uses Dynamic Representative Sets to execute the semi-feasible packing recurrence under a global cardinality budget of $2t$, exploiting a residual extension-budget invariant to avoid repeated static representative-family compression. To handle admissible cycles containing at least $t$ vertices, we establish a deterministic $O^*(4^{k+o(k)})$ algorithm for finding a shortest simple directed cycle of length at least $k$. Beyond feasibility, our framework supports additive optimization, yielding the same running-time bound for maximizing arc utility among packings with exactly $t$ transplants. Consequently, a packing that lexicographically maximizes the number of transplants and then additive utility can be computed deterministically in $O^*(4^{τ+o(τ)})$ time, where $τ$ is the maximum achievable number of transplants.

0.35

Shellsort with $O(n\log n)$ Average-Case Complexity

cs.DS ·2026-11-20 ·Cheng Du, Zongqi Wan
Abstract

We show that Shellsort admits a fixed sequence of $O(\log n)$ gaps that sorts a uniform random permutation in $O(n\log n)$ expected comparisons. In fact, we give a distribution on decreasing gap sequences with this expected bound for every fixed input. We also give a randomized polynomial-time algorithm that, with high probability, constructs a sequence attaining the average-case bound.

0.31

One partition function call to rule them all: Efficiently computing the equilibrium landscape of multiple nucleic acid strands

cs.DS ·2026-11-20 ·Ahmed Shalaby, Damien Woods
Abstract

In the nearest neighbour model of DNA/RNA binding, the partition function (PF) is a sum of Boltzmann-weighted free energies of the exponentially large set of secondary structures. Dirks et al. [SIAM review, 2007] gave a polynomial time PF algorithm for $O(1)$ strands, generalising McCaskill [Biopolymers, 1990] single-stranded case. Despite the intuition that PF may somehow encode the entire state space, thus far different approaches were required to solve various energy-landscape prediction problems. For example: finding the minimum free energy (MFE), structure(s) for $O(1)$ strands was open since 2007, and we recently solved [ICALP, 2025] via new techniques. We asked if there is a magnifiable PF algorithm [DNA31, 2025], which we answer here in the affirmative. We give an $O(N^3(c-1)!)$ time, $O(N^2)$ space algorithm, for $c=O(1)$ strands of $N$ bases, the same overhead as Dirks et al. (non-magnifiable) algorithm. However, we show that magnification allows for efficient decoding of the entire landscape, concretely: a single call to the magnifiable PF efficiently solves and improves upon a large number of problems, giving: - MFE in $O(N^3(c-1)!)$ time, $O(N^2)$ space; a considerable improvement over our $O(N^4(c-1)!)$ time, $O(N^4)$ space result [ICALP 2025]. - The first polynomial time algorithm for the multi-stranded density of states problem, in time $O(N^3(c-1)!),O(N^2)$ space. - The first polynomial time algorithm outputting the entire list of energy levels occupied by at least one structure (in time $O(N^3(c-1)!),O(N^2)$ space), and the first algorithms for various energy landscape and counting problems. Our approach unifies the field of energy landscape prediction showing that a single, general, algorithmic framework neatly unifies a large collection of problems that practitioners care about, and required distinct techniques with worse time bounds.

0.30

The Benefit of Migration in Throughput Maximization on Unrelated Machines and under Restricted Assignment

cs.DS ·2026-11-20 ·George Karakostas, Stavros G. Kolliopoulos
Abstract · 68 pages, 5 figures

In preemptive throughput maximization on parallel machines, jobs have release dates, due dates and weights, and the goal is to maximize the total weight of the jobs completed by their due dates. We study the benefit of migration, i.e., by what factor the optimal weight can increase when a preempted job is allowed to resume on a different machine. By a classic result of Kalyanasundaram and Pruhs, on identical machines the migratory optimum is at most $O(1)$ times the nonmigratory optimum. We give, for the first time, bounds for unrelated machines and for restricted assignment. We show that on unrelated machines, when every eligible machine can complete a job by itself, the migratory optimum is at most $O(\sqrt n)$ times the nonmigratory optimum, where $n$ is the number of jobs. Under restricted assignment it is at most $O(\log n)$ times the nonmigratory optimum. We provide instances which show that both bounds are best possible up to constant factors, even when the jobs have unit weights. Since our proofs are constructive, we obtain the first nontrivial approximation algorithms for migratory throughput maximization on unrelated machines and under restricted assignment.

0.30

Distribution-Robust Halfspace Testing

cs.DS ·2026-11-20 ·Xi Chen, Renato Ferreira Pinto, Nathaniel Harms, Rocco A. Servedio
theory
Abstract · 60 pages

Standard property testing algorithms are typically designed either for a specific input distribution (distribution-specific algorithms) or for an arbitrary unknown distribution (distribution-free algorithms). Halfspaces are an important example where distribution-specific testers can be extremely efficient, while distribution-free testers are expensive and essentially require learning. We introduce an intermediate type of algorithm, a distribution-robust halfspace tester, which must provide the same guarantees as a distribution-specific tester when the input distribution is the one specified, but must also provide a trustworthy answer under arbitrary distributions. This is achieved by allowing the tester to report that its input distribution is not what it expected (inspired by the recent testable learning framework of Rubinfeld and Vasilyan). We prove that distribution-robust testing of halfspaces under the standard Gaussian requires only $O(n^{2/3})$ queries, compared to the known $\widetilde Ω(n)$ required for distribution-free testing. We also prove that sample-based distribution-robust testing of halfspaces is harder than sample-based testing under the standard Gaussian, requiring at least $Ω(n^{2/3})$ samples compared to the known $\widetilde Θ(\sqrt n)$ bound for the latter. In fact, we show that the latter $\widetilde Θ(\sqrt n)$ bound becomes $Ω(n^{2/3})$ when the covariance matrix is only mildly perturbed.

0.25

Tight Logarithmic Separations between LZ77 and LZRR

cs.DS ·2026-11-20 ·Yuto Fujie
Abstract · 15 pages, 6 figures

LZRR is a copy-based lossless compression method that produces a bidirectional macro scheme. It greedily parses a string from left to right. At each step, it can copy from an occurrence on either side of the current position, provided that the copy creates no cycle. Let $z$ and $z_{\mathrm{RR}}$ denote the sizes of the LZ77 and LZRR parsings, respectively. Under the original LZRR rule, we show that $z/z_{\mathrm{RR}}=Θ(\log n)$ on a family of Fibonacci words and that $z_{\mathrm{RR}}/z=Θ(\log n)$ on a family based on bit reversal, where $n$ is the string length. The Fibonacci separation holds under every tie-breaking rule. Both separations are asymptotically tight.

0.23

Geometrically Constrained Learning I: Agnostically Learning Adversarially Robust Classifiers

cs.DS ·2026-11-20 ·Jane Lange, Cassandra Marcussen, Arsen Vasilyan
theory
Abstract

We study agnostic learning under the Gaussian distribution with guarantees on both classification error and robustness to adversarial perturbations. We say that a function has boundary profile $K \ge 1$ if, for all $r > 0$, the probability that a point lies within Euclidean distance $r$ of the classification boundary is at most $Kr$. We give an algorithm that takes a robustness radius parameter $r$ and learns a hypothesis with boundary volume $O(Kr)$ and classification error $\mathsf{opt}_K + \varepsilon$, where $\mathsf{opt}_K$ is the minimum classification error among functions with boundary profile at most $K$. For general $r$, $K$, and $\varepsilon$, the algorithm runs in time $d^{\widetilde{O}(K^2/\varepsilon^2 + K^4r^2/\varepsilon^4)}$. In particular, in the $Kr = O(\varepsilon)$ regime, the algorithm runs in time $d^{\widetilde{O}(K^2/\varepsilon^2)}$. Up to logarithmic factors in the exponent, this matches the statistical query lower bound for agnostically learning the $K$-profile class without recovering robustness. For natural geometric classes, including convex sets and Boolean combinations of halfspaces, this matches the corresponding surface-area-based running-time bound for non-robust agnostic learning via $L_1$ polynomial regression, up to logarithmic factors in the exponent. Our algorithm performs $L_1$ error minimization over polynomials, with an auxiliary coordinate roughly standing in for distance to the boundary. A convex constraint on the gradient of the polynomial, in this $(d+1)$-dimensional space, produces local certificates of the range of the polynomial on balls of radius $r$. Our algorithm finds a polynomial such that these certified ranges are small, then obtains a robust classifier via randomized rounding and partitioning of the domain.

0.19

Space-Efficient Text Indexing for Advanced Counting Queries

cs.DS ·2026-11-20 ·Solon P. Pissis, Sharma V. Thankachan
Abstract · SOSA 2027 (abstract abridged to satisfy arXiv requirements)

In the classical problem of text indexing, the objective is to preprocess a text $T=T[1..n]$ over an integer alphabet $[0..σ)$ into a data structure that supports efficient pattern matching queries. Given a pattern $P=P[1..m]$, a reporting query lists the set $\mathsf{Occ}_T(P)$ of occurrences of $P$ in $T$, whereas a counting query returns $|\mathsf{Occ}_T(P)|$. Space-efficient suffix-tree variants use only $\mathcal{O}(n\logσ)$ bits and support reporting queries in $\mathcal{O}(m+|\mathsf{Occ}_T(P)|\cdot\log_σ^ε n)$ time, where $ε>0$ is an arbitrarily small constant, and counting queries in $\mathcal{O}(m)$ time. Notably, space-efficient indexes for more advanced counting queries have largely resisted achieving the same optimal (or near-optimal) query times when using less than $Θ(n\log n)$ bits. We change this situation by proposing a general framework that supports advanced counting queries, denoted by $φ_T(P)$, provided that $φ_T$ satisfies two mild conditions: (1) $φ_T(P)$ is an integer in $[0..|\mathsf{Occ}_T(P)|]$ that can be computed from $\mathsf{Occ}_T(P)$ via sorting; and (2) $φ_T(Q)\geqφ_T(P)$ for every prefix $Q$ of $P$. We show that our framework supports optimal $\mathcal{O}(m)$-time queries using $\mathcal{O}(n\logσ+n(\log\log n)^2)$ bits or near-optimal $\mathcal{O}(m\log_σ^ε n)$-time queries using $\mathcal{O}(n\logσ)$ bits. As an example, our trade-offs improve upon the classical MAST index for counting non-overlapping occurrences [Apostolico and Preparata, Algorithmica, 1996; Brodal et al., ICALP 2002], which uses $\mathcal{O}(n\log n)$ bits and supports $\mathcal{O}(m)$-time queries, and the recent compact index for the same problem [Bals et al., ESA 2026], which uses $\mathcal{O}(n\logσ)$ bits and supports $\mathcal{O}(m\log n\log_σ^ε n)$-time queries.

0.19

Balanced Divide and Conquer for Rooted Maximum Agreement Forests

cs.DS ·2026-11-20 ·Feng Shi, Yexin Peng, Xin Zeng, Jingyi Liu, Qilong Feng +1 more
Abstract

We develop a balanced divide-and-conquer framework for the maximum agreement forest problem on rooted binary phylogenetic tree--forest instances. The goal is a common subforest with the fewest components; budget $k$ bounds the increase relative to the input forest. We balance edges associated with an unknown optimum to obtain three subproblems with smaller budgets. Branching separates the inputs, while temporary marker leaves allow a global optimum to be recovered from independently computed optimal solutions. For any fixed $B>\varphi=(1+\sqrt5)/2$, the framework converts a tree--forest solver running in $O^*(B^k)$ time into one running in $O^*((\sqrt{\varphi B})^k)$ time. Starting from an $O^*(2.3391^k)$-time solver, two applications yield an $O^*(1.7743^{k^*})$-time fixed-parameter algorithm for two trees, where $k^*$ is the number of components in a maximum agreement forest minus one. For every fixed $\varepsilon>0$, a fixed number of applications yields $O^*((\varphi+\varepsilon)^{k^*})$ time. Here $O^*$ suppresses polynomial factors, whose degree and constants may depend on $\varepsilon$.

0.18

The Power of Sampling for Finding Far-Apart Bases in Matroids

cs.DS cs.DMmath.CO ·2026-11-20 ·Mayank Goswami, Vasilis Livanos, Pasin Manurangsi, Arturo Merino, GiBeom Park +1 more
Abstract

We study the geometry of matroids via the \emph{diameter} and \emph{dispersion} of the metric space of their bases. Given a matroid $M$, we ask if the diameter of its basis-exchange graph $\mathcal{G}(M)$ can be approximated by sampling two uniformly random bases. As our main result, we show that their expected distance is always at least $1/16$ of the diameter of $\mathcal{G}(M)$. While this might appear to follow from the edge-expansion properties established by Anari, Liu, Gharan and Vinzant (STOC'19), we show that this inutition is false by constructing a graph $G$ with edge-expansion at least $1$ for which sampling two random vertices does \emph{not} give a constant-factor approximation to its diameter. We turn to finding $k\geq 2$ maximally-diverse bases of a matroid, the $k$ (max--min) diversity problem. When $k=2$, the problem is solvable via matroid intersection. However, for $k\geq 3$ no polynomial-time approximation or hardness is known, even for diverse spanning trees. We show that sampling $k\geq 3$ bases provides a tight $Θ(\log k)$ approximation. We then combine structural insights about the local density of $\mathcal{G}(M)$ with classical LP-rounding techniques to obtain a polynomial-time $1/6$-approximation algorithm for the $k$-diversity problem in arbitrary matroids, the first constant-factor polynomial-time approximation for max--min diversity on any matroid. A key ingredient for our result is the \emph{Farthest Matroid Basis} problem: given a collection of bases, find a new basis as far as possible from all of them. We give a polynomial-time $1/3$-approximation algorithm for this, which is our main algorithmic primitive for $k$ max--min diversity. We also show it is $W[1]$-hard when parameterized by the optimal distance. We also improve the $1/6$-approximation for $k$-diversity, for partition matroids and graphic matroids of constant arboricity.

0.15

Cluster Editing in Subexponential Fixed-Parameter Time

cs.DS cs.CC ·2026-11-20 ·Alexander Firbas, Manuel Sorge
theory
Abstract

Cluster Editing asks whether at most $k$ edge additions and deletions turn a given $n$-vertex graph into a disjoint union of cliques. For more than a decade, the fastest algorithm for it was the golden-ratio algorithm of Böcker with running time $O(1.62^k+n^{O(1)})$. Cao and Chen had conjectured that the subexponential running time $2^{o(k)}\cdot n^{O(1)}$ is possible, but this contradicts the Exponential Time Hypothesis (ETH). Recently, the breakthrough algorithms for 3-SAT of OpenAI and Anthropic refuted ETH itself. Our main result transfers running times from 3-SAT to Cluster Editing. If 3-SAT on formulas with $m$ clauses can be decided in time $T(m)$, then there is an algorithm that, given a graph with $n$ vertices and integers $k$ and $r$ with $2\le r\le k^{1/3}$, decides Cluster Editing in time $2^{O((k\log r)/r)}\cdot T(2^{O(r^2\log r)}\cdot k)\cdot n^{O(1)}$. Combined with the breakthrough algorithms for 3-SAT, this proves Cao and Chen's conjecture, as it solves Cluster Editing in time $2^{O(k\cdot(\log\log\log k)^{3/2}/\sqrt{\log\log k})}\cdot n^{O(1)}=2^{o(k)}\cdot n^{O(1)}$. The key ingredient is a sparsification theorem for Cluster Editing, the counterpart of the Sparsification Lemma for satisfiability: In time $2^{O((k\log r)/r)}\cdot n^{O(1)}$, it reduces a given instance to $2^{O((k\log r)/r)}$ weighted instances with $O(rk)$ vertices and degree $O(r)$, each of which is equivalent to a 3-SAT formula with $2^{O(r^2\log r)}\cdot k$ clauses. Conversely, by a known reduction with linear blow-up, every saving in the exponent for Cluster Editing is, up to constant factors, a saving for 3-SAT.

0.14

Cliques, Quasi-Cliques, and Bicliques in Random Graphs: Sampling and Algorithms

cs.DS cs.DM ·2026-11-20 ·Thanh Le, A. Pavan, Xavier Pérez-Giménez, N. V. Vinodchandran
Abstract

We study the algorithmic problem of finding dense subgraphs - cliques, quasi-cliques, and bicliques - in Erdős-Rényi random graphs. While the extremal structure of cliques in $G(n,1/2)$ is well understood, efficiently locating large cliques remains a central algorithmic challenge. We introduce a new perspective on this problem: the classical Grimmett-McDiarmid greedy algorithm implicitly defines a near-uniform sampler over cliques of size $(1-o(1))\log n$. Building on this observation, we develop a sampling-based framework for finding larger cliques. In particular, for every $η>0$, we give an algorithm that finds a clique of size $(1+η)\log n$ in time $n^{(η^2/2+o(1))\log n}$ - the first smooth trade-off between clique size and running time in this regime, improving on the previously best-known running time of $n^{(1/2+o(1))\log n}$. We further show that improved sampling algorithms for cliques of size $(1+η)\log n$ translate into faster algorithms for finding a maximum clique. Beyond cliques, we give a deterministic algorithm that enumerates all maximum $γ$-quasi-cliques in $G(n,p)$ in time matching their count up to lower-order factors, and extend this to random bipartite graphs $G(n,n,p)$, establishing new concentration bounds for quasi-bicliques together with analogous enumeration algorithms. Finally, we study unbalanced bicliques in $G(n,n,p)$. For each $s \in [n]$, we obtain a concentration bound on the largest $t = t_{\max}(s)$ for which an $(s,t)$-biclique exists, and show that when $s = ω(\log n)$, a simple greedy algorithm finds an $(s,(1-o(1))t_{\max}(s))$-biclique in linear time with high probability - demonstrating that greedy is near-optimal in this regime.

0.13

Linear-Size Spectral Sparsification by Sign Descent

cs.DS ·2026-11-20 ·Trevor Vaughn
Abstract

Given an undirected graph with $n$ vertices, $m$ edges, and arbitrary positive weights, we construct a $(1\pm\varepsilon)$-spectral sparsifier with $O(n/\varepsilon^2)$ edges. For every $0<\varepsilon<1$, the algorithm succeeds with high probability and runs in time \[ O\!\left(n+\varepsilon^{-3}\bigl[m\log^2 n+n\log^3 n\,(\log\log n)^4\bigr]\right). \] In each phase we seek a reweighting that brings many edge weights to zero or twice their current value while keeping the relative change in every graph energy small. Reversing the weight changes preserves the error and exchanges deletion with doubling, so one choice deletes at least half the edges that reach an endpoint. We balance a smooth penalty for spectral error against a linear reward for alignment with independent random signs. Each step changes the free weights by a fixed fraction of their values at the start of the phase, with directions chosen from the estimated signs of the negative gradient. A weight stays fixed once it reaches an endpoint. We show that while few weights are fixed, the remaining edges admit a direction whose gain in reward exceeds its first-order spectral cost by a constant. The objective is bounded below, so this decrease forces a constant fraction of the weights to an endpoint. We repeat the partial coloring on the surviving edges, choosing the tolerances to keep the total relative error within $\varepsilon$.

0.11