Revisiting Complete Reasoning Traces for Post-Training

Jaehui Hwang, Sangdoo Yun, Byeongho Heo, Dongyoon HanarXiv 2026

TL;DR

Post-training large language models on complete reasoning traces (like Chain-of-Thought) is standard practice, but this paper reveals that intermediate reasoning steps are often highly redundant. By introducing Endpoint-based SFT (E-SFT)—which trains models primarily on the beginning and end of reasoning trajectories—the authors improve final reasoning performance while reducing training and inference compute.

What Problem Does This Paper Address?

Large Reasoning Models (LRMs) excel at complex math and logic tasks by generating long, explicit reasoning chains before delivering an answer. To pass these capabilities down to smaller models, researchers typically use Supervised Fine-Tuning (SFT) on pre-collected reasoning trajectories.

However, these machine-generated traces are notoriously bloated, filled with repetitive checks, tedious detours, and backtracking. This paper tackles a fundamental question: Do LLMs actually benefit from learning these complete, messy trajectories during post-training? Or does exposing them to redundant intermediate steps hinder their learning efficiency and final performance?

Figure 1: Two example reasoning trajectories from SFT training datasets (left and middle) and the corresponding high-level reasoning process highlights redundant intermediate reasoning segments (right).

Methods

The authors systematically analyze reasoning trajectories and propose a simple, segment-level training modification:

  1. Attention & Ablation Analysis: The authors first probe how models utilize reasoning tokens by analyzing attention weights and performing "segment ablation" (removing parts of the text without fine-tuning) to see what truly impacts answer generation.
  2. Endpoint-based SFT (E-SFT): Instead of training on full trajectories, E-SFT splits reasoning chains into steps using double newlines (\n\n). It preserves the first n steps (the problem setup) and the last n steps (the conclusion), while completely dropping the intermediate steps—coarsely trimming about 20% of the total tokens.
  3. Extension to RL and Distillation: The authors extend this logic beyond SFT to Reinforcement Learning (via GRPO) and On-Policy Distillation (OPD). Instead of removing the middle tokens entirely, they mask out the middle 20% of the trajectory from the gradient updates, meaning the model still reads the context but isn't penalized or rewarded for those specific tokens.
  4. Inference-Time Decoding Truncation: As a test-time application, they allow the model to generate its full reasoning chain, but truncate the middle chunk right before generating the final answer to save key-value (KV) cache prefill and attention compute.

Datasets

The experiments utilize several prominent reasoning and post-training datasets:

  • s1K-1.1: A curated dataset containing 1,000 high-quality reasoning examples.
  • OpenThoughts3: A large-scale reasoning dataset, from which a 100K subset was subsampled.
  • DAPO-17k: Used for the GRPO reinforcement learning experiments.

Models were evaluated across a rigorous suite of benchmarks, including AIME24, GPQA-Diamond, and MATH500 for reasoning, alongside standard language benchmarks (MMLU, TruthfulQA) and coding benchmarks (LiveCodeBench, CodeElo).

Key Insights and Ideas

  • The U-Shaped Attention Curve: When an LLM generates its final answer, its attention heavily peaks at the very beginning (problem definition) and the very end (final consolidation) of the reasoning trace. The intermediate steps are weakly attended to across almost all layers.
  • LLMs Can Self-Interpolate: Replacing the middle reasoning steps with generic model generations actually decreases final answer perplexity. This suggests that if you provide the model with clear endpoints, its internal knowledge is capable of filling in the blanks with more coherent, less confusing pathways than the original bloated training data.
  • Trimming Redundancy Stabilizes Loss: Including long, messy intermediate steps inflates training loss and forces the model to allocate capacity to uninformative tokens. E-SFT achieves consistently lower perplexity during training, leading to a better convergence point.
Figure 2: Averaged 1D attention weights across rea- soning trajectories during answer generation. (a) The overall average highlights strong attention peaks at the beginning and end of trajectories. (b–d) Layer-specific patterns reveal a progression: early layers attend can- didate answers, intermediate layers jointly reference problem-definition and reasoning steps, and final layers concentrate on the beginning to format and consolidate the answer.

Key Results

  • Reasoning Improvements: On the s1K dataset with Qwen2.5-32B-Instruct, E-SFT achieved an average score of 75.19% across AIME24, GPQA-D, and MATH, outperforming standard full-trajectory SFT (73.51%). It also beat more complex, resource-intensive filtering methods like perplexity-based filtering.
  • Generalization to RL (GRPO): Applying the middle-masking strategy to GRPO on Qwen3-1.7B-Base boosted average performance from 25.8% to 34.5% (a massive +8.7% absolute gain).
  • General Language Preservation: Domain-specific reasoning SFT often degrades a model's general linguistic capabilities. E-SFT mitigated this "tax," outperforming standard SFT on general benchmarks like MMLU and TruthfulQA.
  • Inference Efficiency: Truncating up to 75% of the middle tokens during inference maintained virtually identical task accuracy while providing a 4.5% reduction in end-to-end evaluation time due to reduced KV cache prefill overhead.

Limitations and Future Work

  • Baseline Capacity Dependency: E-SFT is not a magic bullet for weak models. The authors note that performance gains only emerge if the base model already possesses a moderate level of competence (e.g., an MMLU base performance above ~60–65). If a model is too weak, it lacks the internal knowledge required to infer the missing intermediate steps.
  • Coarse Heuristics: The current implementation relies on a simple step-count heuristic and double newlines (\n\n) to define boundaries. The authors suggest that future work could explore more dynamic, semantic-aware segmentation strategies to identify exactly which subpaths are truly redundant.

Summary updated

BibTeX
@misc{hwang2026revisiting,
  author = {Jaehui Hwang and Sangdoo Yun and Byeongho Heo and Dongyoon Han},
  title = {{Revisiting Complete Reasoning Traces for Post-Training}},
  year = {2026},
  eprint = {2609.07103},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.07103},
}
Figure