TL;DR
Impossible Distillation turns the traditional knowledge distillation paradigm on its head by showing that high-quality task-specific datasets and models can be distilled from small, low-quality teacher models (like GPT-2) that cannot actually perform the target task. By exploiting an intrinsic property called paraphrastic proximity, the authors train a 770M parameter student model that matches or outperforms 175B parameter models like ChatGPT on paraphrasing and sentence summarization tasks.
What Problem Does This Paper Address?
State-of-the-art NLP models often rely on massive, instruction-tuned Large Language Models (LLMs) like GPT-4 to generate synthetic data for training smaller, specialized models. While effective, this approach is expensive, computationally intensive, and dependent on proprietary APIs. Traditional unsupervised alternatives, such as back-translation, often suffer from low corpus diversity and high noise.
The authors ask a seemingly impossible question: Can we distill a high-quality dataset and student model from a small, off-the-shelf language model that is completely incapable of performing the task via direct prompting?
Methods
The core innovation relies on a property the authors call paraphrastic proximity: the tendency of pre-trained language models to cluster alternative, semantically equivalent completions (paraphrases) within a proximal subspace of their distribution when constrained by an informative context.
The Impossible Distillation framework consists of four main stages:
- Pair Generation: Instead of prompting a model to "paraphrase this sentence," they feed a teacher model (e.g., GPT-2 XL) a contextual prompt and over-sample multiple next-sentence completions. They then pair these completions together to form a raw data pool of candidate source-paraphrase pairs.
- Critic Filtering: The raw data pool is highly noisy. To fix this, they apply a pipeline of frozen, off-the-shelf "critic" models:
- Semantic Equivalence Filter: Uses a Natural Language Inference (NLI) model to ensure bidirectional entailment.
- Dissimilarity Filter: Uses ROUGE-L and Tree Edit Distance (TED) to filter out pairs that are too lexically or syntactically similar.
- Diversity Filter: A graph-based traversal algorithm that eliminates duplicate pairs.
- Student Learning: A smaller student model (T5-large, 770M parameters) is fine-tuned on this highly filtered, high-quality dataset.
- Self-Distillation: The student model generates its own paraphrases, which are filtered by the same critics and used to fine-tune the student further, amplifying its performance and creating a massive, clean synthetic dataset.
This framework easily generalizes to sentence summarization by simply altering the critics—for instance, replacing the bidirectional NLI filter with a unidirectional one and adding a sequence compression ratio filter.
Datasets
The authors introduce two new synthetic datasets generated via this method:
- DIMPLE (Dataset of Impossible Paraphrases): 4.2 million high-quality paraphrase pairs (2M general domain, 2M biomedical domain).
- DIMSUM (Dataset of Impossible Summaries): 1.5 million sentence-summary pairs.
For training and evaluation, they utilize several standard benchmarks:
- Paraphrasing: MRPC, ParaNMT-small, ParaSCI-arXiv, Quora, and MSCOCO.
- Summarization: Gigaword.
- Baseline Comparisons: ParaBank1, ParaBank2, and ChatGPT-Para.
Key Insights and Ideas
- Implicit Knowledge vs. Instruction Following: Small models "know" how to paraphrase implicitly within their token probability distributions; they just lack the instruction-following capabilities required to do it on command.
- Data Quality > Teacher Scale: A massive teacher model isn't strictly necessary for distillation. A small, noisy generator paired with strict, well-calibrated automated critics can yield a cleaner, more diverse dataset than a giant model prompted naively.
- Sample Efficiency: The filtering pipeline is incredibly sample-efficient. The resulting synthetic corpus exhibits higher diversity and fidelity than human-supervised or LLM-generated datasets that are up to 13 times larger.
Key Results
- Dataset Quality:
DIMPLEconsistently outperformed state-of-the-art paraphrase corpora (includingChatGPT-ParaandParaBank1) across semantic similarity, lexical diversity, and syntactic diversity metrics. - Model Performance: The distilled 770M parameter model, Impossible-T5, consistently outperformed baseline models trained on much larger datasets. On unconstrained paraphrasing benchmarks, it achieved a significant boost in iBLEU and BERT-iBLEU scores, making it the only sub-billion parameter model comparable to the 175B parameter GPT-3.5.
- Human Evaluation: In human preference studies on the MRPC corpus,
Impossible-T5was rated as more faithful (2.55 vs 2.37) and more dissimilar (2.40 vs 2.38) to the source text than ChatGPT itself, while maintaining competitive fluency.
Limitations and Future Work
- Scope: The current work is strictly limited to sentence-level tasks (sentential paraphrasing and sentence summarization). Extending this to document-level generation remains an open challenge.
- Critic Dependency: The framework relies heavily on the availability of high-quality, frozen critic models (like NLI). For complex tasks like commonsense reasoning, defining and obtaining such critics is non-trivial.
- Future Directions: The authors suggest co-evolving the task model and the filter model dynamically during distillation. They also propose expanding the framework to unsupervised machine translation by leveraging multilingual LMs and cross-lingual filters.
Summary updated