面向不平衡分类的大语言模型:多样性决定差异 Large Language Models for Imbalanced Classification: Diversity makes the difference 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-10-10
👁️ 预览文献
💡 AI 中文简介
针对不平衡分类中传统过采样方法(如SMOTE)需将类别变量转为数值向量导致信息丢失的问题,本文提出一种基于大语言模型(LLM)的新型过采样方法。该方法通过基于少数类标签和特征的采样策略、新的排列微调策略,以及在少数样本和插值样本上微调LLM,显著提升了生成样本的多样性。在10个表格数据集上的实验表明,该方法优于8个当前最优基线,生成的合成样本既真实又多样,并从熵的角度理论证明了其促进多样性的机制。
领域机器学习与数据挖掘 / 不平衡分类与数据增强
适合谁读需要一定专业背景(机器学习、深度学习基础)
核心贡献1. 提出一种基于LLM的过采样方法,通过条件采样、排列微调和插值样本微调,显著提升生成少数类样本的多样性。2. 从熵的角度理论证明了该方法能促进样本多样性,并在10个表格数据集上验证了其优于8个SOTA基线。
关键数据在10个表格数据集上,该方法显著优于8个当前最优基线;生成的合成样本既真实又多样;理论分析表明其能增加生成样本的熵。
推荐理由如果你正为不平衡数据发愁,这篇工作用大语言模型生成更多样、更真实的少数类样本,效果碾压8个基线,还给出了理论解释,值得一读!
关键词["不平衡分类", "过采样", "大语言模型", "样本多样性", "表格数据", "微调策略"]

原文摘要

查看英文原文摘要

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.