A Debiased Nearest Neighbors Framework for Multi-Label Text Classification

Zifeng Cheng, Zhiwei Jiang, Yafeng Yin, Zhaoling Chen, Cong Wang +3 more
8/6/2024
cs.CL

No official code found. Best implementation: ZhengzhongZhu/DENN (1 star, last commit 2024-10-26). 1 more below.

Abstract

Multi-Label Text Classification (MLTC) is a practical yet challenging task that involves assigning multiple non-exclusive labels to each document. Previous studies primarily focus on capturing label correlations to assist label prediction by introducing special labeling schemes, designing specific model structures, or adding auxiliary tasks. Recently, the $k$ Nearest Neighbor ($k$NN) framework has shown promise by retrieving labeled samples as references to mine label co-occurrence information in the embedding space. However, two critical biases, namely embedding alignment bias and confidence estimation bias, are often overlooked, adversely affecting prediction performance. In this paper, we introduce a DEbiased Nearest Neighbors (DENN) framework for MLTC, specifically designed to mitigate these biases. To address embedding alignment bias, we propose a debiased contrastive learning strategy, enhancing neighbor consistency on label co-occurrence. For confidence estimation bias, we present a debiased confidence estimation strategy, improving the adaptive combination of predictions from $k$NN and inductive binary classifications. Extensive experiments conducted on four public benchmark datasets (i.e., AAPD, RCV1-V2, Amazon-531, and EUR-LEX57K) showcase the effectiveness of our proposed method. Besides, our method does not introduce any extra parameters.

View on arXivView PDF

Code Implementations(2)

ZhengzhongZhu/DENNCommunity68%

A Debiased Nearest Neighbors Framework for Multi-Label Text Classification

10Shell, PythonNov 2, 20241 years ago
zifengcheng/DENNCommunity68%

A Debiased Nearest Neighbors Framework for Multi-Label Text Classification

00Shell, PythonApr 22, 20241 years ago

Similar Papers

Cite this paper

@article{cheng2024debiased,
  title  = {A Debiased Nearest Neighbors Framework for Multi-Label Text Classification},
  author = {Zifeng Cheng and Zhiwei Jiang and Yafeng Yin and Zhaoling Chen and Cong Wang and Shiping Ge and Qiguo Huang and Qing Gu},
  year   = {2024},
  eprint = {2408.03202},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.03202v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.03202.svg)](https://codeofpaper.com/paper/2408.03202)

Discussion