The Art of SOCRATIC QUESTIONING: Recursive Thinking with Large Language Models
Authors:
- Zhiyang XuZXZhiyang Xu
- Ying ShenYSYing Shen
- Minqian LiuMLMinqian Liu
- Di JinDJDi Jin
- Qifan WangQWQifan Wang
- Lifu HuangLHLifu Huang
Preprint
Abstract
Chain-of-Thought (CoT) prompting enables large language models to solve complex reasoning problems by generating intermediate steps. However, confined by its inherent single-pass and sequential generation process, CoT heavily relies on the initial decisions, causing errors in early steps to accumulate and impact the final answers. In contrast, humans adopt recursive thinking when tackling complex reasoning problems, i.e., iteratively breaking the original problem into approachable sub-problems and aggregating their answers to resolve the original one. Inspired by the human cognitive process, we propose SOCRATIC QUESTIONING, a divide-and-conquer style algorithm that mimics the recursive thinking process. Specifically, SOCRATIC QUESTIONING leverages large language models to raise and answer sub-questions until collecting enough information to tackle the original question. Unlike CoT, SOCRATIC QUESTIONING explicitly navigates the thinking space, stimulates effective recursive thinking, and is more robust towards errors in the thinking process. Extensive experiments on several complex reasoning tasks, including MMLU, MATH, LogiQA, and visual question-answering demonstrate significant performance improvements over the state-of-the-art prompting methods, such as CoT, and Tree-of-Thought. The qualitative analysis clearly shows that the intermediate reasoning steps elicited by SOCRATIC QUESTIONING are similar to humans' recursively thinking process of complex reasoning problems.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- ViperGPT: Visual Inference via Python Execution for Reasoning2023
- Is ChatGPT a General-Purpose Natural Language Processing Task Solver?2023
- MultiInstruct: Improving Multi-Modal Zero-Shot Learning via Instruction Tuning2023
- Zero-shot Faithful Factual Error Correction2023
- Is a Question Decomposition Unit All We Need?2022
- Automatic Generation of Socratic Subquestions for Teaching Math Word Problems2022
- End-to-end Spoken Conversational Question Answering: Task, Dataset and Model2022
- How Can We Know When Language Models Know? On the Calibration of Language Models for Question AnsweringTransactions of the Association for Computational Linguistics, 2021
- Did Aristotle Use a Laptop?A Question Answering Benchmark with Implicit Reasoning StrategiesTransactions of the Association for Computational Linguistics, 2021
- Unsupervised Question Decomposition for Question Answering2020