OTSeq2Set: An Optimal Transport Enhanced Sequence-to-Set Model for Extreme Multi-label Text Classification
30721Authors
nan
Abstract
AbstractExtreme multi-label text classification (XMTC) is the task of finding the most relevant subset labels from an extremely large-scale label collection. Recently, some deep learning models have achieved state-of-the-art results in XMTC tasks. These models commonly predict scores for all labels by a fully connected layer as the last layer of the model. However, such models can’t predict a relatively complete and variable-length label subset for each document, because they select positive labels relevant to the document by a fixed threshold or take top k labels in descending order of scores. A less popular type of deep learning models called sequence-to-sequence (Seq2Seq) focus on predicting variable-length positive labels in sequence style. However, the labels in XMTC tasks are essentially an unordered set rather than an ordered sequence, the default order of labels restrains Seq2Seq models in training. To address this limitation in Seq2Seq, we propose an autoregressive sequence-to-set model for XMTC tasks named OTSeq2Set. Our model generates predictions in student-forcing scheme and is trained by a loss function based on bipartite matching which enables permutation-invariance. Meanwhile, we use the optimal transport distance as a measurement to force the model to focus on the closest labels in semantic label space. Experiments show that OTSeq2Set outperforms other competitive baselines on 4 benchmark datasets. Especially, on the Wikipedia dataset with 31k labels, it outperforms the state-of-the-art Seq2Seq method by 16.34% in micro-F1 score. The code is available at https://github.com/caojie54/OTSeq2Set.
Keywords
Full Content
Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 5588 - 5597 December 7-11, 2022 ©2022 Association for Computational Linguistics OTSeq2Set: An Optimal Transport Enhanced Sequence-to-Set Model for Extreme Multi-label Text Classification Jie Cao Polytechnic Institute Zhejiang University caojie@zju.edu.cn Yin Zhang∗ College of Computer Science and Technology Zhejiang University yinzh@zju.edu.cn Abstract Extreme multi-label text classification (XMTC) is the task of finding the most relevant subset labels from an extremely large-scale label col- lection. Recently, some deep learning models have achieved state-of-the-art results in XMTC tasks. These models commonly predict scores for all labels by a fully connected layer as the last layer of the model. However, such models can’t predict a relatively complete and variable- length label subset for each document, because they select positive labels relevant to the docu- ment by a fixed threshold or take top k labels in descending order of scores. A less popular type of deep learning models called sequence- to-sequence (Seq2Seq) focus on predicting variable-length positive labels in sequence style. However, the labels in XMTC tasks are es- sentially an unordered set rather than an or- dered sequence, the default order of labels re- strains Seq2Seq models in training. To address this limitation in Seq2Seq, we propose an au- toregressive sequence-to-set model for XMTC tasks named OTSeq2Set. Our model gen- erates predictions in student-forcing scheme and is trained by a loss function based on bi- partite matching which enables permutation- invariance. Meanwhile, we use the optimal transport distance as a measurement to force the model to focus on the closest labels in se- mantic label space. Experiments show that OT- Seq2Set outperforms other competitive base- lines on 4 benchmark datasets. Especially, on the Wikipedia dataset with 31k labels, it outper- forms the state-of-the-art Seq2Seq method by 16.34% in micro-F1 score. The code is avail- able at https://github.com/caojie54/OTSeq2Set. 1 Introduction Extreme multi-label text classification (XMTC) is a Natural Language Processing (NLP) task of finding the most relevant subset labels from an extremely large-scale label set. It has a lot of usage scenar- ios, such as item categorization in e-commerce and ∗Corresponding author tagging Wikipedia articles. XMTC become more important with the fast growth of big data. As in many other NLP tasks, deep learning based models also achieve the state-of-the-art per- formance in XTMC. For example, AttentionXML (You et al., 2019), X-Transformer (Chang et al., 2020) and LightXML (Jiang et al., 2021) have achieved remarkable improvements in evaluating metrics relative to the current state-of-the-art meth- ods. These models are both composed of three parts (Jiang et al., 2021): text representing, label recalling, and label ranking. The first part converts the raw text to text representation vectors, then the label recalling part gives scores for all cluster or tree nodes including portion labels, and finally, the label ranking part predicts scores for all labels in descending order. Notice that, the label recalling and label ranking part both use fully connected layers. Although the fully connected layer based models have excellent performance, there …
Content truncated to 500 words
Labeled Text
AbstractExtreme multi-label text classification (XMTC) is the task of finding the most relevant subset labels from an extremely large-scale label collection. Recently, some deep learning models have achieved state-of-the-art results in XMTC tasks. These models commonly predict scores for all labels by a fully connected layer as the last layer of the model. However, such models can’t predict a relatively complete and variable-length label subset for each document, because they select positive labels relevant to the document by a fixed threshold or take top k labels in descending order of scores. A less popular type of deep learning models called sequence-to-sequence (Seq2Seq) focus on predicting variable-length positive labels in sequence style. However, the labels in XMTC tasks are essentially an unordered set rather than an ordered sequence, the default order of labels restrains Seq2Seq models in training. To address this limitation in Seq2Seq, we propose an autoregressive sequence-to-set model for XMTC tasks named OTSeq2Set. Our model generates predictions in student-forcing scheme and is trained by a loss function based on bipartite matching which enables permutation-invariance. Meanwhile, we use the optimal transport distance as a measurement to force the model to focus on the closest labels in semantic label space. Experiments show that OTSeq2Set outperforms other competitive baselines on 4 benchmark datasets. Especially, on the Wikipedia dataset with 31k labels, it outperforms the state-of-the-art Seq2Seq method by 16.34% in micro-F1 score. The code is available at
Publication Details
- Paper ID:
- 30721
- Year:
- 2022
- Publication:
- TIPSTER
- Publication Type:
- conf
- DOI:
- nan