paper-with-me

Papers

An Imitation Learning Approach for Cache Replacement

2020-06-29 · ICML 2020 1 · Evan Zheran Liu, Milad Hashemi, Kevin Swersky, Parthasarathy Ranganathan, Junwhan Ahn

Program execution speed critically depends on increasing cache hits, as cache hits are orders of magnitude faster than misses. To increase cache hits, we focus on the problem of cache replacement: choosing which cache line to evict upon inserting a new line. This is challenging because it requires planning far ahead and currently there is no known practical solution. As a result, current replacement policies typically resort to heuristics designed for specific common access patterns, which fail on more diverse and complex access patterns. In contrast, we propose an imitation learning approach to automatically learn cache access patterns by leveraging Belady's, an oracle policy that computes the optimal eviction decision given the future cache accesses. While directly applying Belady's is infeasible since the future is unknown, we train a policy conditioned only on past accesses that accurately approximates Belady's even on diverse and complex access patterns, and call this approach Parrot. When evaluated on 13 of the most memory-intensive SPEC applications, Parrot increases cache miss rates by 20% over the current state of the art. In addition, on a large-scale web search benchmark, Parrot increases cache hit rates by 61% over a conventional LRU policy. We release a Gym environment to facilitate research in this area, as data is plentiful, and further advancements can have significant real-world impact.

📄 PDF Abstract BibTeX arXiv:2006.16239

Code (1)

google-research/google-research 공식 구현 tf

Tasks

Imitation Learning

Methods 이 논문이 사용한 방법론

Attention 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
Parrot 설명 없음

Similar Papers 제목 키워드 기반

When Classic Cache Policies Fail: Learning-Augmented Replacement for Semantic Retrieval Buffers

2026-07-01 · Yushi Sun, Bowen Cao, Wai Lam hf

LLM agents increasingly rely on retrieval buffers to store and reuse past experience, yet the cache management policies governing these buffers remain largely ad-hoc. We formalize this as an online semantic cache replace…

Semantic Retrieval

CacheMind: From Miss Rates to Why -- Natural-Language, Trace-Grounded Reasoning for Cache Replacement

2026-02-12 · Kaushal Mhapsekar, Azam Ghanbari, Bita Aslrousta, Samira Mirbagher-Ajorpaz arxiv

Cache replacement remains a challenging problem in CPU microarchitecture, often addressed using hand-crafted heuristics, limiting cache performance. Cache data analysis requires parsing millions of trace entries with man…

MUSTACHE: Multi-Step-Ahead Predictions for Cache Eviction

2022-11-03 · Gabriele Tolomei, Lorenzo Takanen, Fabio Pinelli

In this work, we propose MUSTACHE, a new page cache replacement algorithm whose logic is learned from observed memory access requests rather than fixed like existing policies. We formulate the page request prediction pro…

Time SeriesTime Series AnalysisTime Series Forecasting

Cache Replacement as a MAB with Delayed Feedback and Decaying Costs

2020-09-23 · Farzana Beente Yusuf, Vitalii Stebliankin, Giuseppe Vietri, Giri Narasimhan

Inspired by the cache replacement problem, we propose and solve a new variant of the well-known multi-armed bandit (MAB), thus providing a solution for improving existing state-of-the-art cache management methods. Each a…

Management

On the Local Cache Update Rules in Streaming Federated Learning

2023-03-28 · Heqiang Wang, Jieming Bian, Jie Xu

In this study, we address the emerging field of Streaming Federated Learning (SFL) and propose local cache update rules to manage dynamic data distributions and limited cache capacity. Traditional federated learning reli…

Federated Learningimage-classificationImage ClassificationManagement+1