NeurIPS 2026QuestionsPapersAreasAboutMarkdown

DepthGraft: Structural Regularization through Hierarchical Cross-Layer KV Reconstruction

Xiaohan Qin, Xiangdong Zhang, Yu Wang, Huaijin Wu, Zhuo Xia, Yebin Yang, Junchi Yan

NeurIPS page · Open on the map

Category: Efficient LLM Inference & Training › Sparse Long-Context Attention · Type: new method · Keywords: hierarchical KV sharing, cross-layer connectivity, large language models, structural regularization, KV cache reduction, deep model scaling

Areas: LLM Reasoning › Efficient Reasoning › Efficient Transformers; Model Architectures & Sequence Modeling › Language Model Architectures › Mixture Architectures

Summary

DepthGraft introduces a hierarchical cross-layer KV-sharing architecture that regularizes deep-layer representations, reduces KV cache size, and improves performance on language understanding benchmarks.

Explained to a 5-year-old

Big computer programs that learn language can get better when they have many layers. But when there are too many layers, the information gets lost, like a story getting fuzzy. Scientists found a way to let deeper layers share information with earlier layers without using a lot of extra memory. This sharing helps the program remember important things better and makes it understand language more accurately. As a result, the program works faster and needs less memory, making it easier to use on computers.

Explained to a 5-year-old, longer

When we teach a computer to read and write like a person, we often stack many layers of processing. Each layer learns a little piece of the language, but when there are too many layers, the clues get weak. This makes the computer less accurate, like a blurry picture. To fix this, researchers let some deeper layers copy information from earlier layers, like passing a note along a line of students. This copying does not need a lot of extra work or memory, so it stays efficient. By carefully choosing which layers share information, the computer can keep the important clues sharp. The shared information also helps the computer understand more about the meaning of words. This makes the computer better at tasks like answering questions and solving problems. The improvement works for both small and huge versions of the computer program. It also reduces the amount of memory needed to store the program's temporary data. As a result, the program can run faster and on less powerful machines. Overall, this new way of connecting layers helps language models become stronger and more useful.

For a technical reader

The paper addresses the degradation of deep pre-training in large language models caused by information dilution across layers. It proposes a hierarchical cross-layer key-value sharing scheme that reconstructs deep-layer KV from aligned shallow-middle layers, providing direct gradient paths and acting as a structural regularizer. This design reduces the KV cache size by about one third while preserving fast pre-fill completion and distributing non-local gradients. Experiments on models ranging from 0.5 B to 65 B parameters show consistent gains on standard benchmarks such as MMLU-Pro, CMMLU, and C3.

Problem

Deep language models often suffer from depth-wise information dilution, especially in Pre-LN architectures, limiting the effectiveness of very deep layers. Existing cross-layer connectivity methods mitigate this but typically add extra computation or memory overhead.

Method

The approach leverages cross-layer KV sharing as an efficient connectivity mechanism, where deep-layer key-value projections are reconstructed from stride-aligned shallow-middle source pairs. This creates direct gradient paths and acts as an implicit structural regularizer for KV geometry, distributing non-local gradient flow while preserving prefill speed and reducing KV cache size.

Results

The approach yields a 7.0% absolute improvement on MMLU-Pro, along with 6.6% gains on CMMLU and 6.4% on C3 for the 16B MoE model, and shows consistent gains across models from 0.5B to 65B parameters.

Contributions

It provides a systematic analysis of how hierarchical KV sharing regularizes KV representation geometry and demonstrates that proper sharing topologies sharpen key retrieval while enriching value subspaces. It also introduces a scalable architecture that reduces KV cache by roughly one third while maintaining prefill speed and improving downstream performance.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction