Optimistic No-regret Algorithms for Discrete Caching

Naram Mhaisen, Abhishek Sinha, Georgios S. Paschos, Georgios Iosifidis · DOI

Abstract

This paper introduces a new suite of "optimistic" algorithms for discrete caching that leverage prediction oracles, such as neural networks, to achieve superior performance. Unlike traditional methods that prepare for the worst-case scenario, these algorithms adapt to the quality of predictions—achieving near-zero regret when predictions are accurate while maintaining robust, provable guarantees even when predictions are completely wrong.

Introduction

Caching—storing popular files locally to speed up access—is a cornerstone of modern networking, from Content Delivery Networks (CDNs) to mobile devices. Most traditional policies like Least-Recently-Used (LRU) rely on simple heuristics that fail when file popularity shifts rapidly. Recent research has turned to Online Convex Optimization (OCO) to provide "no-regret" guarantees, meaning the algorithm performs nearly as well as the best fixed strategy in hindsight.

However, these methods often suffer from two major flaws: they are designed for the absolute worst-case request sequence (pessimism) and they assume files can be split into infinitely small chunks (continuity assumption), which is impractical for real-world discrete caching. This work tackles discrete caching in an optimistic framework, using potentially unreliable predictions to boost performance without losing safety nets.

Methodology

The authors propose several novel algorithms based on "adaptive smoothing" techniques to integrate predictions into the decision-making process.

Overview of the optimistic caching framework and the iterative learning process.

OFTRL-Cache and OFTPL-Cache

The Optimistic Follow-The-Regularized-Leader (OFTRL-Cache) algorithm uses a proximal regularizer that adjusts based on prediction error, achieving "zero-regret" for perfect predictions. To handle the discrete nature of files, the authors employ Madow’s Sampling to round continuous decisions into valid discrete ones.

Recognizing that OFTRL requires an expensive projection step, the authors also designed OFTPL-Cache (Optimistic Follow-The-Perturbed-Leader). This variant adds noise to the leader's cumulative utility, with the noise level tuned to the observed prediction error. This approach is significantly faster ($O(N)$ complexity) and avoids complex projections.

Handling Complexity and Meta-Learning

For complex scenarios like files of different sizes (Knapsack problem) or multi-cache networks (bipartite), the authors combine their optimistic framework with approximation schemes like DepRound. Additionally, an expert-based meta-algorithm is proposed that treats pessimistic and optimistic learners as "experts," dynamically shifting trust between them based on real-time performance.

Evaluation and Key Results

The algorithms were evaluated using real-world traces from the MovieLens dataset (~10,000 files) and YouTube campus network traffic.

  • Performance Boost: With 75% accurate predictions, OFTRL improved learning by 104% and OFTPL by 37.1% compared to non-optimistic counterparts.
  • Robustness: When predictions were 0% accurate (adversarial), performance degradation was less than 8.3%, demonstrating a "best-of-both-worlds" property.
  • Efficiency: OFTPL demonstrated linear computational overhead, making it viable for high-speed hardware.

Discussion and Key Insights

A significant theoretical insight is that regret scales with the cumulative error of the predictor rather than purely with time. By "smoothing" the decision-making process through regularization or perturbation, the algorithms avoid overreacting to adversarial requests. Furthermore, the paper proves that randomized rounding techniques allow discrete systems to inherit the performance bounds of continuous models.

Limitations and Future Work

While OFTPL is efficient, the OFTRL variant's projection step remains a bottleneck for extremely large libraries. For the Knapsack problem, the authors achieved a "1/2-approximate" regret benchmark, leaving full regret optimality for arbitrary file sizes as an open challenge. Future work will also explore extending these optimistic guarantees to more complex, multi-hop network topologies.

Summary updated

BibTeX
@inproceedings{mhaisen2023optimistic,
  author = {Naram Mhaisen and Abhishek Sinha and Georgios S. Paschos and Georgios Iosifidis},
  title = {{Optimistic No-regret Algorithms for Discrete Caching}},
  booktitle = {SIGMETRICS (Abstracts)},
  year = {2023},
  doi = {10.1145/3578338.3593561},
}
Figure