Lune

MICRO2023顶会

Micro-Armed Bandit: Lightweight & Reusable Reinforcement Learning for Microarchitecture Decision-Making

Gerasimos Gerogiannis, Josep Torrellas

摘要

Online Reinforcement Learning (RL) has been adopted as an effective mechanism in various decision-making problems in microarchitecture. Its high adaptability and the ability to learn at runtime are attractive characteristics in microarchitecture settings. However, although hardware RL agents are effective, they suffer from two main problems. First, they have high complexity and storage overhead. This complexity stems from decomposing the environment into a large number of states and then, for each of these states, bookkeeping many action values. Second, many RL agents are engineered for a specific application and are not reusable.

In this work, we tackle both of these shortcomings by designing an RL agent that is both lightweight and reusable across different microarchitecture decision-making problems. We find that, in some of these problems, only a small fraction of the action space is useful in a given time window. We refer to this property as temporal homogeneity in the action space. Motivated by this property, we design an RL agent based on Multi-Armed Bandit algorithms, the simplest form of RL. We call our agent Micro-Armed Bandit.

We showcase our agent in two use cases: data prefetching and instruction fetch in simultaneous multithreaded (SMT) processors. For prefetching, our agent outperforms non-RL prefetchers Bingo and MLOP by 2.6% and 2.3% (geometric mean), respectively, and attains similar performance as the state-of-the-art RL prefetcher Pythia-with the dramatically lower storage requirement of only 100 bytes. For SMT instruction fetch, our agent outperforms the Hill Climbing method by 2.2% (geometric mean).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory Accesses 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
  • ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory Accesses 引用了 Integrating Prefetcher Selection with Dynamic Request Allocation Improves Prefetching Efficiency
  • Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning 引用了 A hierarchical neural model of data prefetching
  • Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
  • Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning 引用了 Designing a Cost-Effective Cache Replacement Policy using Machine Learning
  • Machine Learning-Guided Memory Optimization for DLRM Inference on Tiered Memory 引用了 A hierarchical neural model of data prefetching
  • Machine Learning-Guided Memory Optimization for DLRM Inference on Tiered Memory 引用了 Classifying Memory Access Patterns for Prefetching
  • Micro-MAMA: Multi-Agent Reinforcement Learning for Multicore Prefetching 引用了 Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning
  • Micro-MAMA: Multi-Agent Reinforcement Learning for Multicore Prefetching 引用了 A hierarchical neural model of data prefetching
  • Micro-MAMA: Multi-Agent Reinforcement Learning for Multicore Prefetching 引用了 Designing a Cost-Effective Cache Replacement Policy using Machine Learning
  • Integrating Prefetcher Selection with Dynamic Request Allocation Improves Prefetching Efficiency 引用了 Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning
  • Integrating Prefetcher Selection with Dynamic Request Allocation Improves Prefetching Efficiency 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
  • Integrating Prefetcher Selection with Dynamic Request Allocation Improves Prefetching Efficiency 引用了 Classifying Memory Access Patterns for Prefetching
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Machine Learning-Guided Memory Optimization for DLRM Inference on Tiered MemoryJie Ren, Bin Ma, Shuangyan Yang, Benjamin Francis 等HPCA 2025 · 6 次引用
  2. Micro-MAMA: Multi-Agent Reinforcement Learning for Multicore PrefetchingCharles Block, Gerasimos Gerogiannis, Josep TorrellasMICRO 2025 · 6 次引用
  3. Integrating Prefetcher Selection with Dynamic Request Allocation Improves Prefetching EfficiencyMengming Li, Qijun Zhang, Yongqing Ren, Zhiyao XieHPCA 2025 · 6 次引用
  4. ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory AccessesMengming Li, Chenlu Miao, Buqing Xu, Qijun Zhang 等ISCA 2026
  5. DAL: A Practical Prior-Free Black-Box Framework for Piecewise Stationary BanditsArgyrios Gerogiannis, Yu-Han Huang, Subhonmesh Bose, Venugopal VeeravalliICML 2026

它引用的 Paper13

  1. A hierarchical neural model of data prefetchingZhan Shi, Akanksha Jain, Kevin Swersky, Milad Hashemi 等ASPLOS 2021 · 100 次引用
  2. Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware PrefetchingSamuel Pakalapati, Biswabandan PandaISCA 2020 · 97 次引用
  3. Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement LearningRahul Bera, Konstantinos Kanellopoulos, Anant Nori, Taha Shahroodi 等MICRO 2021 · 95 次引用
  4. Classifying Memory Access Patterns for PrefetchingGrant Ayers, Heiner Litz, Christos Kozyrakis, Parthasarathy RanganathanASPLOS 2020 · 83 次引用
  5. Designing a Cost-Effective Cache Replacement Policy using Machine LearningSubhash Sethumurugan, Jieming Yin, John SartoriHPCA 2021 · 81 次引用

相关 Paper

  1. Towards Automated RISC-V Microarchitecture Design with Reinforcement LearningChen Bai, Jianwang Zhai, Yuzhe Ma, Bei Yu 等AAAI 2024 · 20 次引用
  2. Post-Fabrication MicroarchitectureChanchal Kumar, Anirudh Seshadri, Aayush Chaudhary, Shubham Bhawalkar 等MICRO 2021 · 4 次引用
  3. ReSemble: Reinforced Ensemble Framework for Data PrefetchingPengmiao Zhang, Rajgopal Kannan, Ajitesh Srivastava, Anant V. Nori 等SC 2022 · 17 次引用
  4. I-POP: Ignite Positive PrefetchersYiquan Lin, Wenhai Lin, Yiquan Chen, Jiexiong Xu 等HPCA 2026 · 1 次引用
  5. Merging Similar Patterns for Hardware PrefetchingShizhi Jiang, Qiusong Yang, Yiwei CiMICRO 2022 · 27 次引用
黄昏的海面,两侧是细线勾勒的悬崖