Learning-Augmented Heuristics: Simple, yet Smart, Robust and Interpretable Cache Eviction

📅 2026-08-28
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
该研究提出Learning-Augmented Heuristics框架,通过学习静态启发式算法的缓存级参数来优化缓存淘汰策略,提高效率和鲁棒性。
📝 Abstract
Caching is widely used across the system stack to improve performance and efficiency, with eviction algorithms at its core. Existing cache eviction policies fall into two broad categories: static heuristics (e.g., 2Q, S3-FIFO) and smart algorithms (e.g., ARC, LRB). Smart caches can adapt to workloads and have the potential to achieve higher efficiency and robustness than static heuristics. However, we find that existing smart caches suffer from objective mismatches and instability. We introduce Learning-Augmented Heuristics (LAH), a framework that learns the cache-level parameters of static heuristics. By decoupling the data and control planes, LAH supports simple, high-speed data reads and writes on the data plane, while performing occasional asynchronous learning on the control plane using cache-level features. We demonstrate the effectiveness of LAH through S4-FIFO, a Smart S3-FIFO cache eviction algorithm. We pre-train a single model on 4,140 production traces and embed it in S4-FIFO to learn optimal cache parameters. On 1,035 evaluation traces, S4-FIFO improves the mean efficiency by 26% compared to S3-FIFO and by 8% compared to 3L-Cache, the best state-of-the-art algorithm. S4-FIFO is also robust---increasing miss ratio over FIFO by 0.8% on the worst trace, whereas 3L-Cache increases FIFO's miss ratio by 8.8%. Finally, S4-FIFO's decisions are also interpretable: a language model can provide a rationale for why a particular configuration was chosen.
Problem

Research questions and friction points this paper is trying to address.

cache eviction
static heuristics
smart algorithms
efficiency
robustness
Innovation

Methods, ideas, or system contributions that make the work stand out.

Learning-Augmented Heuristics
Cache Eviction
Asynchronous Learning
Efficiency Improvement
Interpretable Decisions
H
Haocheng Xia
Harvard University & UIUC
W
William Nixon
University of Chicago & Harvard University
B
Bintang Dwi Marthen
Harvard University & Institut Teknologi Bandung
Pranav Bhandari
Pranav Bhandari
Phd student, UWA
Misinformationpsychological alignment in LLMNLPML.
J
Juncheng Yang
Harvard University