Abstract
In Natural Language Processing (NLP), the prevailing paradigm of data augmentation (DA) often prioritizes volume over variety, leading to datasets that are either excessively noisy or redundant. This paper explores DoAug, a framework designed to maximize the diversity of training distributions by leveraging Large Language Models (LLMs). By integrating Direct Preference Optimization (DPO) with distance-based objectives and coreset selection, DoAug generates paraphrases that are linguistically distinct yet label-consistent. Experimental results across 12 benchmarks demonstrate an average performance improvement of 10.52%, significantly outperforming traditional and LLM-based augmentation baselines.
Introduction
The efficacy of deep learning models in NLP is heavily dependent on the quality and breadth of training data. While data augmentation is a standard technique to improve model robustness, traditional methods—such as back-translation or synonym substitution—frequently fail to strike a balance between affinity (preserving the original label) and diversity (introducing novel linguistic patterns). When augmented samples are too similar to the original, the model risks overfitting; when they are too divergent, they introduce noise that degrades performance.
This study introduces DoAug, a diversity-oriented framework that treats the LLM as a controllable paraphraser. Rather than simple random sampling, DoAug optimizes for "distant" paraphrases, ensuring that the augmented dataset covers a wider spectrum of the data distribution, including variations in dialect, tone, and formality.
The DoAug Framework
The DoAug pipeline consists of four distinct stages designed to transform a base LLM into a diversity-maximizing engine.
1. Supervised Fine-Tuning (SFT)
The process begins with a base model (Llama-3.2-1B) trained on a high-quality paraphrase dataset. This stage establishes the foundational capability of the model to rewrite sentences while maintaining semantic integrity.
2. Diversity-Oriented Direct Preference Optimization (DPO)
The core innovation of DoAug is the application of DPO to encourage linguistic distance. Unlike standard DPO, which aligns models with human-annotated preferences, DoAug uses an automated distance metric. For a given input, multiple paraphrases are generated. The "chosen" sample is the one with the greatest Euclidean distance from the original in the embedding space, while the "rejected" sample is the one most similar to the original. This trains the model to actively seek out novel ways to express the same underlying concept.
3. Selective Coreset Augmentation
To optimize computational efficiency and impact, DoAug employs coreset selection. Instead of augmenting the entire dataset, the framework identifies "high-importance" samples—those that are particularly difficult for a baseline model to classify or those that represent sparse regions of the feature space. These samples serve as the seeds for the augmentation process.
4. Diversity-Oriented Sampling
During the final generation phase, the framework uses beam search to produce candidate paraphrases. It then selects the most distant candidates to ensure the final training set is as broad as possible, maximizing the informational value of each new sample.
Experimental Setup
The researchers evaluated DoAug on 12 diverse textual datasets to test its generalizability across different NLP tasks:
- Natural Language Inference: ANLI, MNLI, RTE.
- Sentiment Analysis: MPQA, SST-2, Yelp.
- Domain-Specific Tasks: ChemProt (biomedical), RCT (medical abstracts), Symptoms (medical diagnosis).
- Linguistic Analysis: CoLA, MRPC, SUBJ.
To reflect real-world constraints, the experiments were conducted in low-resource settings, using only 1.2k samples from each original dataset as the starting point for augmentation.
Results and Analysis
DoAug consistently outperformed 12 representative baseline methods, including traditional techniques like EDA and back-translation, as well as LLM-based methods like AugGPT.
- Performance Gains: The framework achieved an average accuracy improvement of 10.52% across all 12 benchmarks.
- Competitive Edge: DoAug surpassed the strongest baseline by more than three percentage points, demonstrating the superiority of diversity-driven optimization over simple prompt-based augmentation.
- Ablation Insights: Studies confirmed that the DPO stage is critical. Replacing DPO with high-temperature sampling or diversity-focused prompting resulted in significantly lower performance, suggesting that the model must be explicitly trained to navigate the distance-diversity trade-off.
- Efficiency: By utilizing Parameter-Efficient Fine-Tuning (LoRA) and coreset selection, the framework remains computationally accessible despite the use of an LLM backbone.
Discussion and Limitations
While DoAug represents a significant step forward in data augmentation, several challenges remain. First, the lack of a universal metric for "diversity" means that the framework relies on embedding-based distance as a proxy, which may not capture all nuances of linguistic variety. Second, the current study focused primarily on English-language tasks; the effectiveness of diversity-oriented DPO in highly inflected or low-resource languages requires further investigation. Finally, as with all LLM-based methods, there is a latent risk of the model introducing biases or hallucinations into the training set, necessitating careful monitoring of label consistency.
Conclusion
DoAug demonstrates that the key to robust NLP models lies not just in the quantity of data, but in the intentional expansion of the training distribution. By optimizing for diversity through distance-based DPO, researchers can significantly improve model performance in low-resource settings, providing a scalable blueprint for high-quality data augmentation.
Summary updated