Improving Model Representation and Reducing KV Cache via Skip Connections with First Value Heads

Zhoutong Wu, Yuan Zhang, Yiming Dong, Chenheng Zhang, Cong Fang, Kun Yuan, Zhouchen Lin

Abstract

SkipV1Former is a novel Transformer architecture designed to address the memory bottleneck of the Key-Value (KV) cache in large language models. By reusing half of the first layer's Value heads in all subsequent layers, SkipV1Former achieves a 25% reduction in KV cache memory and a 4% reduction in total parameters. Empirical evaluations demonstrate that this architectural modification not only improves efficiency but also enhances model performance (perplexity) across various scales, from 60M to 3B parameters.

Introduction

As Large Language Models (LLMs) scale to billions of parameters, the Key-Value (KV) cache becomes a primary bottleneck for auto-regressive decoding. Storing Keys and Values for all previous tokens to avoid redundant calculations consumes significant GPU memory, often limiting sequence length and inference throughput. Existing efficiency techniques often trade off model quality for memory savings. SkipV1Former proposes a skip-connection scheme that enriches representations while simultaneously reducing memory requirements.

Methods: The SkipV1Former Architecture

The core innovation of SkipV1Former is the selective reuse of Value heads. In an $L$-layer model, layers 2 through $L$ compute only half of their own Value heads. The remaining half is "skipped" forward from the first layer.

Value Head Reuse and Selection

The model employs a deterministic selection strategy where the second half of the heads in deeper layers are replaced by the first layer’s corresponding heads. This approach ensures hardware-friendly, aligned memory access. To integrate this into existing workflows, the authors provide an "uptraining" recipe that converts standard models into SkipV1Formers using only 10-15% of the original pre-training compute.

Mesa-Optimization Theory

The authors justify this architecture using the "mesa-optimization" framework. This perspective views Transformer layers as performing optimization steps on a latent objective. Early layers are seen as "compressing" information. By routing uncompressed first-layer Values to deeper blocks, SkipV1Former restores lost information and accelerates the internal optimization process.

Key Insights and Theoretical Framework

The effectiveness of SkipV1Former stems from the unique role of the first layer. Ablation studies indicate that skipping Values from the first layer is significantly more effective than skipping from subsequent layers, as the first layer maintains the highest fidelity representation of raw input before it is heavily compressed.

Comparison between standard MHA Transformers and SkipV1Former through the lens of mesa-optimization and copying-induced compression.

Standard Transformers suffer from "copying-induced compression," where tokens lose individual identity in deeper layers. SkipV1Former acts as a "reminder," injecting raw token signals back into the deep "optimizer" layers. This method is synergistic with other efficiency techniques like Group-Query Attention (GQA) or Multi-Latent Attention (MLA). When combined with the YOCO (You Only Cache Once) architecture, it can slash KV cache size by nearly 50%.

Experimental Results

The researchers validated SkipV1Former across multiple scales (60M to 3B parameters) using datasets such as OpenWebText2 and C4. Performance was evaluated on standard benchmarks including HellaSwag, ARC, and PIQA.

  • Efficiency: SkipV1Former achieved a consistent ~25% reduction in KV cache size and a ~4% reduction in total parameters.
  • Performance: Despite fewer parameters, SkipV1Former consistently achieved lower perplexity than standard MHA Transformers and other skip-connection variants like DenseFormer across all tested scales.
  • Inference Speed: The architecture reduced prefill latency by 5–8 ms per 100 tokens and lowered peak allocated memory by approximately 5.6GB in a 1B LLaMA model.

Conclusion and Future Work

SkipV1Former demonstrates that architectural tweaks focused on information fidelity can yield both efficiency and performance gains. While currently optimized for auto-regressive language generation, future work includes extending the theoretical proofs to complex deep residual networks and developing dedicated fused CUDA kernels to maximize hardware throughput gains.

Summary updated

BibTeX
@inproceedings{wu2025improving,
  author = {Zhoutong Wu and Yuan Zhang and Yiming Dong and Chenheng Zhang and Cong Fang and Kun Yuan and Zhouchen Lin},
  title = {{Improving Model Representation and Reducing KV Cache via Skip Connections with First Value Heads}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=bjV8Y38aFF},
}
Figure