TL;DR
STRATEGY-INDUCT is a novel framework that automates task-level prompt engineering using only a small set of unlabeled example questions, completely eliminating the need for costly labeled answers. By first prompting an LLM to generate explicit reasoning strategies for these questions, it creates a structured proxy signal to induce highly effective, reusable instructions. This approach consistently outperforms state-of-the-art prompt engineering methods across various model scales and complex reasoning tasks.
What Problem Does This Paper Address?
Providing high-quality task instructions (prompts) is essential for maximizing the accuracy and consistency of Large Language Models (LLMs). However, crafting these prompts manually requires significant domain expertise and trial-and-error.
To solve this, researchers developed "instruction induction"—a method where LLMs automatically infer optimal instructions from a few examples. Unfortunately, existing state-of-the-art instruction induction frameworks rely heavily on input-output pairs. In real-world applications, obtaining ground-truth labeled answers can be incredibly difficult, expensive, or downright impossible.
The authors of this paper tackle a fundamental question: Can we induce high-quality, generalizable task instructions using only example questions, without requiring any answers?
Methods
The authors introduce STRATEGY-INDUCT, a model-agnostic, three-stage framework designed to operate in a question-only setting:
- STRATEGY Stage: Given a small set of unlabeled task-specific questions (the authors find $N=3$ is the sweet spot), the LLM is prompted to generate an explicit, step-by-step reasoning strategy ($s_i$) for each question ($x_i$) without actually solving it. This results in a collection of structured
(strategy, question)pairs. - INDUCT Stage: The LLM reviews these generated pairs alongside a meta-prompt to abstract the instance-level strategies into a single, comprehensive, task-level instruction ($P_{\text{STRATEGY-INDUCT}}$).
- Inference Stage: This newly induced instruction is frozen and reused to guide the LLM when solving new, unseen questions within the same task domain, amortizing the computational cost of prompt generation.
Datasets
The framework was rigorously evaluated across 60 distinct settings using three primary datasets:
- BBH-Induct: 23 challenging tasks (5,161 instances) adapted from the BIG-Bench Hard benchmark, covering multi-step reasoning challenges like logical deduction, spatial reasoning, and language understanding.
- Evals-Induct: 24 hard tasks (3,683 instances) derived from the OpenAI Evals project designed to stretch the capabilities of state-of-the-art models.
- Shift Cipher Task: A symbolic reasoning dataset requiring models to decode text encrypted with shift ciphers ranging from ROT-1 to ROT-25.
- MMLU-PRO: A subset of 350 instances across 14 sub-tasks used to evaluate the framework's generalizability on purely knowledge-based, non-reasoning tasks.
Key Insights and Ideas
- Strategies as a Proxy for Labels: The core "aha moment" of the paper is that an explicit problem-solving strategy can substitute for ground-truth labels. The strategy provides the structured logical signal that the induction step needs to understand the task's underlying nature.
- The $N=3$ Sweet Spot: More data isn't always better. Moving from 1 to 3 example questions significantly improved instruction quality. However, increasing to 5 examples introduced too much text and complexity, overwhelming the model's ability to synthesize a concise instruction.
- Cross-Model Generalization: Instructions induced by large, highly capable models (like Llama 3.1 405B or GPT-4o) significantly boost the performance of smaller models. Surprisingly, models sometimes perform better using prompts generated by a competing model family than their own, as it introduces alternative, complementary reasoning paths.
- LLM and LRM Synergy: The paper highlights a powerful interplay between standard LLMs and Large Reasoning Models (LRMs like GPT o3-mini). Capable LLMs can generate structured instructions that keep LRMs formatted correctly, while LRMs can generate deeply structured strategies that elevate standard LLMs.
Key Results
STRATEGY-INDUCT consistently outperformed existing baselines, including Zero-shot Chain-of-Thought (ZCoT), Strategic CoT (SCoT), and standard question-only INDUCT:
- Against ZCoT, it achieved a dominant 50-3-7 win-tie-lose record across the 60 evaluation settings.
- It outperformed the standard question-only INDUCT baseline (44-3-13) and SCoT (52-0-8).
- On the Shift Cipher task, STRATEGY-INDUCT yielded massive accuracy improvements on less common shift values (e.g., ROT-10) where standard models typically break down. It achieved this by successfully inducing instructions that explicitly told the model how to handle alphabet wrap-around effects.
Limitations and Future Work
While highly effective, the authors note a few limitations:
- Format Dependency: The framework relies heavily on the model's baseline ability to follow complex instructions and output structured text. Older or weaker models (like Llama 1 or 2) lack the instruction-following capability required for the Strategy Stage.
- API Variability: Because the experiments relied on commercial APIs (such as Mistral AI, SambaNova, and OpenAI), upstream changes or optimizations by providers could introduce variations in behavior.
- Task Scope: The method excels at repetitive, structured tasks that share a common backbone. Extending STRATEGY-INDUCT to open-ended, highly diverse, or heterogeneous real-world task mixtures remains an open area for future research.
Summary updated