On the Runway Cascade of Transformers for Language Modeling
Hunjae Lee, Corey Clark
TL;DR
The paper addresses failure modes in decoder-only transformers arising from runway cascades, where indirect runway-driven information accumulates beyond what direct-path attention controls. It formalizes runway cascade and derives theoretical bounds on information propagation, demonstrating how misalignment can trigger redundant, noise-like cascades. To mitigate this, it introduces runway-aware rewiring, a parameter-free mechanism that reweights attention based on runway context by computing runway coefficients from a summary token, seamlessly integrating with standard attention. Empirically, the approach yields consistent improvements in general language modeling, information retrieval tasks, and extrapolation capabilities across model sizes and context lengths, underscoring enhanced long-range information routing without added parameters. Overall, the work offers a principled, topology-aware solution to transform the propagation dynamics of causal transformers, with clear practical benefits for robustness and scalability.
Abstract
In decoder-only (causal) transformers, the computation graph created by causal masking routes information through both direct-path attention and indirect paths formed by intermediate tokens. We denote these indirect paths between token pairs as their runways. We argue that certain failure modes of causal transformers as observed by a growing body of recent works are likely exacerbated by a misalignment between these two information propagation modes. We formalize runway cascade as a phenomenon whereby this misalignment results in redundancies and irrelevant information cascading to token representations despite adequately learned attention patterns. As a solution, we propose runway-aware rewiring as a more explicit way of incorporating runway context directly into each token's direct-path attention. This mechanism re-wires the attention pattern for each token based on a summary of its runway landscape, enabling awareness of accumulating representational influences and allowing for more balanced information propagation. Our proposed methodology introduces no additional parameters and can seamlessly be integrated into standard attention mechanism. Empirically, our rewired transformer results in steady improvements in general language modeling as well as noticeably stronger information retrieval and extrapolation abilities compared to standard transformers.
