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

Joint Embedding of Words and Labels for Text Classification

About

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.

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

Related benchmarks

TaskDatasetResultRank
Text ClassificationMR (test)
Accuracy76.95
99
ICD CodingMIMIC-III 50 labels (test)
F1 Micro0.619
70
Document ClassificationOhsumed (test)
Accuracy58.58
54
Document Classification20 Newsgroups (test)
Accuracy81.91
43
Document ClassificationR52 (test)
Accuracy91.84
29
Document ClassificationR8 (test)
Accuracy93.31
19
Multi-label emotion classificationROCStories Plutchik emotion labels (test)
Precision59.81
11
Showing 7 of 7 rows

Other info

Code

Follow for update