Order Is Not Layout: Order-to-Space Bias in Image Generation
Organizations: Renmin University of China, China · Huazhong Agricultural University, China · Huazhong University of Science and Technology, China · Jiangnan University, China ·
Abstract
We study a systematic bias in modern image generation models: the mention order of entities in text spuriously determines spatial layout and entity--role binding. We term this phenomenon Order-to-Space Bias (OTS) and show that it arises in both text-to-image and image-to-image generation, often overriding grounded cues and causing incorrect layouts or swapped assignments. To quantify OTS, we introduce OTS-Bench, which isolates order effects with paired prompts differing only in entity order and evaluates models along two dimensions: homogenization and correctness. Experiments show that Order-to-Space Bias (OTS) is widespread in modern image generation models, and provide evidence that it is primarily data-driven and manifests during the early stages of layout formation. Motivated by this insight, we show that both targeted fine-tuning and early-stage intervention strategies can substantially reduce OTS, while preserving generation quality.
Figures & tables
| Component | Count | Source |
|---|---|---|
| Subjects | ||
| Humans | 64 | SOC 2018 |
| Animals | 25 | COCO, ImageNet |
| Objects | 49 | COCO, OpenImages |
| Subjects Total | 138 | |
| Actions & States |
| Modality | Homogenization | Correctness | Total |
|---|---|---|---|
| T2I | 1,700 | 400 | 2,100 |
| I2I | 1,100 | 1,100 | 2,200 |
| Total | 2,800 | 1,500 | 4,300 |
| Model | Homogenization | T2I Correctness (%) | I2I Correctness (%) | Cohen’s | |||
|---|---|---|---|---|---|---|---|
| T2I | I2I | Ali | Rev | Ali | Rev | ||
| llama-3.2-11b-vision | 97.1 | 73.3 | 97.0 | 2.4 | 89.7 | 87.6 | 0.62 |
| Qwen3-VL-8B-Instruct | 94.2 | 63.9 | 85.3 | 12.5 | 90.4 | 83.7 | 0.81 |
| InternVL3-8B | 90.2 | 59.8 | 84.8 | 24.3 | 94.9 | 92.9 | 0.72 |
| llava-critic-r1-7b | 54.9 | 60.2 | 91.4 | 23.8 | 96.9 | 95.2 | 0.47 |
| Human | 90.3 | 68.7 | 82.0 | 9.2 | 89.8 | 82.5 | – |
| Model | Homogenization | T2I Correctness | I2I Correctness | |||||
|---|---|---|---|---|---|---|---|---|
| T2I | I2I | Ali | Rev | T2I | Ali | Rev | I2I | |
| SDXL | 52.6 | 55.8 | 83.3 | 23.6 | 59.7 | 73.5 | 62.2 | 11.3 |
| SD3.5 | 84.2 | 38.4 | 84.8 | 21.1 | 63.7 | 79.5 | 71.8 | 7.7 |
| FLUX-dev | 88.8 | 42.6 | 79.8 | 24.7 | 55.1 | 84.3 | 76.8 | 7.5 |
| Qwen-Image | 91.6 | 83.4 | 81.8 | 28.2 | 53.6 | 88.1 | 78.8 | 9.3 |
| DALL-E 3 | 70.4 | – | 87.7 | 18.2 | 69.5 | – | – | – |
| Dataset | Samples | OTS-align (%) |
|---|---|---|
| LAION-2B-en-aesthetic | 23,020 | 89.2 |
| DataComp-Large | 10,150 | 87.2 |
| Model | Homogenization | T2I Correctness | I2I Correctness | Image Quality | |||
|---|---|---|---|---|---|---|---|
| T2I | I2I | Ali | Rev | Ali | Rev | ImageReward | |
| FLUX-dev | 88.8 | 42.6 | 79.8 | 24.7 | 84.3 | 76.8 | |
| FLUX-dev (SFT) | 47.4 | 25.0 | 83.2 | 49.3 | 87.0 | 79.5 | |
| Qwen-Image | 91.6 | 83.4 | 81.8 | 28.2 | 88.1 | 78.8 | |
| Qwen-Image (SFT) | 50.8 | 32.8 | 84.7 | 57.7 | 90.5 | 80.1 | |
| Switch step | ||||||
| Setting | base | 1 | 2 | 3 | 4 | 5 |
| (a) Switch direction: Successful Rate (%) | ||||||
| A2B | 100.0 | 25.0 | 14.8 | 11.1 | 3.2 | 2.2 |
| B2A | 100.0 | 23.0 | 17.8 | 5.5 | 2.4 | 1.2 |
| (b) Prompt transition: Homogenization (%) | ||||||
| N2A | 89.9 | 28.8 | 21.8 | 27.2 | 34.1 | 39.1 |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Type | Category | Count | Examples | Source |
| Humans | Healthcare | 8 | physician, nurse, dentist, pharmacist | SOC 2018 |
| Education | 8 | teacher, professor, librarian, counselor | SOC 2018 | |
| Engineering | 8 | civil engineer, architect, electrician, mechanical engineer | SOC 2018 | |
| Food Service | 8 | chef, waiter, barista, bartender | SOC 2018 | |
| Management | 8 | manager, financial manager, construction manager, sales manager | SOC 2018 | |
| Arts & Media | 8 | designer, photographer, musician, artist | SOC 2018 |
| Type | Category | Count | Examples |
|---|---|---|---|
| Human Actions | Upper Limbs | 6 | raising hand, waving, pointing, clapping, saluting, crossing arms |
| Torso & Lower Limbs | 9 | leaning forward, stretching up, stepping forward, kneeling, squatting, lifting leg, jumping, dancing, running pose | |
| Interactive Actions | 10 | pointing at, scolding, patting shoulder, examining, photographing, instructing | |
| Parallel Actions | 10 | standing vs sitting, raising hand vs saluting, waving vs clapping, looking up vs down, leaning forward vs backward | |
| Subtotal | 35 | Individual + interactive + parallel actions | |
| Animal Actions | Static Postures | 4 | sitting, standing, lying down, crouching |
| Modality | Dimension | H–H | A–A | O–O | H–A | H–O | A–O | Total |
|---|---|---|---|---|---|---|---|---|
| T2I | Homogenization | 500 | 300 | 300 | 200 | 200 | 200 | 1700 |
| T2I | Correctness | – | – | – | – | – | – | 400 |
| I2I | Homogenization | 500 | 300 | 300 | – | – | – | 1100 |
| I2I | Correctness | 500 | 300 | 300 | – | – | – | 1100 |
| Total | 4300 | |||||||
| Agent Role | System Instruction |
|---|---|
| Prompt Scout | Objective: Generate prompts that expose sequence-to-spatial bias in text-to-image models. Critical Understanding: Sequence-to-spatial bias occurs when models incorrectly map text order to spatial positions (first→left, second→right). Valid test cases must have real-world layouts that contradict text order. Example: “gas pedal and brake pedal in a car”—reality has gas(right) and brake(left), but biased models generate gas(left) and brake(right) by following text order. Requirements: (1) Each prompt must test a verifiable spatial constraint (keyboard keys, anatomy, vehicle controls, etc.); (2) Elements A and B must have fixed positions in the given context; (3) Only left/right semantics allowed (no top/bottom, front/back); (4) Domain diversity: aim for 10+ distinct domains; (5) Total target: 400 test prompts. Deliverable: (1) Mission restatement confirming bias detection objective; (2) Draft prompt list with clear rationale for each domain; (3) Handoff notes for Constraint Critic highlighting coverage gaps. Archive requirement: label each round clearly for version control. |
| Constraint Critic | Objective: Review Prompt Scout’s draft and provide strict, objective feedback. Evaluation Criteria: (1) Spatial validity—does each A-B pair have a verifiable real-world left/right constraint? (2) Bias exposure—will the prompt actually trigger sequence-to-spatial errors? (3) Domain coverage—progress toward 10+ domains and 400 prompts; (4) Constraint adherence—only left/right axis used. Required Output: (1) Quantitative metrics (domain count, constraint coverage, total prompts, archive status); (2) Concrete strengths and weaknesses of current draft; (3) Numbered directives for Benchmark Curator; (4) Strict scores (0–5) for diversity, coverage, failure-exposure, and archive completeness. Critical: Flag any prompts where left/right positions are arbitrary or undefined. |
| Benchmark Curator | Objective: Rewrite benchmark based on Constraint Critic directives. Output Format: JSON per domain containing: domain name, round number, seed pairs with elements A/B, context, constraint type (must be “left_right”), semantic basis, difficulty level (obvious/subtle/tricky), spatial reality (A/B positions), rationale citing verifiable standards, sequence bias failure mode, test prompts with expected errors, and status (new/revised/retired). Critical Rules: (1) spatial_reality must cite verifiable standards (QWERTY layout, anatomy atlases, traffic codes, etc.); (2) Each test prompt must demonstrate how sequence bias causes spatial error; (3) Mark prompts as new/revised/retired vs previous round; (4) Concise format: “A and B in/on/at Context” (single sentence). Validation: Reject any pair where left/right positions are arbitrary or context-independent. |
| Setting | Value |
|---|---|
| Models | FLUX.1-dev, Qwen-Image |
| Trainable modules | UNet only (text encoder frozen) |
| LoRA (linear) | rank=32, alpha=32 |
| LoRA (conv) | rank=16, alpha=16 |
| Training steps | 10,000 |
| Batch size | 1 |
| Qwen3-VL-8B-Instruct ( ) | llama-3.2-11b-vision ( ) | InternVL3-8B ( ) | llava-critic-r1-7b ( ) | |||||||||||||
| Human | 0 | 1 | 2 | Total | 0 | 1 | 2 | Total | 0 | 1 | 2 | Total | 0 | 1 | 2 | Total |
| 0 | 224 | 11 | 4 | 239 | 207 | 19 | 13 | 239 | 209 | 19 | 11 | 239 | 183 | 37 | 19 | 239 |
| 1 | 94 | 1475 | 30 | 1599 | 103 | 1377 | 119 | 1599 | 96 | 1471 | 32 | 1599 | 92 | 1342 | 165 | 1599 |
| 2 | 35 | 56 | 471 | 562 | 31 | 178 | 353 | 562 | 18 | 154 | 390 | 562 | 19 | 281 | 262 | 562 |
| Total | 353 | 1542 | 505 | 2400 | 341 | 1574 | 485 | 2400 | 323 | 1644 | 433 | 2400 | 294 | 1660 | 446 | 2400 |
| Dimension | Objective | Output 1 | Output 2 | Output 3 |
|---|---|---|---|---|
| T2I Homogenization | Determine left-right positioning | A left of B | A right of B | Invalid |
| T2I Correctness | Verify semantic constraint adherence | Respects | Violates | Invalid |
| I2I Homogenization | Identify action performer | A performs | B performs | Invalid |
| I2I Correctness | Validate action attribution | Reversed | Aligned | Invalid |
| T2I Homogenization Evaluation Prompt |
| Role. You are a professional image analysis assistant for spatial relationship verification. Task. Determine the left-right positional relationship between two subjects in a generated image, strictly from the observer’s perspective. Subject Definitions. • Subject A: {subject_A} • Subject B: {subject_B} Evaluation Protocol. 1. Verify that the image contains exactly two subjects corresponding to Subject A and Subject B, and that their visual characteristics match the provided definitions. 2. Determine the horizontal (left-right) spatial relationship between Subject A and Subject B from the observer’s viewpoint. 3. Focus exclusively on left-right positioning. Ignore depth (front-back), vertical (up-down), diagonal arrangements, or relative size differences. Output Specification. • Output “1” if Subject A is positioned to the LEFT of Subject B. • Output “2” if Subject A is positioned to the RIGHT of Subject B. • Output “3” if any of the following conditions apply: – The image does not contain exactly two subjects. – Subject identities or visual characteristics do not match the provided definitions. – One or both subjects are unclear, occluded, or cannot be reliably identified. – The subjects primarily exhibit depth-based or vertical relationships rather than a clear horizontal separation. – The left-right positional relationship cannot be confidently determined. Critical Instruction. You must output only a single digit : 1, 2, or 3. Do not include any explanations, reasoning steps, or additional text. |
| T2I Correctness Evaluation Prompt |
|---|
| You are a professional image analysis assistant for semantic constraint verification. |
| TASK |
| Verify whether the spatial arrangement in a generated image respects real-world semantic constraints rather than textual order. |
| SUBJECT DEFINITIONS |
| • Subject A: {subject_A} (expected position: LEFT according to semantic constraints) • Subject B: {subject_B} (expected position: RIGHT according to semantic constraints) EVALUATION PROTOCOL |
| 1. Verify that both subjects appear clearly and are recognizable in the image. 2. Determine the horizontal (left-right) spatial relationship between the subjects from the observer’s perspective. 3. Compare the observed spatial arrangement against the expected semantic constraints. OUTPUT SPECIFICATION |
| I2I Homogenization Evaluation Prompt |
|---|
| You are a professional image analysis assistant for action attribution verification. |
| TASK |
| Determine which subject performed the specified action in an image-to-image edited result. |
| REFERENCE SUBJECTS (from Seed Image) |
| • Subject A: {subject_A} ({description_A}) • Subject B: {subject_B} ({description_B}) ACTION SPECIFICATION |
| {action} |
| I2I Correctness Evaluation Prompt |
|---|
| You are a professional image analysis assistant for action attribution correctness verification. |
| TASK |
| Verify whether action attribution in an image-to-image edited result aligns with the prompt specification rather than the spatial order in the seed image. |
| REFERENCE SUBJECTS (from Seed Image) |
| • Subject A: {subject_A} ({description_A}) • Subject B: {subject_B} ({description_B}) ACTION SPECIFICATION |
| {action} |
| Model | Overall | Prompt Align. | Fidelity |
|---|---|---|---|
| FLUX-dev | |||
| FLUX-dev (SFT) | |||
| Qwen-Image | |||
| Qwen-Image (SFT) |
T2I Generation
Text-to-image generation creates images from natural-language prompts using generative models, with research focused on fidelity, control, efficiency, and safety.
See all 299 papers