scimeatlas

Research map / Large language models / Reasoning and chain of thought

A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inference

You Wu, Haoyi Wu, Kewei Tu

NAACL 2025Large language models › Reasoning and chain of thoughtapproach: Efficient LLM servingopen problems in this approach23 citations (OpenAlex)

ShanghaiTech University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
6improved
3no clear effect
3hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Pretrained initialization

initialize from pre-trained TinyLlama instead of training from scratch · Minipile perplexity · perplexity Improved

What 132 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
share KVs across layers (all nine configurations) at short prompt 5+20431.1B Llama · generation throughput (RTX 3090)throughputImproved
use top or middle target-layer positioning with a long prompt (512+1024)cross-layer KV sharing · generation throughputthroughputHurt
use bottom target-layer positioning with a long promptcross-layer KV sharing · generation throughputthroughputImproved
halve the number of KV layersmost configurations · Minipile perplexityperplexityNo clear effect
reduce the number of KV layers further (ablation)bottom vs top/middle configurations · Minipile perplexityperplexityHurt
reduce the number of KV layers (ablation)lasagna-top and lasagna-middle · Minipile perplexityperplexityImproved
use sandwich-top instead of pizza/lasagna-bottom (ablation)1.1B, SlimPajama 100B · perplexity and downstream average accuracyperplexity / accuracyImproved
use sandwich-middle with few KV layers (ablation)1.1B, SlimPajama 100B · perplexity and downstream accuracyperplexity / accuracyImproved
reduce KV layers from 22 to 3 on Sandwich-Top (ablation)1.1B Llama · HellaSwagaccuracy: 44.58 -> 42.14Hurt
reduce KV layers from 22 to 11 on Sandwich-Top (ablation)1.1B Llama · HellaSwagaccuracy: 44.58 -> 44.74No clear effect
initialize from pre-trained TinyLlama instead of training from scratch (ablation)all configurations 1.1B · Minipile perplexityperplexityImproved
position target layer at quarter or three-quarter (ablation)1.1B · Minipile perplexityperplexityNo clear effect

Open problems this paper states

Open problems in efficient LLM serving

Do efficient-serving and inference-saving methods hold up on larger models, other hardware and real workloads?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy