Skip to main content
QUICK REVIEW

[Paper Review] Document Context Language Models

Yangfeng Ji, Trevor Cohn|arXiv (Cornell University)|Nov 12, 2015
Topic ModelingComputer Science14 citations
TL;DR

This paper introduces Document-Context Language Models (DCLM), a multi-level recurrent neural network architecture that integrates both intra-sentence and inter-sentence discourse context to improve text coherence. Compared to standard word-level RNN language models, DCLM achieves significantly better document coherence scores while maintaining slightly improved predictive likelihood.

ABSTRACT

Text documents are structured on multiple levels of detail: individual words are related by syntax, but larger units of text are related by discourse structure. Existing language models generally fail to account for discourse structure, but it is crucial if we are to have language models that reward coherence and generate coherent texts. We present and empirically evaluate a set of multi-level recurrent neural network language models, called Document-Context Language Models (DCLM), which incorporate contextual information both within and beyond the sentence. In comparison with word-level recurrent neural network language models, the DCLM models obtain slightly better predictive likelihoods, and considerably better assessments of document coherence.

Motivation & Objective

  • To address the limitation of existing language models in capturing discourse-level structure in text.
  • To improve text generation quality by modeling contextual relationships beyond the sentence level.
  • To develop a neural language model that explicitly incorporates document-level context for better coherence.
  • To empirically evaluate whether incorporating discourse structure leads to more coherent text generation.

Proposed method

  • The DCLM framework uses a hierarchical recurrent neural network to model both word-level syntax and discourse-level structure within documents.
  • It maintains separate hidden states for sentence-level and document-level representations, allowing context to flow across sentence boundaries.
  • The model integrates discourse-aware representations by conditioning the generation of each word on both local sentence context and broader document context.
  • It employs a gated recurrent unit (GRU) or LSTM-based architecture to capture long-range dependencies across sentences.
  • The model is trained to maximize the likelihood of next-word prediction while incorporating document-level context vectors.
  • The document context is updated dynamically as new sentences are processed, enabling progressive modeling of discourse flow.

Experimental results

Research questions

  • RQ1Can modeling discourse structure improve the coherence of generated text in neural language models?
  • RQ2How does incorporating document-level context affect predictive likelihood compared to standard word-level RNNs?
  • RQ3To what extent does DCLM outperform baseline models in human or automatic assessments of document coherence?
  • RQ4Does the integration of multi-level context lead to more semantically consistent and logically connected text?

Key findings

  • DCLM models achieve slightly better predictive likelihood than standard word-level RNN language models.
  • The models show significantly improved performance in assessing document coherence, indicating better modeling of discourse structure.
  • Human and automatic evaluations confirm that DCLM-generated text is more coherent than that from baseline models.
  • The integration of document-level context leads to more logically connected and semantically consistent text across sentences.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.