Abstract
Paging is a fundamental online optimization problem where a system must manage a limited-capacity cache to minimize page faults. Recent advancements in learning-augmented algorithms have shown that predictions about future requests can drastically improve performance. However, these models often assume high-bandwidth advice that is impractical for real-time systems. This paper explores the power of "succinct" predictions, demonstrating that even a single bit of advice per request can lead to near-optimal results. We introduce a new metric, $(\alpha, \beta, \gamma)$-competitiveness, to evaluate algorithms under asymmetric prediction errors and provide robust randomized strategies for both discard and phase-based prediction models.
1. Introduction
In the classic paging problem, an algorithm manages a cache of size $k$ to serve a sequence of requests for pages from a larger memory. When a requested page is not in the cache (a "page fault"), the algorithm must evict an existing page to make room. While the optimal offline algorithm (Longest Forward Distance, or LFD) is well-understood, online algorithms must make decisions without certain knowledge of the future.
Learning-augmented algorithms bridge this gap by incorporating machine learning predictions. However, most existing literature assumes the algorithm receives complex data, such as the exact time of the next request. In high-speed systems, the overhead of communicating such detailed advice can outweigh the benefits. This research focuses on the absolute minimum: What can be achieved with just one bit of advice per request?
2. The Succinct Prediction Framework
The authors analyze two primary models for one-bit predictions:
- Discard Predictions: The bit indicates whether the optimal offline algorithm (LFD) would evict the requested page before its next appearance.
- Phase Predictions: The bit indicates whether the page will be requested again within the current "phase"—a standard theoretical construct used to partition request sequences.
2.1 Measuring Performance: $(\alpha, \beta, \gamma)$-Competitiveness
Standard competitive analysis often fails to capture the nuances of prediction errors. The researchers propose a refined metric, $(\alpha, \beta, \gamma)$-competitiveness, which distinguishes between three performance factors:
- $\alpha$ (Consistency): The competitive ratio when predictions are perfectly accurate.
- $\beta$ (Type 0 Error Penalty): The cost incurred when the predictor fails to flag a page for eviction (false negative).
- $\gamma$ (Type 1 Error Penalty): The cost incurred when the predictor incorrectly suggests evicting a page that should be kept (false positive).
3. Key Algorithms and Results
The paper develops several algorithms that leverage these succinct bits, moving from deterministic strategies to more sophisticated randomized ones.
3.1 Discard Predictions
For discard predictions, the authors introduce MARK0, a variation of the classic randomized Marking algorithm.
- Deterministic Bounds: A simple "flush-when-full-of-zeros" strategy is shown to be $(1, k-1, 1)$-competitive.
- Randomized Performance: MARK0 achieves $(1, 2H_k, 1)$-competitiveness, where $H_k \approx \ln k$. This demonstrates that randomization significantly mitigates the impact of Type 0 errors.
3.2 Phase Predictions
Using phase-based advice, the authors present MARK&PREDICT. This algorithm achieves $(2, H_k, 1)$-competitiveness. A notable feature of this approach is its "smoothness": the impact of Type 1 errors ($\gamma$) decreases as the total number of optimal faults increases, making it highly effective for long request sequences.
4. The Asymmetry of Error
A central insight of this work is the asymmetry of error. In paging, "wrongly keeping" a page is far more detrimental than "wrongly evicting" one. An unnecessary eviction costs exactly one extra page fault. However, keeping a "bad" page occupies a slot in the cache that could have been used to prevent multiple subsequent faults, leading to a cascade of inefficiency. The $(\alpha, \beta, \gamma)$ framework explicitly accounts for this, allowing for the design of algorithms that are biased toward robustness against high-cost errors.
5. Conclusion and Future Directions
This research proves that high-bandwidth advice is not a prerequisite for high-performance paging. One bit, if utilized correctly, allows algorithms to approach offline optimality while remaining robust against predictor noise.
Future work remains in addressing the "Large $\eta_1$" gap, where frequent Type 1 errors can degrade performance. Additionally, the concept of succinct predictions holds promise for other online problems, such as the $k$-server problem or job scheduling, where low-overhead advice is essential for practical implementation.
Summary updated