GRUMA: A new approach for Cache Replacement Using Gated Recurrent Unit and Multi-Head Attention Mechanism
Cache replacement policies are a critical research topic in the field of computer architecture. They focus on determining the optimal cache line to replace in scenarios with limited cache space, aiming to maximize cache hit rates, thereby enhancing overall system performance. As applications become increasingly complex, traditional heuristic-based cache replacement algorithms are no longer sufficient to meet modern computing demands. This has driven researchers to explore more intelligent cache replacement policies, leveraging machine learning and deep learning methods to automatically learn and predict optimal replacement decisions. In this study, we proposed a sequence prediction method and designed a cache replacement model(GRUMA) based on Gated Recurrent Unit (GRU) and multi-head attention mechanisms. The model learns cache access patterns and can approximate Belady's algorithm even under diverse and complex access patterns. We evaluated the GRUMA model using six memory-intensive SPEC CPU2006 programs. Compared to other techniques, the GRUMA model improved cache hit rates by 2.58% to 24.1%.
Authors
- Jibin Wang (ORCID: https://orcid.org/0000-0002-6549-9522)
- Chen Zhang (ORCID: https://orcid.org/0000-0002-1923-2771)
- Wenfang Zeng
- S. Q. Feng
- Hu Zhang
- Xiu-Bao Ren
Institutions
- Qilu University of Technology (CN)
- Shandong University (CN)
- Zhejiang Provincial Public Security Department (CN)
- Shandong Academy of Sciences (CN)
Publication Details
- Published
- 2025-03-07
- DOI
- https://doi.org/10.1145/3729706.3729815
- Primary Topic
- Caching and Content Delivery
- Type
- article
- Field-Weighted Citation Impact
- 0.00