TL;DR
This paper investigates whether large language models (LLMs) like GPT-4o possess a consistent "world model" by examining the consistency of their factual errors. While GPT-4o demonstrates remarkable consistency in its mistakes across different phrasing and languages for the same factual query, it exhibits significant inconsistencies when asked to infer information through different prompting strategies, suggesting its "world model" might be context-dependent rather than universal.
What Problem Does This Paper Address?
Large Language Models (LLMs) are increasingly used to access and process information about the world. A fundamental question is whether these models develop an internal, consistent representation of this world – a "world model" – that guides their responses. If an LLM has a consistent world model, its factual errors should also be consistent, reflecting a stable, albeit potentially incorrect, set of beliefs. This paper aims to empirically test this hypothesis by probing GPT-4o for consistent errors across various prompting scenarios. Understanding this consistency is crucial for evaluating the reliability and interpretability of LLM outputs.
Methods
The researchers operationalize the concept of a world model as an internally consistent set of facts and logical propositions. They then assess whether an LLM reflects this model by observing the consistency of its responses, particularly its mistakes. The core methodology involves:
- Probing with Factual Questions: GPT-4o was queried for factual information in two domains: city populations (where it's generally accurate) and isotopic half-lives (where it's generally inaccurate).
- Varying Prompts: To test consistency, they used different prompt phrasings, languages (English and German), and prompting strategies (direct questions vs. comparative rankings vs. chain-of-thought reasoning).
- Measuring Consistency: Consistency was primarily measured by analyzing the correlation of errors made across different prompts. If errors are correlated, it suggests the model is consistently applying a particular (potentially flawed) piece of information. They also used ranking comparisons and fitted Bradley-Terry models to assess consistency.
- Disentangling Accuracy and Consistency: The paper emphasizes that accuracy implies consistency, but consistency does not necessarily imply accuracy. They focus on errors to understand the underlying model, hypothesizing that a consistent but inaccurate model would make the same errors repeatedly.
Datasets
The paper does not introduce new datasets but uses existing factual information for evaluation:
- City Populations: Data for 100 random US cities with populations greater than 3000.
- Isotopic Half-Lives: Data for 100 randomly chosen unstable isotopes.
The LLM's responses were compared against ground truth data for these domains.
Key Insights and Ideas
- Consistent Errors, Not Necessarily Accurate Knowledge: GPT-4o can exhibit consistent errors, indicating it's not just randomly guessing but rather consistently referencing a specific (and sometimes incorrect) piece of information. This is a key indicator of a stable internal representation.
- Prompt Phrasing and Language Don't Drastically Alter the "World Model": GPT-4o's errors remain highly correlated even when the prompt is rephrased or translated into a different language. This suggests a degree of language-agnostic consistency in its underlying knowledge representation.
- "Incoherent Encyclopedia" Hypothesis: The findings align with Andreas's (2022) idea of LLMs acting as an "incoherent encyclopedia." Each context might reflect a consistent world model, but different contexts can lead to different models, implying the model's "world" is not a single, unified entity.
- Prompting Strategy Matters Significantly: While minor prompt variations lead to consistent errors, asking the LLM to infer information through different strategies (e.g., direct recall vs. comparative reasoning) can lead to inconsistent results, even when the underlying information is the same. This suggests that the process of information retrieval or reasoning can alter the perceived world model.
- Emergent Consistency: The high degree of consistency observed across prompts for GPT-4o, even in domains where it's inaccurate, suggests this consistency might be an emergent property of LLMs rather than solely a direct consequence of specific training data.
Key Results
- High Consistency Across Prompt Phrasing and Language: GPT-4o showed highly correlated errors when asked for city populations and isotopic half-lives using different phrasings and in different languages (English vs. German). For instance, errors in population rankings were highly correlated (Figure 2a, Figure 3a).
- Inconsistency with Different Prompting Strategies: When comparing direct population queries with those derived from a Bradley-Terry model (which infers rankings from pairwise comparisons), the errors showed little correlation for city populations (Figure 5a) and isotopic half-lives (Figure 5b). This indicates that different inferential tasks can lead to different "world models."
- Accuracy vs. Consistency: For city populations, GPT-4o's rankings were quite close to the true rankings (Figure 1a). However, for isotopic half-lives, its rankings were wildly different from the true rankings (Figure 1b), yet its errors were still consistent across similar prompts.
- Comparison with Other Models: GPT-4o's errors were only moderately correlated with GPT-4.1's errors, suggesting that while LLMs might have general tendencies, the specific consistency observed in GPT-4o is not universally shared across all models.
Limitations and Future Work
- Limited Domains and Models: The study focused on two knowledge domains (city populations, isotopic half-lives) and primarily on GPT-4o. Future work should expand to more domains and a wider range of LLMs, including those not extensively fine-tuned.
- Training Data Influence: It's unclear if consistent mistakes are an emergent property or a direct result of specific training data. Training multiple models from scratch on the same data but with different random seeds could shed light on this.
- Testing the "Incoherent Encyclopedia" Model: A more direct test of the incoherent encyclopedia hypothesis could involve deriving all information from a single, consistent context to assess internal consistency.
- Chain-of-Thought Prompting: While chain-of-thought prompting sometimes improved accuracy, it did not significantly increase consistency with directly solicited values, suggesting that the reasoning steps themselves might be inconsistent or prone to "post hoc rationalization."
Summary updated