Abstract
Lin Xiao, Xin Huang, Boli Chen, Liping Jing. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).
2019.
Introduction
Multi-label text classification (MLTC) involves assigning multiple relevant tags to a single document, such as tagging a news article with both "Politics" and "Economics." This task presents unique challenges: label correlation, where certain tags frequently co-occur; noise, where only small portions of a document relate to specific labels; and the "long tail" problem, where most labels have very few training examples. Traditional models often struggle with tail labels because they treat labels as simple indices rather than semantic concepts. The Label-Specific Attention Network (LSAN) addresses these issues by leveraging the semantic meaning of labels to build unique document representations for every possible tag.
Methods
LSAN introduces a dual-track attention mechanism to create label-specific document representations. Instead of a single vector for the entire document, the model generates $L$ vectors, where $L$ is the number of labels.
The architecture consists of four main components:
- Input Representation: A Bidirectional LSTM (Bi-LSTM) captures the contextual flow of the document.
- Self-Attention Mechanism (Content-based): This track identifies discriminative information based on internal document patterns.
- Label-Attention Mechanism (Semantic-based): This core innovation embeds label names into the same vector space as words. By calculating similarity between words and label embeddings, the model "searches" for semantically related content.
- Adaptive Fusion Strategy: LSAN uses a learned weighting system to merge the two tracks. This allows the model to rely more on semantic hints for rare labels and content patterns for frequent ones.
Results and Discussion
The authors evaluated LSAN on four benchmark datasets: RCV1, AAPD, EUR-Lex, and KanShan-Cup. LSAN consistently outperformed state-of-the-art baselines like XML-CNN, SGM, and AttentionXML.
A key finding is LSAN's effectiveness on "tail labels." On the EUR-Lex dataset, which features extreme sparsity and a large label set, LSAN achieved a P@1 of 79.17%, significantly higher than the next best baseline (EXAM at 74.40%). Specifically, for labels appearing fewer than five times, LSAN provided massive gains over traditional models.
The "secret sauce" for this performance is the label-attention mechanism. When training data is scarce, the model falls back on the semantic meaning of the label name to identify relevant document sections. Ablation studies further confirmed that label-attention is particularly vital for sparse datasets like EUR-Lex compared to denser ones like AAPD.
Conclusion
LSAN demonstrates that labels are more than just IDs; they are semantic concepts that can guide document representation. While powerful, future work could incorporate hierarchical label structures and richer label descriptions to further enhance the semantic search. Additionally, scaling the model for extreme multi-label classification with tens of thousands of labels remains an area for computational optimization.
Summary updated