[Paper Review] Do Language Models Have Beliefs? Methods for Detecting, Updating, and Visualizing Model Beliefs
This paper proposes methods to detect, update, and visualize beliefs in language models using belief graphs and learned optimizers. It introduces the SLAG training objective for sequential, local, and generalizing belief updates, showing that learned optimizers outperform off-the-shelf baselines in correcting incorrect beliefs while improving logical consistency, especially in multi-update settings.
Do language models have beliefs about the world? Dennett (1995) famously argues that even thermostats have beliefs, on the view that a belief is simply an informational state decoupled from any motivational state. In this paper, we discuss approaches to detecting when models have beliefs about the world, and we improve on methods for updating model beliefs to be more truthful, with a focus on methods based on learned optimizers or hypernetworks. Our main contributions include: (1) new metrics for evaluating belief-updating methods that focus on the logical consistency of beliefs, (2) a training objective for Sequential, Local, and Generalizing model updates (SLAG) that improves the performance of learned optimizers, and (3) the introduction of the belief graph, which is a new form of interface with language models that shows the interdependencies between model beliefs. Our experiments suggest that models possess belief-like qualities to only a limited extent, but update methods can both fix incorrect model beliefs and greatly improve their consistency. Although off-the-shelf optimizers are surprisingly strong belief-updating baselines, our learned optimizers can outperform them in more difficult settings than have been considered in past work. Code is available at https://github.com/peterbhase/SLAG-Belief-Updating
Motivation & Objective
- To develop practical methods for detecting when language models possess belief-like states based on logical consistency and structural properties.
- To improve belief-updating techniques that correct factual inaccuracies without full retraining, focusing on consistency and generalization across paraphrases and entailments.
- To introduce a new interface—belief graphs—that visualize interdependencies between model beliefs to aid interpretability and error analysis.
- To evaluate belief-updating methods not just on accuracy, but on their ability to maintain or restore logical consistency across related beliefs.
- To explore ethical implications of belief manipulation in LMs, especially the risk of inducing harmful beliefs alongside correcting them.
Proposed method
- Detect belief-like behavior using metrics that assess consistency under paraphrasing, entailment, and logical transitivity across model outputs.
- Construct belief graphs from model predictions on fact verification and question-answering datasets, representing beliefs as nodes and dependencies as edges.
- Train a learned optimizer using the SLAG (Sequential, Local, and Generalizing) objective to update beliefs in a way that preserves consistency across related statements.
- Use off-the-shelf optimizers as strong baselines and compare them to learned optimizers in multi-update settings to evaluate generalization and robustness.
- Apply belief update methods to datasets like FEVER and LeapOfThought, measuring changes in predictions for logically related inputs to assess transitivity and corruption.
- Evaluate belief consistency using metrics like % Update-Transitivity and # Corrupted predictions to detect unintended side effects of updates.
Experimental results
Research questions
- RQ1To what extent do language models exhibit belief-like properties such as consistency under paraphrase and entailment?
- RQ2How effective are learned optimizers in updating model beliefs compared to off-the-shelf optimizers, especially in multi-update, sequential settings?
- RQ3Can belief graphs accurately represent the logical interdependencies between model predictions and reveal structural vulnerabilities?
- RQ4How does updating one belief affect other logically related beliefs, and to what extent is this process transitive?
- RQ5What are the risks and ethical implications of using belief-updating methods to manipulate model behavior, including the potential for inducing harmful beliefs?
Key findings
- The SLAG training objective significantly improves the performance of learned optimizers in updating multiple beliefs sequentially, outperforming off-the-shelf optimizers in complex settings.
- Off-the-shelf optimizers serve as surprisingly strong baselines, often matching or exceeding specialized learned optimizers in simpler update tasks.
- Belief graphs reveal that model beliefs are highly interconnected, with some beliefs influencing hundreds of others, and 95th percentile nodes having over 5,000 in-edges in the LeapOfThought dataset.
- Only 66.64% of belief updates in FEVER and 24.38% in LeapOfThought exhibit full transitivity, indicating that model updates often lead to incoherent belief changes.
- Up to 2,752 correct predictions were corrupted in the LeapOfThought dataset under model updates, showing that belief updates can inadvertently harm unrelated predictions.
- All beliefs in the constructed belief graphs are connected, with 0% edgeless nodes, indicating that every belief can be altered through targeted updates, highlighting the system-wide impact of belief editing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.