Preprint
Large Language Models

Prompt-MII

Emily Xiao, Yixiao Zeng, Ada Chen, Chin-Jou Li, Amanda Bertsch, Graham Neubig
October 19, 2025arXiv.org9 citations

9

Citations

1

Influential Citations

arXiv.org

Venue

2025

Year

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.

Analysis

Why This Paper Matters

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.

Technical Contributions

  • RL-based instruction induction: PROMPT-MII trains a model to generate instructions from a few examples using reinforcement learning, optimizing for downstream task accuracy. This contrasts with prior work that uses heuristic or supervised approaches.
  • Large-scale meta-training: The model is trained on over 3,000 diverse classification datasets from HuggingFace, covering a wide range of domains and label spaces. This breadth likely contributes to strong generalization to unseen tasks.
  • Token efficiency: The induced instructions are compact (typically a few sentences), yet they match or exceed the performance of full ICL contexts containing many examples. The 3-13x token reduction is a concrete efficiency gain.
  • Evaluation on 90 unseen tasks: The paper provides robust evidence of generalization, with consistent improvements of 4-9 F1 points (10-20% relative) over baselines.

Results

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.

Significance

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.