Big Reasoning with Small Models: Instruction Retrieval at Inference Time
Kenan Alkiek, David Jurgens, Vinod Vydiswaran
TL;DR
Small language models struggle with multi-step reasoning and domain knowledge, but this work shows that inference-time instruction retrieval can bridge the gap to larger models. The authors build an Instruction Corpus by clustering training examples and generating modular, two-part instructions with GPT-5, then retrieve top-k instructions to guide decoding across MedQA, MMLU Law, and MathQA without fine-tuning. Across 3B–14B models, retrieved instructions yield consistent gains, especially on knowledge-intensive tasks, with concise prompts outperforming verbose ones and model-family effects often dominating over size. The approach preserves privacy and efficiency by externalizing reasoning in a non-parametric corpus, and results motivate competence-aware retrieval for adaptive, on-device reasoning.
Abstract
Can we bring large-scale reasoning to local-scale compute? Small language models (SLMs) are increasingly attractive because they run efficiently on local hardware, offering strong privacy, low cost, and reduced environmental impact. Yet they often struggle with tasks that require multi-step reasoning or domain-specific knowledge. We address this limitation through instruction intervention at inference time, where an SLM retrieves structured reasoning procedures rather than generating them from scratch. Our method builds an Instruction Corpus by grouping similar training questions and creating instructions via GPT-5. During inference, the SLM retrieves the most relevant instructions and follows their steps. Unlike retrieval-augmented generation, which retrieves text passages, instruction retrieval gives the model structured guidance for reasoning. We evaluate this framework on MedQA (medical board exams), MMLU Professional Law, and MathQA using models from 3B to 14B parameters without any additional fine-tuning. Instruction retrieval yields consistent gains: 9.4% on MedQA, 7.9% on MMLU Law, and 5.1% on MathQA. Concise instructions outperform longer ones, and the magnitude of improvement depends strongly on model family and intrinsic reasoning ability.
