CS Paper Radar

Weekly top 20 · cs.DS

2026-W47 Nov 16 – Nov 22, 2026

Ranked from 3,495 papers submitted on 5 days — week in progress, ranks can still change.

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

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.74
2

SotSort: a stable quicksort with a tunable buffer

cs.DS ·2026-11-18 ·Lucas Sotomayor
code/dataunusual
Abstract · 5 pages. v2: comparison with Virtual-Memory Powersort on its authors' harness, two machines. Code, tests and raw measurements: https://githu…

SotSort is a stable comparison sort whose single code path runs with anything from a fixed 16 KB buffer to a full n-element buffer. Its core is a stable quicksort that partitions blocks through the buffer and gathers them with rotations. This report summarises the design, states which parts are borrowed, and compares an implementation against blitsort, fluxsort, glidesort, driftsort, GrailSort and WikiSort. On one 2-vCPU machine, with 32- and 64-bit integers, the constant-memory mode takes between 0.32 and 0.82 of blitsort's time on 17 of 22 input classes and between 0.92 and 1.07 on the other five. With a comparator that rules out the vector partition it is slower than blitsort on 4 of 11 classes, by up to 2.3 times on sorted input. Against Virtual-Memory Powersort, on its authors' own harness and with the same auxiliary memory, the first measurement lost on most inputs; after three changes it located (one of them adopts that algorithm's paging scheme), SotSort is faster in 43 of 48 type and input combinations at n=10^6 on two machines. At n=10^7 on partially sorted integers it is between 7% faster and 7% slower depending on the machine, and on near-random input it is still slower: by 9% on integers at n=10^7, and by 5 to 17% at n=10^6 when comparisons are expensive. All numbers are preliminary.

0.60
3

Fair Bubble Sort: Provably Optimal Fair Ranking with Continuous Sensitive Attributes

cs.LG cs.CYcs.DS ·2026-11-17 ·Antonio Ferrara, Fabio Vitale, Atsushi Miyauchi, Francesco Bonchi
top venuetheorycode/data
Abstract · 35 pages, 9 figures, 4 tables. Accepted at NeurIPS 2026. Code: https://github.com/Ambress92/FairBubbleSort

Most fair-ranking methods assume categorical protected attributes, requiring continuous attributes such as age or income to be discretized into groups. This introduces arbitrary thresholds, loses fine-grained information, and ignores the natural ordering of the attribute. In this paper, we study the problem of fair ranking with continuous protected attributes without relying on thresholding. We introduce Continuous Pairwise Parity (CPP), a fairness notion based on Kendall correlation between ranking positions and the protected attribute, and seek rankings that satisfy a prescribed CPP constraint while minimizing their Kemeny distance from an initial score-based ranking. To solve this problem, we propose Fair Bubble Sort (FBS), an efficient post-processing algorithm based on targeted adjacent swaps. We prove that FBS is exactly optimal for the unweighted Kemeny distance and provide approximation guarantees for the score-weighted setting. FBS is output-sensitive, with running time determined by the number of swaps required to meet the fairness constraint. Experiments on synthetic and real-world datasets show that FBS is scalable and consistently outperforms discretization-based baselines, achieving a superior fairness-accuracy Pareto front.

0.54
4

Copying along Arithmetic Progressions Cannot Simulate Interleaving with Polylogarithmic Loss

cs.DS cs.FL ·2026-11-16 ·Matthias G. Mayer
code/data
Abstract · 45 pages. Lean 4 formalisation: https://github.com/matthiasGmayer-research/copying-vs-interleaving-lean

Two classical ways to compress a word are straight-line programs (SLPs), which build it by concatenating smaller pieces, and the Lempel-Ziv 77 (LZ77) factorisation, which copies earlier parts of it; their sizes are measures of repetitiveness. LZ77 approximates the smallest SLP efficiently: it has no more factors than a smallest SLP has size, and yields an SLP at most a logarithmic factor larger in near-linear time. Motivated by online prediction, Kosoy introduced zipline programs, which are analogous to SLPs but interleave their pieces round-robin instead of concatenating them. Her generalisation of LZ77, the arithmetic repetition system, describes a word by copies from one arithmetic progression of positions to a later one. Do arithmetic repetition systems approximate the smallest zipline program as well? Kosoy proved that the least size $\mathrm{ARC}(x)$ of an arithmetic repetition system for a word $x$ of length $n$ is at most a factor $O(n^{1/3})$ larger than the least size $\mathrm{ZLC}(x)$ of a zipline program for it, and asked whether this factor is tight. Her polynomial-time next-letter predictor makes $O(\mathrm{ARC}(x)\log n)$ mistakes, so a polylogarithmic factor would bound its mistakes by $\mathrm{ZLC}(x)\,\mathrm{polylog}(n)$, which no known polynomial-time predictor achieves. We show that the optimal exponent is $1/4$, not $1/3$: $\mathrm{ARC}(x) \le 2n^{1/4}\,\mathrm{ZLC}(x)$ for every word $x$, and at every large enough length $n$ some binary word has $\mathrm{ARC}(x) \ge n^{1/4-o(1)}\,\mathrm{ZLC}(x)$.

0.53
5

Ordinal Hegselmann-Krause Systems

cs.DS cs.GTcs.SI ·2026-11-18 ·Martin Hoefer, Tim Koglin, Jakob Lindner, Jannis Schramek
published
Abstract · A preliminary version will appear in the proceedings of WINE 2026

We study opinion formation in the popular Hegselmann-Krause model when agents replace the traditional averaging update by a median update or more general ordinal aggregation methods. We analyze the convergence properties of synchronous and asynchronous dynamics. For asynchronous dynamics, we show that every HKS with a $1$-Lipschitz ordinal aggregation function converges in worst-case time $\mathcal{O}(n^4)$. For the special case of median aggregation and for the family of $k\textsf{-large}$ aggregation functions, in which agents select the $k$-th largest opinion in their neighborhood, we obtain sharper bounds of $\mathcal{O}(n^3)$. For general ordinal aggregation, some sequence of $\mathcal{O}(n^2)$ updates reaches an equilibrium from every initial state. Nevertheless, other update sequences may cycle, and uniform random activation can require exponentially many updates with overwhelming probability. For synchronous dynamics, we obtain a tight characterization. Ordinal aggregation functions satisfying the $1$-Lipschitz condition are shown to guarantee convergence in linear time. This result applies to many natural examples such as minimum, maximum, median, and $k\textsf{-large}$ functions. When the Lipschitz condition is violated, there exist instances in which synchronous dynamics do not converge at all.

0.49
6

Planning Width Is Hard to Approximate Even Given the Unique Optimal Plan

cs.DS cs.AI ·2026-11-19 ·Viet Bac Nguyen
Abstract · 38 pages, 2 figures, 7 tables

For each fixed $k$, iterative-width search finds optimal plans in polynomial time on tasks of bounded tuple-chain width, but the approximability of planning width has remained open even when an optimal plan is supplied. When all optimal plans visit the same state sequence, we characterize set and chain width as hitting numbers of competing states. We construct positive-precondition STRIPS tasks with a supplied unique optimal plan, a single reachable goal state, binary branching, and constant-size actions. Every reachable state lies on a goal-reaching execution at most one action longer than optimal, yet distinguishing width $1$ from $Θ(N)$, where $N$ is the number of atoms, is NP-hard for set, chain, and goal-admissible width. Unless $\mathrm{P}=\mathrm{NP}$, no polynomial-time algorithm achieves a one-sided approximation factor $o(N)$ or a symmetric factor $o(\sqrt{N})$, and simple estimates attain both orders. For positive-precondition tasks with a supplied unique optimal plan of length at least two, testing set or chain width against a threshold $k\geq 1$ is coNP-complete for each fixed $k$ and $Σ_2^{\mathrm{P}}$-complete when $k$ is part of the input. Both results also hold for goal-admissible width if only one goal state is reachable. On an explicit state graph, a greedy algorithm approximates set width within a logarithmic factor even when optimal plans branch. Thus, knowing an optimal plan does not eliminate the difficulty of certifying substantially smaller width.

0.49
7

Beyond 4: Improved Competitive Traveling Repairperson

cs.DS cs.DCcs.DMcs.MA ·2026-11-16 ·Bibek Maharjan, Gokarna Sharma
Abstract · 27 pages, 1 figure, 2 pseudocodes, 1 table

With $k\geq 1$ repairpersons starting initially from a depot, we present a 3.877-competitive deterministic algorithm for the fundamental online traveling repairperson problem on an arbitrary metric. For the special class of zero-residual instances, we improve the ratio to $3+ε$ for every $ε>0$. We also extend these results to some variants of the related so-called online dial-a-ride problem. The state-of-the-art is the 4-competitive deterministic algorithm for both problems.

0.48
8

Computing Weighted Set Covers with Heterogeneous Stochastic Oracles: Deadline-Constrained Token Complexity

cs.DS cs.AIcs.CC ·2026-11-18 ·Jie Wang
Abstract · 17 pages

We study computation in which a probabilistic Turing machine (PTM) uses AI systems, abstracted as heterogeneous stochastic oracles (HSOs), to solve Weighted Set Cover. A pilot study shows that an LLM can outperform weighted greedy. HSOs differ in capabilities, response distributions, latencies, and token costs. We study how the PTM selects HSOs to obtain, by a deadline and with a required success probability, a full cover satisfying a prescribed weight threshold, and we analyze expected token cost. For queries requesting full covers, assuming independent call successes and uninformative failures, we characterize by linear programming the minimum expected token cost for every feasible success probability. An optimal policy randomizes over at most two preselected sequences of oracle batches. Among policies attaining maximum success probability, the expected cost reduction of two-batch selection relative to querying all oracles in one batch is nonnegative and submodular. We construct an FPTAS for near-optimal cost reduction under heterogeneous response-time bounds. Computing an optimal two-batch selection is NP-hard but admits a pseudopolynomial algorithm for positive integral expected token costs. For partial-cover responses, the PTM combines returned sets across batches and turns. Once their union covers the universe, it verifies total weight directly or obtains a guarantee from LP-dual tests on retained partial covers. We give one-turn probability, token-cost, and hardness results and adaptive token-cost bounds under per-batch assumptions. A constructed instance shows that residual-guided querying can reduce expected token cost by a factor linear in the number of possible residual subproblems.

0.47
9

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.46
10

Binary Affine Optimization with Nearly-Graphic Constraint Matrices

cs.DS math.OC ·2026-11-17 ·Qiming Fang, Sihong Shao, Yuxuan Wu
Abstract · 25 Pages, 5 Figures

We present a polynomial-time algorithm for binary affine optimization with a linear objective when every column of the constraint matrix has Hamming weight at most 2, and prove that the problem is NP-hard when every column of the constraint matrix has Hamming weight exactly 3. We obtain fixed-parameter tractable (FPT) algorithms for the unrestricted problem provided that a nearly-graphic certificate is given, where the certificate roughly measures how far the constraint matrix is from having columns of Hamming weight at most 2. We apply our FPT algorithm to Max-Lin$_2$ on graphs and obtain FPT algorithms parameterized by the contraction distance and contraction rank of the graph, utilizing the concept of Eulerian-spanning set. In the case of contraction distance, another FPT algorithm can be used to find the corresponding certificate; that is, we obtain an FPT algorithm that requires no information beyond the problem instance itself.

0.45
11

Sorting by block-reversals: closing the gap

cs.DS ·2026-11-19 ·László Kozma
Abstract

In block-reversal sorting an elementary operation is to reverse the order of a contiguous block in a sequence, at cost proportional to the length of the block. In SODA 2004, Bender, Ge, He, Hu, Pinter, Skiena, and Swidan showed that every sequence of length $n$ can be sorted at cost $O(n\log^2{n})$ and some sequences can only be sorted at cost $Ω(n\log{n})$. In block-partition sorting, an elementary operation is to partition the sequence into contiguous blocks, and simultaneously reverse all blocks. The model was introduced in SODA 2024 by Jelínek, Opler, and Pekárek, who showed that every sequence can be sorted in $O(\log^2{n})$ steps and some sequences require $Ω(\log{n})$ steps. We close both gaps, showing that the upper bounds are tight, and the $\log^2{n}$ factors are unavoidable.

0.45
12

Revisiting Generalized Median Estimators: Exact Bitwise Computation and Gray Code Acceleration

cs.DS stat.CO ·2026-11-19 ·Robin Nunkesser
Abstract · 12 pages, 1 figure, 3 tables

Generalized median estimators evaluate the median of a symmetric kernel over all $M = \binom{n}{k}$ subsets of size $k$. Exhaustive evaluation was considered impractical even for $n = 29, k = 5$ ($M = 118,755$), prompting stochastic subsampling (Wilde and Grimshaw, 2013). We show that this barrier is computational, not combinatorial: storing all subsets requires $Θ(kM)$ space, whereas stateful enumeration uses $\mathcal{O}(k)$ auxiliary state and retains only $M$ kernel values. We combine two exhaustive traversals with three-way Quickselect and a deterministic median-of-medians fallback, giving worst-case $\mathcal{O}(M)$ selection. Gosper's successor takes $\mathcal{O}(k)$ kernel work per subset for $n < w$; a Revolving Door Gray code changes one element out and one in, enabling $\mathcal{O}(1)$ kernel updates between recalibrations and $\mathcal{O}(M + kM/P)$ total time. We derive floating-point error bounds for the location ($h_1$) and mean-centered sample variance ($h_2$) kernels and their resulting median. For $n = 29, k = 5$, our ANSI C implementation evaluates all $118,755$ subsets in $0.74$ ms and $0.71$ ms, respectively. A direct C sweep places the crossover with partial lexicographic unranking at approximately $18,000$-$23,000$ subsets ($15\%$-$19\%$ of $M$), below the $32,160$-$45,420$ subsets required by Wilde and Grimshaw's sequential approximation at $ε= 0.01$.

0.44
13

An Optimal Online Algorithm for Single-machine Scheduling with Two Agents

cs.DS cs.DM ·2026-11-16 ·Peihai Liu, Kejun Zhao, Xiwen Lu
theory
Abstract · 24 pages, 6 figure. Comments and suggestions are most welcome

This paper addresses the online two-agent scheduling problem on a single machine, where jobs arrive over time. The objective is to minimize the weighted sum of the agents' makespans, denoted as $C_{\max}^A + θC_{\max}^B$, for a given priority weight $θ\ge 1$. A significant gap has persisted between the established theoretical lower bound on the competitive ratio and the performance of the best-known online algorithms. For the parameter range $1 \leq θ\leq \tfrac{1+\sqrt{5}}{2}$, we propose novel online algorithm which achieves a competitive ratio of $1+\tfracθ{1+θ}$. This result matches the theoretical lower bound.

0.43
14

A Polynomial Time Algorithm for Finding a Minimum 5-Partition of a Submodular Function

cs.DS math.CO ·2026-11-16 ·Yuhao Liu, Ke Shi, Chao Xu
Abstract · 11 pages

Given a real-valued submodular function on a finite ground set, the minimum $k$-partition problem asks for a partition into $k$ nonempty parts minimizing the sum of their function values. We give a polynomial-time algorithm for $k=5$. The idea follows directly from the previous $k=4$ result, where there is precisely one obstruction for generalizing it to $k=5$. We show the special case can be handled by reasoning about a restricted family of $3$-partitions.

0.43
15

Improved Asymptotic Approximation Guarantees for Continuous-Review Lost-Sales and Dual-Sourcing Inventory Models

cs.DS ·2026-11-18 ·Weitian Tong, Yao Xu
benchmark
Abstract · 38 pages

We study continuous-review inventory models with unit Poisson demand and deterministic lead times: single sourcing with lost sales and dual sourcing with backlogging. Xin [Operations Research. 70(1):111--128 (2022)] establishes an asymptotic approximation factor of 1.79 for each model in its proportional-growth regime. Under the same assumptions, we obtain a factor of 1.248977 for the better of base-stock and constant-order policies for lost sales and a factor of 1.599528 for the better of dual-index and tailored base-surge policies for dual sourcing. The benchmark is the optimal long-run average cost over all policies using only current and past information. For lost sales, lead time and the lost-sales penalty grow proportionally. For dual sourcing, the lead-time difference grows proportionally to the express premium, the extra unit cost of faster supply, while express lead time and backorder penalty remain fixed. For sufficiently large fixed backorder penalties, the dual-sourcing factor improves to 1.248977. The improvements follow from stronger lower bounds on the optimal cost. We retain intermediate constraints on mean inventory for lost sales and use events determined only by future demand to bound backlog costs for dual sourcing.

0.43
16

Improved Bounds for Online TSP on the Half-Line

cs.DS ·2026-11-18 ·Júlia Baligács, Yann Disser, Linda Thelen
theory
Abstract

In the open online traveling salesperson problem, requests appear over time at different positions of a metric space. A single agent traveling at unit speed must serve all requests, by visiting their positions, with the objective of minimizing the completion time. We propose online algorithms for this problem for the case that the metric space is the half-line. First, we present a $2$-competitive algorithm in which the server always either moves at unit speed or remains stationary, which improves on the previously best-known ratio of $2.04$. We further observe that algorithms must sometimes move slower than unit speed to achieve competitive ratios below $2$. We introduce a second algorithm that beats the barrier of $2$ by carefully modulating its speed, and prove a tight bound of $1.75$ on its competitive ratio. Finally, we slightly strengthen a known lower bound on the best-possible competitive ratio on the half-line from $1.627$ to $1.646$.

0.43
17

Expand & Reduce: a Framework Bridging Branch-and-Reduce and Dynamic Programming

cs.DS ·2026-11-18 ·Martin Vatshelle, Kenneth Langedal, Ernestine Grossmann
theory
Abstract · 18 pages, 5 figures. Code and data links included in paper

We introduce expand-and-reduce, a framework that augments classical reduction rules with a new type of optimality-preserving operation, called an expansion rule. While a reduction rule in practice typically makes the instance smaller, an expansion rule may enlarge the instance yet still making progress towards a solution. We present a simple expansion rule called edge expansion for the Maximum Weighted Independent Set (MWIS) problem. It encodes the joint choice of two non-adjacent vertices by adding an edge between them and creating a new vertex representing their union. We prove that the number of edge expansions needed to transform a graph into a clique equals the number of independent sets in the graph minus the number of vertices. We demonstrate that expand-and-reduce, using edge expansion and just two well-known reduction rules, has greater reduction power than a set of 22 commonly used reduction rules for MWIS. Therefore, it can significantly simplify methods that depend on reduction rules. To highlight the practical potential of the expand-and-reduce framework further, we provide an implementation and preliminary results showing that a simple implementation outperforms a far more advanced method for MWIS preprocessing. Moreover, expand-and-reduce can simulate both branching and dynamic-programming-style state construction, yielding exact and fixed-parameter algorithms with matching asymptotic running times. By that, expand-and-reduce offers a unified and conceptually clean perspective on techniques that are usually considered incompatible.

0.42
18

A faster algorithm for commutator length in free groups

cs.DS math.GR ·2026-11-17 ·Zixing Wang
Abstract

We compute the commutator length $\cl(w)$ of a reduced word $w\in[F,F]$ of length $M$ in a free group. Given a target $g\ge1$, a deterministic algorithm decides $\cl(w)\le g$ and, when it holds, returns a decomposition into at most $g$ commutators, in $O(M^{3g})$ steps; trying $g=1,2,\dots$ gives $\cl(w)$ in $O(M^{3\cl(w)})$ steps. For $g=1$ the same test takes $O(M)$ expected steps on a uniformly random reduced input in $[F,F]$. All bounds are in the unit-cost model.

0.40
19

Approximation Algorithms for Product Query Optimization

cs.DS ·2026-11-18 ·Macéo Ottavy, Avijeet Ghosh, Pascal Koiran, Alantha Newman, François Schwarzentruber +2 more
theory
Abstract

We study database query optimization for Cartesian products. This problem is equivalent to finding an optimal plan for multiplying non-negative integers. We call this problem multiplication ordering. We show that the problem has an FPTAS when the cost of a plan is the sum of all intermediate products; both in the case when the overall final product is counted and when it is not. We show that using the optimal solution to the well-known product partition problem does not always lead to an optimal plan, but we establish connections between the product partition and multiplication ordering problems. Finally, we prove that multiplication ordering is in PTIME (resp. \NP-complete) when integers are powers of a same base where the exponents are written in unary (resp. in binary).

0.38
20

Testability of Homomorphism Inadmissibility: Property Testing Meets Database Theory

cs.DB cs.CCcs.DS ·2026-11-19 ·Hubie Chen, Yuichi Yoshida
top venue
Abstract · Version of an article that appeared in PODS '19

In this paper, we utilize the perspective of property testing to consider the testability of relational database queries. A primary motivation is the desire to avoid reading an entire database to decide a property thereof. We focus on conjunctive queries, which are the most basic and heavily studied database queries. Each conjunctive query can be represented as a relational structure $\mathbf{A}$ such that deciding if the conjunctive query is satisfied by a relational structure $\mathbf{B}$ is equivalent to deciding if there exists a homomorphism from $\mathbf{A}$ to $\mathbf{B}$. We phrase our results in terms of homomorphisms. Precisely, we study, for each relational structure $\mathbf{A}$, the testability of homomorphism inadmissibility from $\mathbf{A}$. We consider algorithms that have oracle access to an input relational structure $\mathbf{B}$ and that distinguish, with high probability, the case where there is no homomorphism from $\mathbf{A}$ to $\mathbf{B}$, from the case where one needs to remove a constant fraction of tuples from $\mathbf{B}$ in order to suppress all such homomorphisms. We provide a complete characterization of the structures $\mathbf{A}$ from which one can test homomorphism inadmissibility with one-sided error by making a constant number of queries to $\mathbf{B}$. Our characterization shows that homomorphism inadmissibility from $\mathbf{A}$ is constant-query testable with one-sided error if and only if the core of $\mathbf{A}$ is $α$-acyclic. We also show that the injective version of the problem is constant-query testable with one-sided error if $\mathbf{A}$ is $α$-acyclic; this result generalizes existing results for testing subgraph-freeness in the general graph model.

0.38