SSR: Socratic Self-Refine for Large Language Model Reasoning

Haizhou Shi, Ye Liu, Bo Pang, Zeyu Leo Liu, Hao Wang +4 more
11/13/2025
cs.CLcs.AIcs.LG

Official code: SalesforceAIResearch/socratic-self-refine-reasoning (27 stars, last commit 2025-10-03).

Abstract

Large Language Models (LLMs) have demonstrated remarkable reasoning abilities, yet existing test-time frameworks often rely on coarse self-verification and self-correction, limiting their effectiveness on complex tasks. In this paper, we propose Socratic Self-Refine (SSR), a novel framework for fine-grained evaluation and precise refinement of LLM reasoning. Our proposed SSR decomposes model responses into verifiable (sub-question, sub-answer) pairs, enabling step-level confidence estimation through controlled re-solving and self-consistency checks. By pinpointing unreliable steps and iteratively refining them, SSR produces more accurate and interpretable reasoning chains. Empirical results across five reasoning benchmarks and three LLMs show that SSR consistently outperforms state-of-the-art iterative self-refinement baselines. Beyond performance gains, SSR provides a principled black-box approach for evaluating and understanding the internal reasoning processes of LLMs. Code is available at https://github.com/SalesforceAIResearch/socratic-self-refine-reasoning.

View on arXivView PDF

Code Implementations(1)

274Shell, PythonSep 30, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{shi2025ssr,
  title  = {SSR: Socratic Self-Refine for Large Language Model Reasoning},
  author = {Haizhou Shi and Ye Liu and Bo Pang and Zeyu Leo Liu and Hao Wang and Silvio Savarese and Caiming Xiong and Yingbo Zhou and Semih Yavuz},
  year   = {2025},
  eprint = {2511.10621},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.10621v1}
}

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

Discussion