An Imitation Learning Approach for Cache Replacement
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). First posted on arXiv 29 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 4; 2023: 1; 2024: 5; 2025: 4; 2026: 6.
24 papers.
Sort:
By area:
- 2021Imitation Learning: Progress, Taxonomies and Challengescited by 56
- 2022Ginex: SSD-enabled Billion-scale Graph Neural Network Training on a Single Machine via Provably Optimal In-memory Cachingcited by 21
- 2021Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learningcited by 17
- 2024SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Modelscited by 16
- 2021Robust Learning-Augmented Caching: An Experimental Studycited by 12
- 2024Algorithms for Caching and MTS with reduced number of predictionscited by 12
- 2022Paging with Succinct Predictionscited by 10
- 2022Sibyl: Adaptive and Extensible Data Placement in Hybrid Storage Systems Using Online Reinforcement Learningcited by 8
- 2022Giving Feedback on Interactive Student Programs with Meta-Explorationcited by 6
- 2026ArchAgent: Agentic AI-driven Computer Architecture Discoverycited by 5
- 2024A Learning-Based Caching Mechanism for Edge Content Deliverycited by 3
- 2025Robustifying Learning-Augmented Caching Efficiently without Compromising 1-Consistencycited by 3
12 more
- 2025Toward Robust and Efficient ML-Based GPU Caching for Modern Inferencecited by 3
- 2023On a Foundation Model for Operating Systemscited by 2
- 2024Ranking-based Client Selection with Imitation Learning for Efficient Federated Learningcited by 2
- 2024IBCB: Efficient Inverse Batched Contextual Bandit for Behavioral Evolution Historycited by 1
- 2025A Bring-Your-Own-Model Approach for ML-Driven Storage Placement in Warehouse-Scale Computerscited by 1
- 2025Harmonia: Enhancing Data Placement and Migration in Hybrid Storage Systems via Multi-Agent Reinforcement Learningcited by 1
- 2026Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learningcited by 1
- 2021Analyzing a Caching Modelcited by 0
- 2026Machine Learning-Driven Intelligent Memory System Design: From On-Chip Caches to Storagecited by 0
- 2026SCION: Size-aware Policy Orchestration for Nonstationary Object Caches (Long Paper Version)cited by 0
- 2026Memory as a Wasting Asset: Pricing Flash Endurance for Embodied Agents, and the Limits of Doing Socited by 0
- 2026Learning-Augmented Algorithms: Guarantees, Construction Mechanisms, and System-Level Implicationscited by 0
- 2026Learning-Augmented Algorithms: Guarantees, Construction Mechanisms, and System-Level Implications4 Sep 2026
- 2026Memory as a Wasting Asset: Pricing Flash Endurance for Embodied Agents, and the Limits of Doing So16 Jun 2026
- 2026SCION: Size-aware Policy Orchestration for Nonstationary Object Caches (Long Paper Version)27 Mar 2026
- 2026Machine Learning-Driven Intelligent Memory System Design: From On-Chip Caches to Storage15 Mar 2026
- 2026ArchAgent: Agentic AI-driven Computer Architecture Discovery25 Feb 2026
- 2026Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learning24 Jan 2026
- 2025Toward Robust and Efficient ML-Based GPU Caching for Modern Inference25 Sep 2025
- 2025Robustifying Learning-Augmented Caching Efficiently without Compromising 1-Consistency22 Jul 2025
- 2025Harmonia: Enhancing Data Placement and Migration in Hybrid Storage Systems via Multi-Agent Reinforcement Learning26 Mar 2025
- 2025A Bring-Your-Own-Model Approach for ML-Driven Storage Placement in Warehouse-Scale Computers10 Jan 2025
- 2024SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Models24 May 2024
- 2024Ranking-based Client Selection with Imitation Learning for Efficient Federated Learning7 May 2024
12 more
- 2024Algorithms for Caching and MTS with reduced number of predictions9 Apr 2024
- 2024IBCB: Efficient Inverse Batched Contextual Bandit for Behavioral Evolution History24 Mar 2024
- 2024A Learning-Based Caching Mechanism for Edge Content Delivery5 Feb 2024
- 2023On a Foundation Model for Operating Systems13 Dec 2023
- 2022Giving Feedback on Interactive Student Programs with Meta-Exploration16 Nov 2022
- 2022Paging with Succinct Predictions6 Oct 2022
- 2022Ginex: SSD-enabled Billion-scale Graph Neural Network Training on a Single Machine via Provably Optimal In-memory Caching19 Aug 2022
- 2022Sibyl: Adaptive and Extensible Data Placement in Hybrid Storage Systems Using Online Reinforcement Learning15 May 2022
- 2021Analyzing a Caching Model13 Dec 2021
- 2021Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning24 Sep 2021
- 2021Robust Learning-Augmented Caching: An Experimental Study28 Jun 2021
- 2021Imitation Learning: Progress, Taxonomies and Challenges23 Jun 2021
- 2026ArchAgent: Agentic AI-driven Computer Architecture Discovery25 Feb 2026
- 2022Ginex: SSD-enabled Billion-scale Graph Neural Network Training on a Single Machine via Provably Optimal In-memory Cachingcited by 21
- 2021Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learningcited by 17
- 2024SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Modelscited by 16
- 2021Robust Learning-Augmented Caching: An Experimental Studycited by 12
- 2024Algorithms for Caching and MTS with reduced number of predictionscited by 12
- 2022Paging with Succinct Predictionscited by 10
- 2022Sibyl: Adaptive and Extensible Data Placement in Hybrid Storage Systems Using Online Reinforcement Learningcited by 8
- 2022Giving Feedback on Interactive Student Programs with Meta-Explorationcited by 6
- 2024A Learning-Based Caching Mechanism for Edge Content Deliverycited by 3
- 2025Robustifying Learning-Augmented Caching Efficiently without Compromising 1-Consistencycited by 3
- 2025Toward Robust and Efficient ML-Based GPU Caching for Modern Inferencecited by 3
- 2023On a Foundation Model for Operating Systemscited by 2
12 most cited of 21 All 21 (JSON)
- 2026Learning-Augmented Algorithms: Guarantees, Construction Mechanisms, and System-Level Implications4 Sep 2026
- 2026Memory as a Wasting Asset: Pricing Flash Endurance for Embodied Agents, and the Limits of Doing So16 Jun 2026
- 2026SCION: Size-aware Policy Orchestration for Nonstationary Object Caches (Long Paper Version)27 Mar 2026
- 2026Machine Learning-Driven Intelligent Memory System Design: From On-Chip Caches to Storage15 Mar 2026
- 2026Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learning24 Jan 2026
- 2025Toward Robust and Efficient ML-Based GPU Caching for Modern Inference25 Sep 2025
- 2025Robustifying Learning-Augmented Caching Efficiently without Compromising 1-Consistency22 Jul 2025
- 2025Harmonia: Enhancing Data Placement and Migration in Hybrid Storage Systems via Multi-Agent Reinforcement Learning26 Mar 2025
- 2025A Bring-Your-Own-Model Approach for ML-Driven Storage Placement in Warehouse-Scale Computers10 Jan 2025
- 2024SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Models24 May 2024
- 2024Ranking-based Client Selection with Imitation Learning for Efficient Federated Learning7 May 2024
- 2024Algorithms for Caching and MTS with reduced number of predictions9 Apr 2024
12 newest of 21 All 21 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Discovering KV Cache Eviction Policies via LLM-Guided Program Evolution
- 2026When Fancy Eviction Fails: Rethinking Cache Replacement For LLM Prefix Reuse
- 2026RestoreKV: Recovering Full-Cache Behavior Under Aggressive Query-Agnostic KV Cache Eviction
- 2026Not All Tokens Are Worth Caching: Learning Semantic-Aware Eviction for LLM Prefix Caches
- 2026AvoKV-E: Payload-Aware KV Cache Eviction for Long Reasoning
- 2026CacheMind: From Miss Rates to Why -- Natural-Language, Trace-Grounded Reasoning for Cache Replacement
- 2026When Classic Cache Policies Fail: Learning-Augmented Replacement for Semantic Retrieval Buffers
- 2026Bounded-State Restoration: Decoupling Local Restore Capacity from External LLM State