CS Paper Radar

Daily listing

2026-11-19 · cs.DS

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

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

Systems & Networking 1

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

Theory & Algorithms 21

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

End-to-End Quantum Algorithm for Differential Equations: Application to Simulating a Biomolecular System

cs.DS quant-ph ·2026-11-19 ·Mohsen Bagherimehrab, Daniyaal Farooqi, Gavin K. Brennen, Barry C. Sanders, Alán Aspuru-Guzik
Abstract · 61 pages, 11 figures, 3 tables

Quantum algorithms for differential equations have the potential for substantial algorithmic speedups over classical methods. However, they rely on certain assumptions and abstract oracle specifications that leave their practical feasibility and computational advantages for realistic applications unclear. Here we formalize the concept of an end-to-end quantum algorithm for differential equations as one that accepts classical inputs and returns classical outputs, and provide implementations for algorithmic primitives in constructing such algorithms. We present a tailored end-to-end quantum algorithm for the linearized Poisson-Boltzmann (LPB) equation, a partial differential equation (PDE) with variable coefficients widely used in simulating a biomolecular system. We explicitly implement all aspects of the algorithm, from preparing an initial state to generating a quantum solution and estimating properties of the system. In particular, we develop a new discrete representation for variable-coefficient PDEs on a grid that enables efficient implementation of the operator oracle, and build on a recent technique based on optimal wavelet preconditioning to generate a quantum solution with a cost independent of the condition number of the discretized operator. We show the algorithm can be implemented by quantum circuits of size polylogarithmic in both the number of grid points $N_g$ and the inverse of the desired accuracy $\varepsilon$, with an overall gate cost polylogarithmic in $N_g$ and quasilinear in $1/\varepsilon$. We also show the classical preprocessing to construct the circuits has polylogarithmic cost in $N_g$ and $1/\varepsilon$. Our work provides a concrete end-to-end quantum algorithm for a PDE of practical value, demonstrates an exponential improvement in scaling with $N_g$ over classical methods, and provides a foundation for assessing its potential quantum advantage in practice.

0.45

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

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

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

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

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

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

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

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

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

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

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

Efficient Classical Algorithms for Ground Energy Estimation of Fermions with Conjugate-Pair Orbital Interactions

cs.DS quant-ph ·2026-11-19 ·Ziyi Yang, Yexin Zhang, Yuexin Su, Xinzhao Wang, Xiaoyang Wang +1 more
theory
Abstract · 41 pages, 1 figure

Estimating the ground energy of interacting fermions is central to quantum many-body physics, and recent quantum algorithms provide polynomial-time guarantees for some structured families. Classical approaches commonly rely on quantum Monte Carlo, where the sign problem is a major obstacle. However, even when a nonnegative expansion without sign problem is available, rigorous guarantees for rapid mixing are still far from well understood. In this paper, we give an efficient classical randomized algorithm for approximating the ground energy of fermionic Hamiltonians with conjugate hopping matrices and conjugate-paired orbital interactions, which includes the attractive Hubbard models. This guarantee not only holds without a physical spectral gap or a weak-coupling assumption, but also covers interactions beyond onsite density attractions. Technically, we first reduce ground-energy estimation to partition-function estimation and then use a discretization with controlled energy error to obtain a nonnegative weighted sum of squared determinant moduli and then apply the Chen--Liu log-concave counting theorem. In addition, we obtain a sharper arithmetic bound by controlling how many independent sampling runs and matrix updates are needed, and using sparse matrices to reduce the cost of each update.

0.24

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

Subexponential Algorithms for Continuous Euclidean $k$-Means in Subpolylogarithmic Dimension

cs.CG cs.DS ·2026-11-19 ·Junqi Tan
Abstract · 22 pages

Given $n$ points in $\mathbb{Q}^d$ and an integer $k$, the continuous Euclidean $k$-means problem asks for $k$ centers in $\mathbb{R}^d$ that minimize the sum of squared distances from the input points to their nearest centers. In one dimension, the problem can be solved in polynomial time by dynamic programming. In higher dimensions, the algorithm of Inaba, Katoh, and Imai [SoCG 1994] runs in polynomial time when both $k$ and $d$ are fixed. Mahajan, Nimbhorkar, and Varadarajan [TCS 2012] showed that the problem is NP-hard even in the plane when $k$ is part of the input, answering a question of Dasgupta [2008]. In this paper, we give a deterministic exact algorithm for continuous Euclidean $k$-means. For arbitrary $k$ and $d=(\log n)^{o(1)}$, the algorithm runs in $O^*(2^{o(n)})$ time and uses polynomial space. Aman, Karthik C. S., and Punna [ESA 2024] asked whether the $2^n$ time bound for Euclidean $k$-means can be improved in high dimensions. Our result gives an affirmative answer to the corresponding question in subpolylogarithmic dimension.

0.20

Running-Time Lower Bounds under FPT $\neq$ W[1]

cs.DS cs.CC ·2026-11-19 ·Hendrik Molter
Abstract

We revisit running-time lower bounds historically based on the Exponential Time Hypothesis. Our case study asks how much of their quantitative content can be recovered under the assumption FPT $\neq$ W[1]. The reductions encode the choice of a clique in few bits and control the target parameter in terms of that encoding. This makes a sufficiently fast algorithm for the target problem yield a fixed-parameter algorithm for deciding whether a graph has a clique of the requested size. We obtain twelve lower bounds for deterministic algorithms across graph, string, and integer feasibility problems, including bounds that hold under structural restrictions. In several cases the same function of the parameter appears in the exponent as in the historical bound, with the additional requirement that the cutoff for any prescribed saving in the exponent be computable.

0.15

Bayesian Optimal Stopping: Invincible Prophets and Achievable Philosophers

cs.DS ·2026-11-19 ·Alireza AmaniHamedani, Ali Aouad, Senem Işık, Thomas Kesselheim, Amin Saberi
theory
Abstract

We study Bayesian optimal stopping: a hidden world $H$ is drawn from $K$ worlds according to a known prior and determines the joint distribution of $n$ observations. A decision-maker selects one observation irrevocably to maximize its value, learning about the world as observations arrive. We compare algorithms against the Bayes-optimal online policy (the philosopher) and the offline optimum (the prophet). Our results show that the philosopher is achievable in that we find a $(1-\varepsilon)$-approximation of the Bayes-optimal policy that runs in time $\mathrm{poly}(|\mathcal{I}|^{\log^* |\mathcal{I}| + 1/\varepsilon} \cdot (1/\varepsilon)^{1/\varepsilon^2})$, where $|\mathcal{I}|$ is the size of the input. By contrast, the prophet is invincible and no algorithm can obtain a competitive ratio that substantially exceeds the worst-case guarantees. When the observations are conditionally independent and identically distributed given $H$, the secretary's rule is $1/e$-competitive. We show that no algorithm can guarantee a competitive ratio better than $1/e + 1/\mathrm{poly}(K)$ and this bound is attainable. Our approximation scheme builds on a primal improvement subroutine connecting the two benchmarks. Given an $α$-competitive algorithm against the prophet, we construct an algorithm with a strictly better approximation factor against the philosopher. We randomize between the baseline algorithm and a threshold algorithm based on dual martingales that exploit the Bayesian structure. Each improvement yields a tighter dual martingale, enabling repeated primal-dual updates. We approximate these martingales in polynomial time using importance-weighted Monte Carlo sampling. Dual martingales also establish our upper bound on the competitive ratio and may be useful for more general Bayesian online optimization problems.

0.15

Variants of Beam Search for DiskANN

cs.DS cs.DBcs.IR ·2026-11-19 ·Viraj Agrawal, Kirankumar Shiragur
Abstract · 22 pages, 1 figure, 9 tables

Graph-based data structures such as DiskANN, HNSW, and NSG constitute the state of the art for large-scale approximate nearest-neighbor (ANN) search. Indyk and Xu introduced the notion of $α$-reachable graphs, which include graphs built by DiskANN's slow-preprocessing construction, and proved that greedy search achieves an approximation factor of $\tfrac{α+1}{α-1}$. Independently, Al-Jazzazi et al. proposed adaptive beam search (ABS) with a relaxation parameter $γ> 0$, showing a $\tfrac{2}γ$ approximation on navigable graphs ($α\approx 1$), where greedy search admits no guarantees. In this work, we unify and generalize these results by proving that ABS with parameter $γ$ on $α$-reachable graphs achieves an approximation of $\tfrac{α+1}{α(γ+1)-1}$ for any metric. Moreover, on sorted $α$-reachable graphs (introduced by Gollapudi et al.) under the $\ell_2$ metric, we obtain the tighter bound $\max\bigl(\tfracα{α(γ+1)-1}, \tfrac{α^{2}+1}{α^{2}(γ+1)-1}\bigr)$. Beyond these theoretical results, we design a beam predictor using features inspired by fine-grained analysis of ABS, trained via a constrained objective that minimizes mean distance computations subject to a target recall. On three 100-million-point benchmarks, using graphs built by DiskANN's practical construction, beam predictor lowers mean query latency on SSD-resident indices at matched recall by up to $29.6\%$ relative to classical beam search (CBS). Relative to ABS, it is faster in $11$ of $15$ settings, by up to $6.5\%$, and at most $1.4\%$ slower in the other $4$; at $95\%$ recall, its advantage over ABS grows from $0.8$--$4.2\%$ for $100$ neighbors to $4.6$--$5.6\%$ for $500$ neighbors. In memory, it needs $1.3$--$23.7\%$ fewer distance computations than CBS and $0.0$--$3.9\%$ fewer than ABS.

0.14

Improved Bounds for Directed SSSP in Sparse and Intermediate-Density Graphs

cs.DS ·2026-11-19 ·Valery, Grishin, Aryeh Lev Zabokritskiy
Abstract · 69 pages

We give a deterministic algorithm for exact single-source shortest paths (SSSP) in directed graphs with $n$ vertices, $m$ edges and nonnegative real edge weights. In the comparison-addition model, with unit-cost elementary operations on $O(\log(n+m+2))$-bit integer words, its running time for $m=O(n)$ is $O(n\sqrt{\log n}(\log\log n)^{1/4})$. For $m=Θ(n)$, this reduces the exponent of $\log\log n$ in the bound of Duan, Mao, Shu and Yin from $1/2$ to $1/4$ and removes the factor $(\log\log\log n)^{1/4}$ from the sparse bound stated in a public draft. The same algorithm improves on the bound of Duan et al. over a range of intermediate densities. At $m=Θ(n\sqrt{\log\log n})$, the running time is $O(n\sqrt{\log n}(\log\log n)^{5/8})$, reducing their exponent from $3/4$ to $5/8$. This is a consequence of a uniform bound for intermediate densities up to any fixed multiple of $n\log\log n$ edges; its validity range is larger than the range of strict improvement.

0.12

Approximation Algorithms for Asymmetric Multi-Path TSP

cs.DS ·2026-11-19 ·Manuel Christalla, Vera Traub
Abstract

Asymmetric Multi-Path TSP is the generalization of the Asymmetric Traveling Salesperson Problem where we are looking for $k$ walks, each with prescribed start $s_i$ and prescribed end $t_i$, such that every vertex is visited by at least one of the walks. The objective is to minimize the total length of all walks. In general, it is NP-hard to find any approximation for this problem in polynomial time (even if the approximation factor is allowed to depend on the number of vertices). We show that one can obtain an $O(k)$-approximation in time $n^{O(k)}$, answering an open question by Friggstad [2013]. For the special case where all tour start vertices $s_i$ are identical and all end vertices $t_i$ are identical, we obtain an $O(k)$-approximation in polynomial time, as well as an $(O(\frac{1}ε), 1+ε)$-bicriteria approximation. For the multi-depot setting, where $s_i =t_i$ for all $i$, we obtain a constant-factor approximation in polynomial time. Finally, our results imply improved constant-factor approximation algorithms for Asymmetric Regret-Bounded Vehicle Routing and unit-weight Path ATSP.

0.10