LSTM-CRP: Algorithm-Hardware Co-Design and Implementation of Cache Replacement Policy Using Long Short-Term Memory

被引:0
|
作者
Wang, Yizhou [1 ]
Meng, Yishuo [1 ]
Wang, Jiaxing [1 ]
Yang, Chen [1 ]
机构
[1] Xi An Jiao Tong Univ, Sch Microelect, Xian 710049, Peoples R China
基金
中国国家自然科学基金;
关键词
memory bottleneck; cache replacement policy; long short-term memory; LSTM hardware accelerator; lightweight;
D O I
10.3390/bdcc8100140
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
As deep learning has produced dramatic breakthroughs in many areas, it has motivated emerging studies on the combination between neural networks and cache replacement algorithms. However, deep learning is a poor fit for performing cache replacement in hardware implementation because its neural network models are impractically large and slow. Many studies have tried to use the guidance of the Belady algorithm to speed up the prediction of cache replacement. But it is still impractical to accurately predict the characteristics of future access addresses, introducing inaccuracy in the discrimination of complex access patterns. Therefore, this paper presents the LSTM-CRP algorithm as well as its efficient hardware implementation, which employs the long short-term memory (LSTM) for access pattern identification at run-time to guide cache replacement algorithm. LSTM-CRP first converts the address into a novel key according to the frequency of the access address and a virtual capacity of the cache, which has the advantages of low information redundancy and high timeliness. Using the key as the inputs of four offline-trained LSTM network-based predictors, LSTM-CRP can accurately classify different access patterns and identify current cache characteristics in a timely manner via an online set dueling mechanism on sampling caches. For efficient implementation, heterogeneous lightweight LSTM networks are dedicatedly constructed in LSTM-CRP to lower hardware overhead and inference delay. The experimental results show that LSTM-CRP was able to averagely improve the cache hit rate by 20.10%, 15.35%, 12.11% and 8.49% compared with LRU, RRIP, Hawkeye and Glider, respectively. Implemented on Xilinx XCVU9P FPGA at the cost of 15,973 LUTs and 1610 FF registers, LSTM-CRP was running at a 200 MHz frequency with 2.74 W power consumption.
引用
收藏
页数:28
相关论文
共 50 条
  • [41] Prediction of well performance in SACROC field using stacked Long Short-Term Memory (LSTM) network
    Panja, Palash
    Jia, Wei
    McPherson, Brian
    EXPERT SYSTEMS WITH APPLICATIONS, 2022, 205
  • [42] Air Pollution Prediction Using Long Short-Term Memory (LSTM) and Deep Autoencoder (DAE) Models
    Xayasouk, Thanongsak
    Lee, HwaMin
    Lee, Giyeol
    SUSTAINABILITY, 2020, 12 (06)
  • [43] YAP_LSTM: yoga asana prediction using pose estimation and long short-term memory
    Palanimeera, J.
    Ponmozhi, K.
    SOFT COMPUTING, 2023,
  • [44] Daily Streamflow Prediction and Uncertainty Using a Long Short-Term Memory (LSTM) Network Coupled with Bootstrap
    Wang, Zhuoqi
    Si, Yuan
    Chu, Haibo
    WATER RESOURCES MANAGEMENT, 2022, 36 (12) : 4575 - 4590
  • [45] Using Long Short-Term Memory (LSTM) Network to Predict Negative-Bias Temperature Instability
    Arefaine, Fanus
    Duan, Meng
    Tiwari, Ravi
    Kapoor, Aadit
    Smith, Lee
    Mahapatra, Souvik
    Wong, Hiu Yung
    2021 INTERNATIONAL CONFERENCE ON SIMULATION OF SEMICONDUCTOR PROCESSES AND DEVICES (SISPAD 2021), 2021, : 60 - 63
  • [46] Estimation of Lower-Stratosphere-to-Troposphere Ozone Profile Using Long Short-Term Memory (LSTM)
    Zhang, Xinxin
    Zhang, Ying
    Lu, Xiaoyan
    Bai, Lu
    Chen, Liangfu
    Tao, Jinhua
    Wang, Zhibao
    Zhu, Lili
    REMOTE SENSING, 2021, 13 (07)
  • [47] Prediction of dengue cases using the attention-based long short-term memory (LSTM) approach
    Majeed, Mokhalad A.
    Shafri, Helmi Z. M.
    Wayayok, Aimrun
    Zulkafli, Zed
    GEOSPATIAL HEALTH, 2023, 18 (01)
  • [48] A Prediction Model for Hallabong Tangor Product Prices using LSTM (Long Short-term Memory) Network
    Jung, Dae Ho
    Cho, Young-Yeol
    HORTICULTURAL SCIENCE & TECHNOLOGY, 2022, 40 (05): : 571 - 577
  • [49] Forecasting Covid-19 Time Series Data using the Long Short-Term Memory (LSTM)
    Mukhtar, Harun
    Taufiq, Reny Medikawati
    Herwinanda, Ilham
    Winarso, Doni
    Hayami, Regiolina
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (10) : 211 - 217
  • [50] Using Long Short-Term Memory (LSTM) Neural Networks to Predict Emergency Department Wait Time
    Cheng, Nok
    Kuo, Alex
    IMPORTANCE OF HEALTH INFORMATICS IN PUBLIC HEALTH DURING A PANDEMIC, 2020, 272 : 199 - 202