Introduction
Current advancements in Large Language Models (LLMs) often rely on static prompting techniques such as Chain-of-Thought (CoT) or "Step-Back" prompting. While effective, these methods assume a "one-size-fits-all" approach to reasoning. In contrast, human problem-solving is adaptive; we devise specific strategies or "mental programs" tailored to the complexity of a given task. The SELF-DISCOVER framework addresses this gap by enabling LLMs to autonomously discover and compose task-specific reasoning structures, significantly improving performance while maintaining computational efficiency.
The SELF-DISCOVER Framework
The SELF-DISCOVER framework moves beyond linear rationales by allowing models to select and combine atomic reasoning modules—such as "critical thinking" or "step-by-step analysis"—into a structured JSON-like plan.
The process operates in two distinct stages:
Stage 1: Task-Level Meta-Reasoning (Discovery)
This stage occurs once per task, making it highly amortized. Given a set of 39 atomic reasoning modules and task examples, the LLM performs three actions:
- Select: Identifies relevant reasoning modules (e.g., "Break the problem into sub-tasks").
- Adapt: Rephrases general modules to fit the specific task context.
- Implement: Organizes these adapted modules into a structured, actionable plan formatted as a JSON-like schema.
Stage 2: Instance-Level Execution
For individual problems, the LLM follows the structure discovered in Stage 1, filling in the "values" for the JSON keys to reach a final answer.
Experimental Evaluation
The framework was evaluated across 25 challenging tasks using GPT-4 and PaLM 2-L, focusing on:
- BigBench-Hard (BBH): Algorithmic and logical reasoning.
- Thinking for Doing (T4D): Grounded social agent reasoning.
- MATH: High school competition-level mathematics.
Key Results and Performance
SELF-DISCOVER demonstrates substantial improvements over traditional prompting methods. It achieved up to a 32% performance gain over CoT on complex benchmarks. Notably, it outperformed inference-heavy ensemble methods like CoT-Self-Consistency by over 20% while requiring 10-40x fewer inference steps.
On the T4D benchmark, GPT-4 with SELF-DISCOVER reached a state-of-the-art 85% accuracy, surpassing specialized methods. Furthermore, the resulting JSON-like reasoning structures provide enhanced interpretability compared to standard free-form text rationales.
Discussion and Insights
The success of SELF-DISCOVER highlights several key properties of LLM reasoning:
- Task-Intrinsic Structure: Reasoning is not generic; tasks possess unique underlying logic that can be explicitly mapped.
- Compositional Synergy: Composing multiple reasoning styles is more effective than selecting a single best method.
- Universality: Discovered structures are often model-agnostic; a plan generated by PaLM 2-L can effectively guide GPT-4.
Limitations
Despite its strengths, the framework faces a "calculation gap" in mathematical tasks, where 74.7% of errors were simple arithmetic mistakes despite correct logical structuring. Additionally, while smaller models (e.g., Llama2-70B) can follow these structures, they often struggle to discover them autonomously.
Conclusion
SELF-DISCOVER represents a shift toward more autonomous and efficient LLM reasoning. By allowing models to "program" their own reasoning paths, the framework achieves superior performance and interpretability without the heavy compute costs of traditional ensemble techniques.
Summary updated