Manuscript Offprint

arXiv:2611.08403

StepBack: Step-Level Error-Localized Resampling for Efficient Test-Time Reasoning

Yang Ouyang, Jung-Eun Kim

Abstract

Self-consistency (SC) is a widely used decoding strategy for improving chain-of-thought reasoning, but it requires sampling many complete reasoning trajectories with a preset budget. Its efficient variants reduce the cost mainly by stopping full-trajectory sampling early or distributing the number of samples across questions. In this paper, we propose StepBack, a step-level error-localized resampling method for efficient test-time reasoning. Given a small set of draft trajectories, STEPBACK localizes likely first error positions using lightweight signals and then resamples the detected error step and its suffix, followed by majority answer voting. Empirically, STEPBACK matches the accuracy of SC on average across seven mathematical reasoning and multi-hop QA benchmarks, while reducing token usage by up to 41.26%. In addition, by nature, STEPBACK can be combined with adaptive inference methods such as Adaptive Consistency, further improving their inference-time efficiency.²

1 Introduction

Chain-of-thought prompting improves the reasoning ability of large language models (LLMs) [Brown et al., 2020] by encouraging language models to verbalize intermediate steps before producing a final answer [Wei et al., 2022, Kojima et al., 2022]. A widely used approach to further improve accuracy is Self-Consistency (SC), which samples multiple “complete” reasoning trajectories and selects the most frequent final answer [Wang et al., 2022]. Despite its effectiveness, SC is computationally expensive: each additional candidate answer requires generating an entire reasoning trajectory from scratch, so the token cost grows linearly with both the number of sampled trajectories and the length of each trajectory.

Recent studies have sought to reduce this cost by adjusting the number of full trajectories to sample. Adaptive-Consistency (AC) and Early-Stopping Self-Consistency (ESC) stop sampling once sufficient answer agreement is observed; Difficulty-Adaptive Self-Consistency (DSC) allocates larger budgets to harder

Figure

Figure 1: STEPBACK achieves higher accuracy with significantly fewer generated tokens than self-consistency on GSM8K.

*Corresponding Author

²Our code is available at: https://github.com/JEKimLab/StepBack

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 2: Instead of regenerating many full trajectories, StepBack identifies a likely first error step, reuses valid early steps, and resamples only the erroneous step and its suffix before majority voting with the same voting budget (32 in this example).

questions; Reasoning-Aware Self-Consistency (RASC) makes stopping and voting more selective with rationale features [Aggarwal et al., 2023, Li et al., 2024, Wang et al., 2025, Wan et al., 2025]. These methods improve decisions on when to stop sampling or how many trajectories to sample, but they largely operate at the level of complete trajectories. As a result, they leave open a finer-grained question: where to efficiently spend additional sampling within a reasoning trajectory?

This question is important because reasoning failures often emerge at an intermediate reasoning step rather than at only the final answer [Wei et al., 2022, Uesato et al., 2022, Lightman et al., 2024]. Once such an error occurs, subsequent steps may hinge on the corrupted reasoning state, causing the error to propagate and end up with an incorrect final answer, a phenomenon also noted in prior work on accumulated errors in chain-of-thought reasoning [Ling et al., 2023, Ouyang et al., 2026]. Meanwhile, the early steps of a reasoning chain contain useful problem setup [Ji et al., 2025]. This suggests a sensible opportunity for efficient test-time reasoning: if a likely first erroneous step can be localized, the valid early steps can be preserved while only the erroneous step and its subsequent suffixes are resampled [Tyen et al., 2024].

With this motivation, we propose STEPBACK, a step-level error-localized resampling method for efficient self-consistent reasoning. STEPBACK first generates a small set of draft trajectories and decomposes each trajectory into reasoning steps. It then uses lightweight signals, such as step-level negative log-likelihood, to localize likely first error positions. For each localized trajectory, STEPBACK reuses the earlier steps before the detected error, rolls back to the error step, and resamples the detected error step together with its suffixes. When no explicit error is detected, STEPBACK samples only the final answer step. The resulting candidate answers are then aggregated by majority voting, following the standard SC. This approach significantly cuts token usage while matching SC's accuracy on average, as depicted in Figure 1. The key contributions of our work are:

References (27)