Table of Contents
Fetching ...

Synthetic Feature Augmentation Improves Generalization Performance of Language Models

Ashok Choudhary, Cornelius Thiels, Hojjat Salehinejad

TL;DR

The paper addresses the challenge of generalization under class imbalance in text classification by performing synthetic feature augmentation in embedding space. It develops a suite of embedding-space augmentation techniques, including SMOTE variants, Random Oversampling, and VAEs, to generate synthetic minority embeddings that balance training data. Across binary and multiclass benchmarks, SMOTE-based augmentation consistently improves accuracy on balanced test sets, with VAEs offering complementary strengths. The results demonstrate a practical, model-agnostic strategy to enhance robustness and fairness of language models when data is scarce or imbalanced.

Abstract

Training and fine-tuning deep learning models, especially large language models (LLMs), on limited and imbalanced datasets poses substantial challenges. These issues often result in poor generalization, where models overfit to dominant classes and underperform on minority classes, leading to biased predictions and reduced robustness in real-world applications. To overcome these challenges, we propose augmenting features in the embedding space by generating synthetic samples using a range of techniques. By upsampling underrepresented classes, this method improves model performance and alleviates data imbalance. We validate the effectiveness of this approach across multiple open-source text classification benchmarks, demonstrating its potential to enhance model robustness and generalization in imbalanced data scenarios.

Synthetic Feature Augmentation Improves Generalization Performance of Language Models

TL;DR

The paper addresses the challenge of generalization under class imbalance in text classification by performing synthetic feature augmentation in embedding space. It develops a suite of embedding-space augmentation techniques, including SMOTE variants, Random Oversampling, and VAEs, to generate synthetic minority embeddings that balance training data. Across binary and multiclass benchmarks, SMOTE-based augmentation consistently improves accuracy on balanced test sets, with VAEs offering complementary strengths. The results demonstrate a practical, model-agnostic strategy to enhance robustness and fairness of language models when data is scarce or imbalanced.

Abstract

Training and fine-tuning deep learning models, especially large language models (LLMs), on limited and imbalanced datasets poses substantial challenges. These issues often result in poor generalization, where models overfit to dominant classes and underperform on minority classes, leading to biased predictions and reduced robustness in real-world applications. To overcome these challenges, we propose augmenting features in the embedding space by generating synthetic samples using a range of techniques. By upsampling underrepresented classes, this method improves model performance and alleviates data imbalance. We validate the effectiveness of this approach across multiple open-source text classification benchmarks, demonstrating its potential to enhance model robustness and generalization in imbalanced data scenarios.
Paper Structure (12 sections, 7 equations, 7 figures)

This paper contains 12 sections, 7 equations, 7 figures.

Figures (7)

  • Figure 1: Multiclass classification model addressing imbalance by generating synthetic samples to mitigate bias from the limited, imbalanced dataset.
  • Figure 2: Variational autoencoder model applied to generate synthetic features.
  • Figure 3: Performance results on the SST-2 and IMDB datasets.
  • Figure 4: Accuracy (out of 1) vs. number of samples for the AG News dataset with different downsampling strategies.
  • Figure 5: Visualization of synthesized samples in the AG News dataset.
  • ...and 2 more figures