Neural Models for Documents with Metadata

Dallas Card, Chenhao Tan, Noah A. Smith
5/25/2017
135 citations
stat.MLcs.CL

Official code: dallascard/scholar (107 stars, Python, Apache-2.0, last commit 2020-04-14). 1 more implementation below.

Abstract

Most real-world document collections involve various types of metadata, such as author, source, and date, and yet the most commonly-used approaches to modeling text corpora ignore this information. While specialized models have been developed for particular applications, few are widely used in practice, as customization typically requires derivation of a custom inference algorithm.

Show full abstract

In this paper, we build on recent advances in variational inference methods and propose a general neural framework, based on topic models, to enable flexible incorporation of metadata and allow for rapid exploration of alternative models. Our approach achieves strong performance, with a manageable tradeoff between perplexity, coherence, and sparsity. Finally, we demonstrate the potential of our framework through an exploration of a corpus of articles about US immigration.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
dallascard/scholarOfficial107PythonApache-2.02020-04-14
dallascard/neural_topic_modelsOfficial67PythonApache-2.02018-10-31
dallascard/scholarOfficial100%
Apache-2.0

Replication code for "Neural Models for Documents with Metadata"

10719Python, Jupyter NotebookApr 21, 20186 years agoApache-2.0
Apache-2.0

Code to accompany "A Neural Framework for Generalized Topic Models"

6711PythonMay 24, 20178 years agoApache-2.0

Similar Papers

Cite this paper

@article{card2017neural,
  title  = {Neural Models for Documents with Metadata},
  author = {Dallas Card and Chenhao Tan and Noah A. Smith},
  year   = {2017},
  eprint = {1705.09296},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1705.09296}
}

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

Discussion