Adaptive Rectification Sampling for Test-Time Compute Scaling

Zhendong Tan, Xingjun Zhang, Chaoyi Hu, Yancheng Pan, Shaoxun Wang
4/2/2025
cs.CLcs.AI

No official code found. Best implementation: TanZhendong/AR-Sampling (3 stars, last commit 2025-04-01).

Abstract

The newly released OpenAI-o1 and DeepSeek-R1 have demonstrated that test-time scaling can significantly improve model performance, especially in complex tasks such as logical reasoning. Common test-time scaling methods involve generating more chains of thought (CoTs) or longer CoTs with self-correction. However, while self-correction can improve performance, it may lead to significant token waste and reduce readability of the CoT if the reasoning steps are already correct. To demonstrate that large language models (LLMs) can rectify errors at a more fine-grained level, we propose Adaptive Rectification Sampling (AR-Sampling), which can guide the LLMs to self-correction at the appropriate step. AR-Sampling leverages a process-supervised reward model (PRM) as a verifier and constructed trigger sentences to guide the model in adaptive step-level rethinking. Through the experiments on GSM8K and MATH500, it indicates that our approach enables the models to rethink in more fine-grained level, improving the accuracy of solutions, while generating a reasonable number of additional tokens.

View on arXivView PDF

Code Implementations(1)

Python implementation of Adaptive Rectification Sampling (AR-Sampling).

30Shell, PythonMar 31, 20251 years ago

Similar Papers

Cite this paper

@article{tan2025adaptive,
  title  = {Adaptive Rectification Sampling for Test-Time Compute Scaling},
  author = {Zhendong Tan and Xingjun Zhang and Chaoyi Hu and Yancheng Pan and Shaoxun Wang},
  year   = {2025},
  eprint = {2504.01317},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.01317v2}
}

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/2504.01317.svg)](https://codeofpaper.com/paper/2504.01317)

Discussion