arXiv:2503.03595cs.LGcs.AI2025-03ICLR被引 15

发现扩散模型生成文字时因局部依赖导致幻觉,即使单个字正确也组合成无意义串。

Towards Understanding Text Hallucination of Diffusion Models via Local Generation Bias

  • 通过实验揭示扩散模型存在局部生成偏差,依赖相邻区域而非全局结构。
  • 无论MLP或Transformer架构,都出现符号组合混乱的文本幻觉现象。
  • 该机制解释了跨模态幻觉,适合关注生成模型缺陷的研究者阅读。

基于得分的扩散模型在生成图像、音频和视频方面取得了惊人成果,但常引入不现实的伪影,如扭曲的手指或无意义的幻觉文字。本文聚焦于文本幻觉:模型能正确生成单个字符,但组合成无意义序列。通过实验探测,我们一致发现这一现象源于网络的局部生成偏差。去噪网络倾向于依赖高度相关的局部区域,尤其当数据分布的不同维度近乎两两独立时。这种行为将全局分布分解为每个符号的独立分布,最终无法捕捉全局结构(包括潜在语法)。有趣的是,这种偏差在不同去噪网络架构中均存在,包括具备建模全局依赖能力的MLP和Transformer。这些发现还为理解其他类型的幻觉(超越文本)提供了洞见,归因于去噪模型中的隐式偏差。此外,我们对两层MLP在超立方体上学习奇偶性点的特定情况进行了理论分析,揭示其内在机制。

原文摘要 · Abstract (English)

Score-based diffusion models have achieved incredible performance in generating realistic images, audio, and video data. While these models produce high-quality samples with impressive details, they often introduce unrealistic artifacts, such as distorted fingers or hallucinated texts with no meaning. This paper focuses on textual hallucinations, where diffusion models correctly generate individual symbols but assemble them in a nonsensical manner. Through experimental probing, we consistently observe that such phenomenon is attributed it to the network's local generation bias. Denoising networks tend to produce outputs that rely heavily on highly correlated local regions, particularly when different dimensions of the data distribution are nearly pairwise independent. This behavior leads to a generation process that decomposes the global distribution into separate, independent distributions for each symbol, ultimately failing to capture the global structure, including underlying grammar. Intriguingly, this bias persists across various denoising network architectures including MLP and transformers which have the structure to model global dependency. These findings also provide insights into understanding other types of hallucinations, extending beyond text, as a result of implicit biases in the denoising models. Additionally, we theoretically analyze the training dynamics for a specific case involving a two-layer MLP learning parity points on a hypercube, offering an explanation of its underlying mechanism.

扩散模型文本幻觉生成偏差

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。