arXiv cs.AI· Toni J. B. Liu, Jiajun Bao, Gurbir Arora, Mitchell Ostrow, Yizhou Liu, Rapha\"el Sarfati, Nicolas Boull\'e, Christopher J. Earls·· 5 小时前AI 评分46
LLM 的“无知方向”:unembedding 几何编码并调节 unigram 先验
The Direction of Ignorance: LLMs Encode and Temper a Unigram Prior
AI 导读
arXiv 论文发现,语言模型 unembedding 矩阵中存在一个编码训练语料 unigram 分布的“无知方向”,作为模型不确定时的贝叶斯先验。该结构在 Llama、Qwen、Gemma、Pythia 等模型(0.4B–405B 参数)中普遍存在,投影系数 λ 随上下文信息量增加而下降,且大模型与推理模型的先验依赖更低。
正文 · 原文
Abstract:What does a language model predict when it has few clues?The answer lies in its unembedding geometry: a single direction of the unembedding matrix encodes the unigram distribution of the training corpus, which serves as the Bayesian prior the model falls back on when uncertain. This structure, termed the direction of ignorance, appears across all model families examined (Llama, Qwen, Gemma, and Pythia), ranging from 0.4B to 405B parameters. Projecting the final prediction state onto this direction yields a per-token prior loading factor $\lambda$, which declines steadily as the context becomes more informative. Formally, the same projection decomposes the prediction state into two orthogonal vectors interpretable as the two components of a tempered Bayesian update: a unigram prior raised to the exponent $\lambda$ and a context-driven likelihood. This geometric probabilistic connection makes $\lambda$ meaningfully comparable across model sizes and families. Larger models generally exhibit lower prior reliance, and reasoning models exhibit lower reliance than their base counterparts. Finally, we show that $\lambda$ serves as a causal, inference-time control: reducing it can promote context-driven continuations and improve Llama-3.2-3B-Instruct on GSM8K, whereas amplifying it or applying matched perturbations along random directions degrades performance.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Machine Learning (stat.ML) |
| Cite as: | arXiv:2609.02959 [cs.LG] |
| (or arXiv:2609.02959v2 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2609.02959 arXiv-issued DOI via DataCite |
Submission history
From: Jianbang Liu [view email]
[v1]
Wed, 2 Sep 2026 05:05:50 UTC (6,122 KB)
[v2]
Thu, 29 Oct 2026 05:14:41 UTC (9,323 KB)
来源:arXiv cs.AI · arxiv.org