English

Label Distribution Learning-Enhanced Dual-KNN for Text Classification

Computation and Language 2025-03-10 v1 Artificial Intelligence

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 kk nearest neighbor (DkkNN) framework with two kkNN modules, to retrieve several neighbors from the training set and augment the distribution of labels. For the kkNN 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 kkNN modules during inference. Extensive experiments on the benchmark datasets verify the effectiveness of our method.

Keywords

Cite

@article{arxiv.2503.04869,
  title  = {Label Distribution Learning-Enhanced Dual-KNN for Text Classification},
  author = {Bo Yuan and Yulin Chen and Zhen Tan and Wang Jinyan and Huan Liu and Yin Zhang},
  journal= {arXiv preprint arXiv:2503.04869},
  year   = {2025}
}

Comments

Accepted by SDM 2024

R2 v1 2026-06-28T22:09:52.874Z