The Plan, Not the Decoder: Diagnosing and Repairing Compositional Failure in Reasoning-Augmented Text-to-Image Generation
Organizations: Carnegie Mellon University
Abstract
Reasoning-augmented text-to-image models such as GoT-R1 emit an explicit textual plan - object names, attributes, and bounding boxes - before generating image tokens. When such a model fails a compositional prompt, is the plan wrong, or is the plan right and the decoder unfaithful? Because the plan is machine-readable it can be edited before decoding, which makes the two separable. We first validate the ruler. Swapping the two bounding boxes inside the model's own chain demonstrably flips the generated layout: detector-based accuracy falls 0.75 -> 0.48 (p<1e-3), while a widely used VQA-based spatial metric rises. A five-rater human study agrees with the detector on 81% of items and with the VQA judge on 57%. All spatial results therefore use geometric scoring. Under sound measurement the decoder is a faithful executor: 94% of generated layouts realize the planned relation, and object-box binding survives reordering of the plan's object segments. The planner is the bottleneck. It writes wrong relations for phrasing-dependent reasons - 98% accuracy on "left" against 54% on "right" for semantically identical layouts, a raster-order bias we isolate with a mention-order control - and cluttered geometry that the decoder faithfully reproduces. Editing the plan therefore fixes the image without retraining: symbolic verification with resampling gives +5.0 points (p<1e-3), minimal in-place repair +6.0 (p=.02), rewriting only box geometry +10.7 (p<1e-4), and replacing the plan outright +13.3 (p=1e-4). Gains are indifferent to the plan's prose style and to its likelihood under the planner, but not to its geometry. Modular planner-decoder designs are therefore viable, provided the plan is internally consistent: box-text contradictions induce object duplication and identity fusion. We release the plan-fidelity evaluation protocol, all plans, and 12k generated images.
Figures & tables
| Condition | vs. control | Relation | [95% CI] | |
| Unperturbed control (own chains) | — | 0.750 | — | — |
| Native-path baseline (fresh chains) | — | 0.773 | — | — |
| Verify-then-generate ( ) | native baseline | 0.823 | ||
| Minimal in-place repair | control | 0.810 | ||
| Geometric plan repair ( ) | control | 0.857 | ||
| Oracle: minimal text, clean boxes | control | 0.883 |
| Condition (spatial) | Relation | Plan IoU | Followed plan | Obj. detected |
|---|---|---|---|---|
| Unperturbed control | 0.750 | 0.747 | 0.938 | .957/.950 |
| Box swap | 0.477 | 0.629 † | 0.755 † | .947/.917 |
| Boxes removed | 0.600 | — | — | .903/.867 |
| Object segments reversed | 0.747 | 0.282 | 0.096 | .957/.947 |
| Chain ablated | 0.453 | — | — | .800/.723 |
| Condition (color subset) | Presence | Color Y/N | Color match | Combined |
|---|---|---|---|---|
| Unperturbed control | 0.9219 | 0.9160 | 0.7884 | 0.8564 |
| Attribute swap in chain | 0.9238 | 0.7751 | 0.5605 | 0.7233 |
| Boxes removed from chain | 0.8320 | 0.8431 | 0.7370 | 0.7386 |
| Chain ablated entirely | 0.6934 | 0.6816 | 0.6146 | 0.5234 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Relation | Plan accuracy (original phrasing) | Plan accuracy (inverted phrasing) |
|---|---|---|
| on the left of | 97.8% | 98.0% |
| on the right of | 55.1% | 53.9% |
| on the top of | 89.5% | 87.5% |
| on the bottom of | 73.7% | 77.9% |
Compositional T2I Generation
Compositional text-to-image generation creates images that faithfully combine multiple objects, attributes, relationships, and styles specified in a prompt.
See all 99 papers