Non-Linear Paging: Beyond Additive Cache Constraints
Introduction: The Limits of Linear Paging
In the classic paging problem, a cache of size $k$ manages a sequence of page requests. When the cache is full and a new page is requested, an existing page must be evicted. This model assumes "linear" paging, where each page occupies a fixed unit of space. However, real-world systems often exhibit non-linear behavior.
Submodular paging occurs when pages share common data "atoms," such as in shared memory systems or deduplicated storage. In this case, the total space occupied by a set of pages is less than the sum of their individual sizes. Conversely, supermodular paging involves dependencies or overheads that require extra space when certain items are stored together, common in network rule-caching.
The fundamental challenge is that traditional metrics like cache size $k$ fail to capture the complexity of these interactions. In non-linear settings, the competitive ratio of standard algorithms can become arbitrarily high, even for very small $k$.
Methodology: The Width Parameter and Primal-Dual Framework
To address these complexities, the authors move away from knapsack-style constraints. They introduce a new "width" parameter, $\ell$, defined as the maximum size of a "minimally infeasible set" (minus one). This parameter effectively generalizes the notion of cache capacity to the non-linear domain.
The core of their approach is a Primal-Dual framework based on a novel Linear Programming (LP) relaxation. Instead of modeling individual page sizes, the LP focuses on "breaking" infeasible sets of pages.
- Deterministic Algorithm: The authors develop an $\ell$-competitive deterministic algorithm. When a request makes the current cache infeasible, the algorithm identifies a minimal set of pages causing the violation and increases their dual variables. A page is evicted once its dual variable reaches its cost.
- Randomized Rounding for Supermodular Paging: For supermodular constraints—which generalize the Online Set Cover problem—the authors employ a more sophisticated online randomized rounding scheme. This involves "boosting" fractional variables and evicting pages with specific probabilities to maintain feasibility while minimizing total cost.
Key Results and Theoretical Bounds
The paper establishes several landmark results in the field of online algorithms:
- Tight Deterministic Bound: The $\ell$-competitive ratio achieved is proven to be tight for general non-linear paging.
- Randomized Complexity: The authors prove a lower bound of $o(\log^2 \ell)$ for randomized algorithms (assuming $NP \not\subseteq BPP$), demonstrating that non-linear paging is fundamentally more difficult than the classic $O(\log k)$ paging problem.
- Supermodular Performance: They provide the first randomized algorithm for supermodular paging with a polylogarithmic competitive ratio, specifically $O(\log^2 \mu \cdot \log(\dots))$, where $\mu$ is the maximum number of pages that can fit in the cache.
Conclusion and Future Directions
This work provides a unified framework for non-linear cache management, bridging the gap between submodular and supermodular constraints. While it provides tight deterministic bounds, the "integrality gap" of the primary LP remains a hurdle for achieving a polylogarithmic randomized algorithm in the general case. Future research may focus on rounding the strengthened LP proposed by the authors to further close the gap between the $O(\log \ell)$ performance of classic paging and the $o(\log^2 \ell)$ lower bound of the non-linear setting.
Summary updated