Paper Reading AI Learner

Label Distribution Learning-Enhanced Dual-KNN for Text Classification

2025-03-06 15:15:26
Bo Yuan, Yulin Chen, Zhen Tan, Wang Jinyan, Huan Liu, Yin Zhang

Abstract

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.

Abstract (translated)

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

URL

https://arxiv.org/abs/2503.04869

PDF

https://arxiv.org/pdf/2503.04869.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot