计算机科学 > 机器学习
[提交于 2026年1月31日 (v1),最后修订于 2026年5月29日 (此版本, v7)]
标题:Hallucination is a Consequence of Space-Optimality: A Rate-Distortion Theorem for Membership Testing
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:Large language models often hallucinate with high confidence on "random facts" that lack inferable patterns. We formalize the memorization of such facts as a membership testing problem, unifying the discrete error metrics of Bloom filters with the continuous log-loss of LLMs. By analyzing this problem in the regime where facts are sparse in the universe of plausible claims, we establish a rate-distortion theorem: the optimal memory efficiency is characterized by the minimum KL divergence between score distributions on facts and non-facts. This theoretical framework provides a distinctive explanation for hallucination under an idealized setting: even with optimal training, perfect data, and a simplified ``closed world'' setting, the information-theoretically optimal strategy under limited capacity is not to abstain or forget, but to assign high confidence to some non-facts, resulting in hallucination. We validate this theory empirically on both synthetic and real-world data, showing that hallucinations persist as a natural consequence of lossy compression. The same theorem recovers and sharpens classical space lower bounds for Bloom-type filters, pinning down an additive constant left open for two-sided filters.
提交历史
来自:Anxin Guo[v1] 2026年1月31日 星期六 21:18:28 UTC (382 KB)
[v2] 2026年2月3日 星期二 04:36:49 UTC (383 KB)
[v3] 2026年2月4日 星期三 05:00:24 UTC (383 KB)
[v4] 2026年2月5日 星期四 07:24:05 UTC (384 KB)
[v5] 2026年3月10日 星期二 18:29:11 UTC (385 KB)
[v6] 2026年4月4日 星期六 05:48:07 UTC (383 KB)
[v7] 2026年5月29日 星期五 20:54:28 UTC (764 KB)