Unveiling the Flaws: Exploring Imperfections in Synthetic Data and Mitigation Strategies for Large Language Models
Jie Chen, Yupeng Zhang, Bingning Wang, Wayne Xin Zhao, Ji-Rong Wen, Weipeng Chen
TL;DR
This work investigates imperfections in synthetic data for large language models, focusing on synthetic Q-A pairs that can cause pattern overfitting and shifts in output distributions, degrading instruction-following. It analyzes data-distribution differences and pattern simplification, then introduces an unlearning-based mitigation using a lower-bounded forgetting loss, replay, and bias-mitigation losses to recalibrate models while preserving benchmark performance. Empirical results show that the proposed unlearning strategy can reverse instruction-following issues at low training costs and even surpass larger baselines in chat-style evaluation, with partial losses in foundational capabilities kept in check. The approach offers a practical path to leveraging synthetic data more robustly for efficient LLM training, highlighting both the potential benefits and the need for careful mitigation of synthetic data flaws.
Abstract
Synthetic data has been proposed as a solution to address the issue of high-quality data scarcity in the training of large language models (LLMs). Studies have shown that synthetic data can effectively improve the performance of LLMs on downstream benchmarks. However, despite its potential benefits, our analysis suggests that there may be inherent flaws in synthetic data. The uniform format of synthetic data can lead to pattern overfitting and cause significant shifts in the output distribution, thereby reducing the model's instruction-following capabilities. Our work delves into these specific flaws associated with question-answer (Q-A) pairs, a prevalent type of synthetic data, and presents a method based on unlearning techniques to mitigate these flaws. The empirical results demonstrate the effectiveness of our approach, which can reverse the instruction-following issues caused by pattern overfitting without compromising performance on benchmarks at relatively low cost. Our work has yielded key insights into the effective use of synthetic data, aiming to promote more robust and efficient LLM training.
