Skip to main content
QUICK REVIEW

[Paper Review] Enriching a Model's Notion of Belief using a Persistent Memory

Nora Kassner, Oyvind Tafjord|arXiv (Cornell University)|Apr 16, 2021
Topic ModelingComputer Science31 references6 citations
TL;DR

This paper proposes augmenting pretrained language models (PTLMs) with a persistent BeliefBank memory to improve global consistency and accuracy in factual reasoning. By using a weighted SAT solver to resolve conflicting beliefs and a feedback mechanism that re-queries the model with context from known beliefs, the system achieves significant improvements in both consistency and accuracy in a controlled, constraint-based setting.

ABSTRACT

Although pretrained language models (PTLMs) have been shown to contain significant amounts of world knowledge, they can still produce inconsistent answers to questions when probed, even after using specialized training techniques to reduce inconsistency. As a result, it can be hard to identify what the model actually "believes" about the world. Our goal is to reduce this problem, so systems are more globally consistent and accurate in their answers. Our approach is to add a memory component -- a BeliefBank -- that records a model's answers, and two mechanisms that use it to improve consistency among beliefs. First, a reasoning component -- a weighted SAT solver -- improves consistency by flipping answers that significantly clash with others. Second, a feedback component re-queries the model but using known beliefs as context. We show that, in a controlled experimental setting, these two mechanisms improve both accuracy and consistency. This is significant as it is a first step towards endowing models with an evolving memory, allowing them to construct a more coherent picture of the world.

Motivation & Objective

  • To address the inconsistency in pretrained language models' factual answers, which hinders reliable belief attribution.
  • To develop a system that constructs a globally coherent mental model from noisy PTLM outputs without retraining the model.
  • To explore whether persistent memory and reasoning mechanisms can improve consistency and accuracy in factual question-answering.
  • To create a controlled dataset for measuring and evaluating model consistency under logical constraints.
  • To lay the foundation for systems with evolving, coherent beliefs by integrating memory and reasoning.

Proposed method

  • Augmenting a PTLM with a persistent BeliefBank that stores raw answers to factual questions.
  • Using a weighted SAT solver to detect and resolve belief conflicts by flipping inconsistent answers.
  • Implementing a feedback mechanism that re-queries the model using known beliefs as context to improve answer quality.
  • Formulating the consistency problem as a weighted satisfiability (WSAT) task, where constraints define logical relationships between facts.
  • Calibrating model and constraint weights automatically to balance confidence and consistency.
  • Applying the system in a controlled setting with short factual statements and explicit logical constraints (e.g., 'X is a bird → X has wings').

Experimental results

Research questions

  • RQ1Can a persistent memory layer improve the consistency and accuracy of a PTLM’s factual reasoning without retraining?
  • RQ2How effective is a weighted SAT solver in resolving conflicts among model-provided beliefs?
  • RQ3To what extent does re-querying the model with context from known beliefs improve answer quality?
  • RQ4How do constraint formulation and weight calibration affect system performance?
  • RQ5Can a simple memory-based system approximate a coherent mental model of the world from noisy PTLM outputs?

Key findings

  • The BeliefBank system significantly improves both consistency and accuracy in a controlled experimental setting with logical constraints.
  • The weighted SAT solver effectively resolves belief conflicts by flipping answers that violate logical constraints.
  • The feedback mechanism improves answer quality by re-querying the model with relevant beliefs as context, especially reducing false positives.
  • Both mechanisms—reasoning and feedback—contribute independently to improved system performance.
  • The system demonstrates that a persistent memory layer can help construct a more coherent, globally consistent representation of facts from a PTLM’s outputs.
  • The dataset released at https://allenai.org/data/beliefbank enables reproducible evaluation of consistency and belief coherence.

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.