arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.14595cs.DS
收藏

计数背包问题的更快确定性近似算法

Faster Deterministic Approximation for Counting Knapsack

University of California Berkeley(加州大学伯克利分校);University of California San Diego(加州大学圣地亚哥分校)

Ce Jin, Jaewoo Park, Barna Saha

AI总结:

本研究针对#P难的#Knapsack问题,提出时间复杂度为Õ(n².4/poly(ε))的确定性(1+ε)近似算法,突破了此前确定性算法的n².5时间壁垒,核心创新为确定性模拟平衡技术。

摘要:

给定n个非负整数权重w₁,…,wₙ和整数背包容量T,#Knapsack问题要求计数满足∑_{i∈I}w_i ≤ T的子集I⊆{1,2,…,n}的数量,该问题属于#P难问题,已有大量研究致力于为其设计更快的(1±ε)近似算法。直到近期,已知最优时间复杂度为Õ(n².5/poly(ε)),由Dyer的随机算法(STOC 2003)和Gawrychowski、Markin与Weimann的确定性算法(ICALP 2018)实现。Feng和Jin的近期工作(SODA 2025)将随机算法的复杂度提升至Õ(n¹.5/poly(ε)),留下了确定性算法能否突破n².5这一壁垒的问题。本研究通过提出#Knapsack问题的确定性(1+ε)近似算法,以Õ(n².4/poly(ε))的时间复杂度给出了该问题的肯定答案,核心技术创新是确定性模拟平衡技术,该技术此前在背包类问题的研究中通过随机划分使用,似乎需要依赖随机化。

英文摘要:

Given $n$ nonnegative integer weights $w_1, \ldots, w_n$ and an integer knapsack capacity $T$, the $\#$Knapsack problem asks to count the number of subsets $I \subseteq \{1, 2, \dots, n\}$ such that $\sum_{i \in I} w_i \le T$. A long line of research has been devoted to designing faster $(1 \pm \varepsilon)$-approximation algorithms for this \#P-hard problem. Until very recently, the best-known time complexity was $\tilde{O}\bigl(n^{2.5}/\mathrm{poly}(\varepsilon)\bigr)$, achieved by the randomized algorithm of [Dyer, STOC 2003] and the deterministic algorithm of [Gawrychowski, Markin, and Weimann, ICALP 2018]. The recent work by [Feng and Jin, SODA 2025] improved the randomized complexity to $\tilde{O}\bigl(n^{1.5}/\mathrm{poly}(\varepsilon)\bigr)$, leaving open the question whether this $n^{2.5}$ barrier could also be broken by a \emph{deterministic} algorithm. In this work, we answer this question in the affirmative by presenting a deterministic $(1 + \varepsilon)$-approximation algorithm for \#Knapsack in $\tilde{O}\bigl(n^{2.4}/\mathrm{poly}(\varepsilon)\bigr)$ time. Our key technical innovation is to deterministically simulate the balancing technique, which was previously used in the literature of knapsack-type problems via random partitions and seemed to require randomization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑