Introduction
While Large Language Models (LLMs) have demonstrated remarkable reasoning capabilities, they often struggle with complex, multi-step problems. Current techniques like Chain-of-Thought (CoT) prompting rely on a linear, sequential generation of steps. This "single-pass" approach is fragile; an error in an early reasoning step inevitably cascades, leading to an incorrect final conclusion.
This paper introduces SOCRATIC QUESTIONING (SQ), a novel prompting strategy inspired by human recursive thinking. Instead of forcing a linear path, SQ employs a divide-and-conquer mechanism to decompose complex problems into manageable sub-questions, solving them iteratively to reach a robust final answer.
The Single-Pass Limitation vs. Recursive Thinking
In standard CoT prompting, the model attempts to solve a problem in one go. If the logic is flawed at the start, the model "hallucinates" a path to an incorrect answer. Humans, however, rarely solve difficult tasks this way. We use recursive thinking: identifying what we don't know, breaking the problem down, and building back up from foundational facts.
As shown in the figure above, while CoT fails by misidentifying the forces at play (attributing work solely to friction), the Socratic Questioning approach identifies its own uncertainty and systematically explores the laws of energy conservation to derive the correct velocity.
The Socratic Questioning Framework
The SQ algorithm operates through two distinct phases:
- Top-down Exploration: The model first assesses its confidence. If it is unsure, a Question-Generation (QG) module decomposes the target question into simpler sub-questions. This recursion continues until the questions are simple enough to be answered with high certainty.
- Bottom-up Backtracking: Once the foundational sub-questions are answered, a QA-to-Hint (QA2H) module converts these pairs into declarative "hints." These hints serve as a verified knowledge base, providing the necessary context for the model to solve the original, more complex problem.
Key Insights
- Confidence as a Trigger: The system uses the LLM's self-assessed confidence to decide when to stop and think. By admitting "I do not know," the model avoids the trap of forced guessing.
- Declarative Hints: Converting sub-reasoning into declarative facts (hints) filters out the noise of the intermediate steps, allowing the higher-level solver to focus on the core logic.
- Structural Robustness: The recursive structure allows for error recovery. If a sub-path is incorrect, the model has multiple opportunities across different depths to refine its understanding.
Results and Performance
SOCRATIC QUESTIONING was evaluated across diverse benchmarks, including MATH, MMLU (Physics/Chemistry), and LogiQA. The results demonstrate a significant advantage over existing methods:
- MATH Benchmark: SQ achieved 11.67% accuracy, nearly doubling the performance of CoT (7.33%).
- Logical Reasoning: On LogiQA, SQ outperformed CoT by an absolute 11% (59.33% vs 48.33%).
- Multimodal Tasks: In knowledge-intensive Visual Question Answering (OK-VQA), SQ surpassed previous state-of-the-art multimodal methods by utilizing visual perception engines to feed its recursive logic.
Conclusion and Future Work
SOCRATIC QUESTIONING represents a shift from linear to recursive LLM prompting. While highly effective, the authors note challenges such as "overconfidence," where a model might incorrectly claim high certainty, bypassing the recursive trigger. Future work will focus on incorporating more diverse visual models and optimizing the computational cost associated with multiple recursive API calls. Despite these challenges, SQ provides a transparent and robust framework for tackling the next generation of complex reasoning tasks.
Summary updated