Large Language Models for Imbalanced Classification: Diversity makes the difference
Dang NguyenSunil GuptaKDKien Do
Thin NguyenTaylor BraundAlexis Whitton
Svetha Venkatesh Dang Nguyen
Sunil Gupta
KDKien Do

Thin Nguyen
Taylor Braund
Alexis Whitton

Svetha Venkatesh
+7
Large language models (LLMs) can generate synthetic minority samples for imbalanced classification without the categorical-variable encoding loss of traditional oversamplers like SMOTE, but existing LLM approaches produce samples with insufficient diversity. This paper introduces an LLM-based oversampling method that boosts diversity through three strategies: conditioning generation on both minority labels and features, a novel permutation scheme for fine-tuning pre-trained LLMs, and fine-tuning on interpolated samples in addition to minority ones. On 10 tabular datasets, the method outperforms eight baselines, and an entropy-based proof shows that the approach theoretically encourages diversity.

arXiv ·
· October 10, 2025