TL;DR
Instead of discarding noisy and low-quality instruction data, LM-Mixup introduces Instruction Distillation—a text-based "mixup" technique that aggregates multiple redundant, low-quality inputs into a single, information-dense, high-quality instruction-response pair. Fine-tuning models on a tiny 10K dataset generated with this approach (just ~3.3% of the source data pool) outperforms training on the entire 300K unfiltered dataset and rivals top data selection methods.
What Problem Does This Paper Address?
Recent consensus in post-training Large Language Models (LLMs) favors "better data" over "more data." Consequently, data curation pipelines typically discard the vast majority of low-quality or redundant samples. However, in low-resource or niche domains, high-quality data is rare and expensive to annotate, while noisy, weak data is plentiful. Standard text augmentation techniques (e.g., EDA, back-translation, paraphrasing) expand dataset volume without enriching reasoning or factual depth. The authors tackle this information waste by asking: Can we systematically fuse multiple weak, low-quality text inputs into compact, high-utility training examples?
Methods
The authors formalize the task of Instruction Distillation: mapping a set of multi-source, low-quality inputs $X = \{\ell_1, \dots, \ell_k\}$ into a single high-quality target $Y$.
[Low-Quality / Redundant Inputs]
└── Linearized Cluster ──> [ LM-Mixup Generator ] ──> [ High-Quality Target ]
▲ (Trained via GRPO)
┌──────────────────────────┴──────────────────────────┐
[Quality Reward] [Semantic Alignment] [Format Compliance]
(KNN-Bayes scoring) (Embedding similarity) (<think>...<answer>)
To train an effective generator, the paper proposes LM-Mixup, built on Qwen-2.5-1.5B-Instruct:
- Cold-Start SFT: The model is first fine-tuned on a conditional autoregressive objective to learn basic information aggregation.
- GRPO with Multi-Dimensional Rewards: Because supervised fine-tuning risks overfitting to a single canonical rewrite, the authors use Group Relative Policy Optimization (GRPO) to explore diverse fusion strategies across three reward functions:
- Quality Reward ($R_q$): An offline KNN-Bayes estimator that retrieves neighboring reference ratings and applies a score transition matrix (STM) to systematically correct LLM rating noise without expensive online API calls.
- Semantic Alignment Reward ($R_a$): Cosine similarity between generated and reference embeddings (via BGE-M3) to prevent hallucination and reward hacking.
- Format Compliance Reward ($R_f$): Strict checks verifying adherence to
<think>...</think><answer>...</answer>reasoning blocks. - Capacity-Constrained Clustering: For downstream tasks, low-quality pools are automatically partitioned into semantically compact, balanced clusters using a two-stage k-means variant with size constraints before feeding into LM-Mixup.
Datasets
- MIXTURE (Newly Introduced): A benchmark of 144,884 samples derived from Wikipedia across five diverse task types: Question Answering (QA), Multiple-Choice (MCQ), Category-Statement (CS), True/False (TFQ), and Paragraphs. Each high-quality instance is paired with 2 to 20 degraded variants, with subsets including cross-topic fusions and surface noise injections.
- Downstream Data Pool (300K): Drawn from Flan V2 (100K), WizardLM (100K), Stanford Alpaca (52K), Open-Assistant 1 (33K), and Dolly (15K). Samples scored $<4$ (out of 5) by ChatGPT-4o-mini constitute the low-quality pool (~270K).
- Evaluation Benchmarks: OpenLLM Leaderboard tasks including MMLU (factuality), TruthfulQA (truthfulness), GSM8K & BBH (reasoning), and TyDiQA (multilinguality).
Key Insights and Ideas
- Distillation beats simple curation: Merging weak signals aggregates complementary pieces of knowledge, increasing overall information density rather than just expanding surface variance.
- SFT memorizes; RL explores: Direct SFT on text-mixup leads to rigid, template-like copying. GRPO-based exploration coupled with an alignment reward encourages genuine synthesis while avoiding "reward hacking" (generating plausible-sounding text divorced from the input context).
- Efficient reward approximation: Using a KNN-Bayes model with a noise transition matrix lets the RL training loop simulate LLM-as-a-judge scores rapidly and robustly without calling commercial APIs during rollouts.
Key Results
- Superior Generation Quality: On the MIXTURE test set, the 1.5B LM-Mixup achieves an average rating of 3.66, outperforming the SFT baseline (3.28) and direct prompting of GPT-4o-mini (3.37).
- Surpassing 300K Full-Data Training with 10K Samples: Fine-tuning LLaMA-3.1-8B on just 10K distilled samples (50% Mixup + 50% Original) scores 61.5 on the OpenLLM Leaderboard average, outperforming the full 300K uncurated dataset (57.7) and matching or outperforming state-of-the-art curation methods like DS2 (61.4).
- Consistent Gains on Weak Models: On base models with poor initial reasoning (e.g., LLaMA-2-7B-hf), fine-tuning on 10K mixup samples increases the benchmark average from 15.2 (raw low-quality data) to 32.1.
Limitations and Future Work
- Dependence on LLM Ratings: The data creation and offline KNN-Bayes priors rely on an upstream teacher (ChatGPT-4o-mini), potentially inheriting evaluation biases despite transition-matrix smoothing.
- Synthetic vs. Organic Noise: While MIXTURE introduces noise perturbations and cross-topic fusions, real-world low-quality data often exhibits subtler human hallucinations, toxicity, or domain misalignment.
- Future Directions: The authors suggest investigating multi-judge adjudication, incorporating lightweight human-in-the-loop validation, and testing LM-Mixup in strict low-resource domain adaptations like medicine and law.
Summary updated