CS Paper Radar

Weekly top 50 · cs.DS

2026-W47 Nov 16 – Nov 22, 2026

Ranked from 3,882 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

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.61
3

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
4

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
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.48
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

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.47
9

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

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

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

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.45
13

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
14

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
15

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
16

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
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

Faster polynomial-space algorithms for poset problems

cs.DS math.CO ·2026-11-18 ·László Kozma, Junqi Tan
Abstract

We give a polynomial-space, deterministic, exact algorithm for counting linear extensions of partial orders over $n$ elements, with running time $O^*((2\sqrt{2})^{n}) \subseteq O(2.829^n)$. This improves upon the long-standing bound of $O^*(4^{n})$ attainable by standard divide and conquer (Savitch 1970, Gurevich and Shelah 1987). Our algorithm uses a similar balanced splitting approach as the classical algorithm, but applies it only to the elements outside a largest antichain. For the elements of the antichain itself we develop a formula based on inclusion-exclusion that accounts for the ways in which they can appear in a linear extension. The technique is also applicable to other problems on posets, which we illustrate by solving the well-studied jump number problem in a similar running time of $O^*((2\sqrt{2})^{n})$ and polynomial space. To our knowledge, these are the first polynomial-space algorithms with a running time below $4^n$ for both problems.

0.42
19

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.42
20

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.41
21

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.41
22

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
23

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.40
24

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.39
25

Exact guarantees and faster algorithms for $k$-rollercoasters

cs.DM cs.DS ·2026-11-19 ·Sungmin Kim, Florin Manea
theory
Abstract

For $k\ge3$, a $k$-rollercoaster is a sequence of distinct values whose maximal increasing and decreasing runs all have length at least $k$. We discover the maximum guaranteed length $f_k(n)$ of $k$-rollercoasters appearing as subsequences of $n$-point permutations. In particular, letting $q=k-1$, we prove that $f_k(n)= \lceil n/q\rceil$ for $n\ge2q^2$, $f_k(n)= 2q-\lfloor \sqrt{2q^2-n}\rfloor$ for $q^2<n<2q^2$ and $f_k(n)= 0$ otherwise. We prove that the guarantees are tight by constructing an $n$-point permutation whose longest $k$-rollercoaster has exactly $f_k(n)$ points. Our proof extends Seidenberg's argument [Journal of the London Mathematical Society, 1959] for proving the Erdős--Szekeres theorem by representing points in a subsequence with respect to the lengths of longest monotonic (increasing and decreasing) subsequences that reach each point. The combinatorial proof yields a deterministic comparison-based algorithm that finds a rollercoaster of length at least $f_k(n)$ in $O(n\log f_k(n))$ time and $O(n)$ space for $n>q^2$. Independently, we give an $O(nk\log k)$-time, $O(nk)$-space algorithm for a longest $k$-rollercoaster, improving the previous $O(nk^2)$ bound. We use the dynamic program of Gawrychowski et al. [STACS 2019, Algorithmica 2022], and process its weighted predecessor queries through monotone subsequences with finger-search trees. Both algorithms return such subsequences.

0.38
26

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.37
27

Polylogarithmic Approximation for Packing Convex Polyhedra

cs.CG cs.DS ·2026-11-19 ·Anders Aamand, Mikkel Abrahamsen, Simon Bartlmae
theoryhot direction
Abstract · 28 pages, 8 figures

We study translational packing of convex polyhedra in three dimensions. Given $n$ convex polyhedra in $\mathbb{R}^3$, we seek a placement with pairwise disjoint interiors that minimizes the volume of an axis-parallel bounding box. Constant-factor approximation algorithms are known when rotations are allowed, but no approximation guarantee was previously known for arbitrary convex polyhedra with fixed orientations. A central difficulty is that, unlike in the plane, the total volume and the coordinate extents of the objects do not provide a useful lower bound on the optimum: even objects with small total volume and small diameter may require a container of large volume. We overcome this difficulty using a better geometric lower bound based on a surprising connection to Wang and Zahl's celebrated recent proof of the three-dimensional Kakeya conjecture. Using this, we obtain a polynomial-time $n^{o(1)}$-approximation algorithm. A recent strengthening of Wang and Zahl's theorem claimed by OpenAI gives a polylogarithmic approximation ratio for the same algorithm. Our ideas extend to bin and strip packing: for any fixed $δ>0$, we obtain the same approximation guarantees for translational packing of convex polyhedra whose coordinate widths are at most a $1-δ$ fraction of the corresponding container widths.

0.35
28

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.34
29

Below Three: A 2.8027-Approximation for Moldable Precedence Scheduling

cs.DS ·2026-11-19 ·Klaus Jansen, Felix Ohnesorge
hot direction
Abstract

We study makespan minimisation for nonpreemptive moldable jobs with arbitrary precedence constraints on identical processors. Each job runs on a chosen number of processors that remains fixed throughout its execution. Allocating more processors to a job can shorten its execution, but may increase total work and delay other jobs. We assume nonincreasing processing times, nondecreasing work, and a convex duration--work relation after dominated allocations are removed. This model includes jobs with concave speedup, for which Jansen and Zhang obtained a $3.291919\ldots$-approximation. Independently and concurrently with our work, Chen obtained a $3.016208\ldots$-approximation for the full convex model and a $2.973912\ldots$-approximation for concave speedup. We give a deterministic polynomial-time $2.8027$-approximation for the full convex model and every number of processors. Our result breaks the factor-three barrier for this model and also improves the approximation guarantee for concave speedup.

0.34
30

Inapproximability of Euclidean Steiner Tree

cs.CG cs.DS ·2026-11-18 ·Simon Bartlmae
theory
Abstract · 40 pages, 19 figures. Abstract shortened to comply with arXivs length limit

We consider the Euclidean Steiner Tree problem of connecting $n$ given points in $\mathbb{R}^d$ by a shortest network allowing the addition of Steiner points anywhere in the space. Arora [FOCS'96/'97, J. ACM'98] gave a polynomial-time approximation scheme (PTAS) for Euclidean Steiner Tree and TSP in every fixed dimension, and Trevisan [STOC'97, SICOMP'00] proved that Euclidean TSP is APX-hard in $O(\log n)$ dimensions. They left open whether Euclidean Steiner Tree admits a PTAS in high dimension. Our first contribution settles this thirty-year-old question by proving APX-hardness in $O(\log n)$ dimensions. Assuming that not all problems in NP can be solved in subexponential time (NP $\not\subseteq $SUBEXP), we also rule out a PTAS for Euclidean Steiner Tree in $O(\log\log n)$ dimensions. This dimension bound is tight up to a factor of $O(\log\log\log n)$, since Arora's scheme is a PTAS in up to $\log\log n/\log\log\log n$ dimensions. In fixed dimension, Kisfaludi-Bak, Nederlof, and Węgrzycki [FOCS'21, J. ACM'25] obtained approximation schemes running in time $2^{O_d(\varepsilon^{-(d-1)})}n\log n$ and proved matching Gap-ETH lower bounds for Euclidean TSP and Rectilinear Steiner Tree, but left a corresponding lower bound for Euclidean Steiner Tree as an open question. Our second contribution answers this question with a nearly tight lower bound on the dependence on accuracy for Euclidean Steiner Tree. However, given the recent claimed refutations of ETH and hence Gap-ETH by OpenAI and Anthropic, we use the weaker assumption that 3SAT has no truly subexponential-time algorithm, that is, no $2^{n^γ}$-time algorithm on formulas of size $n$ for any constant $γ<1$ (a hypothesis one might call weak ETH). Under this assumption, we prove that no $(1+\varepsilon)$-approximation algorithm runs in time $2^{O(\varepsilon^{-γ(d-1)})} poly(n)$ for any such $γ$.

0.33
31

Speed-Robust Scheduling for Total Completion Time

cs.DS cs.DM ·2026-11-16 ·Moritz Buchem, Nicole Megow, Morten Weber
Abstract

We study two-stage speed-robust scheduling for minimizing total completion time. Jobs must be partitioned into $M$ bags before an adversary reveals the speeds of at most $M$ machines. Each bag is then assigned to one available machine, and the jobs on each machine may be processed in any order independent of the bags. We compare with an optimal schedule that knows the speeds in advance and assigns jobs individually. This model has been studied for makespan minimization. We initiate its study for total completion time, as suggested by Stein and Zhong (TALG 2020). For an unknown number of identical machines, we show that the optimal deterministic robustness factor is exactly~$13/12$, both for unit-size jobs and for arbitrary processing times. For infinitesimally small jobs, the factor lies between $31/30\approx1.0333$ and $28/27\approx1.0370$, well below the optimal makespan factor of about $1.2071$. General speeds make the problem strictly harder: no deterministic algorithm is better than $1.2669$-robust, already for infinitesimally small jobs. We give a $25/16$-robust algorithm for arbitrary processing times and improve the guarantee to $1681/1152\approx1.4592$ for infinitesimally small jobs. Our main tools are a layer decomposition that extends guarantees from unit-size jobs to arbitrary processing times when one assignment satisfies them for every prefix in non-increasing processing-time order, and a threshold analysis of the bag counts produced by greedy assignment rules.

0.33
32

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.31
33

Fast Computation of Lowest Common Ancestor in Version Control Commit Graph

cs.DS cs.SE ·2026-11-19 ·Stepan Polokhin, Ruslan Savchenko, Yuriy Chernyshov
Abstract

The problem of finding the lowest common ancestor in the commit graph arises when a user wants to merge two (or more) development branches: for example, to add their own development into a common branch. At that moment, the version control system must determine the merge base - the common ancestor of the latest commits of the branches, in order to show the mutual difference between the branches. The problem is complicated by the fact that the commit graph is not a tree but an arbitrary acyclic graph. Moreover, if there is no common ancestor, searching for one may require traversing the entire graph. Traversing a graph with several million vertices takes tens of seconds, which becomes noticeable to users. We show that the commit graph has additional structure - supporting branches - and that this can be used to speed up the algorithm. By extracting supporting branches, the graph can be preprocessed and the search for the lowest common ancestor can be significantly accelerated. Moreover, if removing the supporting branches decomposes the graph into connected components of bounded size, the lowest common ancestor query can be answered in time comparable to searching for a common ancestor within a single component only. We present an algorithm running in time $O(δ_Gm_c + n_s\log^2 n_s + m_s\log n_s)$ and requiring $O(d)$ preprocessed data per vertex, where $δ_G$ is the maximum out-degree of a vertex in $G$, $n_c$ and $m_c$ are the maximum numbers of vertices and edges in a connected component formed after removing the supporting branches, $n_s$ is the number of supporting branches, $m_s$ is the number of edges in the reachability graph between the supporting branches, and $d$ is the maximum number of supporting branches adjacent to any single component.

0.30
34

Optimal Robust Community Detection

cs.DS math.PR ·2026-11-18 ·Samuel B. Hopkins, Yiding Hua, Sidhanth Mohanty, Amit Rajaraman, David Steurer
Abstract

We study community detection in the sparse two-community stochastic block model when an adversary may corrupt a small constant fraction of the edges of the observed graph. For every choice of parameters above the Kesten-Stigum threshold and every $\varepsilon > 0$, we give a nearly-linear-time algorithm which estimates the communities with accuracy within $\varepsilon$ of the information-theoretically optimal accuracy, while tolerating a small constant fraction of adversarially corrupted edges. Previously, efficient algorithms with optimal accuracy were known only in the absence of corruptions, while robust algorithms either achieved only weak recovery or approached optimal accuracy only in the limit of large signal-to-noise ratio. Our algorithm is simple: approximate the second eigenvector of the nonbacktracking matrix, using a semidefinite program to cope with the corruptions, and use it to initialize belief propagation. Along the way, we show that in the absence of corruptions, belief propagation initialized at this eigenvector achieves optimal accuracy, resolving an open problem of Zdeborová in the two-community case. The proof of this fact is short and independent of our robustness results--its key ingredient is a local characterization of the second eigenvector of the nonbacktracking matrix in terms of constant-depth nonbacktracking walks.

0.30
35

ObliGraph: Graph Pattern Query Processing with Full and Differential Obliviousness

cs.DS ·2026-11-19 ·Lyu Xu, Xinyi Zhang, Qichen Wang
Abstract

Graph pattern query is a fundamental primitive in graph databases for retrieving data graphs that match a query graph under various structural constraints. As graph data is increasingly outsourced to third-party cloud servers for scalable query processing, however, both the query graph and the data graphs may leak sensitive structural information through server-side access patterns. In this paper, we study privacy-preserving graph pattern query processing in the outsourced setting, aiming to protect the structures of both the query and data graphs from access-pattern leakage. To this end, we propose $\mathsf{ObliGraph}$, the first oblivious graph search framework that supports multiple classes of graph pattern queries under two privacy modes: $\mathsf{FOS}$ achieves full obliviousness by uniformly evaluating candidate mappings, making the server-side access pattern independent of the structures of the query and data graphs; $\mathsf{DOS}$ further improves query efficiency through pruning while retaining a provable privacy guarantee of differential obliviousness. This design enables a smooth trade-off between stronger privacy and higher efficiency within a single framework. Experiments on real and synthetic datasets demonstrate that $\mathsf{ObliGraph}$ efficiently supports a range of graph pattern queries, achieving substantial improvements while preserving strong privacy guarantees.

0.29
36

A (12/11+eps)-Approximation for Nonpreemptive Throughput Maximization

cs.DS cs.DM ·2026-11-18 ·Mikhail Cherniavskii, Mikhail Koshelev, Andrey Kupavskii, Stanislav Moiseev, Fedor Ozhegov +1 more
Abstract

We study unweighted nonpreemptive throughput maximization on an arbitrary number of identical machines: each job has a processing time and a release--deadline window, and the goal is to schedule as many jobs as possible. For every fixed $\varepsilon>0$, we give a randomized $(12/11+\varepsilon)$-approximation. This improves the recent $(4/3+\varepsilon)$-approximation of Alexander Armbruster, Fabrizio Grandoni, Antoine Tinguely, and Andreas Wiese and the $(17/13+\varepsilon)$-approximation of Tong and Xu. For binary-encoded integral inputs, our algorithm runs in time $n^{O_\varepsilon(1)}\operatorname{poly}(N)$, where $N$ is the input length.

0.29
37

An Efficient Algorithm for Matroid Cups

cs.DS ·2026-11-19 ·Stephen Arndt, Benjamin Moseley, Kirk Pruhs
Abstract

We design a polynomial-time algorithm for matroid cups with $O(1)$ discrepancy. Our matroid cups algorithm design consists of a sequence of reductions to simpler instances, culminating in $O(n)$ instances of matroid cups where the matroid has rank 1.

0.29
38

Tight Bounds for Distance-Unbiased Sorting

cs.DS ·2026-11-19 ·Mats Bierwirth, Carola Doerr, Johannes Lengler
theory
Abstract · Submitted to EvoCOP 2027

We study elitist randomized local search for sorting permutations. In this model, each iteration considers a possible exchange of two positions. The entries are exchanged if and only if they are in the wrong order. We introduce \emph{distance-unbiased} selection rules, which may choose an arbitrary distribution over exchange distances but sample uniformly among all pairs at each chosen distance. For static rules, we prove that the optimal worst-case high-probability runtime is $Θ(n(\log n)^2)$. This establishes the asymptotic optimality of the harmonic sorter within this class and partially resolves an open question of Olesker-Taylor. We then allow the distance distribution to change either according to a predetermined schedule or adaptively using the current permutation and the entire history. Matching upper and lower bounds show that both classes have optimal runtime $Θ(n(\log n)^2/\log\log n)$. Thus, scheduled adjustments of the distance distribution improve the optimal static worst-case runtime by a factor of $Θ(\log\log n)$, while full-information adaptation provides no further asymptotic improvement.

0.27
39

A Nonadaptive Sparse Fourier Transform in Every Dimension

cs.DS cs.ITmath.NA ·2026-11-19 ·Mahdi Cheraghchi, Jingyi Lyu
Abstract

Let $G=(\mathbb{Z}/2^a\mathbb{Z})^d$, of order $N=2^{ad}$. Given point-query access to any complex signal $X$ with Fourier transform $\hat{X}$ over $G$, we provide a randomized algorithm that constructs a $k$-sparse estimate $\widetilde{X}$ via non-adaptive queries such that, with large probability, $\|\widetilde{X}-\hat{X}\|_2^2 \leq C \cdot \|H_k(\hat{X})-\hat{X}\|_2^2$, for an absolute constant $C>0$, where $H_k(\cdot)$ denotes the best $k$-sparse approximation. The constant $C$ can be improved to any desired $1+\varepsilon$ by either supplying a constant-factor estimate on the $k$-sparse tail norm or allowing an arbitrarily small additive error term $δ\|\hat{X}\|_2^2$ on the right-hand side. With a supplied tail estimate, we can also satisfy an $\ell_\infty/\ell_2$ heavy hitters guarantee. For fixed $δ$, the number of samples is $O((k/\varepsilon^2)(\log N)\log(k/\varepsilon))$, and the recovery algorithm requires a polynomial in $(k/\varepsilon)\log N$ exact operations. The algorithm naturally extends to $G=(\mathbb{Z}/b^a\mathbb{Z})^d$ for any fixed integer $b>1$.

0.27
40

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.27
41

Efficient Privacy-Preserving High-Dimensional Approximate Nearest Neighbor Search

cs.DS ·2026-11-19 ·Lyu Xu, Guozhong Li, Qichen Wang
Abstract

In the AI era, approximate nearest neighbor (ANN) search on vector databases is critical as it supports similarity retrieval over high-dimensional vectors, which is essential for many large language model (LLM) applications. To reduce costs and improve scalability, vector databases are often outsourced to cloud servers, raising privacy concerns for users whose query vectors contain sensitive information. In this work, we study the problem of asymmetric privacy-preserving ANN search, where the vector database is public but user queries must remain private from an untrusted cloud server. To solve this problem, we propose ObliSC, an efficient privacy-preserving search framework that protects query privacy against access-pattern leakage. ObliSC consists of (i) a search base that retrieves ANNs with a strong privacy guarantee of full obliviousness; and (ii) parallel optimization strategies that accelerate candidate retrieval and refinement while preserving full obliviousness and retrieval quality. Experiments on six standard ANN benchmarks show that ObliSC not only achieves efficiency and result quality competitive with baseline methods but also maintains a lightweight index compared with the evaluated privacy-preserving approaches.

0.26
42

On the Complexity of Envy Cycle Elimination

cs.GT cs.CCcs.DS ·2026-11-18 ·Warut Suksompong
Abstract

The envy cycle elimination (ECE) algorithm is a fundamental algorithm for the fair allocation of indivisible goods, guaranteeing an allocation that is envy-free up to one good under arbitrary monotone utilities. We show that the ECE algorithm can be implemented in $O(nm)$ time for $n$ agents and $m$ goods, and establish the tightness of this bound.

0.26
43

Geometrically Constrained Learning II: Agnostic Proper Learning of Lipschitz Functions

cs.LG cs.DS ·2026-11-20 ·Jane Lange, Cassandra Marcussen, Arsen Vasilyan
published
Abstract · 55 pages, under submission to STOC 2027

We give a proper learner for Lipschitz functions over the Gaussian distribution on $\mathbb{R}^d$. Given random Gaussian examples labeled by a $λ$-Lipschitz function, $λ\ge 1$, the learner returns a function $h:\mathbb{R}^d\to\mathbb{R}$ that is globally $λ$-Lipschitz and has loss (absolute or squared) at most $\varepsilon$. The sample complexity, running time, and representation size are \[ (d+1)^{\mathsf{poly}(λ/\varepsilon)}. \] The learning algorithm can be made \emph{agnostic}, given a known bound on the variance of the label marginal distribution. Some known control of label scale is information-theoretically necessary. For arbitrary labels with variance at most $V^2 \ge 1$, the complexity is \[ (d+1)^{\mathsf{poly}(Vλ/\varepsilon)}, \] and the error is $\mathsf{opt} + \varepsilon$, where $\mathsf{opt}$ is the minimal error among Lipschitz approximators. Our approach combines $L_1$ polynomial regression under a convex gradient constraint with local correction of the Lipschitz property. The learner finds a polynomial that, after smoothing and clipping its range, is very close to a canonical Lipschitz correction of itself, the lower Lipschitz envelope. Our local corrector modifies the lower envelope by replacing distances to sublevel sets with a Gaussian sampling proxy, allowing the construction to be locally and stably estimated from samples.

0.25
44

Batch-Dynamic Coreness and Applications with Logarithmic Work via Balanced Pressures

cs.DS ·2026-11-18 ·Quinten De Man, Laxman Dhulipala, Kishen N Gowda, Zhongqi Wang
Abstract

We give a parallel algorithm that maintains a one-sided $(2+\varepsilon)$-approximation of all core numbers under batches of edge insertions and deletions. For fixed $\varepsilon>0$, the expected amortized work is $O(\log n)$ per edge update, and each batch has deterministic polylogarithmic depth. This improves on the previously known $(4+\varepsilon)$-approximation and $O(\log^2 n)$ amortized work bounds. This approximation factor approaches the factor-two limit for polylogarithmic update and query time under the OMv conjecture. Our algorithm is based on assigning each vertex a "pressure" and splits each edge's unit load smoothly between its endpoints according to their pressures. After each batch of updates, our dynamic algorithm adjusts the pressures of vertices in parallel to restore balance between the pressures and loads. We show that by maintaining balanced pressures we can obtain good approximations of core numbers. Our construction also gives a $(1+\varepsilon)$-approximation of the densest-subgraph value with logarithmic expected amortized work and supports batch-dynamic maximal matching, clique counting, forest decomposition, and coloring in low-arboricity graphs with improved or matching work bounds. We give a practical implementation of our batch-dynamic coreness algorithm and find that it is able to achieve smaller empirical error than the state-of-the-art parallel batch-dynamic implementation, while running faster. On six real-world graphs, it runs $32\times$ faster than that implementation in geometric mean and $4.1\times$ faster than a state-of-the-art heuristic baseline. On three graphs with up to 1.8 billion edges, it is $9.2\times$ faster than the heuristic baseline.

0.25
45

Rounded Potentials Certify Exact Maximum Flow

cs.DS ·2026-11-16 ·Ohad Trabelsi
Abstract

The textbook certificate for maximum flow is lopsided: the cut takes one bit per vertex, while the flow takes one number per edge. Indeed, some graphs have $Θ(n^2)$ terminal pairs for which every maximum flow uses $Θ(n^2)$ edges. Yet we show that one short number per vertex suffices for both cut and flow: $n$ vertex potentials, each rounded to $O(\log(nW))$ bits, certify the exact maximum $st$-flow value in any directed graph with integer capacities at most $W$. Exact potentials can have exponentially large representations. Rounding them may violate flow conservation, but the total error across any cut is less than one unit, so integrality of cut capacities absorbs it. Checking conservation is local and linear in the capacities, allowing the same certificate to yield new bounds in four models (capacities are polynomially bounded unless stated otherwise): - Online annotated streaming. $\widetilde{O}(n)$ total cost (help plus space) for the maximum $st$-flow value, optimal up to logarithmic factors, answering a question of Thaler (ICALP 2016) on whether $o(n^2)$ is possible. - Broadcast proof-labeling. $O(\log(n+p))$-bit labels certifying a maximum $st$-flow value of $p$ in directed and undirected graphs with arbitrary capacities, optimal for $p\ge n^{Ω(1)}$, settling that regime of a question of Korman, Kutten, and Peleg (Distributed Computing 2010). - Merlin-Arthur verification. $\widetilde{O}(n^3)$ time and $O(n^3\log n)$ proof length for directed All-Pairs Max-Flow, improving on previous verification times of $n^{4+o(1)}$ for general capacities and $n^{3.5+o(1)}$ for unit capacities, and answering a question of Akmal (TheoretiCS 2024). - Nondeterministic algorithms. $O(n^{3.614})$ time for directed All-Pairs Max-Flow, or $n^{3.5+o(1)}$ if $ω=2$: the first subquartic bound for general edge capacities, answering a question of Trabelsi (SODA 2025).

0.25
46

Improved Approximation for Weighted $k$-Set Packing via a Simple Two-Phase Approach

cs.DS ·2026-11-16 ·Mehrshad Taziki, Rico Zenklusen
Abstract

Weighted $k$-set packing asks for a maximum-weight collection of pairwise disjoint sets, each of cardinality at most $k$. For every fixed $k\in\mathbb Z_{\geq1}$, we give a polynomial-time algorithm with approximation factor $\left(1- 1/{\sqrt3} \right)k+O(\log k) \approx 0.4226k + O(\log k)$, improving the previous best factor of $0.4621k + O(\sqrt{k})$ through a simple two-phase approach. In a first phase, our algorithm constructs a packing by processing random weight buckets of varying widths with an unweighted packing algorithm. We show that a small expected weight of this packing relative to the optimum forces a large expected total surplus in the optimum. Surplus quantifies the potential for improving a packing through star swaps. In the second phase, we solve and round a configuration LP to turn sufficiently large surplus into an increase in expected weight. Our procedure can easily be derandomized.

0.24
47

Guided Cuckoo Filter: Full-Pipeline Insertion Optimization

cs.DS ·2026-11-19 ·Min Liu
Abstract

Cuckoo filters are widely deployed as space-efficient alternatives to Bloom filters, supporting fast lookups, insertions, and deletions. However, their insertion cost grows steeply at high load factors because the standard insertion procedure is entirely unguided: it places each fingerprint into whichever candidate bucket happens to be tried first, and when both candidates are full, it displaces a random victim in a random walk. These blind random choices occur at two distinct stages of the insertion pipeline, the initial placement decision and the eviction victim selection, yet each stage can be independently replaced with a guided, informed decision. We propose the \emph{Guided Cuckoo Filter}, which optimizes the entire insertion pipeline by steering both stages. At the placement stage, the filter compares the occupancy of both candidate buckets and inserts into the less loaded one, applying the power-of-two-choice principle to reduce how often eviction chains are triggered. At the eviction stage, the filter preferentially displaces the most recently inserted element, whose alternate bucket carries latent randomness that shortens the resulting chain. Because these two guided decisions target orthogonal bottlenecks, eviction frequency and eviction chain length, their benefits compose multiplicatively. Experiments on cuckoo filters with $2^{22}$ slots confirm that the fully guided insertion reduces per-insertion kicks by up to $3.1\times$ at 96\% load and cumulative total kicks by 63\% at the practical capacity ceiling of 95\% load, with negligible computational overhead.

0.24
48

Computing EF1 Allocations with Few Value Queries

cs.GT cs.DS ·2026-11-17 ·Max Dupré la Tour, Ayumi Igarashi
Abstract

We give a deterministic polynomial-time algorithm that allocates $m$ indivisible goods among $n$ agents with nonnegative additive valuations using $O(n^5\log^2 m)$ value queries and guarantees envy-freeness up to one good (EF1). Concurrent work of Lin, Liu, Tao, and Zhou achieves $O(n^8\log m)$ comparison queries, attaining the optimal $O(\log m)$ dependence on $m$ for fixed $n$. Each comparison query can be simulated using two value queries, so their bound also holds for value queries. Our contributions are a much simpler algorithm and proofs, and polynomial-time computation.

0.23
49

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.23
50

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.23