betaFeedback

WorksComputer Science

Graph2Scene: Relation-Aware Text-to-Image Generation with Graph-Guided Diffusion Model

Abstract

Text-to-image diffusion models still struggle with complex prompts containing many elements and interactions. Existing attention-control methods mainly focus on controlling where elements appear, but often ignore how objects interact with each other. As a result, relation tokens describing interactions between elements may assign high attention to irrelevant regions, leading to missing or incorrect interactions. In this paper, we propose Graph2Scene, a training-free framework that treats scene graphs as a core control signal for diffusion generation. It represents elements as nodes and their relations as edges, and translates these element-relation dependencies into selective attention guidance. It grounds each element to its corresponding region and guides relational interactions among the involved elements. To achieve appropriate relation control without over-constraining the generation process, Graph2Scene further adapts the control duration to scene complexity and progressively relaxes graph guidance during denoising. Experiments on T2I-CompBench and ConceptMix show clear improvements in compositional generation, especially for object relations. On ConceptMix, Graph2Scene improves relationship accuracy from 0.59 to 0.84 over the strongest FLUX.1-based regional-control baseline. Results on LongBench-T2I further show its advantage on long and complex prompts.

Introduction

Text-to-image diffusion models [1, 5, 28] have made remarkable progress in generating realistic images from natural-language prompts. As model capabilities continue to advance, user demands are increasingly shifting toward complex prompts, where a target image may contain multiple objects with diverse attributes, spatial arrangements, and interactions [11, 35, 43]. However, faithfully generating such complex scenes remains challenging, as the model must accurately capture the semantic dependencies among objects, attributes, and relations from long text prompts and translate them into the corresponding visual content.

In diffusion models, attention associates textual concepts with visual content during generation. Ideally, each token should mainly influence the image region corresponding to its concept. However, in complex prompts, attention may spread to irrelevant regions, causing different concepts to interfere with each other. We refer to this undesired behavior as attention leakage [7, 31, 41]. Attention leakage can lead to incorrect attributes, object interference, or missing elements during generation [3, 23, 27, 31]. Existing attention-control methods alleviate this issue by introducing spatial constraints, such as bounding boxes or region masks, to restrict object-related tokens to their corresponding regions [18, 21, 32, 36, 39].

Although existing methods can effectively place individual elements in their correct regions, they largely overlook attention leakage at the relation level. We conduct an experiment to verify that object-level layout control overlooks relation-level attention. Figure 1 compares (A) generation without attention control, (B) object-level layout control following [4] (C) the same layout control, while restricting relation tokens to focus only on the related elements and their interaction regions. Without attention control (Figure 1(A)), the model fails to distinguish the regions of the girl and the boy, and the boy is missing. With layout control (Figure 1(B)), the girl, boy, and balloon are generated in the correct regions with proper attributes. However, the relation token gives is not explicitly controlled, and its attention mainly focuses on the hand of an unrelated man rather than the girl, boy, and balloon involved in the interaction (as highlighted by the red box in Figure 1(B)). As a result, the intended giving relation is not correctly generated. By restricting gives to attend to the related elements and their interaction region (Figure 1(C)), the intended relation becomes much clearer. This experiment demonstrates that object-level layout control alone is insufficient, and relation tokens also require explicit attention control.

Effectively controlling relations in complex scenes rerequires identifying which elements are involved in each interaction. Scene graphs naturally provide such a structure by representing elements as nodes and interactions as edges, making the dependencies in complex prompts explicit. However, using scene graphs to guide complex image generation raises two key challenges. First, a scene graph only describes these dependencies and cannot directly guide a diffusion model. We need to determine how to translate its nodes and edges into effective attention operations. Second, the attention control mechanism should adapt to different denoising stages [6, 16] [22], while avoiding excessive intervention that may disturb the pretrained generation process.

Figure 1. Cross-attention visualization on FLUX.1 for a selected interaction (a girl gives a balloon to a boy) extracted from a complex prompt. Heatmaps show the aggregated attention of object and relation tokens. Rows compare (A) no control, (B) layout-only control, and (C) layout and relation control. White boxes indicate the regions to which the corresponding text tokens are constrained by the proposed control, while red boxes highlight the attention leakage phenomenon.

To address these challenges, we propose Graph2Scene, a training-free framework that addresses relation control in complex text-to-image generation through two key designs. First, Graph2Scene introduces a graph-guided attention execution mechanism that converts scene graphs into structured attention operations. It explicitly models the correspondence between semantic concepts and visual regions: cross-attention associates relation concepts with their involved elements, while self-attention enables information propagation among graph-connected regions to reduce attention leakage and preserve object interactions. Second, Graph2Scene introduces a complexity-aware stage-wise execution strategy that estimates generation difficulty from attention patterns and adaptively determines when and how long graph control should be applied. This allows the framework to provide necessary guidance for challenging scenes while preserving the native generation ability of the pretrained model.

In summary, our contributions are as follows:

  • We identify that faithful generation of complex scenes requires explicit coordination of attention among interacting objects, beyond the object grounding and spatial control emphasized by existing methods.

  • Based on this observation, we propose Graph2Scene, a training-free framework that translates scene graphs into relation-aware attention control. It compiles element-relation dependencies into selective cross- and self-attention guidance and adaptively executes such guidance along the denoising trajectory according to scene complexity.

  • Extensive experiments on T2I-CompBench, ConceptMix, and LongBench-T2I show that Graph2Scene consistently improves compositional generation, especially on complex relation-rich scenes, improving relationship accuracy on ConceptMix from 0.42 to 0.84 compared with the FLUX.1 model.

RELATED WORK

Compositional Diffusion Generation.

Text-to-image diffusion models [1, 5, 28] can generate high-quality images from text. However, they often fail on compositional prompts with multiple objects, attributes, and relations. Common errors include missing objects, wrong attribute binding, and incorrect relations[7, 23]. This has motivated many studies on compositional diffusion generation.

One line of work injects external layout signals into the attention. GLIGEN [18] adds gated attention layers that take grounding boxes as input, and MS-Diffusion [32] trains an adapter that binds reference subjects to given regions. These methods pre-train small modules, and then steer where each object appears.

A second line of work directly constrains or optimizes the existing attention maps at inference time, without adding modules.Attend-and-Excite [3] strengthens the cross-attention responses of subject tokens during inference, preventing important concepts from being neglected in the generated image. Composable Diffusion [21] separately predicts the denoising direction for each concept and combines them at every diffusion step to generate all concepts together. Regional Prompt [4] splits the attention by region so each prompt attends to its own area. LLM-Blueprint [8] and RPG [39] further use an LLM to decompose complex prompts and plan object layouts before applying region-level generation or attention control. These methods reshape attention per object, but they treat each object on its own. Although these methods[11, 24] consider interactions, they mainly focus on generating specific interaction patterns in simple scenes. They rely on predefined HOI categories or learned interaction representations, and cannot generalize to diverse relations among multiple elements in complex scenes.

Overall, existing methods mainly improve compositional generation through object grounding, attribute binding, or layout control. Their guidance is largely defined at the object level and does not explicitly model the interactions among multiple elements. As scene complexity increases, this object-wise control is insufficient to capture relation-dependent generation, leading to incorrect or missing interactions even when individual objects are properly placed.

Scene Graphs for Diffusion Models

Scene graphs are also used to represent objects and relations in complex scenes. Existing methods mainly differ in how the graph is converted into a generation condition. SG2Im [14] uses a GCN to encode the graph and predict object layouts. SGDiff [38] learns graph or relation embeddings. CanonicalSg2Im [9] learns canonical graph representations to handle semantically equivalent graphs. SG-Adapter [29] uses graph triplets to refine text embeddings. R3CD [2] further models relations with a graph transformer and relation-aware attention objectives.

Most existing scene graph-based methods focus on scene graph-to-image generation, where scene graphs are directly used as inputs to graph-conditioned generators or trained graph encoders. In contrast, Graph2Scene does not train a new graph-conditioned generation model, but explores how to execute scene graph constraints on a pretrained text-to-image diffusion model through attention control. Therefore, in the main experiments, we mainly compare with existing compositional generation methods built upon pretrained T2I models, while providing additional comparisons with scene graph-based generation methods in Section C of the supplementary material.

Graph2Scene

As shown in Figure 2, Graph2Scene consists of three main components. First, we construct a scene graph from a complex text prompt. Each element node contains its semantic description and predicted layout, while each relation edge connects the corresponding elements involved in an interaction. Second, we compile the scene graph into attention masks for the frozen Diffusion Transformer. In cross-attention, the masks control the association between text tokens and image regions, so that element descriptions attend to their target regions and relation tokens are bound to the regions of the elements involved in each interaction. In self-attention, the masks restrict information exchange according to the graph structure, allowing communication within each element region and between graph-connected regions, which further reduces attention leakage across unrelated regions. Third, we apply these graph-based controls along the denoising trajectory with a stage-wise schedule. The control duration is determined by the estimated scene complexity, allowing the framework to adjust the execution process across different denoising stages.

Hierarchical Scene Graph Construction

Graph2Scene represents a complex prompt as a scene graph of elements and their relations, making the structural dependencies in the prompt explicit. Specifically, we use a vision–language model (VLM) to parse the prompt into a hierarchical representation with a global scene and individual element nodes. Each element node stores its semantic description and predicted layout information, including its bounding box. Each edge connects two element nodes and specifies their relation, such as holding or next to. The graph explicitly represents where each element should appear and how different elements should interact, providing structured guidance for attention computation during the subsequent denoising process. Construction examples and prompt templates are provided in Sections A and D of the supplementary material.

Graph guided selective attention computation

To ensure that relational concepts interact with their corresponding elements, Graph2Scene introduces a customized attention mask mechanism for the MM-DiT backbone. The mask is constructed from the scene graph structure, including the topology of nodes and edges, as well as the layout and semantic information associated with each node and edge.

Figure 2. Workflow of Graph2Scene.

As illustrated in Figure 3, Graph2Scene converts the scene graph into structured attention computation through a customized attention mask, which regulates information flow in the MM-DiT backbone. Graph2Scene performs graph-guided attention through two operations: text-image cross-attention and relation-guided self-attention. The text-image cross-attention computation (➋) associates text tokens with image tokens. Element tokens are connected to their corresponding image regions, while relation tokens are connected to the regions of all participating elements. This provides layout grounding and binds each relation to its related elements. The relation-guided self-attention computation (➌) controls information exchange among image tokens. Tokens within the same element region can interact with each other, while tokens from different regions can exchange information only when their corresponding elements are connected in the scene graph. Together with text self-attention (➊), these operations define the graph-guided attention computation, which is integrated into the full MM-DiT attention (➍).

Graph2Scene translates the scene graph into a customized attention mask MGM_G, which regulates information flow during attention computation. The mask consists of two parts: a cross-attention mask McrossM_{\mathrm{cross}}, which controls the interaction between text tokens and image regions, and a self-attention mask MselfM_{\mathrm{self}}, which regulates information exchange among image tokens. Given a scene graph G=(V,E)\mathcal{G}=(\mathcal{V},\mathcal{E}), each node v∈Vv\in\mathcal{V} represents an element with its associated text token set Tv\mathcal{T}_v and spatial region Rv\mathcal{R}_v predicted by the VLM. Each edge e∈Ee\in\mathcal{E} represents a relation with token set Te\mathcal{T}_e, where Ve\mathcal{V}_e denotes the set of element nodes involved in this relation.

in this relation. We denote the image tokens corresponding to the region of node vv as Xv\mathcal{X}_v. Based on these graph associations, the attention mask determines the allowed token interactions during attention computation.

Cross-attention mask. The cross-attention mask controls the interaction between text tokens and image regions in both directions (➋). For each element node, its associated text tokens are connected to the corresponding image region. For each relation edge, the relation tokens are connected to the image regions of all participating nodes, allowing relational concepts to interact with the elements involved in the relation. Accordingly, we apply the same graph-guided connectivity to both text-to-image and image-to-text attention:

McrossT→I(i,j)=McrossI→T(j,i)={0,if (ti∈Tv∧xj∈Xv),∨ (ti∈Te∧xj∈⋃v∈VeXv),−∞,otherwise.(1)\begin{aligned} M_{\mathrm{cross}}^{T\to I}(i,j)=M_{\mathrm{cross}}^{I\to T}(j,i) \\ &=\begin{cases} 0, & \text{if }(t_i\in\mathcal{T}_v\land x_j\in\mathcal{X}_v),\\ &\quad\lor\ (t_i\in\mathcal{T}_e\land x_j\in\bigcup_{v\in\mathcal{V}_e}\mathcal{X}_v),\\ -\infty, & \text{otherwise}. \end{cases} \tag*{(1)} \end{aligned}

Self-attention mask. The self-attention mask controls information exchange among image tokens (➌). In self-attention, each element region is first allowed to interact with itself to preserve its local visual consistency. Beyond self-region attention, we only enable interactions between regions whose corresponding elements are connected by a relation edge in the scene graph. This design maintains independent object representations while facilitating visual information exchange among relationally connected elements. Formally, the self-attention mask is defined as:

Figure 3. Illustration of graph-guided attention computation. Cross-attention associates element and relation tokens with the corresponding image regions, while self-attention allows information exchange within each region and between graph-connected regions.

Mself(i,j)={0,if (∃v∈V:xi,xj∈Xv)∨(∃e∈E, u,v∈Ve:xi∈Xu, xj∈Xv),−∞,otherwise.(2)M_{\mathrm{self}}(i,j)= \begin{cases} 0, & \text{if } \left(\exists v \in\mathcal{V}: x_i,x_j \in\mathcal{X}_v\right) \\ &\quad\vee\left(\exists e \in\mathcal{E},\, u,v \in\mathcal{V}_e: x_i \in\mathcal{X}_u,\, x_j \in\mathcal{X}_v\right),\\ -\infty, & \text{otherwise.} \end{cases} \tag*{(2)}

The overall attention computation with the graph-guided mask is formulated as:

Attention⁡(Q,K,V;MG)=Softmax⁡(QKTd+MG)V.(3)\operatorname{Attention}(Q,K,V;M_{\mathcal{G}})=\operatorname{Softmax}\left(\frac{QK^{T}}{\sqrt{d}}+M_{\mathcal{G}}\right)V. \tag*{(3)}

Stage-wise Graph Execution

Graph-guided attention control should be adaptive rather than applied with a fixed strategy for all prompts. First, continuous attention control throughout generation may harm the model’s native generation ability, so the control should be stopped in time once sufficient guidance has been provided. Second, relation control should follow layout control, since diffusion models typically establish object layouts before refining semantic relations and visual details [16, 26].

We monitor the attention distributions of specific text tokens during generation to guide the adaptive adjustment of control strength. These attention distributions reveal two typical generation problems: attention overlap and attention leakage. Attention overlap occurs when the high-score attention of different tokens concentrates on largely the same spatial regions. Attention leakage occurs when the high-score attention distribution of a token extends beyond the region of its corresponding concept. Figure 4 illustrates both cases: in example (a), the attention maps of boy and girl overlap heavily, causing the girl to be missing, while in example (b), the relation tokens pushes and pulls fail to focus on their corresponding regions, leading to incorrect relation generation.

Figure 4. Visualization of two typical attention failures. Example (a) shows attention overlap between the boy and girl tokens, while example (b) shows attention leakage of the relation tokens pushes and pulls.

Control Strength Adjustment. Based on these attention behaviors, we first perform a warm-up generation without additional guidance and collect the attention distributions of the selected text tokens. We then measure the severity of attention overlap and attention leakage from these attention maps. For prompts with more severe attention overlap or leakage, Graph2Scene applies stronger and longer graph guidance. The detailed calculation is provided in Section E of the supplementary material.

Control Selection Strategy. Graph2Scene progressively shifts the control focus from layout guidance to relation guidance during denoising. This design follows how diffusion models gradually form the layout first and refine semantics and interactions later. Since this transition is gradual and continuous [40], we linearly decrease the layout guidance weight from 1 to 0 and increase the relation guidance weight from 0 to 1 over the determined control duration.

MethodVLM-based Evaluation ↑Official Evaluation ↑
Accexist_{\mathrm{exist}}Accattribute_{\mathrm{attribute}}Accrelationship_{\mathrm{relationship}}Attribute Binding: ColorAttribute Binding: ShapeAttribute Binding: TextureObject Relationships: SpatialObject Relationships: Non-spatialComplex
FLUX.10.790.660.600.77630.63700.80570.34990.30570.3858
GLIGEN0.670.430.620.17620.34280.49260.27150.30900.3020
Composable0.610.410.440.25030.37760.53240.00000.28220.2867
Attend-and-Excite0.640.420.280.36380.43200.64440.07890.30820.2785
MS-Diffusion0.810.510.530.47040.63920.65300.24880.30940.3420
LLM-Blueprint0.780.500.640.37530.47880.67140.33170.30480.2799
RPG0.800.550.700.53030.61530.65980.34810.30880.3248
Regional Prompt0.880.690.730.81690.67420.75850.54830.31050.4196
Graph2Scene (Ours)0.940.800.890.85510.69820.83640.58160.31490.4374

Table 1. Quantitative comparison on T2I-CompBench using VLM-based accuracies and the official benchmark metrics. Higher scores indicate better performance.

EXPERIMENT

EXPERIMENT SETTING

Datasets. We evaluate Graph2Scene on two complementary benchmarks covering different levels of scene complexity. T2I-CompBench [13] evaluates compositional generation, including attribute binding and object relationships, using relatively concise prompts. For complex scenes, motivated by prior efforts to construct semantically challenging prompts [25, 42], we adapt the concept-mixing strategy of ConceptMix [35] to construct prompts with controllable compositional complexity. Specifically, we extend the concept range to K∈[8,20]K \in[8, 20] and introduce an additional interaction dimension to increase the density of inter-object relationships. We additionally report qualitative results on the long-prompt benchmark LongBench-T2I [43] in Section G of the supplementary material.

Baselines. We compare Graph2Scene with representative compositional and controllable generation methods, including Composable Diffusion [21], GLIGEN [18], Attend-and-Excite [3], MS-Diffusion [32], RPG [39]. Since these methods are built on different diffusion backbones, we follow their official implementations and recommended settings. We additionally include FLUX.1 and the FLUX.1-based Regional Prompt for direct same-backbone comparison [4]. Runtime comparisons with Regional Prompt across different prompt lengths and image resolutions are reported in Section F of the supplementary material.

Metrics.

We adopt complementary evaluation protocols for scenes of varying complexity. For simple compositional generation, we follow the official evaluation protocol of T2I-CompBench to ensure comparability with existing methods. In addition, we apply a VLM-based evaluation protocol to both simple and complex scenes, following recent approaches [12, 17, 37]. Specifically, we evaluate prompt faithfulness along three dimensions: Accexist\mathrm{Acc}_{\mathrm{exist}}, Accattribute\mathrm{Acc}_{\mathrm{attribute}}, and Accrelationship\mathrm{Acc}_{\mathrm{relationship}}, measuring element presence, attribute binding, and relationship correctness, respectively. Additionally, we report CLIPScore [10], HPSv2 [34], and PickScore [15] to assess global text–image alignment and perceptual quality. For consistency, we use Qwen3-VL-8B-Instruct [30] to construct layouts for all baselines and evaluate the corresponding prompt-faithfulness metrics. The VLM evaluation prompt templates are provided in Section D of the supplementary material.

Comparison on Simple Scenes

We first evaluate Graph2Scene on T2I-CompBench, which targets relatively simple scenes: object existence, attribute binding, and spatial composition. Existing methods improve these aspects by editing the prompt or adding spatial conditions. However, they mostly ground objects at the object level and leave the visual interactions to the diffusion model. When several objects compete for the same attention, attributes still leak between them and object counts still go wrong. Graph2Scene adds graph-guided self-attention, which lets related regions exchange information during denoising. This further improves quality, reaching 0.94, 0.80, and 0.89 on existence, attribute, and relationship accuracy, respectively. Compared with the strongest regional control baseline, Regional Prompt, Graph2Scene improves attribute accuracy from 0.69 to 0.80 and relationship accuracy from 0.73 to 0.89. This shows that explicit interaction modeling remains beneficial even for simple scenes.

Comparison on Complex Scenes

We then evaluate Graph2Scene on ConceptMix, where each prompt combines many concepts and interactions. As shown in Table 2, Graph2Scene ranks first on five of the six metrics and ties for the best on the last one. It reaches 0.74 on Accattribute\mathrm{Acc}_{\mathrm{attribute}} and 0.84 on Accrelationship\mathrm{Acc}_{\mathrm{relationship}}. It also gives the best existence accuracy (0.88), and CLIPScore (26.45), and its HPSv2 (0.29) matches the top baseline. The gap is largest on relationships, which is exactly what our method targets.

MethodAccexist↑\mathrm{Acc}_{\mathrm{exist}} \uparrowAccattribute↑\mathrm{Acc}_{\mathrm{attribute}} \uparrowAccrelationship↑\mathrm{Acc}_{\mathrm{relationship}} \uparrowCLIPScore↑\mathrm{CLIPScore} \uparrowHPSv2↑\mathrm{HPSv2} \uparrowPickScore↑\mathrm{PickScore} \uparrow
FLUX.10.750.310.4224.820.2722.31
GLIGEN0.280.040.0619.280.2120.04
Composable0.170.170.0416.510.1919.44
Attend-and-Excite0.330.060.1020.200.2220.50
MS-Diffusion0.470.060.1121.760.2821.97
LLM-Blueprint0.290.060.1119.660.2120.09
RPG0.400.070.0921.880.2721.93
Regional Prompt0.800.640.5925.910.2921.76
Graph2Scene0.880.740.8426.450.2922.45

Table 2. Quantitative comparison on ConceptMix.

Figure 5. Visualization example of a complex scene in ConceptMix.

Most baselines perform poorly on complex prompts, partly because several of them use older SD-based backbones, while layout-based methods mainly control where objects appear rather than how they interact. For a fairer comparison, we focus on methods using the same FLUX.1 backbone. The base FLUX.1 achieves 0.75 on Accexist\mathrm{Acc}_{\mathrm{exist}} but only 0.42 on Accrelationship\mathrm{Acc}_{\mathrm{relationship}}. Regional Prompt improves attribute accuracy to 0.64 and relationship accuracy to 0.59 by assigning separate prompts to different regions, but many interactions are still missing. RPG shows a similar limitation on a weaker backbone, with only 0.09 relationship accuracy. These results indicate that region-level control helps object placement and attribute binding, but is still insufficient for modeling interactions in complex scenes.

Graph2Scene closes this gap. It does not stop at placing elements. Its graph edges let related regions share information during denoising. This way, the model builds the interaction between elements. On the same FLUX.1 backbone, the relationship score rises from 0.59 to 0.84, and attributes and existence also improve. This shows that the gain comes from relation-level control, not from a stronger base model. Additional qualitative comparisons on simple scenes and complex scenes at different complexity levels are provided in Section G of the supplementary material.

Parameter Sensitivity Analysis

Effect of the control horizon TcT_c. The control horizon TcT_c determines how many denoising steps apply graph control. Figure 6 shows the effect of different control horizons on both individual metrics and overall quality. As shown in Figure 6b, the overall quality improves from 0.54 at Tc=4T_c=4 to the best score of 0.81 at Tc=14T_c=14, but decreases when the control is applied for too long. Figure 6a further shows that object existence improves quickly with short control (0.76 at Tc=4T_c=4), while attributes and relationships require longer guidance to form. After Tc=14T_c=14, excessive control starts to harm generation. The quality drops to 0.25 at Tc=22T_c=22, and the images collapse when Tc≥24T_c \ge24. This is because later denoising steps mainly refine visual details, where strong control can interfere with the model’s natural generation process. See Supplementary Section B.

(a) Per-metric sensitivity to control horizon TcT_c.

(b) Overall-quality sensitivity to control horizon TcT_c.

(c) Sensitivity to the layout–relation control ratio.

Figure 6. Parameter sensitivity analysis of Graph2Scene.

Effect of the layout–relation ratio (α,β)(\alpha, \beta). We next fix the two control strengths to different values and compare them with our dynamic schedule. As shown in Figure 6c, no fixed ratio works well. Using layout alone (1,0)(1, 0) already gives 0.64 on attributes and 0.59 on relationships. Surprisingly, any fixed mix does worse. The balanced setting (0.5,0.5)(0.5, 0.5) drops to 0.24 and 0.37, and the relation-only setting (0,1)(0, 1) drops to 0.07 and 0.27. The reason is timing. A fixed β\beta applies relation control from the very first step, before the layout is settled. The two controls then fight each other, and both attributes and relationships suffer. Our dynamic schedule avoids this. It lets layout form first, adds relation control later, and then releases both. This raises all three metrics to the highest values (0.88, 0.74, 0.84), and matches how diffusion models build an image from layout to detail.

Ablation Study

Prompt Rewriting. Prompt rewriting alone reduces existence and relationship accuracy from 0.75 to 0.69 and from 0.42 to 0.35, respectively, indicating that structured scene descriptions alone are insufficient to improve generation.

Effectiveness of Layout and Relation Guidance. As shown in Table 3, layout-only guidance improves attribute accuracy from 0.31 to 0.64. In contrast, relation-only guidance drops it to 0.07, indicating that relation guidance alone is insufficient to preserve attribute correctness. Combining both mechanisms achieves higher attribute and relationship accuracy of 0.74 and 0.84, respectively, demonstrating their complementary roles in improving generation quality.

ConfigurationAccexist↑\mathrm{Acc}_{\mathrm{exist}} \uparrowAccattr↑\mathrm{Acc}_{\mathrm{attr}} \uparrowAccrel↑\mathrm{Acc}_{\mathrm{rel}} \uparrow
FLUX.1 (Original)0.750.310.42
FLUX.1 (Rewritten)0.690.320.35
Layout-only (Tc=15T_c = 15)0.860.610.53
Layout-only (Tc=20T_c = 20)0.790.530.52
Layout-only (Adaptive TcT_c)0.800.640.59
Relation-only (Tc=15T_c = 15)0.550.150.37
Relation-only (Tc=20T_c = 20)0.660.090.24
Relation-only (Adaptive TcT_c)0.600.070.27
L+R (Dyn., Tc=15T_c = 15)0.800.710.83
L+R (Dyn., Tc=20T_c = 20)0.720.640.38
L+R (Dyn., Adaptive TcT_c)0.880.740.84

Table 3. Ablation study of Graph2Scene components and control strategies. L+R denotes Layout and Relation Guidance; Dyn. denotes dynamic ratio adjustment.

Effect of Adaptive Control Step. We further compare fixed and adaptive control durations. With both guidance mechanisms enabled, adaptive control achieves the highest mean accuracy across the three metrics among the evaluated settings, reaching 0.88, 0.74, and 0.84 in existence, attribute, and relationship accuracy, respectively. Compared with fixed control at Tc=15T_c = 15, it improves existence and relationship accuracy from 0.80 to 0.88 and from 0.83 to 0.84, respectively, while maintaining higher attribute accuracy (0.74 vs. 0.71). These results suggest that adaptive control better balances object placement, attribute preservation, and relationship generation.

Conclusion

In this paper, we present Graph2Scene, a training-free framework that compiles scene graphs into attention control for compositional text-to-image generation. Based on the observation that existing attention-control methods mainly focus on individual element placement while overlooking inter-object relations, Graph2Scene explicitly models both elements and their interactions through graph-guided attention. Our framework converts scene graph structures into layout- and relation-aware attention constraints, and applies them at different denoising stages with a complexity-aware control schedule. Graph2Scene is compatible with existing diffusion models without additional training and can be directly applied to complex prompts with multiple interacting elements. Extensive experiments demonstrate that Graph2Scene improves compositional generation quality, especially for complex scenes with dense interactions.

LLM Usage Statement

In this work, we used generative AI tools (large language models) to proofread the paper, edit it for readability, and review the manuscript before submission. In addition, our experiments use the ConceptMix benchmark, which requires specifying the complexity level KK and constructing prompts with different numbers of compositional concepts, following the evaluation protocol of the original work [35]. Generative AI was used to assist in constructing some of these benchmark prompts under the predefined KK settings and evaluation rules. All generated prompts were manually reviewed to ensure that they satisfied the benchmark requirements. We take responsibility for the final content of this work, including the manuscript text and experimental prompts produced with the assistance of generative AI.

Supplementary Material

This supplement provides implementation details, additional experiments, and qualitative comparisons for Graph2Scene.

Graph Construction Details

Graph construction. Graph2Scene constructs the scene graph directly from the input prompt using Qwen3-VL-8B-Instruct [30]. As illustrated in Figure 1, we prompt the VLM to organize the scene information into three parts: global information describing the overall scene and style, individual elements with their descriptions and predicted bounding boxes, and relations specifying how pairs of elements interact. The extracted information is returned in a structured JSON format, where elements correspond to graph nodes and relations correspond to graph edges.

Figure 1 (PDF p. 11). Prompt-to-JSON conversion template used in Graph2Scene.

Node properties. Each element node contains four basic properties. id uniquely identifies the element, while type records its semantic category. bbox specifies the predicted spatial region of the element in the image, and desc provides its local visual description, including appearance and attributes. These properties provide the semantic and spatial information required to associate each element with its corresponding text and image tokens.

Edge properties. Each relation edge describes an interaction between two element nodes. source and target specify the participating elements, type records the relation category, and direction indicates its direction when applicable. description provides a natural-language description of the relation, which is used to identify the corresponding relation tokens for subsequent attention control. Each edge also has a unique id for reference.

Style and global organization. In addition to elements and relations, we separately organize scene-level information that applies to the entire image. This information includes the background, overall visual style, lighting, viewpoint, and other imaging conditions. Such global descriptions are shared across all elements and relations rather than being associated with a specific node or edge.

Figure 2 (PDF p. 12). Organization of image information in Graph2Scene.

Prompt organization. During graph construction, the VLM also organizes the original prompt according to the extracted structure. Scene-level descriptions are retained as global information, while element and relation descriptions are associated with their corresponding nodes and edges. The resulting structured prompt is used as the textual condition for generation, allowing Graph2Scene to identify the text tokens associated with each element and relation during attention control.

Analysis of Graph Control Duration

Modern diffusion Transformers are pretrained with full attention, where each token can interact with all other tokens during denoising. Graph2Scene modifies this process at inference time by restricting some interactions according to the scene graph. Such control helps the model better establish object layouts and relations. However, the pretrained model is not optimized for this modified attention pattern throughout the entire denoising process. If the control is applied for too many steps, the model increasingly deviates from its original full-attention behavior and cannot properly adapt to the modified attention computation [4, 33]. As a result, the generation process becomes unstable and may eventually produce severe visual artifacts.

This phenomenon is also consistently observed in our experiments. As shown quantitatively in Figure 6a and (Figure 6b) of the main paper, generation quality drops sharply when the control is extended beyond about 20 denoising steps. When the control horizon reaches 25 steps or more, many generated images are close to complete collapse and no longer contain recognizable visual content. The qualitative examples in Figure 3 further illustrate this behavior. Slight artifacts already appear around step 20, and become increasingly severe as the control duration increases. These results show that, under the attention modification used by Graph2Scene, longer control does not continuously improve generation. Instead, excessive control increasingly interferes with the pretrained model’s original full-attention generation process and eventually leads to unstable generation or visual collapse.

Based on these observations and experimental results, we set the maximum control horizon to Tc=0.6TT_c = 0.6T.

Figure 3 (PDF p. 13). Examples of artifacts caused by excessive control.

Additional Comparison with Scene Graph-Based Methods

Scene graph-based generation methods aim to address the same fundamental challenge as Graph2Scene: generating images with accurate objects, attributes, and relational interactions from structured descriptions. Therefore, we further compare Graph2Scene with representative scene graph-based approaches, including SG2IM [14], SGDiff [38], and CanonicalSg2Im [9], to evaluate the effectiveness of explicitly executing scene graph constraints during the generation process.

MethodAccexist↑\mathrm{Acc}_{\mathrm{exist}} \uparrowAccattribute↑\mathrm{Acc}_{\mathrm{attribute}} \uparrowAccrelationship↑\mathrm{Acc}_{\mathrm{relationship}} \uparrowCLIPScore↑\mathrm{CLIPScore} \uparrowHPSv2↑\mathrm{HPSv2} \uparrowPickScore↑\mathrm{PickScore} \uparrow
SG2IM0.5530.2860.36616.5520.12517.976
SGDiff0.3360.2080.25319.3070.13118.453
CanonicalSg2Im0.0320.0160.00012.1950.08516.349
Graph2Scene0.9270.8930.87226.2960.29422.845

Table 1 (PDF p. 13). Quantitative comparison with scene graph-based methods.

Experiment Setting. All compared scene graph-based methods provide publicly available models trained on the COCO dataset [19]. We directly use their released COCO checkpoints for inference and evaluate all methods on the COCO-Stuff dataset [2] with an NVIDIA L20 GPU under the same experimental setting. Following our main experiments, we adopt the same evaluation metrics, including object existence accuracy (Accexist\mathrm{Acc}_{\mathrm{exist}}), attribute accuracy (Accattribute\mathrm{Acc}_{\mathrm{attribute}}), relationship accuracy (Accrelationship\mathrm{Acc}_{\mathrm{relationship}}), CLIPScore, HPSv2, and PickScore, to measure both semantic alignment and overall generation quality.

Quantitative Comparison. Table 1 shows that Graph2Scene consistently outperforms existing scene graph-based methods across all metrics. SG2IM uses graph convolutions to predict layouts and a GAN-based refinement network for generation. SGDiff employs masked contrastive pre-training to encode scene graphs into a latent diffusion model. CanonicalSg2Im learns canonical graph representations to handle semantically equivalent graphs. However, these methods struggle with visual fidelity due to limited generation capacity and imperfect alignment between graph structures and visual content. In contrast, Graph2Scene leverages a powerful pretrained text-to-image diffusion backbone and explicitly compiles scene graph structures into attention operations. This design integrates structural constraints while preserving the model’s native generation ability. As a result, Graph2Scene achieves substantial improvements in object existence, attribute recognition, and relationship accuracy, reaching scores of 0.927, 0.893, and 0.872, respectively. These results demonstrate more effective preservation of scene semantics and interactions compared with previous scene graph-based approaches. Moreover, Graph2Scene obtains higher overall visual quality scores, achieving a CLIPScore of 26.296, an HPSv2 score of 0.294, and a PickScore of 22.845, indicating better alignment with both image-text similarity and human preference.

Case Study on COCO-Stuff. Figure 4 presents qualitative comparisons on the COCO-Stuff dataset. Although all methods receive the same scene graph conditions, Graph2Scene produces significantly clearer and more realistic images while preserving the specified objects and relationships. This improvement is mainly attributed to the stronger generative capability of modern diffusion backbones and the explicit execution of scene graph constraints during generation. In contrast, previous scene graph-based methods are built upon earlier generation architectures, such as GAN-based pipelines or early scene graph-conditioned diffusion models, which often suffer from limited visual fidelity and difficulty in aligning graph structures with image contents. As shown in Figure 4, SGDiff can generate some recognizable scene elements, such as the person and skateboard, but many details remain blurry and incomplete. For SG2IM and CanonicalSg2Im, although the generated images contain rough color distributions and coarse object regions, the objects are often heavily distorted, making their categories and attributes difficult to identify. For example, the shopping cart, city street, and bicycle structures are only weakly represented, and the generated contents lack clear boundaries and realistic appearances.

Case Study on Complex Open Prompts. Figure 5 further presents qualitative comparisons on open complex prompts with larger and more diverse scene graphs. Compared with the COCO-Stuff examples, these prompts contain more objects, attributes, and relational constraints, posing greater challenges for scene graph-based generation. Graph2Scene consistently generates clear and coherent images while preserving multiple objects and their interactions, demonstrating its ability to generalize to complex scene structures. In contrast, previous methods suffer from severe degradation when handling such complex inputs. SGDiff can still generate some rough scene layouts, but the generated images remain highly blurred and fail to recover detailed object appearances. For SG2IM, the model completely collapses and produces nearly black images under these open complex prompts. This failure is mainly because SG2IM relies on a graph encoder and layout prediction pipeline learned from fixed training distributions, making it difficult to handle unseen graph compositions and substantially larger scene structures.

Case studies comparing Graph2Scene with existing Scene Graph based methods on the COCO-Stuff dataset

Figure 4 (PDF p. 15). Case studies comparing Graph2Scene with existing Scene Graph based methods on the COCO-Stuff dataset.

Case studies comparing Graph2Scene with existing scene graph-based methods on the open complex prompts

Figure 5 (PDF p. 15). Case studies comparing Graph2Scene with existing scene graph-based methods on the open complex prompts.

Prompt and Evaluation Templates

This section provides the prompt templates used in Graph2Scene. We include the VLM prompt used to construct the structured scene graph from the input text, together with the templates used for VLM-based evaluation of object existence, attribute correctness, and relationship accuracy. The complete prompt formats are shown in the following figures.

Figure 6 (PDF p. 16). Prompt template used for scene graph construction.

Acc_exist — Object Existence Accuracy

Task: Check whether the specified object appears in the image.

Original prompt: “{original_prompt}” Object: “{object}”

Instruction: Analyze the image carefully and determine whether the specified object is clearly present and recognizable.

Decision rules: Yes — the object is visible.

No — the object is missing or replaced by another object. Do not infer its presence from the prompt.

Unclear — use only when the visual evidence is insufficient.

Output only: Description: [Brief image description] Reason: [Brief reason] Output: [Yes / No / Unclear]

Acc_attribute — Attribute Accuracy

Task: Check whether the specified object matches the attributes described in the text.

Original prompt: “{original_prompt}” Object description: “{attribute_description}”

Instruction: Analyze the image carefully. Determine whether the object is present and whether its visible attributes—such as color, shape, material, pattern, size, count, or structure—match the description.

Decision rules: Yes — the object is visible and its attributes match.

No — the object is missing, an attribute is incorrect, or the attributes are assigned to another object.

Unclear — use only when the visual evidence is insufficient.

Output only: Description: [Brief image description] Reason: [Brief reason] Output: [Yes / No / Unclear]

Acc_relationship — Relationship Accuracy

Task: Check whether the specified relationship is correctly shown in the image.

Original prompt: “{original_prompt}” Relationship: “{relationship_description}”

Instruction: Analyze the image carefully. Determine whether all involved objects are visible and whether the described relationship is correctly presented between the intended objects.

Decision rules: Yes — the relationship is clearly shown between the correct objects.

No — an object is missing, the relationship is incorrect, the direction is reversed, or the interaction involves the wrong object.

Unclear — use only when the visual evidence is insufficient.

Output only: Description: [Brief image description] Reason: [Brief reason] Output: [Yes / No / Unclear]

Prompt templates used to evaluate object existence, attribute, and relationship accuracy with a VLM

Figure 7. Prompt templates used to evaluate Accexist\mathrm{Acc}_{\mathrm{exist}}, Accattribute\mathrm{Acc}_{\mathrm{attribute}}, and Accrelationship\mathrm{Acc}_{\mathrm{relationship}} with a VLM.

Implementation Details of the Graph Execution Scheduler

We extract element tokens and relation tokens from the prompt, denoted by Uelem\mathcal{U}_{\mathrm{elem}} and Urel\mathcal{U}_{\mathrm{rel}}, respectively. For each token uu, we collect its cross-attention maps over all denoising steps and aggregate them into a single attention map AuA_u.

For each token uu, we obtain a set of high-response regions and their normalized attention scores, denoted by

Cu={cu1,cu2,…},(4)\mathcal{C}_u = \{c_u^1, c_u^2, \ldots\}, \tag*{(4)}

where each c∈Cuc \in\mathcal{C}_u denotes the attention score of a high-response region.

Attention leakage. We regard the region with the highest attention score as the dominant response of token uu, and treat the remaining response as attention leakage:

Lu=1−max⁡c∈Cuc.(5)L_u = 1 - \max_{c \in\mathcal{C}_u} c. \tag*{(5)}

Attention overlap. Attention overlap measures the spatial confusion between concepts of the same type. We compute overlap only between element tokens or between relation tokens, since relation attention can naturally overlap with its participating elements. Let Hu\mathcal{H}_u denote the high-response spatial region of token uu. For u≠vu \ne v, where either u,v∈Uelemu, v \in\mathcal{U}_{\mathrm{elem}} or u,v∈Urelu, v \in\mathcal{U}_{\mathrm{rel}}, we define

Ou,v=∣Hu∩Hv∣∣Hu∪Hv∣.(6)O_{u,v} = \frac{\lvert\mathcal{H}_u \cap\mathcal{H}_v \rvert}{\lvert\mathcal{H}_u \cup\mathcal{H}_v \rvert}. \tag*{(6)}

After computing the two attention statistics, we take the largest leakage value over all element and relation tokens as Lmax⁡L_{\max}, and the largest overlap value among element-element and relation-relation token pairs as Omax⁡O_{\max}.

We use the more severe attention failure to determine the control ratio and the corresponding control duration:

ρ=max⁡(Lmax⁡,Omax⁡),Tctrl=ρTc,(7)\rho= \max(L_{\max}, O_{\max}), \qquad T_{\mathrm{ctrl}} = \rho T_c, \tag*{(7)}

where ρ∈[0,1]\rho\in[0, 1] represents the required control level and TcT_c denotes the maximum control duration, whose setting is discussed in Appendix § 8.

Runtime Overhead Analysis

We conduct runtime experiments on a single NVIDIA L20 GPU to evaluate the computational overhead of Graph2Scene. The VLM planning stage uses Qwen3-VL-8B-Instruct [30], and all evaluation prompts are drawn from the ConceptMix benchmark [35] introduced in the main paper. All runtime measurements are averaged over five runs.

Experimental Setup. We investigate runtime overhead from two perspectives. First, we evaluate prompts with different lengths (200–400, 400–600, 600–800, and 800–1000 tokens) while keeping the image resolution fixed at 1024 × 1024. This experiment examines how prompt complexity affects both computational cost and compositional quality. Second, we fix the prompt length to 400–600 tokens and vary the image resolution from 512 × 512 to 1280 × 1280 to investigate resolution-dependent computational overhead. Since this second experiment focuses on runtime scaling, we report only runtime measurements in Table 2(b). VLM-based quality metrics are evaluated and reported in the prompt scaling experiment in Table 2(a), where the image resolution is fixed.

Runtime Breakdown. We decompose Graph2Scene into four stages: (1) VLM Planning and Graph Construction, which converts the input prompt into a structured scene graph using Qwen3-VL-8B-Instruct; (2) Warm-up and Attention Analysis, which performs an unguided generation pass to identify attention leakage and overlap; (3) Mask Construction, which builds selective attention masks based on graph connectivity and attention statistics; and (4) Final Image Generation, which performs graph-guided diffusion. We report the execution time of each stage as well as the total end-to-end latency, and compare Graph2Scene with Regional Prompt, the strongest baseline in our comparison. Unlike Graph2Scene, Regional Prompt does not require a separate warm-up pass or attention analysis stage. Therefore, its corresponding entry is marked as “–” (not applicable) rather than zero.

Discussion. With image resolution held constant, Graph2Scene introduces additional overhead, requiring 1.35×1.35\times–1.52×1.52\times the runtime of Regional Prompt, mainly due to the warm-up and attention analysis stage. However, this overhead brings clear quality gains as prompt complexity increases. For 800–1000 tokens, Graph2Scene achieves 1.73×1.73\times, 2.52×2.52\times, and 3.53×3.53\times the existence, attribute, and relationship accuracy of Regional Prompt, respectively. Runtime also increases with image resolution, mainly due to warm-up and final generation.

Prompt TokensMethodVLM PlanningWarm-up & AnalysisMask ConstructionFinal GenerationTotal RuntimeAccexist_{\mathrm{exist}} ↑Accattr_{\mathrm{attr}} ↑Accrel_{\mathrm{rel}} ↑
200–400Graph2Scene28.4222.850.3435.3286.93×1.3786.93\times1.371.00×1.001.00\times1.000.88×0.880.88\times0.880.93×1.090.93\times1.09
200–400Regional Prompt28.69–0.0934.7663.541.001.000.85
400–600Graph2Scene39.4424.070.3537.42101.28×1.35101.28\times1.350.94×1.000.94\times1.000.89×1.010.89\times1.010.88×1.240.88\times1.24
400–600Regional Prompt39.08–0.0936.0075.170.940.880.71
600–800Graph2Scene41.3725.400.3839.88107.03×1.38107.03\times1.380.80×1.000.80\times1.000.74×1.190.74\times1.190.66×1.890.66\times1.89
600–800Regional Prompt40.15–0.1037.4477.690.800.620.35
800–1000Graph2Scene56.4627.180.4042.45126.49×1.52126.49\times1.520.78×1.730.78\times1.730.63×2.520.63\times2.520.53×3.530.53\times3.53
800–1000Regional Prompt43.86–0.1039.2183.170.450.250.15

Table 2 (PDF p. 19). Runtime breakdown and compositional quality of Graph2Scene and Regional Prompt under different prompt lengths and image resolutions. All runtime results are reported in seconds and averaged over five runs. The VLM-based metrics evaluate object existence, attribute binding, and relationship accuracy. Superscript ratios in (a) are computed relative to Regional Prompt. (a) Prompt Scaling (1024 × 1024, seconds)

ResolutionMethodVLM PlanningWarm-up & AnalysisMask ConstructionFinal GenerationTotal RuntimeVLM Metrics
512×512Graph2Scene6.270.188.2254.11–
768×768Graph2Scene12.650.2117.7570.05–
1024×1024Graph2Scene39.4424.070.3537.42101.28–
1280×1280Graph2Scene39.120.6065.94145.10–
512×512Regional Prompt–0.057.5646.69–
768×768Regional Prompt–0.0614.3353.47–
1024×1024Regional Prompt39.08–0.0936.0075.17–
1280×1280Regional Prompt–0.1754.9194.16–

Table 2b. (b) Resolution Scaling (400–600 Prompt Tokens, seconds)

Additional Qualitative Results

We present qualitative results in three settings. Figure 8 shows simple scenes with a small number of compositional constraints, while Figure 9 compares ConceptMix examples at low, moderate, and high scene complexity. Figure 10, ??, and ?? extend the comparison to LongBench-T2I, whose long, highly compositional prompts test whether models can preserve multiple objects, attributes, and relationships in a single scene.

Figure 8. Qualitative examples of Graph2Scene on simple scenes.

Figure 9. ConceptMix Low Complexity Scene. Prompt: A brown circular horse stands in front of four glass-textured tables positioned behind it. A robot is riding the horse, sitting mounted on top of it. The scene is rendered in a graffiti style. Blue indicates elements. Red indicates relations. Purple indicates number. Orange indicates scene descriptions. Graph2Scene; Flux.1; Attend-and-Excite; Composable; RPG; GLIGEN; Regional-prompt; MS-diffusion. ConceptMix Moderate Complexity Scene. Prompt: A sunny park scene where a girl is giving a red ball to a boy while a dog watches them closely. A cat sits beside a bicycle with a backpack attached to it. Behind them, a large tree stands near a wooden bench, and a fountain sprays water beside a small lake. Several birds fly above colorful flowers, while a person holds an umbrella near the lake shore. The girl, boy, dog, and cat are naturally interacting in the park with clear spatial relationships. Graph2Scene; Flux.1; Attend-and-Excite; Composable; RPG; GLIGEN; Regional-prompt; MS-diffusion. ConceptMix High Complexity Scene. Prompt: A realistic documentary photograph of a lively outdoor vegetable market in the morning. A vendor in a red apron is handing a brown paper bag filled with red apples to a woman in a blue coat, who is reaching across a wooden produce stall to receive it. A child in a yellow jacket eats a bread roll next to his mother in a green jacket, while a brown dog waits beneath the produce stall and watches the food. In the background, a delivery worker in a navy jacket pushes a handcart loaded with crates of leafy vegetables along the aisle. A striped market umbrella shades the main stall. The image has realistic photography, warm natural morning sunlight, detailed textures, and a lively everyday atmosphere. Prompt; Flux.1; Attend-and-Excite; Composable; RPG; GLIGEN; Regional-prompt; MS-diffusion; Graph2Scene; Flux.1; Attend-and-Excite; Composable; RPG; GLIGEN; Regional-prompt; MS-diffusion. Figure 9. Visualization examples on ConceptMix with increasing scene complexity.

Figure 10. Qualitative comparisons on LongBench-T2I with three different prompts.

For LongBench-T2I, we use a VLM to evaluate the generated images in terms of object existence, attribute correctness, and relationship accuracy. Under these extremely long and complex prompts, all methods experience noticeable degradation: some required objects are omitted, attributes are incorrectly assigned or lost, and many relationships fail to appear in the generated scenes. This highlights the difficulty of faithfully following LongBench-T2I prompts with a large number of visual concepts and interactions. Nevertheless, Graph2Scene consistently preserves a larger proportion of the specified elements, attributes, and relationships than the compared methods. In particular, its advantage is more evident for attributes and relationships, indicating that explicitly organizing and controlling the interactions among scene elements helps maintain compositional consistency even when the prompt becomes highly complex.

LongBench Prompt1: The golden retriever gallops across the sun-dappled meadow, its glossy coat shimmering like molten bronze beneath the midday sky, as the red tennis ball—smeared with streaks of morning dew and …….

Elements:28  Attribute:21  Relation:32  Token Number:860

MethodElem.Attr.Rel.
Graph2Scene14/2810/2111/32
FLUX112/286/216/32
Regional Prompt14/289/217/32
Attend-and-Excite2/283/212/32
RPG4/283/214/32
GLIGEN2/282/211/32
Composable4/281/211/32
MS-Diffusion2/282/211/32

Table 4. Completion Ratio

LongBench Prompt2: On the edge of a quiet, overcast afternoon, a worn wooden porch stretches under the weight of time, its boards buckling and groaning with the memory of storms long past. At the center, a weathered brown suitcase sits half-open, …….

Elements:22  Attribute:20  Relation:21  Token Number:809

MethodElem.Attr.Rel.
Graph2Scene15/229/2010/21
FLUX16/223/202/21
Regional Prompt10/225/205/21
Attend-and-Excite2/220/200/21
RPG4/221/201/21
GLIGEN1/220/201/21
Composable3/222/202/21
MS-Diffusion3/222/202/21

Table 5. Completion Ratio

LongBench Prompt3: A rusted lantern sways from a crooked branch above a muddy trail, its weak amber glow pulsing like a heartbeat in the dim twilight, casting elongated shadows that dance with the flicker …….

Elements:26  Attribute:41  Relation:29  Token Number:947

MethodElem.Attr.Rel.
Graph2Scene10/2622/4112/29
FLUX17/2612/415/29
Regional Prompt8/2618/418/29
Attend-and-Excite2/260/410/29
RPG5/263/412/29
GLIGEN4/264/412/29
Composable4/260/410/29
MS-Diffusion5/267/414/29

Table 6. Completion Ratio

References

  1. [1]BlackForestLabs. Flux.1 kontext: Flow matching for in-context image generation and editing in latent space, 2025.
  2. [2]Holger Caesar, Jasper Uijlings, and Vittorio Ferrari. Cocostuff: Thing and stuff classes in context. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1209–1218. IEEE, 2018.arxiv.org/abs/1612.03716
  3. [3]Hila Chefer, Yuval Alaluf, Yael Vinker, Lior Wolf, and Daniel Cohen-Or. Attend-and-excite: Attention-based semantic guidance for text-to-image diffusion models. ACM transactions on Graphics (TOG), 42(4):1–10, 2023.arxiv.org/abs/2301.13826
  4. [4]Anthony Chen, Jianjin Xu, Wenzhao Zheng, Gaole Dai, Yida Wang, Renrui Zhang, Haofan Wang, and Shanghang Zhang. Training-free regional prompting for diffusion transformers. arXiv preprint arXiv:2411.02395, 2024.arxiv.org/abs/2411.02395
  5. [5]Junsong Chen, Jincheng Yu, Chongjian Ge, Lewei Yao, Enze Xie, Zhongdao Wang, James Kwok, Ping Luo, Huchuan Lu, and Zhenguo Li. Pixart-α: Fast training of diffusion transformer for photorealistic text-to-image synthesis. In International Conference on Learning Representations, pages 57611–57640, 2024.arxiv.org/abs/2310.00426
  6. [6]Pengtao Chen, Mingzhu Shen, Peng Ye, Jianjian Cao, Chongjun Tu, Christos-Savvas Bouganis, Yiren Zhao, and Tao Chen. Δ-DiT: A Training-Free Acceleration Method Tailored for Diffusion Transformers. arXiv preprint arXiv:2406.01125, 2024.arxiv.org/abs/2406.01125
  7. [7]Omer Dahary, Or Patashnik, Kfir Aberman, and Daniel Cohen-Or. Be yourself: Bounded attention for multi-subject text-to-image generation. In European Conference on Computer Vision, pages 432–448. Springer, 2024.arxiv.org/abs/2403.16990
  8. [8]Hanan Gani, Shariq Farooq Bhat, Muzzammal Naseer, Salman H. Khan, and Peter Wonka. LLM blueprint: Enabling text-to-image generation with complex and detailed prompts. In The Twelfth International Conference on Learning Representations, 2024.arxiv.org/abs/2310.10640
  9. [9]Roei Herzig, Amir Bar, Huijuan Xu, Gal Chechik, Trevor Darrell, and Amir Globerson. Learning canonical representations for scene graph to image generation. In European Conference on Computer Vision, pages 210–227. Springer, 2020.arxiv.org/abs/1912.07414
  10. [10]Jack Hessel, Ari Holtzman, Maxwell Forbes, Ronan Le Bras, and Yejin Choi. Clipscore: A reference-free evaluation metric for image captioning. In Proceedings of the 2021 conference on empirical methods in natural language processing, pages 7514–7528, 2021.
  11. [11]Jiun Tian Hoe, Xudong Jiang, Chee Seng Chan, Yap-Peng Tan, and Weipeng Hu. Interactdiffusion: Interaction control in text-to-image diffusion models. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6180–6189. IEEE, 2024.arxiv.org/abs/2312.05849
  12. [12]Yushi Hu, Berlin Liu, Jungo Kasai, Yizhong Wang, Mari Ostendorf, Ranjay Krishna, and Noah A Smith. Tifa: Accurate and interpretable text-to-image faithfulness evaluation with question answering. In 2023 ieee/cvf international conference on computer vision (iccv), pages 20349–20360. IEEE, 2023.arxiv.org/abs/2303.11897
  13. [13]Kaiyi Huang, Kaiyue Sun, Enze Xie, Zhenguo Li, and Xihui Liu. T2i-compbench: A comprehensive benchmark for open-world compositional text-to-image generation. Advances in Neural Information Processing Systems, 36:78723–78747, 2023.DOI
  14. [14]Justin Johnson, Agrim Gupta, and Li Fei-Fei. Image generation from scene graphs. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1219–1228. IEEE, 2018.arxiv.org/abs/1804.01622
  15. [15]Yuval Kirstain, Adam Polyak, Uriel Singer, Shahbuland Matiana, Joe Penna, and Omer Levy. Pick-a-pic: An open dataset of user preferences for text-to-image generation. Advances in neural information processing systems, 36:36652–36663, 2023.arxiv.org/abs/2305.01569
  16. [16]Haeil Lee, Hansang Lee, Seoyeon Gye, and Junmo Kim. Beta sampling is all you need: Efficient image generation strategy for diffusion models using stepwise spectral analysis. In 2025 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pages 4215–4224. IEEE, 2025.DOI
  17. [17]Baiqi Li, Zhiqiu Lin, Deepak Pathak, Jiayao Li, Yixin Fei, Kewen Wu, Tiffany Ling, Xide Xia, Pengchuan Zhang, Graham Neubig, et al. Genai-bench: Evaluating and improving compositional text-to-visual generation. arXiv preprint arXiv:2406.13743, 2024.arxiv.org/abs/2406.13743
  18. [18]Yuheng Li, Haitian Liu, Qingyang Wu, Fangzhou Mu, Jianwei Yang, Jianfeng Gao, Chunyuan Li, and Yong Jae Lee. Gligen: Open-set grounded text-to-image generation. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 22511–22521. IEEE, 2023.arxiv.org/abs/2301.07093
  19. [19]Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In European conference on computer vision, pages 740–755. Springer, 2014.arxiv.org/abs/1405.0312
  20. [21]Nan Liu, Shuang Li, Yilun Du, Antonio Torralba, and Joshua B Tenenbaum. Compositional visual generation with Xinyin Ma, Gongfan Fang, and Xinchao Wang. Deepcache: Accelerating diffusion models for free. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15762–15772. IEEE, 2024.
  21. [23]Arash Marioriyad, Mohammadali Banayeezande, Reza Abbasi, Mohammad Hossein Robhan, and Mahdieh Soleymani Baghshah. Attention overlap is responsible for the entity missing problem in text-to-image diffusion models! arXiv preprint arXiv:2410.20972, 2024.arxiv.org/abs/2410.20972
  22. [24]Shibin Mei, Hang Wang, and Bingbing Ni. Semantic derivative flow: Graph-guided diffusion for controllable instance interactions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14822–14831, 2026.
  23. [25]Yuwei Niu, Munan Ning, Mengren Zheng, Weiyang Jin, Bin Lin, Peng Jin, Jiaq i Liao, Chaoran Feng, Fanqing Meng, Kun-Peng Ning, Bin Zhu, and Li Yuan. WISE: World knowledge-informed semantic evaluation for text-to-image generation. In Proceedings of the 43rd International Conference on Machine Learning, pages 93570–93590. PMLR, 2026.arxiv.org/abs/2503.07265
  24. [26]Zizheng Pan, Bohan Zhuang, De-An Huang, Weili Nie, Zhiding Yu, Chaowei Xiao, Jianfei Cai, et al. T-stitch: Accelerating sampling in pre-trained diffusion models with trajectory stitching. In International Conference on Learning Representations, pages 6103–6137, 2025.arxiv.org/abs/2402.14167
  25. [27]Royi Rassin, Eran Hirsch, Daniel Glickman, Shauli Ravfogel, Yoav Goldberg, and Gal Chechik. Linguistic binding in diffusion models: Enhancing attribute correspondence through attention map alignment. Advances in Neural Information Processing Systems, 36:3536–3559, 2023.arxiv.org/abs/2306.08877
  26. [28]Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In 2022 IEEE/CVF conference on computer vision and pattern recognition (CVPR), pages 10674–10685. ieee, 2022.arxiv.org/abs/2112.10752
  27. [29]Guibao Shen, Luozhou Wang, Jiantao Lin, Wenhang Ge, Chaozhe Zhang, Xin Tao, Di Zhang, Pengfei Wan, Guangyong Chen, Yijun Li, et al. Scene graph guided generation: Enable accurate relations generation in text-to-image models via textural rectification. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pages 15437–15446. IEEE, 2025.DOI
  28. [30]Owen Teem. Qwen3 technical report, 2025.
  29. [31]Ruichen Wang, Zekang Chen, Chen Chen, Jian Ma, Haonan Lu, and Xiaodong Lin. Compositional text-to-image synthesis with attention map control of diffusion models. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 5544–5552, 2024.arxiv.org/abs/2305.13921
  30. [32]Xierui Wang, Siming Fu, Qihan Huang, Wangg u i He, and Hao Jiang. Ms-diffusion: Multi-subject zero-shot image personalization with layout guidance. In International Conference on Learning Representations, pages 95118–95146, 2025.arxiv.org/abs/2406.07209
  31. [33]Qiucheng Wu, Yujian Liu, Handong Zhao, Trung Bui, Zhe Lin, Yang Zhang, and Shiyu Chang. Harnessing the spatial-temporal attention of diffusion models for high-fidelity text-to-image synthesis. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 7732–7742. IEEE, 2023.arxiv.org/abs/2304.03869
  32. [34]Xiaoshi Wu, Keqiang Sun, Feng Zhu, Rui Zhao, and Hongsheng Li. Human preference score: Better aligning text-to-image models with human preference. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 2096–2105. IEEE, 2023.arxiv.org/abs/2303.14420
  33. [35]Xindi Wu, Dingli Yu, Yangsibo Huang, Olga Russakovsky, and Sanjeev Arora. Conceptmix: A compositional image generation benchmark with controllable difficulty. Advances in Neural Information Processing Systems, 37:86004–86047, 2024.arxiv.org/abs/2408.14339
  34. [36]Jinheng Xie, Yuexiang Li, Yawen Huang, Haozhe Liu, Wentian Zhang, Yefeng Zheng, and Mike Zheng Shou. Boxdiff: Text-to-image synthesis with training-free box-constrained diffusion. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 7418–7427. IEEE, 2023.arxiv.org/abs/2307.10816
  35. [37]Hongji Yang, Yucheng Zhou, Wencheng Han, Runzhou Tao, Zhongying Qiu, Jianfei Yang, and Jianbing Shen. Hicogen: Hierarchical compositional text-to-image generation in diffusion models via reinforcement learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 36793–36802, 2026.arxiv.org/abs/2511.19965
  36. [38]Ling Yang, Zhilin Huang, Yang Song, Shenda Hong, Guohao Li, Wentao Zhang, Bin Cui, Bernard Ghanem, and Ming-Hsuan Yang. Diffusion-based scene graph to image generation with masked contrastive pre-training. arXiv preprint arXiv:2211.11138, 2022.arxiv.org/abs/2211.11138
  37. [39]Ling Yang, Zhaoch en Yu, Chenlin Meng, Minkai Xu, Stefano Ermon, and Bin Cui. Mastering text-to-image diffusion: Recaptioning, planning, and generating with multimodal llms. In Forty-first International Conference on Machine Learning, 2024.arxiv.org/abs/2401.11708
  38. [40]Hui Zhang, Tingwei Gao, Jie Shao, and Zuxuan Wu. Blockdance: Reuse structurally similar spatio-temporal features to accelerate diffusion transformers. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 12891–12900. IEEE, 2025.arxiv.org/abs/2503.15927
  39. [41]Jiewei Zhang, Song Guo, Peiran Dong, Jie Zhang, Ziming Liu, Yue Yu, and Xiao-Ming Wu. Easing concept bleeding in diffusion via entity localization and anchoring. In Proceedings of the 41st International Conference on Machine Learning, pages 58521–58534. PMLR, 2024.
  40. [42]Xinjie Zhang, Jintao Guo, Shanshan Zhao, Minghao Fu, Lunhao Duan, Guo-Hua Wang, Qing-Guo Chen, Zhao Xu, Weihua Luo, and Kaifu Zhang. Unified multimodal understanding and generation models: Advances, challenges, and opportunities. arXiv preprint arXiv:2505.02567, 2025.arxiv.org/abs/2505.02567
  41. [43]Yucheng Zhou, Jiahao Yuan, and Qianning Wang. Draw all your imagine: A holistic benchmark and agent framework for complex instruction-based image generation. arXiv preprint arXiv:2505.24787, 2025.arxiv.org/abs/2505.24787

Paper details

vlnc:W_96bxcztq
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 5

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

generative AI tools (large language models)

View statement
Looking for related papers…
Contents