arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24624cs.CV
收藏

上下文图像生成中的视觉-语言绑定

Vision-Language Binding in In-Context Image Generation

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);Northeastern University(东北大学)

Chris Ge, Rohit Gandikota, Antonio Torralba, Tamar Rott Shaham

AI总结:

本文通过因果干预方法揭示FLUX.2模型中文本令牌与参考图像之间的隐式跨模态绑定机制,并定位绑定发生在文本序列的填充令牌上。

摘要:

上下文图像生成模型(如FLUX.2)接收文本提示和可选的参考图像作为输出的视觉条件。在内部,所有三个输入——文本、参考图像和噪声令牌——被连接并通过单个注意力流处理,其中所有令牌可以相互关注。这留下了参考信息如何通过模型流动以产生输出图像的问题。我们展示了文本令牌与参考图像之间出现隐式跨模态绑定:在前向传播过程中,文本令牌吸收视觉参考内容,并且这些吸收的内容因果地影响生成的输出。我们通过三种因果干预方法揭示了FLUX.2中的这种绑定:T2I Lens,通过文本到图像路径解码中间文本令牌激活;Attention Knockout,切断特定的注意力边;以及I2I-to-I2I Patching,在编辑运行之间复制文本令牌激活。在包括SUN397和DreamBench++数据集以及在线收集的图像在内的2875个编辑任务中,我们观察到一致的分工:参考图像的属性(如颜色、风格和场景设置)首先被写入文本令牌,然后由文本令牌携带到生成的图像中;像素精确的属性(如特定面孔或实例身份)绕过文本令牌,通过图像到图像注意力直接从参考图像流向生成的图像。我们进一步将参考-文本绑定定位到文本序列的填充令牌。这些结果表明,多模态DiT中的文本令牌不仅仅是提示持有者,而是参考图像内容的结构化通道。更广泛地说,它们表明即使在统一注意力的多模态生成模型中,令牌模态也决定了条件信息如何在网络中表示和路由。

英文摘要:

In-context image generation models such as FLUX.2 take a text prompt and an optional reference image as visual conditioning for the output. Internally, all three inputs -- text, reference image, and the noise tokens -- are concatenated and processed through a single attention stream, where all tokens can attend to one another. This leaves open how reference information flows through the model to produce the output image. We show that an implicit cross-modal binding emerges between the text tokens and the reference image: the text tokens absorb visual reference content during the forward pass, and that absorbed content causally influences the generated output. We surface this binding with three causal interventions on FLUX.2: T2I Lens, which decodes intermediate text-token activations through a text-to-image path; Attention Knockout, which severs specific attention edges; and I2I-to-I2I Patching, which copies text token activations between editing runs. Across 2,875 editing tasks on various images, including SUN397 and DreamBench++ datasets and images collected online, we observe a consistent division of labor: properties of the reference image, like color, style, and scene setting, are first written into the text tokens, which carry them to the generated image; pixel-exact properties like a specific face or instance identity bypass the text tokens and flow directly from reference to image through image-to-image attention. We further localize the reference-text binding to the padding tokens of the text sequence. These results show that text tokens in a multimodal DiT are not just prompt holders, but a structured channel for reference image content. More broadly, they suggest that even in unified-attention multimodal generative models, token modality structures how conditioning information is represented and routed across the network.

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

↑