跳到正文
arXiv cs.CL· Ryosuke Yamaki, Daichi Mochihashi, Nobutaka Shimada, Seitaro Shinagawa, Tadahiro Taniguchi·· 13 小时前AI 评分31

CCG Diffusion:用组合范畴语法驱动组合式且消解句法歧义的文生图生成

CCG Diffusion: Combinatory Categorial Grammar-Driven Compositional and Syntactically Disambiguated Text-to-Image Generation

AI 导读

CCG Diffusion 是一种无需训练的文生图控制方法,利用组合范畴语法(CCG)从解析结果直接读取词间修饰关系,并通过提示词重写与注意力引导两项机制统一控制属性绑定、空间关系、数量以及介词短语(PP)附着歧义。在 Stable Diffusion 和 Sana 两个架构不同的骨干上,该方法在属性绑定与 2D 空间关系上取得对比方法中的最高分,并在 PP 歧义消解上显著优于所有对比方法。

正文 · 原文

View PDF HTML (experimental)

Abstract:Text-to-image generation models do not explicitly receive the syntactic structure of the prompt, i.e., which word modifies which and where each phrase attaches. Consequently, they often struggle to bind attributes to the correct objects, to depict spatial relations and counts correctly, and to render syntactically ambiguous prompts in the intended interpretation. Existing syntax-based control methods mainly address attribute binding and have limited ability to control spatial relations and counts or to specify the interpretation of syntactically ambiguous prompts. They rely on phrase-structure or dependency grammars and require additional rules or constraints on the tree structure to extract modification relations between words or to specify a syntactic interpretation. We propose CCG Diffusion, a training-free method that controls image generation using Combinatory Categorial Grammar (CCG). In CCG, the category of each word carries rich syntactic information: it specifies what the word combines with and what phrase it forms. Modification relations between words can therefore be read directly from a CCG parse. Moreover, prepositional phrase (PP) attachment ambiguity, a representative syntactic ambiguity, can be resolved simply by fixing the preposition's category. CCG Diffusion applies the same two CCG-based mechanisms, prompt rewriting and attention guidance, both to controlling attribute binding, spatial relations, and counts and to resolving PP ambiguity. On two architecturally different backbones, Stable Diffusion and Sana, CCG Diffusion achieves the highest scores among the compared methods in attribute binding and 2D spatial relations and significantly outperforms all of them in PP ambiguity resolution.
Comments: Preprint under review
Subjects: Computer Vision and Pattern Recognition (cs.CV); Computation and Language (cs.CL)
Cite as: arXiv:2610.29415 [cs.CV]
  (or arXiv:2610.29415v1 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2610.29415

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Ryosuke Yamaki [view email]
[v1] Wed, 21 Oct 2026 08:38:18 UTC (14,336 KB)

来源:arXiv cs.CL · arxiv.org