Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

LightXML: Transformer with Dynamic Negative Sampling for High-Performance Extreme Multi-label Text Classification

About

Extreme Multi-label text Classification (XMC) is a task of finding the most relevant labels from a large label set. Nowadays deep learning-based methods have shown significant success in XMC. However, the existing methods (e.g., AttentionXML and X-Transformer etc) still suffer from 1) combining several models to train and predict for one dataset, and 2) sampling negative labels statically during the process of training label ranking model, which reduces both the efficiency and accuracy of the model. To address the above problems, we proposed LightXML, which adopts end-to-end training and dynamic negative labels sampling. In LightXML, we use generative cooperative networks to recall and rank labels, in which label recalling part generates negative and positive labels, and label ranking part distinguishes positive labels from these labels. Through these networks, negative labels are sampled dynamically during label ranking part training by feeding with the same text representation. Extensive experiments show that LightXML outperforms state-of-the-art methods in five extreme multi-label datasets with much smaller model size and lower computational complexity. In particular, on the Amazon dataset with 670K labels, LightXML can reduce the model size up to 72% compared to AttentionXML.

Ting Jiang, Deqing Wang, Leilei Sun, Huayi Yang, Zhengyang Zhao, Fuzhen Zhuang• 2021

Related benchmarks

TaskDatasetResultRank
Extreme Multi-label ClassificationAmazon-670K
P@150.11
41
Extreme Multi-label ClassificationAmazon-3M
Precision@154.2
33
Extreme ClassificationLF-AmazonTitles-131K
P@138.42
32
Extreme Multi-label ClassificationWiki-500K
P@179.4
30
Extreme Multi-label ClassificationWiki10-31K--
21
Extreme Multi-label ClassificationWiki10-31K legacy (test)
P@189.67
11
Extreme Multi-label ClassificationAmazonCat-13K legacy (test)
Precision@10.9677
11
Extreme Multi-label ClassificationLF-WikiSeeAlso-320K
P@134.5
9
Extreme Multi-label ClassificationAmazon-670K
Training Time (hours)159
8
Extreme Multi-label ClassificationEurlex-4K
Training Time (hours)16.9
8
Showing 10 of 19 rows

Other info

Follow for update