arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04869cs.CLcs.AI
收藏

标签分布学习增强的双KNN文本分类方法

Label Distribution Learning-Enhanced Dual-KNN for Text Classification

Zhejiang University(浙江大学);Arizona State University(亚利桑那州立大学)

Bo Yuan, Yulin Chen, Zhen Tan, Wang Jinyan, Huan Liu, Yin Zhang

AI总结:

本文提出标签分布学习增强的双KNN文本分类框架,利用模型内部信息检索邻居并学习标签相似性以生成更优标签分布,缓解过拟合并提升分类性能。

摘要:

许多文本分类方法通常引入外部信息(如标签描述和知识库)来提升分类性能。与外部信息相比,模型在训练过程中自身产生的一些内部信息,如文本嵌入和预测的标签概率分布,在预测某些文本结果时利用得很不充分。本文聚焦于利用这些内部信息,提出了一种双k最近邻(D$k$NN)框架,该框架包含两个$k$NN模块,用于从训练集中检索若干邻居并增强标签分布。对于$k$NN模块,当从噪声数据集(存在标注错误的数据集)或相似数据集(标签相似的数据集)中检索最近邻时,它容易产生混淆并可能导致错误预测。为解决这一问题,我们还引入了一个标签分布学习模块,该模块能够学习标签相似性,并生成更好的标签分布,以帮助模型更有效地区分文本。该模块缓解了模型过拟合,提升了最终分类性能,从而在推理过程中提高了$k$NN模块检索邻居的质量。在基准数据集上的大量实验验证了我们方法的有效性。

英文摘要:

Many text classification methods usually introduce external information (e.g., label descriptions and knowledge bases) to improve the classification performance. Compared to external information, some internal information generated by the model itself during training, like text embeddings and predicted label probability distributions, are exploited poorly when predicting the outcomes of some texts. In this paper, we focus on leveraging this internal information, proposing a dual $k$ nearest neighbor (D$k$NN) framework with two $k$NN modules, to retrieve several neighbors from the training set and augment the distribution of labels. For the $k$NN module, it is easily confused and may cause incorrect predictions when retrieving some nearest neighbors from noisy datasets (datasets with labeling errors) or similar datasets (datasets with similar labels). To address this issue, we also introduce a label distribution learning module that can learn label similarity, and generate a better label distribution to help models distinguish texts more effectively. This module eases model overfitting and improves final classification performance, hence enhancing the quality of the retrieved neighbors by $k$NN modules during inference. Extensive experiments on the benchmark datasets verify the effectiveness of our method.

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

↑