Skip to main navigation Skip to search Skip to main content

Multi-Label Text Classification model integrating Label Attention and Historical Attention

  • Guoying Sun
  • , Yanan Cheng*
  • , Fangzhou Dong
  • , Luhua Wang
  • , Dong Zhao
  • , Zhaoxin Zhang
  • , Xiaojun Tong
  • *Corresponding author for this work
  • Faculty of Computing, Harbin Institute of Technology
  • National Computer Network Emergency Response Technical Team/Coordination Center of China

Research output: Contribution to journalArticlepeer-review

Abstract

Multi-Label Text Classification (MLTC) is one of the most import research of natural language processing. Although Deep Learning (DL) models have been widely applied to MLTC, there still exist some drawbacks. First, traditional DL models utilize all the words in the document to construct the embedding vector, while there are many words that affect the classification results. Next, the labels in MLTC have specific semantics, while traditional DL models ignore fine-grained matching signals between words and labels. Then, traditional DL models have difficulty in handling the data imbalance issue in MLTC datasets. In addition, during the training process, small errors in a certain epoch may be amplified with the increase of the number of iterations, resulting in classification errors. To address the above problems, a MLTC model integrating Label Attention and Historical Attention (i.e. LAHA) is proposed. First, a word filter is set up to select important words based on the cosine similarity between words and labels. Next, Document Self Attention (DSA) and Label Attention (LA) are obtained, and DSA-attended LA co-attention (LA-co) and LA-attended DSA co-attention (DAS-co) networks are constructed. Then, the fine-grained matching signals between words and labels are integrated through the adaptive plus of LA-co and DAS-co. At last, Historical Attention is integrated to LAHA, which not only avoids mis-classification caused by minor errors of a certain epoch, but also reduces overfitting to high-frequency labels. Multiple comparative experiments on four benchmark datasets demonstrate that LAHA outperforms the state-of-the-art baseline models and can effectively solve the data imbalance issue in MLTC datasets. Our code is available at https://github.com/sgysgywaityou/LAHA.

Original languageEnglish
Article number111878
JournalKnowledge-Based Systems
Volume296
DOIs
StatePublished - 19 Jul 2024
Externally publishedYes

Keywords

  • Adaptive plus
  • Co-attention
  • Document Self Attention
  • Historical Attention
  • Label Attention
  • Multi-Label Text Classification
  • Word filter

Fingerprint

Dive into the research topics of 'Multi-Label Text Classification model integrating Label Attention and Historical Attention'. Together they form a unique fingerprint.

Cite this