Neural Attentive Bag-of-Entities Model for Text Classification

Ikuya Yamada, Hiroyuki Shindo
9/3/2019
cs.CLcs.LG

Official code: wikipedia2vec/wikipedia2vec (973 stars, last commit 2024-05-03).

Abstract

This study proposes a Neural Attentive Bag-of-Entities model, which is a neural network model that performs text classification using entities in a knowledge base. Entities provide unambiguous and relevant semantic signals that are beneficial for capturing semantics in texts. We combine simple high-recall entity detection based on a dictionary, to detect entities in a document, with a novel neural attention mechanism that enables the model to focus on a small number of unambiguous and relevant entities. We tested the effectiveness of our model using two standard text classification datasets (i.e., the 20 Newsgroups and R8 datasets) and a popular factoid question answering dataset based on a trivia quiz game. As a result, our model achieved state-of-the-art results on all datasets. The source code of the proposed model is available online at https://github.com/wikipedia2vec/wikipedia2vec.

View on arXivView PDF

Code Implementations(1)

A tool for learning vector representations of words and entities from Wikipedia

973101Shell, CythonOct 26, 20152 years agoNOASSERTION
embeddingsnatural-language-processingnlppythontext-classification+1 more

Similar Papers

Cite this paper

@article{yamada2019neural,
  title  = {Neural Attentive Bag-of-Entities Model for Text Classification},
  author = {Ikuya Yamada and Hiroyuki Shindo},
  year   = {2019},
  eprint = {1909.01259},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.01259}
}

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/1909.01259.svg)](https://codeofpaper.com/paper/1909.01259)

Discussion