arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.01137cs.CL
收藏

跟随流动:文本到图像模型中文本令牌间信息流动的研究

Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Models

Hebrew University of Jerusalem(海法大学);Technion – Israel Institute of Technology(技术学院 – 以色列理工学院);Kempner Institute, Harvard University(哈佛大学凯普纳研究所)

Guy Kaplan, Michael Toker, Yuval Reif, Yonatan Belinkov, Roy Schwartz

AI总结:

本文研究文本到图像模型中令牌表示间的信息分布,发现信息常集中于少数几个令牌,且令牌间存在孤立与交互影响,改进编码可提升生成质量。

摘要:

文本到图像生成模型面临对齐问题,生成图像无法准确捕捉文本提示中的对象和关系。本文研究文本到图像提示中语义信息在令牌表示中的分布,分析两个层面:(1) 个体令牌是否代表其词项,(2) 交叉令牌交互是否信息流动。通过拼接技术揭示编码模式,发现信息通常集中于少数几个令牌;例如,在'San Francisco's Golden Gate Bridge'中,'Gate'足以表示整个表达,其他令牌可被丢弃。词项常保持孤立;如在'green dog'中,'dog'无'green'的视觉信息。但某些情况下,词项会相互影响表示,常导致误解,如'pool by a table'中'pool'可能表示'pool table'。研究强调令牌级编码在图像生成中的关键作用,证明简单编码干预可显著提升对齐和生成质量。

英文摘要:

Text-to-image generation models suffer from alignment problems, where generated images fail to accurately capture the objects and relations in the text prompt. Prior work has focused on improving alignment by refining the diffusion process, ignoring the role of the text encoder, which guides the diffusion. In this work, we investigate how semantic information is distributed across token representations in text-to-image prompts, analyzing it at two levels: (1) in-item representation-whether individual tokens represent their lexical item (i.e., a word or expression conveying a single concept), and (2) cross-item interaction-whether information flows between tokens of different lexical items. We use patching techniques to uncover encoding patterns, and find that information is usually concentrated in only one or two of the item's tokens; for example, in the item ``San Francisco's Golden Gate Bridge'', the token ``Gate'' sufficiently captures the entire expression while the other tokens could effectively be discarded. Lexical items also tend to remain isolated; for instance, in the prompt ``a green dog'', the token ``dog'' encodes no visual information about ``green''. However, in some cases, items do influence each other's representation, often leading to misinterpretations-e.g., in the prompt ``a pool by a table'', the token ``pool'' represents a ``pool table'' after contextualization. Our findings highlight the critical role of token-level encoding in image generation, and demonstrate that simple interventions at the encoding stage can substantially improve alignment and generation quality.

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

↑