cs.LGJun 19, 2026

Low-Rank Attention Residuals

Authors: Jonathan Su

Organizations: Independent Researcher

Abstract

Attention Residuals (AttnRes) replace the fixed residual sum with depth-wise attention over previous sub-layer outputs in Large Language Models (LLMs), but use each output as both a full-dimensional key and value. This couples routing with representation and makes the cost of computing depth-routing scores scale with hidden width dd. We propose Low-Rank Attention Residuals (LR-AttnRes), which keep full-dimensional residual values while using rr-dimensional keys, with r<dr < d, for routing. LR-AttnRes uses the last rr dimensions of each value as the routing key, reducing total residual-side FLOPs while still improving performance. Comprehensive sweeps across the number of blocks (NN) and rr show that depth-wise routing can be effective with far fewer dimensions than the model width. At both 11B and 44B parameters with r=d/4r = d/4, LR-AttnRes achieves lower final validation loss, higher average downstream accuracy, and higher measured training-step throughput than standard AttnRes. We also provide a fused kernel supporting standard and low-rank routing. We release all code, the kernel, and all trained models to facilitate future research.

Explore similar work

CardsList
  1. Delta Attention Residuals

    May 13, 2026Cheng Luo, Zefan Cai, Junjie HuTransformer Residual Streams