R279 · Infrastructure for agents at scale › Inference providers and serving reliability

DeepCrossAttention: learned, per-token residual routing across layers

Read the original

Authors Kyriakos Axiotis, Thomas Fu

model-architecturepretrainingresidual-connectionspaper

Source: Google Research blog, "Supercharging transformer residual connections" (Kyriakos Axiotis and Thomas Fu, 2026-11-23), on the ICML 2025 paper DeepCrossAttention (arXiv 2502.06785). Found via TLDR AI 2026-11-24.

What it is

A standard residual connection adds each layer's output to its input with a fixed weight of one. By depth 30, every earlier representation has been summed into one stream with equal weight. Features computed early get diluted, and later layers spend capacity recomputing them.

DeepCrossAttention (DCA) replaces that fixed sum with a learned router over the whole layer history:

Results the post reports

What to be careful about

Why it matters for a staff engineer

Residual-stream design is now an active axis in frontier models: hyper-connections, Moonshot's attention residuals, and DCA all go after the same dilution problem. Tencent's Hy4 (R283) ships with 4-stream identity Hyper-Connections. If you serve or fine-tune open weights, expect architectures where activations from many layers stay live. That changes activation memory, KV-adjacent buffers and kernel fusion. The retrofit result also suggests that some of these gains can be had from continued pretraining of an existing model, not only from training from scratch.

Connections

See R279 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.