@inproceedings{wu-etal-2025-systematic,
title = "A Systematic Study of Cross-Layer {KV} Sharing for Efficient {LLM} Inference",
author = "Wu, You and
Wu, Haoyi and
Tu, Kewei",
editor = "Chiruzzo, Luis and
Ritter, Alan and
Wang, Lu",
booktitle = "Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers)",
month = apr,
year = "2025",
address = "Albuquerque, New Mexico",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/fix-sig-urls/2025.naacl-short.34/",
pages = "396--403",
ISBN = "979-8-89176-190-2",
abstract = "Recently, sharing key-value (KV) cache across layers has been found effective in efficient inference of large language models (LLMs). To systematically investigate different techniques of cross-layer KV sharing, we propose a unified framework that covers several recent methods and their novel variants. We conduct comprehensive experiments on all the configurations of the framework, evaluating their generation throughput and performance in language modeling and downstream tasks. We find that when reducing the size of the KV cache by $2\times$, most configurations can achieve higher throughput than standard transformers while maintaining competitive performance.When further reducing the size of the KV cache, however, pairing queries of all layers with KVs of upper layers performs better, at the expense of additional training cost and prefilling latency. We hope that this work will help users make more informed choices of cross-layer KV sharing approaches and facilitate future research on efficient LLM inference."
}
Markdown (Informal)
[A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inference](https://preview.aclanthology.org/fix-sig-urls/2025.naacl-short.34/) (Wu et al., NAACL 2025)
ACL
- You Wu, Haoyi Wu, and Kewei Tu. 2025. A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inference. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers), pages 396–403, Albuquerque, New Mexico. Association for Computational Linguistics.