Micro-MAMA: Multi-Agent Reinforcement Learning for Multicore Prefetching
Charles Block, Gerasimos Gerogiannis, Josep Torrellas
Abstract
Online reinforcement learning (RL) holds promise for microarchitectural techniques like prefetching. Its ability to adapt to changing and previously-unseen scenarios makes it a versatile technique. However, when multiple RL-operated components compete for shared resources in multicore systems, they can often converge to sub-optimal policies due to conflicting incentives.
In this work, we identify key challenges that arise when scaling RL-based prefetchers to multi-core environments, and relate these to known problems from Multi-Agent Reinforcement Learning (MARL). In particular, we find that recent work using multi-armed bandit algorithms for prefetching can lead to inefficient systems when memory bandwidth is limited, as each agent attempts to claim a disproportionate share of the system's bandwidth.
To solve this problem, we present µMama, a light-weight supervisor of distributed multi-armed bandit agents, which learns performant joint-policies. In µMama, distributed local agents narrow the global joint-action search space, while a central agent with a global perspective learns system-wide policies. Additionally, µMama provides key local agents with a system perspective, encouraging them to avoid actions that would harm the others.
µMama exhibits high adaptability, which we show by evaluating it using multiple measures of performance. In our evaluation of an 8-core system, the policies learned by µMama outperform those of independently-operating agents by an average of 2.1% when optimizing for throughput, and by an average of 10.4% when optimizing for fairness. We also show that µMama performs better in systems that are more bandwidth constrained, as well as when profiles of the workloads are provided.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning cites A hierarchical neural model of data prefetching
- Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning cites Designing a Cost-Effective Cache Replacement Policy using Machine Learning
- A hierarchical neural model of data prefetching cites BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict Branches
- Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learning cites Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning
- Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learning cites BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict Branches
- Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learning cites Designing a Cost-Effective Cache Replacement Policy using Machine Learning
Cited by top-tier papers2
- Enhancing Instruction Prefetching via Cache and TLB ManagementAlexandre Valentin Jamet, Georgios Vavouliotis, Martí Torrents, Dimitrios Chasapis et al.ISCA 2026
- Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement LearningRahul Bera, Zhenrong Lang, Caroline Hengartner, Konstantinos Kanellopoulos et al.HPCA 2026
Builds on13
- Learning Implicit Credit Assignment for Cooperative Multi-Agent Reinforcement LearningMeng Zhou, Ziyu Liu, Pengwei Sui, Yixuan Li et al.NeurIPS 2020 · 142 citations
- A hierarchical neural model of data prefetchingZhan Shi, Akanksha Jain, Kevin Swersky, Milad Hashemi et al.ASPLOS 2021 · 100 citations
- Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement LearningRahul Bera, Konstantinos Kanellopoulos, Anant Nori, Taha Shahroodi et al.MICRO 2021 · 95 citations
- Designing a Cost-Effective Cache Replacement Policy using Machine LearningSubhash Sethumurugan, Jieming Yin, John SartoriHPCA 2021 · 81 citations
- BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict BranchesSiavash Zangeneh, Stephen Pruett, Sangkug Lym, Yale N. PattMICRO 2020 · 50 citations
Related papers
- Micro-Armed Bandit: Lightweight & Reusable Reinforcement Learning for Microarchitecture Decision-MakingGerasimos Gerogiannis, Josep TorrellasMICRO 2023 · 23 citations
- Mean-Field Sampling for Cooperative Multi-Agent Reinforcement LearningEmile Anand, Ishani Karmarkar, Guannan QuNeurIPS 2025 · 10 citations
- Efficient Multi-agent Reinforcement Learning by PlanningQihan Liu, Jianing Ye, Xiaoteng Ma, Jun Yang et al.ICLR 2024 · 18 citations
- ReSemble: Reinforced Ensemble Framework for Data PrefetchingPengmiao Zhang, Rajgopal Kannan, Ajitesh Srivastava, Anant V. Nori et al.SC 2022 · 17 citations
- CHROME: Concurrency-Aware Holistic Cache Management Framework with Online Reinforcement LearningXiaoyang Lu, Hamed Najafi, Jason Liu, Xian-He SunHPCA 2024 · 26 citations
