Reasoning Fails Where Step Flow Breaks

Xiaoyu Xu, Yulan Pan, Xiaosong Yuan, Zhihong Shen, Minghao Su +2 more
4/8/2026
4 citations
cs.AI

No official code found. Best implementation: XiaoyuXu-Vincent/step-saliency (19 stars, Python, Apache-2.0, last commit 2026-04-19).

Abstract

Large reasoning models (LRMs) that generate long chains of thought now perform well on multi-step math, science, and coding tasks. However, their behavior is still unstable and hard to interpret, and existing analysis tools struggle with such long, structured reasoning traces.

Show full abstract

We introduce Step-Saliency, which pools attention--gradient scores into step-to-step maps along the question--thinking--summary trajectory. Across several models, Step-Saliency reveals two recurring information-flow failures: Shallow Lock-in, where shallow layers over-focus on the current step and barely use earlier context, and Deep Decay, where deep layers gradually lose saliency on the thinking segment and the summary increasingly attends to itself and the last few steps. Motivated by these patterns, we propose StepFlow, a saliency-inspired test-time intervention that adjusts shallow saliency patterns measured by Step-Saliency via Odds-Equal Bridge and adds a small step-level residual in deep layers via Step Momentum Injection. StepFlow improves accuracy on math, science, and coding tasks across multiple LRMs without retraining, indicating that repairing information flow can recover part of their missing reasoning performance.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official code for paper "Reasoning Fails Where Step Flow Breaks" (ACL 2026)

191Python, ANTLRApr 8, 20267 months agoApache-2.0

Similar Papers

Cite this paper

@article{xu2026reasoning,
  title  = {Reasoning Fails Where Step Flow Breaks},
  author = {Xiaoyu Xu and Yulan Pan and Xiaosong Yuan and Zhihong Shen and Minghao Su and Yuanhao Su and Xiaofeng Zhang},
  year   = {2026},
  eprint = {2604.06695},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.06695v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.06695.svg)](https://codeofpaper.com/paper/2604.06695)

Discussion