mlsanityData to 14 Oct 2026

How Much Backtracking is Enough? Exploring the Interplay of SFT and RL in Enhancing LLM Reasoning

arXiv 2505.24273 ↗First posted 30 May 2025cs.AIcited by 13

On the map: LLM reasoning → Reinforcement learning for reasoning

Abstract (arXiv)

Recent advancements in large language models (LLMs) suggest that reinforcement learning (RL) effectively internalizes search strategies, yielding significant improvements on challenging reasoning tasks through extended chains of thought. While backtracking is widely viewed as the core mechanism enabling this improvement, its precise dynamics and how SFT and RL interact to optimize for it, remain poorly understood. In this work, we argue that backtracking, the ability to explicitly revisit and revise earlier reasoning steps, is a key operator that enables the transition from linear generation to non-linear tree search for LLMs, unlocking strong performance on combinatorially complex tasks. We motivate this claim by first studying the interplay between supervised fine-tuning (SFT) warm-up and RL across eight reasoning tasks: Countdown, Sudoku, Arc 1D, Advanced Geometry, Color Cube Rotation, List Functions, Zebra Puzzles, and Self Reference. We find that a regular SFT warm-up using self-sampled CoT sequences provides a modest boost to subsequent RL compared to training without any SFT warm-up; however, such gains saturate as tasks become more difficult. Motivated by this failure mode, we introduce a backtracking-centric training recipe. By synthetically varying the number of explicit backtracking steps in the SFT warm-up, we show that (i) longer CoTs containing backtracks stabilize and amplify RL, and (ii) the optimal backtrack depth scales with task difficulty: zero for Arc 1D, one for Countdown, and five or more for Sudoku. Our findings establish that principled backtracking is essential for improving the model's reasoning capability.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 35 of its 47 references that are in the map. First posted on arXiv 30 May 2025.

Builds on

35 of 47 references.

Closest ancestors · 11

Same direction, newest first

  1. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?18 Apr
  2. 2025Echo Chamber: RL Post-training Amplifies Behaviors Learned in Pretraining10 Apr
  3. 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wild24 Mar
  4. 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRs3 Mar
  5. 2025Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learning20 Feb
  6. 2025Kimi k1.5: Scaling Reinforcement Learning with LLMs22 Jan
  7. 2025The Lessons of Developing Process Reward Models in Mathematical Reasoning13 Jan
  8. 2024ProcessBench: Identifying Process Errors in Mathematical Reasoning9 Dec
  9. 2023Let's Verify Step by Step31 May
  10. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Model29 May
  11. 2017Proximal Policy Optimization Algorithms20 Jul

Other references · 24

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  4. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
  5. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
  6. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
  7. 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 672
  8. 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
  9. 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 438
  10. 2025rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinkingcited by 313
  11. 2024Quiet-STaR: Language Models Can Teach Themselves to Think Before Speakingcited by 301
  12. 2023Alphazero-like Tree-Search can Guide Large Language Model Decoding and Trainingcited by 295
12 more
  1. 2024VinePPO: Refining Credit Assignment in RL Training of LLMscited by 183
  2. 2024Recursive Introspection: Teaching Language Model Agents How to Self-Improvecited by 165
  3. 2024Stream of Search (SoS): Learning to Search in Languagecited by 145
  4. 2024Common 7B Language Models Already Possess Strong Math Capabilitiescited by 109
  5. 2024RL on Incorrect Synthetic Data Scales the Efficiency of LLM Math Reasoning by Eight-Foldcited by 99
  6. 2024Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrappingcited by 90
  7. 2025An Empirical Study on Eliciting and Improving R1-like Reasoning Modelscited by 78
  8. 2024Archon: An Architecture Search Framework for Inference-Time Techniquescited by 60
  9. 2023Training Chain-of-Thought via Latent-Variable Inferencecited by 47
  10. 2025Step Back to Leap Forward: Self-Backtracking for Boosting Reasoning of Language Modelscited by 27
  11. 2025To Backtrack or Not to Backtrack: When Sequential Search Limits Model Reasoningcited by 24
  12. 2025Rethinking Inference-Time Scaling: Efficiency Limits and Linguistic Signalscited by 18

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 7.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025RL Squeezes, SFT Expands: A Comparative Study of Reasoning LLMs
  2. 2026How RL Reshapes LLM Reasoning: Transferability, Coverage, and Scaling Laws
  3. 2025Scaling Up RL: Unlocking Diverse Reasoning in LLMs via Prolonged Training
  4. 2025Demystifying Long Chain-of-Thought Reasoning in LLMs
  5. 2025Reshaping Reasoning in LLMs: A Theoretical Analysis of RL Training Dynamics through Pattern Selection
  6. 2025R-Search: Empowering LLM Reasoning with Search via Multi-Reward Reinforcement Learning
  7. 2025Beyond Accuracy: Dissecting Mathematical Reasoning for LLMs Under Reinforcement Learning
  8. 2025Revisiting Reinforcement Learning for LLM Reasoning from A Cross-Domain Perspective