Self-discover is a prompting framework in which a large language model first composes its own reasoning structure for a type of task, using a library of general reasoning modules, and then follows that structure to solve each individual problem. Proposed in 2024 by researchers at Google DeepMind and the University of Southern California, it treats the choice of reasoning strategy as something the model should discover per task rather than receive as a fixed template.
In artificial intelligence practice, Self-discover belongs to the family of structured reasoning prompts alongside chain-of-thought, plan-and-solve prompting and step-back prompting. Its distinctive idea is a two-stage split: an inexpensive task-level stage that builds a plan once, and an instance-level stage that reuses that plan for every input.
How Self-discover builds a reasoning structure
Stage one works at the task level and needs only a handful of unlabeled example questions. The model receives a list of atomic reasoning modules, short natural-language descriptions such as “break the problem into subproblems”, “use critical thinking” or “think step by step”. The original paper used 39 such modules, many of them drawn from earlier work on human problem-solving heuristics.
Three meta-prompts then transform this generic list into a task-specific plan. Each action is a separate model call, and the output of one action becomes the input of the next.
| Action | What the model does | Output |
|---|---|---|
| Select | Chooses the modules relevant to the task | Short list of modules |
| Adapt | Rephrases each module for this task | Task-specific module descriptions |
| Implement | Turns adapted modules into a step plan | Reasoning structure in key-value JSON |
The resulting reasoning structure resembles a form with named fields, for example “identify the constraints”, “list candidate answers” and “verify each candidate”. The format matters: a JSON-like structure makes the steps explicit and easier for the model to follow than a free paragraph of advice.
How the structure is used at inference time
Stage two works at the instance level. For every new question, the prompt contains the discovered structure and an instruction to fill in each field in order before stating the final answer. No further module selection takes place, so each instance needs only a single model call.
This arrangement gives Self-discover a favorable cost profile. The three discovery calls are amortized across all instances of the task, while sampling-heavy methods such as self-consistency pay for many generations on every question. The original authors reported 10 to 40 times fewer inference calls than chain-of-thought with self-consistency on comparable benchmarks.
| Method | Calls per task setup | Calls per instance |
|---|---|---|
| Chain-of-thought | 0 | 1 |
| Self-consistency | 0 | Typically 5 to 40 |
| Self-discover | 3 | 1 |
| Tree of thoughts | 0 | Many, depending on search depth |
Self-discover compared with related prompting techniques
Self-discover differs from neighboring methods mainly in who chooses the reasoning strategy and when the choice is made. Chain-of-thought imposes one generic strategy, while plan-and-solve asks the model to plan separately for every question. Self-discover plans once per task and grounds the plan in an explicit module library.
| Technique | Who sets the strategy | Planning scope |
|---|---|---|
| Zero-shot chain-of-thought | Fixed instruction | None |
| Plan-and-solve prompting | Model, per question | Instance level |
| Step-back prompting | Fixed abstraction step | Instance level |
| Meta-prompting | Conductor model and experts | Instance level |
| Self-discover | Model, from a module library | Task level |
Reported gains were largest on tasks that need structured, multi-step reasoning, such as logical deduction, world-knowledge puzzles and agent planning benchmarks. On BIG-Bench Hard and similar suites, the authors described improvements over chain-of-thought for models including GPT-4 and PaLM 2, with the size of the gain varying considerably by task.
Applying Self-discover in practice
Teams usually implement Self-discover as a small offline pipeline. They run the three discovery prompts on a few representative questions, review the resulting structure, store it as a reusable prompt template and then serve it at scale. Because the structure is plain text, a human can edit or tighten it before deployment.
- Use representative examples in stage one, because a plan built on easy questions often omits steps that hard ones need.
- Version the structure like any prompt asset, and re-run discovery when the task or the model changes.
- Reuse structures across models with care: the original work found that structures can transfer, but performance should be re-measured.
- Pair the structure with prompt evaluation on a held-out set, since a plausible plan is not proof of better accuracy.
Limitations and common mistakes
Self-discover assumes that all instances of a task share one useful reasoning shape. When a dataset mixes very different question types, a single structure can force irrelevant steps and reduce accuracy compared with simple chain-of-thought. The method also depends on the model being strong enough to follow a long structured template faithfully.
| Symptom | Likely cause | Remedy |
|---|---|---|
| Fields left empty or skipped | Structure too long for the model | Merge or remove minor steps |
| Accuracy below chain-of-thought | Heterogeneous task mix | Discover separate structures per subtype |
| Confident but wrong answers | No verification step in the plan | Add an explicit check field |
| Drift after model update | Structure tuned for the old model | Re-run discovery and re-evaluate |
Finally, a structured trace is not a guarantee of faithful reasoning. The model may fill every field and still reach its answer by another path, so the trace should be treated as a useful scaffold rather than as an audit record.
Stripped to the essentials
Self-discover lets an AI model write its own checklist before it starts work. First, it looks at a few sample questions. Then it picks useful thinking habits from a list. It turns them into a clear plan with numbered steps.
After that, the model uses the same plan for every question of that kind. It fills in each step and then gives the answer. This is like a cook who designs a recipe once and then follows it for every dinner. Planning once saves time, and a clear plan often leads to better answers.
Where it is applied
An insurance company uses a language model to check whether claims match policy terms. Each claim requires several judgments: which clauses apply, which exclusions might block payment and whether the dates fit the coverage period. Plain chain-of-thought prompts produced inconsistent reasoning that reviewers found hard to follow.
The team runs Self-discover on 20 anonymized sample claims. The model selects modules such as “identify constraints”, “consider exceptions” and “verify the conclusion”, and implements them as a seven-field JSON structure. Analysts shorten two fields, add a field for citing the relevant clause and store the result as the production template.
On a held-out set of 300 claims, the structured prompt gives more consistent decisions and readable traces, while each claim still needs only one model call. Human adjusters continue to make the final decision, using the filled structure as a starting point for review.