StoreLLM: Energy Efficient Large Language Model Inference with Permanently Pre-stored Attention Matrices

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.

Authors

Institutions

Publication Details

Published
2025-06-16
DOI
https://doi.org/10.1145/3679240.3734604
Citations
3
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
7.44

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

StoreLLM: Energy Efficient Large Language Model Inference with Permanently Pre-stored Attention Matrices

Boan Liu, Rui Lu, Shuntao Zhu, Dan Wang et al.
3 citations
Topic Modeling
7.44
article

StoreLLM: Energy Efficient Large Language Model Inference with Permanently Pre-stored Attention Matrices

Boan Liu, Rui Lu, Shuntao Zhu, Dan Wang, Zhaorui Zhang
article en
3 citations

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.

Hong Kong Polytechnic University (HK)
Hong Kong Polytechnic University
Affordable and clean energy
Openalex Percentile: Top 3%
Topic Modeling
7.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.