A comprehensive evaluation of oversampling techniques for enhancing text classification performance.

Journal: Scientific reports
Published Date:

Abstract

Class imbalance is a common and critical challenge in text classification tasks, where the underrepresentation of certain classes often impairs the ability of classifiers to learn minority class patterns effectively. According to the "garbage in, garbage out" principle, even high-performing models may fail when trained on skewed distributions. To address this issue, this study investigates the impact of oversampling techniques, specifically the Synthetic Minority Over-sampling Technique (SMOTE) and thirty of its variants, on two benchmark text classification datasets: TREC and Emotions. Each dataset was vectorized using the MiniLMv2 transformer model to obtain semantically rich representations, and classification was performed using six machine learning algorithms. The balanced and imbalanced scenarios were compared in terms of F1-Score and Balanced Accuracy. This work constitutes, to the best of our knowledge, the first large-scale, systematic benchmarking of SMOTE-based oversampling methods in the context of transformer-embedded text classification. Furthermore, statistical significance of the observed performance differences was validated using the Friedman test. The results provide practical insights into the selection of oversampling techniques tailored to dataset characteristics and classifier sensitivity, supporting more robust and fair learning in imbalanced natural language processing tasks.

Authors

  • Salimkan Fatma Taskiran
    Department of Computer Engineering, Konya Technical University, Konya, 42250, Turkey.
  • Bahaeddin Turkoglu
    Department of Artificial Intelligence and Data Engineering, Ankara University, 06830 Ankara, Turkey.
  • Ersin Kaya
    Department of Computer Engineering, Konya Technical University, 42250 Konya, Turkey.
  • Tunç Aşuroğlu
    Dept. of Computer Engineering, Başkent University, Bağlıca Kampüsü, Fatih Sultan Mahallesi Eskişehir Yolu 18 Km, Ankara 06790, Turkey. Electronic address: tuncasuroglu@baskent.edu.tr.

Keywords

No keywords available for this article.