arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.19562cs.LGcs.ITmath.ITphysics.comp-ph
收藏

神经不确定性原理:对抗脆弱性与大语言模型幻觉的统一视角

Neural Uncertainty Principle: A Unified View of Adversarial Fragility and LLM Hallucination

Northwest Institute of Nuclear Technology(西北核技术研究所);Tsinghua University(清华大学)

Dong-Xiao Zhang, Hu Lou, Jun-Jie Zhang, Jun Zhu, Deyu Meng

AI总结:

本文揭示对抗脆弱性与大语言模型幻觉的共同几何起源,提出神经不确定性原理,通过输入与损失梯度的不确定性界限,提供统一的可靠性分析框架。

摘要:

视觉中的对抗脆弱性和大语言模型中的幻觉通常被视为独立问题,各自采用模态特定的修补方法。本研究首次揭示它们有共同的几何起源:输入及其损失梯度是受不可约不确定性界限约束的共轭可观测量。在损失诱导态下,正式化神经不确定性原理(NUP),发现接近界限区域时,进一步压缩必须伴随敏感性分散(对抗脆弱性)的增加,而弱提示梯度耦合导致生成欠约束(幻觉)。关键的是,此界限由输入梯度相关性通道调节,通过专门设计的单向后探针捕获。在视觉中,屏蔽高耦合组件可提升鲁棒性而不需昂贵对抗训练;在语言中,同一预填充阶段探针可在生成任何答案标记前检测幻觉风险。NUP因此将看似独立的失败分类转化为共享的不确定性预算视角,并提供可靠性分析的原理性视角。基于此NUP理论,我们提出ConjMask(屏蔽高贡献输入组件)和LogitReg(logit侧正则化)以提高鲁棒性而不需对抗训练,并利用探针作为解码无关的风险信号用于LLM,实现幻觉检测和提示选择。NUP因此提供了一个统一、实用的框架,用于诊断和缓解感知和生成任务中的边界异常。

英文摘要:

Adversarial vulnerability in vision and hallucination in large language models are conventionally viewed as separate problems, each addressed with modality-specific patches. This study first reveals that they share a common geometric origin: the input and its loss gradient are conjugate observables subject to an irreducible uncertainty bound. Formalizing a Neural Uncertainty Principle (NUP) under a loss-induced state, we find that in near-bound regimes, further compression must be accompanied by increased sensitivity dispersion (adversarial fragility), while weak prompt-gradient coupling leaves generation under-constrained (hallucination). Crucially, this bound is modulated by an input-gradient correlation channel, captured by a specifically designed single-backward probe. In vision, masking highly coupled components improves robustness without costly adversarial training; in language, the same prefill-stage probe detects hallucination risk before generating any answer tokens. NUP thus turns two seemingly separate failure taxonomies into a shared uncertainty-budget view and provides a principled lens for reliability analysis. Guided by this NUP theory, we propose ConjMask (masking high-contribution input components) and LogitReg (logit-side regularization) to improve robustness without adversarial training, and use the probe as a decoding-free risk signal for LLMs, enabling hallucination detection and prompt selection. NUP thus provides a unified, practical framework for diagnosing and mitigating boundary anomalies across perception and generation tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑