arXiv AI

The Geometry of Ignorance: LLMs Know When to Temper Bayesian Priors

The paper identifies a single direction in the unembedding matrix of large language models that encodes the unigram distribution of the training corpus, acting as a Bayesian prior when the model is uncertain. By projecting the final prediction state onto this direction, the authors derive a per‑token prior loading factor, λ, which decreases as context becomes more informative and decomposes predictions into a tempered prior and a context‑driven likelihood. Experiments across four model families (Llama, Qwen, Gemma, Pythia) show that larger models rely less on the prior in high‑context settings and that manipulating λ can steer predictions toward or away from the unigram prior in KL divergence.

arXiv AI
Oct 31

The Direction of Ignorance: LLMs Encode and Temper a Unigram Prior

The paper identifies a single direction in the unembedding matrix of large language models that encodes the unigram distribution of the training corpus, acting as a Bayesian prior when the model is uncertain. This "direction of ignorance" is present across various model families and sizes, and projecting predictions onto it yields a prior loading factor λ that decreases as context becomes more informative. The authors show that λ can be used as a causal, inference‑time control to improve or degrade model performance by adjusting reliance on the prior versus context.

By Toni J. B. Liu, Jiajun Bao, Gurbir Arora, Mitchell Ostrow, Yizhou Liu, Rapha\"el Sarfati, Nicolas Boull\'e, Christopher J. Earls
arXiv AI
Oct 16

Language models recognize dropout and Gaussian noise applied to their activations

Language models can detect, localize, and even verbalize differences between dropout and Gaussian noise applied to their activations. In experiments on eight models ranging from 8 B to 36 B, many achieve near‑perfect accuracy in identifying which sentence was perturbed and which type of perturbation was used. The study shows that this ability emerges during pre‑training, correlates with perturbation strength, and can be learned in context, while incorrect labels degrade performance.

By Damiano Fornasiere, Mirko Bronzi, Spencer Kitts, Alessandro Palmas, Yoshua Bengio, Oliver Richardson
arXiv Machine Learning
Nov 11

Linear Probes to Bayesian Manifolds: Geometry of Arithmetic in Large Language Models

Linear probes are used to investigate geometric structures in large language model activations, but probe accuracy alone conflates four distinct claims: decodability, shape, ownership, and causal use. The authors introduce a four‑stage Bayesian pipeline that separates these claims, applying it to two‑digit arithmetic in GPT‑J, Llama 3.1, and Pythia. Their findings show that while most concepts are decodable, only a minority of shapes are truly owned by the model, and interventions on a small set of dimensions capture most of the effect of full probes.

By Anshul Kumar, Neha Prasad, Manoj Kumar, Barnab\'as P\'oczos, Deeksha Varshney
arXiv AI
Nov 16

Black-Box Uncertainty Quantification for Large Language Models via Ensemble-of-Ensembles

The paper introduces a two‑level ensemble approach for black‑box uncertainty quantification in large language models. By combining stochastic decoding (inner ensemble) with meaning‑preserving prompt perturbations (outer ensemble) and measuring variability in a continuous embedding space, it provides an exact decomposition of aleatoric and epistemic uncertainty using only black‑box sampling. The method is theoretically grounded, matches strong white‑box baselines on short QA benchmarks, and extends to claim‑level factuality in long‑form tasks without retraining.

By Wang Ma, Debarun Bhattacharjya, Junkyu Lee, Nhan H Pham, Harsha Kokel, Qiang Ji
arXiv AI
Aug 28

What the "Spotless" Mind Remembers: How Knowledge Entanglement Shapes What Leaks After Unlearning in LLMs

The paper investigates how the structural entanglement of facts within a large language model’s knowledge base influences whether those facts leak after unlearning. Using two unlearning algorithms (WHP and GA+KL) across fictional and real-world datasets and multiple model sizes, the authors find that highly entangled facts are more likely to be recalled before unlearning, but the relationship changes—WHP weakens it while GA+KL reverses it. By directly manipulating entanglement scores and observing corresponding recall changes, they demonstrate a causal link and develop a predictive tool to audit prompts for potential leakage.

By Aakriti Shah, Yifan Hu, Thai Le
Hugging Face Trending Papers
Jun 22

The Origins of Stochasticity: Comprehensive Investigations on Uncertainty Quantification for Large Language Models

Recent advancements in Large Language Models (LLMs) have enabled sophisticated reasoning and content generation, yet their inherent stochasticity poses significant challenges for ensuring predictive credibility. While traditional uncertainty taxonomy paradigms, such as the dichotomy of aleatoric and epistemic uncertainties, provide conceptual foundations, they often fail to capture the multi-component and multi-stage nature of LLM generation and struggle to evaluate the effectiveness of various Uncertainty Quantification (UQ) methods.

arXiv Machine Learning
Nov 2

When Less is More: The LLM Scaling Paradox in Context Compression

The paper reports a Size‑Fidelity Paradox in large‑language‑model (LLM) context compression: larger compressors can produce lower reconstruction error yet yield less faithful reconstructed contexts. Two key mechanisms drive this effect: knowledge overwriting, where larger models replace source facts with their own beliefs, and semantic drift, where they paraphrase or restructure content. Across 27 compressor setups, mid‑sized models often recover contexts more faithfully, and analysis of embedding geometry shows that larger models organize memory into broader semantic subspaces, leading to ambiguous representations that weaken recovery.

By Ruishan Guo, Yibing Liu, Guoxin Ma, Yan Wang, Yueyang Zhang, Long Xia, Kecheng Chen, Zhiyuan Sun, Daiting Shi