Abstract
Energy efficiency has become an important design issue in Large Language Model (LLM) inference systems. The main energy consumption goes to computing. There are studies to reduce computing or to conduct computing in regions with green energy. In this paper, we study an orthogonal perspective. We observe that the attention matrices of the tokens remain largely unchanged across different LLM inference. We argue that there can be over-computing of the attention matrices across different LLM inference in LLM inference systems. As the energy of computing is substantially greater than the energy of storage access, we propose StoreLLM, an LLM inference system where the attention matrices of tokens are pre-stored so that the computing of the attention matrices in any LLM inference can be substituted by storage access. Our analysis shows that it is possible to permanently pre-store the attention matrices of all tokens in storage, and we develop mechanisms to effectively maintain the LLM inference performance. Our evaluation shows that StoreLLM can outperform state-of-the-art LLM inference systems LazyLLM by 1.45× in energy consumption with a sacrifice of 5.05% in delays. With further improvements, StoreLLM-MoE and StoreLLM-PTQ can achieve 2.64× and 2.83× energy reduction as compared to state-of-the-art LLM systems.
| Original language | English |
|---|---|
| Title of host publication | E-ENERGY 2025 - Proceedings of the 2025 16th ACM International Conference on Future and Sustainable Energy Systems |
| Publisher | Association for Computing Machinery, Inc |
| Pages | 398-406 |
| Number of pages | 9 |
| ISBN (Electronic) | 9798400711251 |
| DOIs | |
| Publication status | Published - 16 Jun 2025 |
| Event | 16th ACM International Conference on Future and Sustainable Energy Systems, E-ENERGY 2025 - Rotterdam, Netherlands Duration: 17 Jun 2025 → 20 Jun 2025 |
Publication series
| Name | E-ENERGY 2025 - Proceedings of the 2025 16th ACM International Conference on Future and Sustainable Energy Systems |
|---|
Conference
| Conference | 16th ACM International Conference on Future and Sustainable Energy Systems, E-ENERGY 2025 |
|---|---|
| Country/Territory | Netherlands |
| City | Rotterdam |
| Period | 17/06/25 → 20/06/25 |
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 7 Affordable and Clean Energy
Keywords
- Hierarchy Storage System
- KV Cache
- Large Language Model
ASJC Scopus subject areas
- Energy Engineering and Power Technology
- Renewable Energy, Sustainability and the Environment
- Electrical and Electronic Engineering
- Mechanical Engineering
- Safety, Risk, Reliability and Quality
- Management, Monitoring, Policy and Law
Fingerprint
Dive into the research topics of 'StoreLLM: Energy Efficient Large Language Model Inference with Permanently Pre-stored Attention Matrices'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver