HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Label-aware Document Representation via Hybrid Attention for Extreme Multi-Label Text Classification

Xin Huang; Boli Chen; Lin Xiao; Liping Jing

Label-aware Document Representation via Hybrid Attention for Extreme Multi-Label Text Classification

Abstract

Extreme multi-label text classification (XMTC) aims at tagging a document with most relevant labels from an extremely large-scale label set. It is a challenging problem especially for the tail labels because there are only few training documents to build classifier. This paper is motivated to better explore the semantic relationship between each document and extreme labels by taking advantage of both document content and label correlation. Our objective is to establish an explicit label-aware representation for each document with a hybrid attention deep neural network model(LAHA). LAHA consists of three parts. The first part adopts a multi-label self-attention mechanism to detect the contribution of each word to labels. The second part exploits the label structure and document content to determine the semantic connection between words and labels in a same latent space. An adaptive fusion strategy is designed in the third part to obtain the final label-aware document representation so that the essence of previous two parts can be sufficiently integrated. Extensive experiments have been conducted on six benchmark datasets by comparing with the state-of-the-art methods. The results show the superiority of our proposed LAHA method, especially on the tail labels.

Code Repositories

HX-idiot/Hybrid_Attention_XML
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
multi-label-text-classification-on-aapdLAHA
P@1: 84.48
P@3: 60.72
P@5: 41.19
nDCG@3: 80.11
nDCG@5: 83.7
multi-label-text-classification-on-amazon-12kLAHA
P@1: 94.87
P@3: 79.16
P@5: 63.16
nDCG@3: 89.13
nDCG@5: 87.57
multi-label-text-classification-on-eur-lexLAHA
P@1: 74.95
P@3: 61.48
P@5: 50.71
nDCG@3: 64.89
nDCG@5: 59.28
multi-label-text-classification-on-kan-shanLAHA
P@1: 54.38
P@3: 34.6
P@5: 25.88
nDCG@3: 51.7
nDCG@5: 54.65
multi-label-text-classification-on-wiki-30kLAHA
P@1: 84.18
P@3: 73.14
P@5: 62.87
nDCG@3: 75.64
nDCG@5: 67.82

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp