NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Boosting Long-Context LLM Inference Efficiency with Intra-Layer Attention Similarity

Da Ma, Lu Chen, Situo Zhang, Yuxun Miao, Su Zhu, Zhi Chen, Hongshen Xu, Hanqi Li, Shuai Fan, Kai YuOpenReview 2025 · Submission to ICLR 2025 · Withdrawn

Its authors withdrew this paper, so there is no full text to read or summarize.

Abstract

The increasing context window size in Large Language Models (LLMs), such as the GPT and LLaMA series, has improved their ability to tackle complex, long-text tasks, but at the cost of inference efficiency, particularly regarding memory and computational complexity. Existing methods, including selective token retention and window-based attention, improve efficiency but risk discarding important tokens needed for future text generation. In this paper, we propose an approach that enhances LLM efficiency without token loss by reducing the memory and computational load of less important tokens, rather than discarding them. We address two challenges: 1) investigating the distribution of important tokens in the context, discovering recent tokens are more important than distant tokens in context, and 2) optimizing resources for distant tokens by sharing attention scores across layers. The experiments show that our method saves $35$% KV cache without compromising the performance.
BibTeX
@misc{ma2025boosting,
  author = {Da Ma and Lu Chen and Situo Zhang and Yuxun Miao and Su Zhu and Zhi Chen and Hongshen Xu and Hanqi Li and Shuai Fan and Kai Yu},
  title = {{Boosting Long-Context LLM Inference Efficiency with Intra-Layer Attention Similarity}},
  year = {2025},
  url = {https://openreview.net/forum?id=G1fzW97QKR},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}

Loading related content...

Figure