ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
9
Citations
1
Influential Citations
arXiv.org
Venue
2025
Year
A popular method to adapt large language models (LLMs) to new tasks is in-context learning (ICL), which is effective but incurs high inference costs as context length grows. In this paper we propose a method to perform instruction induction, where we take training examples and reduce them to a compact but descriptive prompt that can achieve performance comparable to ICL over the full training set. Specifically, we propose PROMPT-MII, a reinforcement learning (RL) based framework to meta-learn an instruction induction model that can generate compact instructions on the fly for an arbitrary new dataset. We train on over 3,000 diverse classification datasets from the HuggingFace hub, and evaluate on 90 unseen tasks. PROMPT-MII improves downstream model quality by 4-9 F1 points (10-20% relative), matching ICL performance while requiring 3-13x fewer tokens.
In-context learning (ICL) has become a dominant paradigm for adapting large language models to new tasks without fine-tuning. However, its reliance on long context windows—often requiring dozens or hundreds of examples—leads to quadratic scaling in attention costs and high latency. This paper tackles a critical bottleneck: can we compress the entire ICL demonstration set into a single, compact instruction that retains performance? PROMPT-MII answers affirmatively, offering a practical path to cheaper, faster LLM adaptation.
The significance is twofold. First, it addresses a real deployment pain point: reducing token usage by 3-13x directly translates to lower API costs and faster inference. Second, it reframes instruction induction as a meta-learning problem solvable via reinforcement learning, moving beyond hand-crafted prompts or simple summarization. This opens the door to automated prompt engineering at scale.
On 90 held-out classification tasks, PROMPT-MII achieves 4-9 F1 point improvements over standard ICL baselines (e.g., using a fixed prompt or random examples). This corresponds to a 10-20% relative gain. Crucially, it matches the performance of ICL with the full training set while using 3-13x fewer tokens. For example, a task requiring 100 ICL examples might be reduced to a single 10-token instruction. The paper does not report absolute F1 scores, but the relative improvements are consistent across diverse tasks.
PROMPT-MII has immediate practical implications for AI practitioners deploying LLMs in cost-sensitive or latency-critical environments. By compressing ICL demonstrations into compact instructions, it enables high-quality adaptation without the overhead of long contexts. The meta-learning approach also suggests a path toward universal instruction induction models that could work across task types. Future work could extend this to generation, reasoning, or multi-turn tasks, and explore whether induced instructions can be further refined or combined. The paper is a strong step toward making ICL more efficient and scalable.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba