arXiv:2605.24624cs.CV2026-05

揭示视觉语言模型中文本如何隐式绑定参考图像内容

Vision-Language Binding in In-Context Image Generation

论文配图:Vision-Language Binding in In-Context Image Generation
图 1 · 摘自论文原文
  • 文本令牌在前向传播中吸收参考图像信息,形成跨模态绑定
  • 颜色、风格等属性经由文本令牌传递,具体身份则直接通过图像注意力传递
  • 绑定机制集中于文本序列的填充令牌,适用于多模态生成研究

以FLUX.2为代表的上下文图像生成模型将文本提示、可选参考图像和噪声令牌统一输入单一注意力流,三者可相互关注。我们发现文本令牌与参考图像之间存在隐式跨模态绑定:文本令牌在前向过程中吸收视觉内容,并对其生成结果产生因果影响。通过三种因果干预——T2I Lens(解码文本令牌激活)、Attention Knockout(切断特定注意力边)、I2I-to-I2I Patching(跨编辑复制文本令牌激活)——在包括SUN397和DreamBench++在内的2,875个编辑任务上验证,结果呈现明确分工:参考图像的颜色、风格、场景设定等属性先写入文本令牌并传递至输出;而人脸等像素级细节则绕过文本令牌,直接通过图像到图像注意力路径传递。进一步定位显示,该绑定集中在文本序列的填充令牌上。这表明多模态DiT中的文本令牌不仅是提示容器,更是结构化的内容传递通道。更广泛地,提示即使在统一注意力架构中,令牌模态仍决定条件信息的表征与路由方式。

原文摘要 · Abstract (English)

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.

多模态生成视觉绑定注意力机制

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