Word-Class Embeddings for Multiclass Text Classification

Alejandro Moreo, Andrea Esuli, Fabrizio Sebastiani
11/26/2019
cs.LGcs.CLstat.ML

Official code: AlexMoreo/word-class-embeddings (12 stars, BSD-3-Clause, last commit 2021-07-06).

Abstract

Pre-trained word embeddings encode general word semantics and lexical regularities of natural language, and have proven useful across many NLP tasks, including word sense disambiguation, machine translation, and sentiment analysis, to name a few. In supervised tasks such as multiclass text classification (the focus of this article) it seems appealing to enhance word representations with ad-hoc embeddings that encode task-specific information. We propose (supervised) word-class embeddings (WCEs), and show that, when concatenated to (unsupervised) pre-trained word embeddings, they substantially facilitate the training of deep-learning models in multiclass classification by topic. We show empirical evidence that WCEs yield a consistent improvement in multiclass classification accuracy, using four popular neural architectures and six widely used and publicly available datasets for multiclass text classification. Our code that implements WCEs is publicly available at https://github.com/AlexMoreo/word-class-embeddings

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Refining pre-trained word embeddings with supervised word-label embeddings for Text Classification (by topic)

125Shell, PythonOct 9, 20195 years agoBSD-3-Clause

Cite this paper

@article{moreo2019wordclass,
  title  = {Word-Class Embeddings for Multiclass Text Classification},
  author = {Alejandro Moreo and Andrea Esuli and Fabrizio Sebastiani},
  year   = {2019},
  eprint = {1911.11506},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.11506}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1911.11506.svg)](https://codeofpaper.com/paper/1911.11506)

Discussion