Topically Driven Neural Language Model

Jey Han Lau, Timothy Baldwin, Trevor Cohn
4/26/2017
68 citations
cs.CL

Official code: jhlau/topically-driven-language-model (136 stars, Python, Apache-2.0, last commit 2018-07-31).

Abstract

Language models are typically applied at the sentence level, without access to the broader document context. We present a neural language model that incorporates document context in the form of a topic model-like architecture, thus providing a succinct representation of the broader document context outside of the current sentence.

Show full abstract

Experiments over a range of datasets demonstrate that our model outperforms a pure sentence-based model in terms of language model perplexity, and leads to topics that are potentially more coherent than those produced by a standard LDA topic model. Our model also has the ability to generate related sentences for a topic, providing another way to interpret topics.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Tensorflow code to train TDLM

13635Python, ShellApr 18, 20178 years agoApache-2.0

Similar Papers

Cite this paper

@article{lau2017topically,
  title  = {Topically Driven Neural Language Model},
  author = {Jey Han Lau and Timothy Baldwin and Trevor Cohn},
  year   = {2017},
  eprint = {1704.08012},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1704.08012}
}

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

Discussion