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

文本分类中的词和标签联合嵌入

Joint Embedding of Words and Labels for Text Classification

Duke University(杜克大学)

Guoyin Wang, Chunyuan Li, Wenlin Wang, Yizhe Zhang, Dinghan Shen, Xinyuan Zhang, Ricardo Henao, Lawrence Carin

摘要:

词嵌入是在学习文本序列表示时捕捉词间语义重叠的有效中间表示。我们建议将文本分类视为标签-词联合嵌入问题:每个标签与词向量嵌入在同一空间中。我们引入了一个注意力框架,衡量文本序列和标签之间的嵌入的兼容性。注意力是在标记样本的训练集上学习的,以确保在给定文本序列的情况下,相关单词的权重高于不相关单词。我们的方法保持了词嵌入的可解释性,并且除了输入文本序列之外,还具有利用替代信息源的内置能力。在几个大型文本数据集上的广泛结果表明,所提出的框架在准确性和速度方面都大大优于最先进的方法。

英文摘要:

Word embeddings are effective intermediate representations for capturing semantic regularities between words, when learning the representations of text sequences. We propose to view text classification as a label-word joint embedding problem: each label is embedded in the same space with the word vectors. We introduce an attention framework that measures the compatibility of embeddings between text sequences and labels. The attention is learned on a training set of labeled samples to ensure that, given a text sequence, the relevant words are weighted higher than the irrelevant ones. Our method maintains the interpretability of word embeddings, and enjoys a built-in ability to leverage alternative sources of information, in addition to input text sequences. Extensive results on the several large text datasets show that the proposed framework outperforms the state-of-the-art methods by a large margin, in terms of both accuracy and speed.

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

↑