Identifying and Mitigating the Influence of the Prior Distribution in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) sometimes fail to respond appropriately to deterministic tasks -- such as counting or forming acronyms -- because the implicit prior distribution they have learned over sequences of tokens influences their responses. In this work, we show that, in at least some cases, LLMs actually compute the information needed to perform these tasks correctly, and we identify some interventions that can allow them to access this information to improve their performance. First, we show that simply prompting the language model to not rely on its prior knowledge leads to dramatic improvements in prior-dominated tasks. We then use mechanistic interpretability techniques to localize the prior within the LLM and manipulate the extent to which that prior influences its responses. Specifically, we show that it is possible to identify layers of the underlying neural network that correlate with the prior probability of a response and that lightweight finetuning of these layers with basic prompts on prior-dominated tasks achieves high performance on held-out answers. These results suggest that the information required to produce a correct response is contained within the representations of the problems formed by the models. Furthermore, we show that this finetuning is significantly more effective for prior-dominated tasks, and that the error after finetuning is no longer correlated with the prior. Our results suggest that it may be possible to define effective methods for manipulating the extent to which LLMs rely upon their priors in solving problems, potentially increasing their performance in settings where LLMs hallucinate for reasons related to the prior probability of token sequences.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 38 of its 49 references that are in the map. First posted on arXiv 17 Apr 2025.
Builds on
38 of 49 references.
References · 38
- 2017Attention Is All You Needcited by 60,361
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2022Language Models (Mostly) Know What They Knowcited by 1,856
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
26 more
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 812
- 2019Designing and Interpreting Probes with Control Taskscited by 640
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
- 2021Causal Abstractions of Neural Networkscited by 422
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 319
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 246
- 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
- 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 209
- 2023Gender bias and stereotypes in Large Language Modelscited by 187
- 2024Quantifying the Persona Effect in LLM Simulationscited by 169
- 2021A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text Generationcited by 138
- 2024Chain of Thoughtlessness? An Analysis of CoT in Planningcited by 103
- 2024Universal Neurons in GPT2 Language Modelscited by 102
- 2024The Butterfly Effect of Altering Prompts: How Small Changes and Jailbreaks Affect Large Language Model Performancecited by 100
- 2018Under the Hood: Using Diagnostic Classifiers to Investigate and Improve how Language Models Track Agreement Informationcited by 97
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2021Is GPT-3 Text Indistinguishable from Human Text? Scarecrow: A Framework for Scrutinizing Machine Textcited by 89
- 2019Discovering the Compositional Structure of Vector Representations with Role Learning Networkscited by 34
- 2019No Training Required: Exploring Random Encoders for Sentence Classificationcited by 32
- 2023VISIT: Visualizing and Interpreting the Semantic Information Flow of Transformerscited by 32
- 2024Incoherent Probability Judgments in Large Language Modelscited by 30
- 2024Deciphering the Factors Influencing the Efficacy of Chain-of-Thought: Probability, Memorization, and Noisy Reasoningcited by 27
- 2023Bayes in the age of intelligent machinescited by 22
- 2024An Audit on the Perspectives and Challenges of Hallucinations in NLPcited by 17
- 2025Prediction hubs are context-informed frequent tokens in LLMscited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025The First Impression Problem: Internal Bias Triggers Overthinking in Reasoning Modelscited by 10
- 2025Semantic Deception: When Reasoning Models Can't Compute an Additioncited by 1
- 2026The Geometry of Ignorance: LLMs Know When to Temper Bayesian Priorscited by 0
- 2026Anthropomorphism in the age of Large Language Models: An overview of potential risks and mitigationscited by 0
- 2026Anthropomorphism in the age of Large Language Models: An overview of potential risks and mitigations29 Sep 2026
- 2026The Geometry of Ignorance: LLMs Know When to Temper Bayesian Priors2 Sep 2026
- 2025Semantic Deception: When Reasoning Models Can't Compute an Addition23 Dec 2025
- 2025The First Impression Problem: Internal Bias Triggers Overthinking in Reasoning Models22 May 2025
Similar, not cited
Close in wording, no citation either way
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Data
- 2025Large Language Models as Discounted Bayesian Filters
- 2025Decoding Knowledge in Large Language Models: A Framework for Categorization and Comprehension
- 2026What do Language Models Learn and When? The Implicit Curriculum Hypothesis
- 2025Analyzing Memorization in Large Language Models through the Lens of Model Attribution
- 2026When are likely answers right? On Sequence Probability and Correctness in LLMs
- 2024TAIA: Large Language Models are Out-of-Distribution Data Learners
- 2025An Analysis for Reasoning Bias of Language Models with Small Initialization