Abstract
This paper introduces Impossible Distillation, a framework that challenges the conventional wisdom that high-quality student models require massive, instruction-following "teacher" models. By leveraging the internal probability distributions of small models like GPT-2—a property termed "paraphrastic proximity"—the authors extract latent knowledge to generate high-fidelity synthetic datasets. The resulting student models, such as Impossible-T5, consistently outperform baselines distilled from ChatGPT in tasks like paraphrasing and summarization, demonstrating that rigorous filtering and latent knowledge extraction can overcome the limitations of model scale.
Introduction
In the current AI landscape, the standard approach to training specialized models is knowledge distillation, where a compact "student" model imitates a massive "teacher" like GPT-4. This paradigm assumes that a student's performance is capped by the teacher's explicit capabilities. However, frontier models are often expensive and restricted by APIs.
This research explores a provocative alternative: can we distill a high-quality model from a teacher that is too small to even understand the target task? For instance, GPT-2 (1.5B parameters) lacks the instruction-following capability to paraphrase a sentence on command. This paper demonstrates that such knowledge is present but buried within the model's latent distributions, and can be successfully extracted to train superior specialized models.
Methodology
Paraphrastic Proximity
The core theoretical insight of this work is paraphrastic proximity. While a small model cannot "paraphrase" when prompted directly, its internal probability distribution naturally clusters semantically similar sentences. When given a specific contextual constraint, the model's sampling space narrows into "paraphrastic subspaces" where multiple completions tend to be variations of the same underlying idea.
The Impossible Distillation Pipeline
The framework operationalizes this insight through a four-stage pipeline designed to turn noisy outputs into high-quality training data:
- Pair Generation: A small teacher (e.g., GPT-2-XL) is prompted with context to sample numerous completions. Due to paraphrastic proximity, many of these are paraphrases.
- Critic Filtering: Raw completions are processed by "off-the-shelf" specialized critics (NLI and ROUGE models) to retain pairs that are semantically equivalent but lexically diverse.
- Student Learning: A student model (e.g., T5-large) is fine-tuned on this filtered synthetic data.
- Self-Distillation: The student model generates its own paraphrases, which undergo further filtering and training to refine the final model.
Results and Evaluation
The authors introduced two major synthetic datasets: DIMPLE (4.2M paraphrase pairs) and DIMSUM (1.5M sentence summarization pairs). Evaluation across benchmarks like MRPC, Quora, and Gigaword revealed several key findings:
- Outperforming Large Models: The 770M parameter Impossible-T5 model outperformed baselines distilled from ChatGPT and, in scientific domains (ParaSCI), even outperformed ChatGPT itself.
- Data Quality over Quantity: Despite being smaller than datasets like ParaBank1, DIMPLE showed higher semantic fidelity and lexical diversity.
- Syntactic Control: The model excelled at generating paraphrases following specific grammatical structures, surpassing ChatGPT in syntax conformity.
- Human Preference: Human annotators preferred Impossible-T5's outputs over ChatGPT-distilled models, citing superior faithfulness to original meanings.
Conclusion
Impossible Distillation proves that small models "know" more than they can "do." By focusing on quality control through automated critics rather than raw teacher scale, researchers can build highly effective specialized models. Future work includes scaling this method to document-level tasks and expanding to multilingual contexts. While the method depends on the quality of the "critics," it offers a path toward high-performance AI that is independent of massive, closed-source models.
Summary updated