No-Regret Mixing of LRU and LFU with Optimal Switching Cost
Younes Ben Mazziane, Xinying Zou
Key points
From the paper's conclusion- We then propose H-MC, a Hedge-based mixture of virtual LRU and LFU caches that preserves Hedge's selection probabilities, and hence its regret guarantees, while minimizing the switching cost among all joint selection rules with these marginals.
Abstract
Caching systems often rely on simple eviction policies such as Least Recently Used (LRU) and Least Frequently Used (LFU), which perform well in complementary request regimes. Recent policies such as LeCar and Cacheus combine LRU and LFU using ideas from the experts problem in online learning. Specifically, upon a miss, they randomize between the two eviction rules using probabilities derived from scores updated by tracking the history of past evictions. While these policies exhibit strong empirical performance, it remains unclear whether they are guaranteed, on every request sequence, to perform asymptotically as well as the better of LRU and LFU, i.e., whether they achieve sublinear regret with respect to this benchmark. We first show that LeCar suffers linear regret against an oblivious adversary, even with unbounded history. We then propose H-MC, a Hedge-based mixture of virtual LRU and LFU caches that preserves Hedge's selection probabilities, and hence its regret guarantees, while minimizing the switching cost among all joint selection rules with these marginals.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Performance Analysis of the Randomized SIEVE/CLOCK Cache Replacement AlgorithmProceedings of the ACM on Measurement and Analysis of Computing Systems · 2026
- TTL Approximations for a Family of CLOCK-Like Cache Replacement PoliciesarXiv · 2026
- CacheFit: The Rising Cost of Cache Replacement and Constraint-Driven Redesign of Last-Level Cache Replacement PoliciesarXiv · 2026
- Caching Policies based on Object SizesarXiv · 2026
- The Randomized k-Server Conjecture Is False!Communications of the ACM · 2026
- A Calibrated Relaunch Distance Framework for App Eviction in Smartphone Memory ManagementElectronics · 2026