arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.09783cs.LGcs.AIstat.ML
收藏

大语言模型用于不平衡分类:多样性至关重要

Large Language Models for Imbalanced Classification: Diversity makes the difference

Applied Artificial Intelligence Initiative (A 2 I 2 )(应用人工智能倡议(A2I2));Deakin University(德肯大学);Black Dog Institute(黑狗研究所);University of New South Wales(新南威尔士大学)

Dang Nguyen, Sunil Gupta, Kien Do, Thin Nguyen, Taylor Braund, Alexis Whitton, Svetha Venkatesh

AI总结:

提出基于大语言模型的过采样方法,通过条件采样、排列微调和插值样本增强多样性,在10个表格数据集上优于8个基线方法。

摘要:

过采样是解决不平衡分类最广泛使用的方法之一。其核心思想是生成额外的少数类样本以重新平衡数据集。大多数现有方法(如SMOTE)需要将分类变量转换为数值向量,这通常会导致信息损失。最近,基于大语言模型(LLM)的方法被引入以克服这一限制。然而,当前的LLM方法通常生成多样性有限的少数类样本,降低了下游分类任务的鲁棒性和泛化能力。为了解决这一问题,我们提出了一种新的基于LLM的过采样方法,旨在增强多样性。首先,我们引入了一种采样策略,将合成样本生成条件化为少数类标签和特征。其次,我们开发了一种新的排列策略来微调预训练的LLM。第三,我们不仅在少数类样本上微调LLM,还在插值样本上微调以进一步丰富变异性。在10个表格数据集上的大量实验表明,我们的方法显著优于八个SOTA基线。生成的合成样本既真实又多样。此外,我们通过基于熵的视角提供了理论分析,证明了我们的方法鼓励生成样本的多样性。

英文摘要:

Oversampling is one of the most widely used approaches for addressing imbalanced classification. The core idea is to generate additional minority samples to rebalance the dataset. Most existing methods, such as SMOTE, require converting categorical variables into numerical vectors, which often leads to information loss. Recently, large language model (LLM)-based methods have been introduced to overcome this limitation. However, current LLM-based approaches typically generate minority samples with limited diversity, reducing robustness and generalizability in downstream classification tasks. To address this gap, we propose a novel LLM-based oversampling method designed to enhance diversity. First, we introduce a sampling strategy that conditions synthetic sample generation on both minority labels and features. Second, we develop a new permutation strategy for fine-tuning pre-trained LLMs. Third, we fine-tune the LLM not only on minority samples but also on interpolated samples to further enrich variability. Extensive experiments on 10 tabular datasets demonstrate that our method significantly outperforms eight SOTA baselines. The generated synthetic samples are both realistic and diverse. Moreover, we provide theoretical analysis through an entropy-based perspective, proving that our method encourages diversity in the generated samples.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑