Prompt-MII: Meta-Learning Instruction Induction for LLMs
Emily Xiao, Yixiao Zeng, Ada Chen, Chin-Jou Li, Amanda Bertsch, Graham Neubig
TL;DR
Prompt-MII tackles the inefficiency of in-context learning by meta-learning a policy that converts a dataset's few-shot examples into a compact, reusable instruction. Using reinforcement learning and a model-specific meta-prompt template, it trains on thousands of diverse datasets and evaluates on unseen tasks, achieving performance comparable to 100-shot ICL while using far fewer tokens. It also outperforms explicit optimization baselines like APE and GEPA and demonstrates cross-model transfer with varying degrees of success. The approach offers a scalable, test-time-efficient path for adapting LLMs to new tasks through one-pass instruction induction and highlights the importance of meta-prompt design and model compatibility.
Abstract
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.
