On the Runway Cascade of Transformers for Language Modeling

Hunjae Lee, Corey ClarkNeurIPS 2026

TL;DR

In standard causal transformers, tokens don't just communicate directly—they also pass whispered messages through every intermediate token between them, creating a hidden echo chamber of redundant data. This paper identifies this snowballing noise as a runway cascade and introduces a clever, zero-parameter fix that lets attention heads check what has already accumulated in the pipeline before paying direct attention. The result? Sharper token representations, stronger long-context extrapolation, and the complete disappearance of the infamous "lost-in-the-middle" retrieval slump.

What Problem Does This Paper Address?

Even the best causal language models suffer from quirky failure modes: they forget information buried in the middle of a prompt ("lost-in-the-middle"), obsess over the first few tokens ("attention sinks"), and let final token representations blur together ("representation collapse").

Viewing transformers through the lens of Graph Neural Networks (GNNs), the authors trace these bugs to the upper-triangular causal mask. When an early source token ($s$) sends information to a later destination token ($d$), that signal travels via two routes:

  1. A direct path (one-hop attention from $d$ back to $s$).
  2. Indirect paths—which the authors dub the runway—hopping through intermediate tokens along the way across layers.
Figure 1: Visualizing two types of paths between token s and d along the causal graph: (1) direct path (in dotted red) and (2) indirect paths (in solid blue).

Because softmax attention is continuous and strictly positive, intermediate tokens can never completely ignore earlier tokens. Information inevitably leaks into the runway. Worse, standard row-wise attention has a mathematical blindspot: when redundant or irrelevant information becomes shared across many intermediate tokens ("common mode" influence), attention weights become insensitive to it. Even if a model learns great direct attention patterns, it can't stop redundant noise from snowballing down the runway—a phenomenon the authors formalize as runway cascade.

Methods

To cure this blindness without breaking causality or adding trainable weights, the authors introduce runway-aware rewiring, a "soft-rewiring" tweak bolted right onto standard multi-head attention:

  • The Runway Proxy: For any destination token $h_d$, its immediate predecessor ($h_{d-1}$) serves as an up-to-date summary of what has accumulated in the runway so far.
  • Measuring Redundancy: Before $h_d$ finalizes its attention to an earlier token $h_m$, the model computes a dot-product compatibility score between $h_{d-1}$ and $h_m$ (repurposing value vectors from an existing attention head so zero new parameters are needed) and squashes it through a sigmoid to get a runway-coefficient $r_{dm} \in (0, 1)$.
  • Down-scaling and Boosting: If $h_m$ is already heavily represented in $h_{d-1}$ ($r_{dm}$ is high), the direct attention edge between $h_d$ and $h_m$ is multiplicatively scaled down by $(1 - r_{dm})$. Self-connections and immediate neighbor links ($h_{d-1} \to h_d$) are left untouched. Finally, the row is re-normalized to sum to 1—which naturally boosts quieter, potentially over-squashed signals back into the spotlight.

Datasets

  • C4 (Colossal Clean Crawled Corpus): Used to pre-train decoder-only models (50M to 750M parameters, 20B tokens) and measure validation loss/perplexity.
  • Synthetic Passkey Retrieval: Natural language sequences embedded with a random 5-digit passkey at varying context lengths and depths to test exact-match copying and retrieval.
  • PG-19: Book-length texts used to evaluate long-range language modeling and out-of-context length extrapolation.
  • Zero-Shot Reasoning Benchmarks: Five standard benchmarks (including ARC-Easy and PIQA) to test downstream commonsense reasoning. No new datasets were introduced.

Key Insights and Ideas

  • Why tokens get "lost in the middle": Mathematically bounding token sensitivity reveals that middle tokens sit at the crossroads of the longest runways. They get over-recruited as "information highways" for token pairs at opposite ends of the prompt, dulling their own representational sharpness.
  • Snowballing invisibility: The more an early token's signal saturates intermediate tokens uniformly, the more invisible that shared redundancy becomes to standard softmax attention, allowing it to cascade forward unchecked.
  • Not just distance decay: Ablations against ALiBi (uniform distance-based decay) and related gating methods show that simple decay isn't enough. Because runway-aware rewiring re-evaluates source tokens dynamically at every step, a token suppressed for one destination can bounce right back for a later one.

Key Results

  • General Language Modeling: Across model scales (50M–750M) and context windows (512–2048), rewired transformers consistently beat standard baselines, with the performance gap widening as context lengths grow.
Figure 2: Validation perplexity on the C4 dataset with (a) varying context window sizes (from 512 to 2048) using a 100 million parameter model and (b) varying model sizes from 50 million to 750 million parameters. Note: lower values indicate better performance.
  • Killing the U-Curve in Retrieval: On passkey retrieval pushed beyond the 1024 training window to 1280 tokens, standard 450M models collapse below 20% accuracy, whereas rewired models hold above 60%. Crucially, when testing passkey depth, standard transformers suffer the classic U-shaped dip in the middle, while the rewired model flattens the curve and dominates at every depth.
  • Long-Range Extrapolation: On PG-19, the validation loss advantage grows from 0.03 in-context to 0.24 at twice the training length. Overall, standard transformers needed roughly 150M more parameters to match the extrapolation abilities of the rewired models.

Limitations and Future Work

Zero extra parameters does not mean zero extra compute. In its current unoptimized PyTorch implementation, calculating and applying runway coefficients reduces training throughput by 31%, lowers inference throughput by 10%, and bumps peak inference memory by 14%. Where tasks stay strictly within short training contexts or test basic zero-shot reasoning (where gains are modest: +0.1 to +1.5 points on four tasks, and -0.9 on ARC-Easy), that overhead may be hard to justify.

However, the authors view this mechanism as a proof-of-concept rather than the final word on efficiency. Promising next steps include writing custom fused GPU kernels, computing runway coefficients in only a subset of layers, or only triggering rewiring beyond a specific token distance threshold.

Summary updated

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 \textit{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 \textit{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 \textit{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.
BibTeX
@inproceedings{lee2026runway,
  author = {Hunjae Lee and Corey Clark},
  title = {{On the Runway Cascade of Transformers for Language Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=BG7L2BEqkO},
}
Figure