Language Modeling with Latent Situations

12/20/2022
by   Belinda Z. Li, et al.
0

Language models (LMs) often generate incoherent outputs: they refer to events and entity states that are incompatible with the state of the world described in their inputs. We introduce SituationSupervision, a family of approaches for improving coherence in LMs by training them to construct and condition on explicit representations of entities and their states. SituationSupervision has two components: an auxiliary situation modeling task that trains models to predict state representations in context, and a latent state inference procedure that imputes these states from partially annotated training data. SituationSupervision can be applied to both fine-tuning (by supervising LMs to encode state variables in their hidden representations) and prompting (by inducing LMs to interleave textual descriptions of entity states with output text). In both cases, SituationSupervision requires only a small number of state annotations to produce major coherence improvements (between 4-11 showing that standard LMs can be sample-efficiently trained to model not just language but the situations it describes.

READ FULL TEXT
research
08/02/2017

Dynamic Entity Representations in Neural Language Models

Understanding a long document requires tracking how entities are introdu...
research
06/01/2021

Implicit Representations of Meaning in Neural Language Models

Does the effectiveness of neural language models derive entirely from ac...
research
08/21/2019

Latent Relation Language Models

In this paper, we propose Latent Relation Language Models (LRLMs), a cla...
research
10/07/2020

Inductive Entity Representations from Text via Link Prediction

We present a method for learning representations of entities, that uses ...
research
12/16/2021

Reconsidering the Past: Optimizing Hidden States in Language Models

We present Hidden-State Optimization (HSO), a gradient-based method for ...
research
09/11/2019

Learning Dynamic Author Representations with Temporal Language Models

Language models are at the heart of numerous works, notably in the text ...

Please sign up or login with your details

Forgot password? Click here to reset