WhiteMatter lets every Transformer layer read all depths, halving KV cache

Cy74 · reddit · 2026-12-06

The author presents WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixing, removing the standard Transformer constraint that each layer only reads KV cache from its own depth.

Approach: each layer's keys and values become a learned mix of states from all layers, letting shallow layers directly access what deep layers computed for earlier tokens, bypassing residual-stream bandwidth limits.

Results:

Catch and fix: shallow layers now depend on deep layers of earlier tokens, so training and prefill can't process tokens fully in parallel. Their cyclic iteration reaches token-by-token quality in 4 parallel passes vs. 53 for the prior Jacobi method (12.5x faster at matched quality). Training/prefill remain slower than a standard Transformer — the next focus.

Paper, code, and video are all public.

Original post →

More from Research

Research channel →