跳到正文
研踪PaperTrail

论文库

检索计算机领域论文,按研究方向、作者或关键词筛选。

部分采集异常
正在读取账号与研究记录…

全站更新概况

+0新增论文
+0其中 AI 相关
+0已有论文修订
+0新增 AI 导读

arXiv 最近完成扫描:2026-11-28 09:33 · 全站最近入库:2026-11-26 12:29各信源进度 →

统计口径与数据新鲜度

统计 2026-11-28 07:22 — 2026-11-29 07:22(北京时间) · 点击数字查看对应简报;AI 相关包含在新增论文内。

最近完成检查:2026-11-28 09:33最近发现新增版本:2026-11-26 12:29库内论文最新更新时间:2026-11-26 08:00

每分钟刷新已保存的数据。空检查不代表采集异常;新收录可能包含历史论文。AI 导读按新增版本计数。

34,433 已收录论文28,422 AI 相关10,935 有修订112 HF 社区发现

浏览论文库

时间范围跟随排序:版本更新、本站收录或首次发表。最新收录可能包含历史论文。部分信源异常,查看状态 →

找到 967 篇论文 · 按版本更新时间排序上轮扫描起点 2026-11-28 09:30(北京时间)
版本更新 · v2arXiv:2611.27945

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

Ahmed Shalaby, Damien Woods

原文摘要

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.

cs.DS

版本更新 · v3arXiv:2611.17215

Faster Deterministic All-Pairs Shortest Paths with Real Edge Weights

Isaac Barouch Essayag, Aryeh Lev Zabokritskiy

原文摘要

We give a deterministic algorithm for exact all-pairs shortest paths (APSP), that is, all distances, in directed $n$-vertex graphs with arbitrary finite real edge weights and no negative cycles. Its worst-case running time is $O(n^{2.9929729})$ with the recent rectangular matrix multiplication bound $ω(1,\tfrac12,1)=2$, and $O(n^{2.99306273})$ with earlier rectangular bounds alone; both improve the deterministic bound $O(n^{2.9997})$ and the Las Vegas expected-time bound $O(n^{2.993805})$. The algorithm runs on a real RAM whose only real-number operations are exact addition, subtraction, and comparison, each at unit cost.

cs.DS

版本更新 · v2arXiv:2607.06221

Breadth-First Search in Succinct Planar Graphs

Johannes Meintrup

原文摘要

An encoding for a graph class $\mathcal{G}$ is called succinct if it uses $Z_{\mathcal{G}}(n)+o(Z_{\mathcal{G}}(n))$ bits, where $Z_{\mathcal{G}}(n)$ is the information-theoretic minimum number of bits needed to distinguish between $n$-vertex graphs of $\mathcal{G}$; it is called compact if it uses $O(Z_{\mathcal{G}}(n))$ bits. For planar graphs, $Z_{\mathcal{G}}(n)=Θ(n)$. We present a succinct encoding of planar graphs that supports executing a breadth-first search directly on the encoding. The succinct encoding can be constructed in expected $O(n)$ time using $O(n)$ bits during construction; a compact variant can be constructed in deterministic $O(n)$ time using $O(n)$ bits. Once the encoding is constructed, a BFS from any start vertex can be computed in $O(n)$ time using $o(n)$ additional bits, including the space needed to represent the BFS tree. The resulting BFS tree $T$ remains available for standard tree operations, such as traversal, parent and child queries, layer queries, and lowest common ancestor queries, in constant time per query and amortized constant time per output element. The encoding also supports standard graph queries. Finally, all BFS and tree-query results generalize to separable graph classes, with graph-class-specific construction time and space for the encoding.

cs.DS · cs.IT

新论文 · v1arXiv:2611.30332

First-Order Entropic Sampling of Words with Prescribed Letter Counts in Linear Time

Olivier Bodini, Francis Durand

原文摘要

We sample, exactly and uniformly, a word of length n over the alphabet {0, . . . , r} in which the letter j occurs a prescribed positive number k j of times, from a source of fair random bits. Every exact sampler reads on average at least H = log 2 (___ n k0,...,kr )___ bits. We give a sampler that reads on average at most H fresh bits, whatever r and the counts, and that performs O(n) bit operations on average over every fixed alphabet, in a bit-RAM in which a memory access costs O(1) while arithmetic is charged bit by bit. Both bounds are optimal: the first one to first order, the second one up to a constant factor, since writing the output already costs $Θ$(n). The sampler writes the word as a Huffman tree of independent binary words, and samples each of them in one of two ways. Binary words with few ones are generated by random insertions; the rank of each inserted letter among its copies, which the Fisher-Yates shuffle generates for nothing, is uniform and independent of the word, and is given back to a recycling source of uniform integers, where it pays for the next insertions. Binary words with many ones are generated by MergeShuffle driven by blocks of $Θ$(log n) bits of entropy; a block is decoded by locating only its ones when the minority letter is rare, and otherwise, its number of ones being concentrated, by a precomputed table of the blocks of typical type, of size O( $\sqrt$ n log 4 n), the rare atypical blocks being decoded slowly.

cs.DS

新论文 · v1arXiv:2611.30319

Weighted Flow Time Does Not Admit Constant-Competitive Randomized Algorithms

Alexander Lindermayr

原文摘要

We study online preemptive scheduling on a single machine with the objective of minimizing the total weighted flow time. Bansal and Chan (SODA 2009) showed that no deterministic online algorithm is $O(1)$-competitive for this problem. We show that no randomized online algorithm is $O(1)$-competitive against an oblivious adversary either. This settles the remaining case of the long-standing question whether the problem admits an $O(1)$-competitive online algorithm. Quantitatively, every randomized online algorithm has a competitive ratio in $Ω(\min\{\log\log W,\log\log\log\min\{P,D,n\}\})$, where $n$ is the number of jobs and $W$, $P$, and $D$ are the ratios of the largest to the smallest job weight, size, and density (weight divided by size), respectively. The lower bound also holds with high probability, with the same asymptotic dependence on the instance parameters. For every $ρ\ge1$ and every randomized online algorithm, there is an instance on which the cost of the algorithm is at least $ρ$ times the optimal cost with probability at least $1-2^{-2^ρ}$. Both lower bounds hold even if the algorithm knows in advance the size and weight of every job in release order and, for any fixed $\varepsilon>0$, every interarrival time up to a factor of $1+\varepsilon$.

cs.DS

新论文 · v1arXiv:2611.30206

Location-Aware Matching Statistics

Lorraine A. K. Ayad, Grigorios Loukides, Solon P. Pissis

原文摘要

Edit distance is the standard measure of string similarity, but its quadratic-time complexity is prohibitive for long strings. Popular linear-time alternatives, such as the $q$-gram distance, or the average common substring measure (ACS) that is based on matching statistics (MS), consider the substrings shared by the two input strings but not where they occur in each string. Yet in many real-world applications, e.g., when comparing document versions or co-recorded time series, a shared substring is really relevant only if its occurrences are close in position. We introduce Location-Aware Matching Statistics (LAMAS). Given strings $X$ and $Y$ and a displacement tolerance $d$, LAMAS reports, for every position $i$ of $Y$, the longest substring starting at $i$ that occurs in $X$ at a position $j$ with $|j-i|\le d$, together with the displacement $(j-i)$. MS is the special case of LAMAS with unbounded $d$. Our main result is an algorithm that solves LAMAS in $\mathcal{O}(n)$ time and space for strings of length at most $n$ and any $d$; this is optimal and matches the complexity of MS. The algorithm reduces LAMAS to predecessor and successor queries over a sliding window of suffix ranks and answers them in linear total time via a window decomposition and interval union-find. Experiments on 20 real datasets and synthetic data show that LAMAS substantially improves over MS and $q$-gram distance in similarity-based classification, top-$K$ retrieval, and clustering. It is competitive with edit distance and a constrained dynamic time warping variant in classification and generally outperforms a state-of-the-art method for top-$K$ retrieval under edit distance. Finally, our implementation of the main algorithm for LAMAS scales linearly in $n$ and does not slow down as $d$ grows.

cs.DS · cs.DB

新论文 · v1arXiv:2611.30187

Quantum simulation of low-temperature impurity models

Jiaqing Jiang, Nathan Ju

原文摘要

Quantum impurity models, which describe a small but strongly-interacting subsystem coupled to a large noninteracting bath, are the computational core of dynamical mean field theory and play an important role in simulating strongly correlated materials. We develop quantum algorithms for efficiently simulating these models at low temperatures and with high precision. For any impurity model on $n$ fermionic modes with fixed impurity size: (1) We give a quantum algorithm that prepares the thermal state at inverse temperature $β$ to precision $δ$ in time $\mathrm{poly}(n,β,\log(1/δ))$. This algorithm is the first to achieve both polynomial scaling in the inverse temperature and polylogarithmic scaling in the precision. When the Hamiltonian has an inverse-polynomial spectral gap, our quantum algorithm prepares its ground state to precision $δ$ in time $\mathrm{poly}(n,\log(1/δ))$. (2) We further give a quantum algorithm that prepares a purification of the thermal state in time $\mathrm{poly}(n,β,\log(1/δ))$. Using this purification, we estimate static and dynamical properties with error $δ$ in time polynomial in $n$ and $β$ and linear in $1/δ$ up to polylogarithmic factors, achieving the Heisenberg scaling. Our algorithms build on quantum Gibbs samplers, which are quantum analogues of Markov chain Monte Carlo methods. By using global jump operators instead of local ones, we avoid the $\exp(β)$ overhead commonly associated with quantum Gibbs samplers, making them efficient for impurity models even at low temperatures.

quant-ph · cond-mat.str-el · cs.DS

新论文 · v1arXiv:2611.30146

Optimal Private Gaussian Multi-sampling

Raoof Zare Moayedi, Mohammad Hossein Yassaee, Javad B. Ebrahimi

原文摘要

We give polynomial-time algorithms for Gaussian multi-sampling under approximate $(\varepsilon,δ)$-differential privacy, with optimal sample complexity up to logarithmic factors. Our main construction uses $\widetilde{O}(m+d\sqrt{m}/\varepsilon)$ independent input samples from a $d$-dimensional Gaussian $P$ with unknown mean and covariance to generate $m$ exactly independent outputs. Their joint distribution is $α$-close in total variation to $P^{\otimes m}$. Our lower bounds hold even for dependent outputs under the same joint accuracy guarantee, showing that exact independence incurs no additional sample cost beyond logarithmic factors. The single-sampler of Iverson, Kamath, and Mouzakis [COLT 2025] uses $\widetilde{O}(d/\varepsilon)$ input samples. Running it on a separate input dataset for each of $m$ outputs therefore costs $\widetilde{O}(md/\varepsilon)$ in total. Our construction reduces this dimension-dependent sample cost from linear to square-root dependence on the number of outputs. Our approach builds on the stable weighted statistics of Brown, Hopkins, and Smith [COLT 2023], also used for Gaussian single-sampling by Iverson, Kamath, and Mouzakis. To control privacy loss when the entire batch shares these statistics, we compare the joint output densities and obtain a privacy bound that scales with the square root of the batch size. The stability step downweights influential records and can reject the entire batch. Both actions can make the outputs dependent. Our correction restores exact independence while preserving differential privacy and joint accuracy.

cs.DS · cs.CR · cs.IT · cs.LG

版本更新 · v3arXiv:2611.07346

GreedTok Is a 0.3287-Approximation, and Greedy Tokenizers Lose Order $1/\log k$ on Fixed Alphabets

Kundan Baliga, Aiden Xie, Aditya Byju

原文摘要

A tokenizer's vocabulary is built once and used on every input, so it matters how much compression a greedy construction can lose. We study two greedy constructions: GreedTok (Lim et al., 2025), which adds the string that saves the most tokens, and byte-pair encoding (BPE), which merges a most frequent adjacent pair. We prove that GreedTok saves at least $0.3287$ of the optimal number of tokens saved on every corpus, while no constant above $0.33862$ is possible. The key idea is that, given the order of greedy's choices, the damage inside an optimal token is fixed by two numbers. On a fixed alphabet both algorithms are asymptotically optimal and their worst deficit with budget $k$ has order $1/\log k$: one counting argument gives the upper bound for both, and one binary corpus, whose first greedy commitment erases a boundary between optimal tokens, gives the matching lower bound for both (for GreedTok, on its committed segmentation), even if greedy's continuation may use almost twice the budget. For BPE on one binary string, a forced first merge can cost $Ω(k)$ final tokens, yet $2k+3$ rules always repair it.

cs.DS

版本更新 · v2arXiv:2602.00874

Sublinear Time Quantum Algorithm for Attention Approximation

Zhao Song, Jianfei Xue, Jiahao Zhang, Lichen Zhang

原文摘要

Given the query, key and value matrices $Q, K, V\in \mathbb{R}^{n\times d}$, the attention module is defined as $\mathrm{Att}(Q, K, V)=D^{-1}AV$ where $A=\exp(QK^\top/\sqrt{d})$ with $\exp(\cdot)$ applied entrywise, $D=\mathrm{diag}(A\mathbf{1}_n)$. The attention module is the backbone of modern transformers and large language models, but explicitly forming the softmax matrix $D^{-1}A$ incurs $Ω(n^2)$ time, motivating numerous approximation schemes that reduce runtime to $\widetilde O(nd)$ via sparsity or low-rank factorization. We propose a quantum data structure that approximates any row of $\mathrm{Att}(Q, K, V)$ using only row queries to $Q, K, V$. Our algorithm preprocesses these matrices in $\widetilde{O}(ε^{-1} n^{0.5} (s_λ^{3} + s_λ^{2} d + d) + ε^{-2} s_λd)$ time, where $ε$ is the target accuracy and $s_λ$ is the $λ$-statistical dimension of the exponential kernel defined by $Q$ and $K$. Each row query can be answered in $\widetilde{O}(s_λ^2 + s_λd)$ time. If every row sum of $A$ exceeds $ε\|A\|+λ\sqrt n$, then with probability $1-1/\mathrm{poly}(n)$ the answers have Frobenius-norm error $O(β\|D^{-1}\|(ε\|A\|_F+λ\sqrt n)\|V\|_F)$. Here $β=(1-(ε\|A\|+λ\sqrt n)\|D^{-1}\|)^{-1}\geq 1$ is close to $1$ when every row sum is much larger than $ε\|A\|+λ\sqrt n$. To our knowledge, this is the first quantum data structure that approximates rows of the attention matrix in sublinear time with respect to $n$. Our approach relies on a quantum Nyström approximation of the exponential kernel, quantum multivariate mean estimation for computing $D$, and quantum sampling of the rows of $V$ by their squared norms, with a median over independent samples, for the multiplication with $V$.

quant-ph · cs.DS · cs.LG

版本更新 · v2arXiv:2512.18060

Graph-based Nearest Neighbors with Dynamic Updates via Random Walks

Nina Mishra, Yonatan Naamad, Tal Wagner, Lichen Zhang

原文摘要

Approximate nearest neighbor search (ANN) is a common way to retrieve relevant search results, especially now in the context of large language models and retrieval augmented generation. One of the most widely used algorithms for ANN is based on constructing a multi-layer graph over the dataset, called the Hierarchical Navigable Small World (HNSW). While this algorithm supports insertion of new data, it does not support deletion of existing data. Moreover, deletion algorithms described by prior work come at the cost of increased query latency, decreased recall, or prolonged deletion time. In this paper, we propose a new theoretical framework for graph-based ANN based on random walks. We then utilize this framework to analyze a randomized deletion approach that approximately preserves hitting time statistics compared to the graph before deleting the point. However, this guarantee needs at least as many edge samples as there are edges in the clique over the neighbors of the deleted point. We then turn this theoretical framework into a deterministic deletion algorithm, and show that it provides a better tradeoff between query latency, recall, deletion time, and memory usage through an extensive collection of experiments.

cs.DS · cs.LG

新论文 · v1arXiv:2611.30002

A Deterministic Polynomial-Query Protocol for Envy-Free Cake Cutting

Haris Aziz

原文摘要

We give a deterministic protocol that divides a heterogeneous cake completely and without envy among $n$ agents using $O(n^6\log n)$ Robertson--Webb queries in the worst case. Valuations may be arbitrary nonnegative, nonatomic measures, and bundles may be disconnected. The protocol makes $O(n)$ calls to certified trimming, which uses $O(n^5\log n)$ queries on $n$ pieces. In a certified trim, each agent receives the end part, or suffix, of a different piece without envy, and every shortened piece has a witness tie leading back to a whole piece. At each step, the witness values the shortened suffix exactly as much as her own. For pieces of positive interval length with strictly increasing suffix values, the retained suffix lengths are unique, although their holders may differ. Candidate assignments share a table of value and cut queries. If the coordinatewise median of their value estimates fails a matching test, the test identifies an agent whose value is underestimated, ruling out at least half the remaining assignments. A weighted median of cut marks lets one repair step remove a small envy while allocating almost all of the residue. For complete envy-free chore allocation, the query bound is $O(n^7\log n)$.

cs.GT · cs.DS

新论文 · v1arXiv:2611.29952

Constrained Online Selection with Predictions: Matroid Secretary, Knapsack, and Matching

Hedyeh Beyhaghi, Tao Zixu He, Cameron Musco

原文摘要

We study learning-augmented algorithms for constrained online selection problems, including the secretary problem under matroid and knapsack constraints, and the edge-weighted online bipartite matching problem with random vertex arrivals. In each, items arrive in a uniformly random order, and their values are revealed only on arrival. The goal is to select a set of items with nearly maximum total value, subject to the constraints (matroid, knapsack, or matching). In the learning-augmented setting, item value predictions are given in advance. We seek algorithms that are both consistent, in that accurate predictions lead to near-optimal selection, and robust, in that they obtain strong worst-case bounds even when predictions are inaccurate. Building on work of Fujii and Yoshida (2024) on the learning-augmented secretary problem, we study a method that follows the predicted optimum until an item with a large enough prediction error is observed. At that point, it reverts to running a worst-case competitive algorithm. We make a simple but critical modification: the first item with a large prediction error is selected with a carefully chosen probability. With this modification, we prove a general result, showing that if the underlying worst-case algorithm is $α$-competitive for $α\in(0,1]$, this approach achieves competitive ratio $\max\{\fracα{2(1+α)},\frac{1-ε}{1+ε}\}$, where $ε$ is the maximum relative error of any prediction. That is, the algorithm is perfectly consistent, achieving competitive ratio $1$ as $ε\to 0$, and robust up to a constant factor relative to the worst-case baseline. For all three problems we study, $α= 1/e$, and our result is the first to achieve consistency and constant-factor robustness. We hope that our general analysis framework can be applied to other learning-augmented online decision-making problems.

cs.DS

版本更新 · v4arXiv:2411.19906

A characteristic-graph reduction for deterministic L-system inference with classical and quantum-heuristic solvers

Ali Lotfi, Ian McQuillan, Steven Rayan

原文摘要

L-systems are widely used to model and simulate biological growth processes, including plant development. Motivated by the broader goal of automating L-system construction, this paper studies the formal deterministic context-free L-system (D0L-system) inference problem in which the input is a finite, noise-free sequence of strings. We introduce the characteristic graph of a string sequence and prove that the existence of a compatible D0L-system is equivalent to the existence of an independent set of a prescribed size in this graph. This gives polynomial reductions from D0L inference to maximum independent set (MIS) and SAT, and hence an exact classical decision route when combined with an exact MIS or SAT solver. We also describe a Quantum Approximate Optimization Algorithm (QAOA)-based quantum heuristic for generating candidate independent sets. This heuristic is not a decision procedure for D0L inference, and failure of the heuristic is inconclusive rather than a certificate of nonexistence. We include computational validation on $22$ generated D0L traces and $8$ negative controls, explicitly incorporate known fixed-identity symbols, and report small statevector QAOA simulations. The quantum component is presented as a proof-of-concept candidate generator, not as a claimed quantum speedup; the immediately useful contribution is the characteristic-graph reduction and the exact classical/SAT decision framework it enables.

quant-ph · cs.CL · cs.DS · cs.FL · cs.LG

版本更新 · v2arXiv:2605.17760

Tolerant Testing for Bipartiteness and Unique Games

Yuichi Yoshida

原文摘要

We give a tolerant bipartiteness tester in the adjacency-list model on arbitrary simple undirected graphs. Let \(n\) be the number of vertices and \(m>0\) the known number of edges. For \(0<\varepsilon<ρ<1/10\), write \(λ_ρ:=ρ/(1+\log(1/ρ))\). If \(\varepsilon\log n\le cλ_ρ^2\) for a sufficiently small absolute constant \(c>0\), the tester distinguishes graphs that can be made bipartite by deleting at most an \(\varepsilon\) fraction of their edges from graphs requiring deletion of at least a \(ρ\) fraction, using \[ \widetilde O\!\left( \frac{\sqrt{n/ρ}}{λ_ρ^{3/2}} +\frac1{λ_ρ^2} +\frac{n}{\sqrt m\,λ_ρ}\right) \] queries, where the suppressed factors are polylogarithmic in \(n,1/ρ\). For fixed \(ρ\), the query bound is \(\widetilde O(\sqrt n+n/\sqrt m)\). We prove an \(Ω(\sqrt n+n/\sqrt m)\) query lower bound. The tester extends to Unique Games over any alphabet size \(Q\ge2\), under the same tolerance condition with \(c\) independent of \(Q\), with a polylogarithmic overhead in \(Q\) in the query complexity. Each constrained neighbor query returns the entire edge permutation.

cs.DS

新论文 · v1arXiv:2611.29854

Tight Query Depth of Recursive Randomized Greedy MIS

Slobodan Mitrović, Wen-Horng Sheu

原文摘要

The randomized greedy maximal independent set (RGMIS) algorithm processes vertices in a uniformly random order and greedily constructs an MIS. Its recursive formulation decides whether a vertex belongs to this MIS by querying lower-ranked neighbors in increasing rank order, stopping when a neighbor in the MIS is found. We prove that, on every $n$-vertex graph, this recursive algorithm has $O(\log n)$ query depth with high probability, even without memoization. The bound holds simultaneously for all starting vertices and is asymptotically tight even on bipartite graphs. The proof combines a bound on the total expected number of query paths with an exposure argument: paths with many two-edge shortcuts are unlikely, while the remaining paths admit sufficiently many applications of a two-hop probability bound.

cs.DS

版本更新 · v2arXiv:2112.06278

Approximating TSP walks in subcubic graphs

Michael C. Wigal, Youngho Yoo, Xingxing Yu

原文摘要

We prove that every simple 2-connected subcubic graph on $n$ vertices with $n_2$ vertices of degree 2 has a TSP walk of length at most $\frac{5n+n_2}{4}-1$, confirming a conjecture of Dvořák, Král', and Mohar. This bound is best possible; there are infinitely many subcubic and cubic graphs whose minimum TSP walks have lengths $\frac{5n+n_2}{4}-1$ and $\frac{5n}{4} - 2$ respectively. We characterize the extremal subcubic examples meeting this bound. We also give a quadratic-time combinatorial algorithm for finding such a TSP walk. In particular, we obtain a $\frac{5}{4}$-approximation algorithm for the graphic TSP on simple cubic graphs, improving on the previously best known approximation ratio of $\frac{9}{7}$.

math.CO · cs.DM · cs.DS

版本更新 · v2arXiv:2606.01693

Packed-Ring Queues: Lock-Free and Wait-Free Concurrent Queues on GPU

Pratheek Prakash Shetty, Thomas R. W. Scogland, Wu-chun Feng

原文摘要

Concurrent queues are a foundational building block of parallel programming. On CPUs, decades of research have produced queue designs with well-understood correctness and progress guarantees -- from lock-free rings to wait-free constructions. On GPUs, where queues increasingly sit on the critical path of device-side task graphs and GPU-initiated I/O, no comparable foundation exists: SIMT execution serializes divergent retries across a warp; tens of thousands of threads contend on the same counter words; the double-width atomics that several CPU designs assume are absent; and GPU memory models are weakly ordered, so the classical algorithms do not transfer unchanged. We present the packed-ring queues (PRQs) -- two linearizable, bounded GPU queues that represent each compound atomic state in one native word of at most 64 bits: (1) PRQ-LF, a lock-free ring whose warp-batched fast path issues one atomic per warp on each of the queue's contended words, and (2) PRQ-WF, a wait-free ring in which peer threads cooperatively complete any operation that falls behind. To the best of our knowledge, PRQ-WF is the first GPU concurrent queue whose wait-freedom is proved as a theorem, with no assumption about how the GPU schedules threads. Across four GPUs from two vendors (NVIDIA A100 and GH200, AMD MI210 and MI300A), PRQ-LF outperforms the blocking Broker Queue by 5.0-20.4x at 32K threads, and PRQ-WF sustains throughput under producer/consumer imbalance where a prior design completes fewer than 0.1% of its attempts.

cs.DC · cs.DS

新论文 · v1arXiv:2611.29809

Improved Approximation Algorithms for Multi-Path TSP and Ordered TSP

Morteza Alimi, Michael Ruderer

原文摘要

In Multi-Path TSP, given a metric and $k$ pairs of vertices $(s_i,t_i)$, where $k$ is part of the input, we seek $s_i$--$t_i$ paths of minimum total length that together visit all vertices. Ratios below $2$ were known only for graphic metrics and special cases such as multiple depots ($s_i=t_i$); in general metrics, the best ratio was $1+2e^{-1/2}\approx2.213$, by a randomized algorithm of Böhm, Friggstad, Mömke and Spoerhase [SODA 2025]. We give a deterministic algorithm with ratio $\frac{5e-2}{3e-2}<1.8833$ relative to a restriction of their LP relaxation, bounding its integrality gap by the same constant. For Ordered TSP, where a tour must visit $k$ given vertices in a prescribed cyclic order, we compute tours within $1+\frac{e}{2(e-1)}<1.7910$ times the value of the LP relaxation of Armbruster, Mnich and Nägele [APPROX 2024], improving $\frac32+\frac1e\approx1.868$ on both the ratio and the integrality gap. Our algorithms sample a tree for every pair (for Ordered TSP, every two consecutive given vertices) from an LP solution, but keep only the path between the two endpoints. Our main lemma shows that, for arbitrary nonnegative edge weights, a cheapest forest connecting all vertices to these paths has expected weight at most $1/e$ times that of a cheapest forest rooted at the endpoints plus $(1-1/e)$ times the expected weight of the discarded branches. For Multi-Path TSP, we use the weights of a primal--dual growth process that Zhao, Liu and Xiao [arXiv 2026] designed for multiple depots; in these weights, the connecting forest also pays for part of correcting its degree parities.

cs.DS

版本更新 · v2arXiv:2611.26135

Tight Bounds for Distance-Unbiased Sorting

Mats Bierwirth, Carola Doerr, Johannes Lengler

原文摘要

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.

cs.DS

版本更新 · v4arXiv:2607.13284

Tight Bounds for $(1+ε)$-Approximation for Minimum Spanning Trees in Doubling Metrics

Jan Höckendorff, Felix Hommelsheim, Christian Sohler, Di Yue

原文摘要

The minimum spanning tree (MST) problem is one of the most basic optimization problems on metric spaces and graphs. We study the problem of computing a $(1+ε)$-approximation to the MST of an $n$-point metric space of doubling dimension $\mathrm{ddim}$. In doubling metrics, previous deterministic algorithms incur a running time with dependence $ε^{-O(\mathrm{ddim})}$. We give a deterministic algorithm that computes a $(1+ε)$-approximate MST in time $$ O_{\mathrm{ddim}}\left(n\log n+ \min\left\{n^2,\frac{n}ε\log(1/ε)\right\}\right) $$ in the standard real RAM model with a unit-cost exact-distance oracle. For bounded doubling dimension, this improves the previous dependence on $ε$ to essentially linear in $ε^{-1}$. We complement this algorithm with a lower bound of $$ Ω\!\left(n\log n+ \min\left\{n^2,\frac{n}ε\log(1/ε)\right\}\right) $$ on running time in the same model, already for metrics of doubling dimension at most seven, showing that our running time is essentially tight. For points in $\mathbb R^d$ with $d = O(1)$, exploiting Euclidean geometry allows us to further improve the dependence on $ε$. We obtain a $(1+ε)$-approximate MST in expected time $$ O_d\left( n \log n + \min\left\{n^2, \frac{n}{ε^{1 - β_d}} \log^{1-β_d}(1/ε) \right\} \right) $$ for some $β_d=Θ(1/d)$, improving the accuracy-dependent term $nε^{-2}\log^2(1/ε)$ of Arya and Mount [SODA'16].

cs.DS

新论文 · v1arXiv:2611.29695

Two Rounds Are Already Hard for Loop-Free Updates of Routing Trees

Klaus-Tycho Foerster

原文摘要

Updating a routing tree can create loops even when the old and new trees lead to the same destination. A controller chooses which routers update in each round, but their updates may finish in any order. Strong loop freedom therefore requires every partial completion to be acyclic. We show that deciding whether two rounds suffice is NP-complete, even when a safe three-round schedule is supplied. The proof is a linear-size reduction from 3-SAT with one old clause spine and four routers per variable. Three types of mixed cycles enforce consistent literal choices and clause satisfaction. For every nonempty input formula, the constructed instance needs exactly two rounds if the formula is satisfiable and exactly three otherwise.

cs.NI · cs.DC · cs.DS

新论文 · v1arXiv:2611.29672

An $n^{1/O(\log^* n)}$ Lower Bound for Online Coloring of $k$-Colorable Graphs

Sajad Faghfoor Maghrebi

原文摘要

In online coloring, the vertices of a graph arrive one at a time with their edges to earlier vertices, and each vertex must be colored irrevocably on arrival. For graphs promised to be $k$-colorable, with $k\ge 3$ fixed, the best deterministic algorithms use $n^{1-Θ(1/k^2)}$ colors, while the best lower bound was Vishwanathan's $Ω(\log^{k-1}n)$ from 1990 until Li recently proved $2^{Ω((\log n)^{1/3}(\log\log n)^{2/3})}$. For every fixed $k\ge 3$ and all sufficiently large $n$, we prove a lower bound of $n^{1/(\log^*n+3)}$ colors for deterministic online algorithms on $n$-vertex $k$-colorable graphs, and the same lower bound in expectation for randomized online algorithms. Both bounds hold on a single triangle-free $3$-colorable graph: even an algorithm that is shown this graph in advance, but is not told which of its vertices each arriving vertex is, can be forced to use this many colors by a suitable arrival order. The hard instances are iterated blow-ups of a clique, in which every vertex becomes a block of independent vertices and every edge a private server in the earlier block; each blow-up keeps the forced colors and replaces the chromatic number $χ$ by about $\logχ$, so about $\log^*n$ blow-ups bring it down to $k$. We also show that deterministic lower bounds for different values of $k\ge 3$ are polynomially equivalent, and that no adversary presenting such iterated blow-ups can force more than $n^{1/(\log^*n-O(1))}$ colors. All numbered results are formalized in Lean 4.

cs.DS · cs.DM

版本更新 · v2arXiv:2611.26453

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

Valery, Grishin, Aryeh Lev Zabokritskiy

原文摘要

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. When $m=O(n)$, it runs in $O(n\sqrt{\log n}(\log\log n)^{1/4})$ time. For $m=Θ(n)$, this lowers the exponent of $\log\log n$ in the bound of Duan, Mao, Shu and Yin from $1/2$ to $1/4$. At intermediate densities, writing $d=m/n$, the same algorithm improves on the bound of Duan et al. when $d\geq 3$ and $d\log(2+d)=o(\log\log n)$. For example, when $m=Θ(n\sqrt{\log\log n})$, it runs in $O(n\sqrt{\log n}(\log\log n)^{5/8})$ time, lowering their exponent from $3/4$ to $5/8$.

cs.DS

新论文 · v1arXiv:2611.29660

Faster Directed SSSP on Digraphs with Random Sparse Supports or Few DFS Exceptions

Valery, Grishin, Aryeh Lev Zabokritskiy

原文摘要

We study exact single-source shortest paths (SSSP) in directed graphs with $n$ vertices, $m$ arcs and nonnegative real weights, in the comparison-addition model. This paper continues our earlier work, which gave a deterministic algorithm that takes $O(n\sqrt{\log n}(\log\log n)^{1/4})$ time when $m=O(n)$ and $O(n\sqrt{\log n}(\log\log n)^{5/8})$ time when $m=Θ(n\sqrt{\log\log n})$. Our two deterministic algorithms compute the distances on every input and take $O(n\sqrt{\log n})$ time on two families of inputs, one per density. The support of an input is its underlying simple undirected graph. When $m=O(n)$, the first algorithm takes $O(n\sqrt{\log n})$ time if no two simple cycles of the support with fewer than $P$ vertices share a vertex, where $P=Θ(\sqrt{\log n})$ depends only on the support. For fixed $c>0$, a uniformly random graph with $n$ vertices and $\lfloor cn\rfloor$ edges has this property with probability at least $1-n^{-1+o(1)}$, and the bound then holds for every choice of one or both directions of each edge, all weights and every source. The second family is defined through the depth-first search tree of the support that starts at the source and visits neighbours in identifier order. For fixed $k\ge1$, call a set $Y$ of exceptional vertices $k$-feasible if, for each nonroot vertex, at most $k$ of its proper ancestors are joined to its subtree by arcs whose endpoints avoid $Y$ and whose underlying edges lie outside the DFS tree. Given $k$ but not such a set, the second algorithm takes, for every $k$-feasible set $Y$ of total out-degree $d^+(Y)$, time $O_k(n+m+(1+|Y|)\log n+\sqrt{(n+m)d^+(Y)\log n})$. When $m=Θ(n\sqrt{\log\log n})$, this is $O_k(n\sqrt{\log n})$ if some $k$-feasible set has $O(n/\sqrt{\log n})$ vertices and total out-degree $O(n/\sqrt{\log\log n})$.

cs.DS

新论文 · v1arXiv:2611.29623

Randomized MST Certification beyond Cacti

Sina Ghasemi Nezhad

原文摘要

We study minimum spanning tree certification under explorable edge uncertainty. Edge weights lie in open intervals or singleton sets, and querying an edge reveals its weight at a known positive cost. On general graphs the best known randomized competitive ratio is $1+1/\sqrt2$, while the optimal ratio $3/2$ is known only for cacti. We go beyond cacti in two ways, with conditions that refer to the uncertain edges outside the upper-limit tree rather than to the graph alone. For unit query costs we give a $3/2$-competitive algorithm, which is best possible, whenever every block has at most two such edges; this includes all graphs whose blocks are cycles or theta graphs. The algorithm replaces the constant budget of the water-filling method by budgets chosen with lookahead to the next fundamental cycle. For arbitrary positive query costs and every fixed $k\ge1$, we obtain ratio $1+\sqrt{k/(2(k+1))}$ whenever every block has at most $k$ such edges, in particular when every block has cycle rank at most $k$. This is below $1+1/\sqrt2$ for every $k$, and we show that it is the best ratio attainable with a constant water-filling budget.

cs.DS

版本更新 · v2arXiv:2511.03752

Attractors Is All You Need: Parity Games In Polynomial Time

Rick van der Heijden

原文摘要

This paper provides a polynomial-time algorithm for solving parity games that runs in $\mathcal{O}(n^{2}\cdot(n + m))$ time-ending a search that has taken decades. Unlike previous attractor-based algorithms, the presented algorithm only removes regions with a determined winner. The paper introduces a new type of attractor that can guarantee finding the minimal dominion of a parity game. The attractor runs in polynomial time and can peel the graph empty.

cs.DS · cs.CC · cs.FL · cs.GT · cs.LO

版本更新 · v2arXiv:2611.26080

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

Hendrik Molter

原文摘要

We revisit running-time lower bounds historically based on the Exponential Time Hypothesis. We survey bounds that can be recovered from earlier work under FPT $\neq$ W[1] and prove seven lower bounds for graph problems and set systems under the same assumption. The new proofs encode clique choices in few bits and control the target parameter in terms of the encoding. This lets us turn a sufficiently fast algorithm for the target problem into a fixed-parameter algorithm for Clique or Multicolored Clique. In several cases, the new bound matches the function of the parameter in the historical exponent, with the additional requirement that the cutoff for any prescribed saving in the exponent be computable.

cs.DS · cs.CC

版本更新 · v3arXiv:2602.07732

Efficient Adaptive Data Analysis over Dense Data Distributions

Joon Suk Huh

原文摘要

Modern data workflows are inherently adaptive, repeatedly querying the same dataset to refine and validate sequential decisions, but such adaptivity can lead to overfitting and invalid statistical inference. Adaptive Data Analysis (ADA) mechanisms address this challenge; however, there is a fundamental tension between computational efficiency and sample complexity. For $T$ rounds of adaptive analysis, computationally efficient algorithms typically incur suboptimal $O(\sqrt{T})$ sample complexity, whereas for arbitrary distributions, algorithms with $O(\log T)$ sample complexity are computationally intractable under standard cryptographic assumptions. In this work, we shed light on this trade-off by identifying a natural class of data distributions under which both computational efficiency and logarithmic sample complexity in $T$ are achievable. We propose a computationally efficient ADA mechanism that attains $O(\log T)$ sample complexity, optimal in its dependence on $T$, when the data distribution is dense with respect to a known prior. This setting includes, in particular, feature-label data distributions arising in distribution-specific learning. As a consequence, our mechanism also yields a sample-efficient (i.e., $O(\log T)$ samples) statistical query oracle in the distribution-specific setting. Moreover, although our algorithm is not based on differential privacy, it satisfies a relaxed privacy notion known as Predicate Singling Out (PSO) security (Cohen and Nissim 2020) whenever the number of its possible update transcripts is polynomial in the sample size. Our results thus reveal an inherent connection between adaptive data analysis and privacy beyond differential privacy.

cs.LG · cs.DS