Local Computation Algorithms for Knapsack: impossibility results, and how to avoid them
Clément L. Canonne, Yun Li, Seeun William Umboh
TL;DR
This work probes Local Computation Algorithms for Knapsack, revealing strong impossibility barriers for sublinear LCAs to recover optimal, near-optimal, or maximal feasible solutions. It then unveils a positive result under a weighted sampling access model, delivering a sublinear LCA achieving a $$(1/2+\varepsilon)$$-approximation with complexity $$(1/\varepsilon)^{O(\log^{*}n)}$$ by leveraging reproducible learning concepts to enforce consistency. The approach fuses reductions to the OR problem for lower bounds with a reproducible-quantile framework to guide the sampling and reduction steps, culminating in a robust algorithmic blueprint for Knapsack in the LCA paradigm. The findings illuminate how additional access patterns (weighted sampling) and reproducibility concepts can circumvent impossibility barriers, potentially guiding LCAs for other combinatorial optimization tasks and motivating further investigation into average-case or distributional assumptions. The work thus advances the design space of LCAs, balancing impossibility with carefully constructed, access-aware strategies for sublinear, query-efficient computation.
Abstract
Local Computation Algorithms (LCA), as introduced by Rubinfeld, Tamir, Vardi, and Xie (2011), are a type of ultra-efficient algorithms which, given access to a (large) input for a given computational task, are required to provide fast query access to a consistent output solution, without maintaining a state between queries. This paradigm of computation in particular allows for hugely distributed algorithms, where independent instances of a given LCA provide consistent access to a common output solution. The past decade has seen a significant amount of work on LCAs, by and large focusing on graph problems. In this paper, we initiate the study of Local Computation Algorithms for perhaps the archetypal combinatorial optimization problem, Knapsack. We first establish strong impossibility results, ruling out the existence of any non-trivial LCA for Knapsack as several of its relaxations. We then show how equipping the LCA with additional access to the Knapsack instance, namely, weighted item sampling, allows one to circumvent these impossibility results, and obtain sublinear-time and query LCAs. Our positive result draws on a connection to the recent notion of reproducibility for learning algorithms (Impagliazzo, Lei, Pitassi, and Sorrell, 2022), a connection we believe to be of independent interest for the design of LCAs.
