Learning from Generalization Patterns: An Evaluation-Driven Approach to Enhanced Data Augmentation for Fine-Tuning Small Language Models
Huan Song, Deeksha Razdan, Yiyue Qian, Arijit Ghosh Chowdhury, Parth Patwa, Aman Chadha, Shinan Zhang, Sharlina Keshava, Hannah Marlowe
TL;DR
We address generalization gaps in small language models by introducing PaDA-Agent, an evaluation-driven data augmentation framework that links validation-time failures to targeted synthetic data generation. A central orchestrator coordinates Pattern Analysis, Data Generation, and Quality Control to discover generalization patterns, draft augmentation strategies, and ensure data utility. Empirical results on a 1B Instruct Llama model show consistent improvements across reasoning, knowledge, and coding tasks, with pronounced gains in low-data regimes and interpretable strategies that reveal underlying failure modes. The approach reduces manual data engineering by closing the generalization gap through a principled, evaluation-informed augmentation loop with automated quality control, and it opens avenues for scaling and transferability of discovered patterns.
Abstract
Small Language Models (SLMs) offer compelling advantages in deployment cost and latency, but their accuracy often lags behind larger models, particularly for complex domain-specific tasks. While supervised fine-tuning can help bridge this performance gap, it requires substantial manual effort in data preparation and iterative optimization. We present PaDA-Agent (Pattern-guided Data Augmentation Agent), an evaluation-driven approach that streamlines the data augmentation process for SLMs through coordinated operations. Unlike state-of-the-art approaches that focus on model training errors only and generating error-correcting samples, PaDA-Agent discovers failure patterns from the validation data via evaluations and drafts targeted data augmentation strategies aiming to directly reduce the generalization gap. Our experimental results demonstrate significant improvements over state-of-the-art LLM-based data augmentation approaches for Llama 3.2 1B Instruct model fine-tuning.
