Abstract
In this work, we study the classic problem of online weighted paging with a probabilistic prediction model. We introduce Distributional Online Paging (DOP), where algorithms are provided with distributions over future page requests. This research bridges the gap between theoretical worst-case paging bounds and practical machine-learning predictions. Our primary contribution is the introduction of the Per-Request Stochastic Prediction (PRSP) model, which demonstrates that knowing only a limited horizon of future request distributions is sufficient to achieve a constant competitive ratio, circumventing traditional lower bounds that scale with cache size.
The Challenge of Online Paging
In the classic online weighted paging problem, an algorithm manages a cache of size $k$. When a requested page is not present, it must be loaded at a cost equal to its weight. Standard competitive analysis is notoriously pessimistic: any deterministic algorithm is at least $k$-competitive, and even randomized ones are $\Omega(\log k)$-competitive against an oblivious adversary.
Recent "learning-augmented" research attempts to beat these bounds using predictions. While Distributional Online Paging (DOP) is a powerful framework, most existing research assumes knowledge of distributions for the entire future—an unrealistic assumption for real-world systems. This paper investigates whether near-optimal performance is possible with only a limited window into the future.
Methodology
LP Rounding for Full Horizon
The authors first address the full-horizon case by adapting a Linear Programming (LP) formulation from the "stochastic $k$-server" problem. Unlike standard paging LPs, which often have large integrality gaps, they utilize a stronger version that tracks specific cache "slots." They provide a rounding scheme to convert fractional LP values into concrete caching decisions, resulting in a 60-competitive algorithm.
The Per-Request Stochastic Prediction (PRSP) Model
To formalize the concept of a "limited horizon," the authors define the PRSP model. The horizon at any time $t$ is defined as the minimum window $[t, t']$ required such that for every page currently in the cache, the sum of its request probabilities is at least 1. This captures the intuition that an algorithm only needs to look ahead until it expects to see the cached items again.
The Split-and-Solve (SaS) Algorithm
To handle the limited horizon in practice, the authors introduce the Split-and-Solve (SaS) meta-algorithm. SaS divides the timeline into discrete phases. For each phase, it utilizes a full-horizon DOP algorithm as a "black box." A key technical hurdle was preventing errors from compounding across the timeline; the authors solve this by resetting the algorithm's cache state at the start of each phase to match an optimal offline solution of the previous phase's actual requests.
Key Results and Insights
- Constant Competitive Ratios: The authors prove the existence of an efficient algorithm for weighted DOP with a 60-competitive ratio. Furthermore, they show that if an $\alpha$-competitive algorithm exists for full-horizon DOP, then the SaS algorithm is $O(\alpha)$-competitive under the limited-horizon PRSP model.
- The Power of Expected Requests: The PRSP model's requirement—that the sum of probabilities reaches 1—suggests that as long as a prediction window covers the next expected arrival of cached items, sufficient information exists for constant-factor optimal decisions.
- Deterministic Equivalence: When the stochastic model is restricted to deterministic requests, it remains equivalent to state-of-the-art models (like SPRP), making this work a natural probabilistic generalization of existing theory.
Limitations and Future Work
While a constant ratio is a major theoretical milestone, a factor of 60 remains high for practical implementation. Future research may focus on tightening this constant. Additionally, the current model assumes that request distributions at different time steps are independent, whereas real-world page requests often exhibit temporal locality or complex dependencies. Finally, while the algorithm is polynomial-time, solving large LPs in real-time for high-speed cache management remains a significant engineering challenge.
Summary updated