arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.14523cs.CLcs.AIcs.LG
收藏

OTSeq2Set:一种优化传输增强的序列到集合极端多标签文本分类模型

OTSeq2Set: An Optimal Transport Enhanced Sequence-to-Set Model for Extreme Multi-label Text Classification

Polytechnic Institute(理工学院);Zhejiang University(浙江大学);College of Computer Science and Technology(计算机科学与技术学院)

Jie Cao, Yin Zhang

摘要:

极端多标签文本分类(XMTC)是从一个非常大规模的标签集合中找到最相关的子集标签的任务。最近,一些深度学习模型在XMTC任务中取得了最先进的成果。这些模型通常通过全连接层作为模型的最后一层来预测所有标签的得分。然而,这样的模型不能为每个文档预测一个相对完整和可变长度的标签子集,因为它们通过固定的阈值选择与文档相关的正标签,或者按照分数的降序取前k个标签。一种不太流行的深度学习模型称为序列到序列(Seq 2Seq),专注于预测序列风格中的可变长度正标签。然而,XMTC任务中的标签本质上是一个无序的集合,而不是一个有序的序列,标签的默认顺序限制了Seq 2Seq模型的训练。为了解决Seq 2Seq中的这一限制,我们提出了一个自回归序列到集合模型,用于XMTC任务,名为OTSeq 2Set。我们的模型生成的预测在学生强迫计划,并训练的损失函数的基础上,使置换不变性的二分匹配。同时,我们使用最佳传输距离作为度量,以迫使模型专注于语义标签空间中最近的标签。实验表明,OTSeq 2Set在4个基准数据集上的性能优于其他竞争基线。特别是,在具有31 k标签的维基百科数据集上,它在micro-F1得分上优于最先进的Seq 2Seq方法16.34%。该代码可在https://github.com/caojie54/OTSeq2Set上获得。

英文摘要:

Extreme 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑