DiffusionPID:通过部分信息分解解释扩散模型
DiffusionPID: Interpreting Diffusion via Partial Information Decomposition
AI总结:
提出DiffusionPID技术,利用信息论原理将文本提示分解为基本组件,在图像和像素层面分析token的唯一性、冗余性和协同性,揭示扩散模型内部机制并应用于偏见检测与提示干预。
摘要:
文本到图像扩散模型在从文本输入生成逼真图像方面取得了显著进展,并展现出学习和表征复杂视觉-语义关系的能力。尽管这些扩散模型取得了显著成功,但驱动其性能的底层机制尚未得到充分解释,关于它们学到了什么、如何表征视觉-语义关系以及为何有时无法泛化,仍存在许多未解之谜。我们的工作提出了扩散部分信息分解(DiffusionPID),这是一种新技术,应用信息论原理将输入文本提示分解为其基本组件,从而能够详细检查单个token及其交互如何塑造生成的图像。我们引入了一种正式的方法,通过在图像和像素级别将PID应用于去噪模型,来分析唯一性、冗余性和协同性项。这种方法使我们能够表征单个token及其交互如何影响模型输出。我们首先对模型用于唯一定位特定概念的细粒度特征进行了分析,然后将其应用于偏见分析,并表明它可以恢复性别和种族偏见。最后,我们使用该方法从模型角度直观地表征词汇歧义和相似性,并展示了其在提示干预中的有效性。结果表明,PID是评估和诊断文本到图像扩散模型的强大工具。
英文摘要:
Text-to-image diffusion models have made significant progress in generating naturalistic images from textual inputs, and demonstrate the capacity to learn and represent complex visual-semantic relationships. While these diffusion models have achieved remarkable success, the underlying mechanisms driving their performance are not yet fully accounted for, with many unanswered questions surrounding what they learn, how they represent visual-semantic relationships, and why they sometimes fail to generalize. Our work presents Diffusion Partial Information Decomposition (DiffusionPID), a novel technique that applies information-theoretic principles to decompose the input text prompt into its elementary components, enabling a detailed examination of how individual tokens and their interactions shape the generated image. We introduce a formal approach to analyze the uniqueness, redundancy, and synergy terms by applying PID to the denoising model at both the image and pixel level. This approach enables us to characterize how individual tokens and their interactions affect the model output. We first present a fine-grained analysis of characteristics utilized by the model to uniquely localize specific concepts, we then apply our approach in bias analysis and show it can recover gender and ethnicity biases. Finally, we use our method to visually characterize word ambiguity and similarity from the model's perspective and illustrate the efficacy of our method for prompt intervention. Our results show that PID is a potent tool for evaluating and diagnosing text-to-image diffusion models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。