REVIEW 4 major objections 5 minor 11 references
InstanceGen: Image Generation with Instance-level Instructions
T0 review · 4 major / 5 minor · reviewed 2026-08-15 · deepseek-v4-flash
Pith's one-line read InstanceGen couples attention-derived instance segmentation with LLM-written per-segment instructions to make text-to-image models obey object counts, attributes, and spatial relations without retraining.
desk verdict A well-engineered inference-time method for compositional prompts that is worth a serious referee, but its headline SOTA claim rests on a self-built GPT-4o-judged benchmark with no error bars or human validation. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the anchor point: a local maximum of the aggregated cross-attention map for an object word, taken as evidence that one instance of that object occupies that image region. Anchor points convert the base model's own attention signal into segmentation seeds, letting Mask R-CNN and SAM2 masks be filtered, merged, and assigned to object words and attributes. Everything downstream—LLM assignment, attention losses, and attention masking—assumes these anchor points localize every requested instance.
What would settle it
Run the pipeline on prompts with many small, partially occluded instances, such as ten birds on a branch with several behind leaves, and record how often the number of anchor points in the initial image falls below the requested count across many seeds. A setup with a high miss rate would show that the anchor-point premise, and therefore the layout quality, does not hold in the regime the method targets.
Extended reading notes
Core claim
The central claim is that a fine-grained structural signal with instance-level semantics can be obtained from the base diffusion model itself and fed back into that same model to fix complex-prompt adherence. InstanceGen first renders an initial image and aggregates cross-attention maps; local maxima of those maps serve as anchor points for Mask R-CNN and SAM2 segments, producing a layout of instance masks. An LLM, given the parsed prompt and per-segment attention scores, assigns each segment an object word and any instance attributes, deleting segments that do not fit. A second diffusion pass then optimizes latents with a weighted object-attention binary cross-entropy loss, an attribute cross-entropy loss, attention masking to stop semantic leakage, and a background-preserving regularization, so the output stays close to the initial composition while conforming to the layout instructions. The paper reports that this yields the strongest results among tested baselines on CompoundPrompts, DrawBench, and GenEval, with the largest gains on attribute and spatial tiers.
Load-bearing premise
Every requested object instance must leave at least one detectable peak in the aggregated attention maps of the initial image; if instances overlap heavily or are too small to form a peak, segmentation misses them and the only fallbacks are repeated seeds or copying masks, which reduce layout quality.
Editorial extensions
If this is right
- Users can obtain fine-grained multi-object layouts from a single text prompt without drawing boxes, because the base model itself supplies the layout.
- Instance-level attributes and spatial relations, the weakest spot of current text-to-image models, become addressable at inference time and can be bolted onto any diffusion model that exposes cross-attention maps.
- Attention masking is doing much of the spatial work: removing it drops Tier C accuracy from 0.60 to 0.32 on the paper's ablation subset.
- The background-preservation loss trades a little prompt fidelity for much better composition quality, per the ablation's VQA Similarity results.
- CompoundPrompts gives the community a three-tier stress test so future methods can be compared separately on counting, attribute binding, and spatial fidelity.
Reading between the lines
- Because InstanceGen never retrains the base model, its ceiling should rise as base diffusion models improve; better attention maps would make anchor-point detection more reliable and reduce the need for seed search and mask copying.
- The anchor-point premise implies a bottleneck at attention resolution: scenes with many small or overlapping instances may exhaust the supply of distinct peaks, so a direct test of that regime would map the method's practical limits.
- The paper's front/back failure hints that injecting depth or occlusion ordering into the LLM assignment prompt could resolve spatial instructions that 2D segment coordinates cannot express.
- CompoundPrompts-style evaluation with an MLLM judge could become a reusable stress test for compositional fidelity, but its scores will be sensitive to the choice of judge model and question wording.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. InstanceGen is a training-free, inference-time method for text-to-image generation aimed at prompts that combine object counts, instance-level attributes, and spatial relations. The pipeline first generates an initial image with a pretrained diffusion model (Emu), extracts anchor points from aggregated cross-attention maps, and constructs a fine-grained instance segmentation by combining Mask R-CNN with SAM2. A Llama-based LLM parses the prompt and assigns each segment an object label plus optional instance attributes. The final image is produced by a conditioned diffusion stage that optimizes latents against cross-attention losses, applies attention masking, and regularizes the background against the initial image. The paper also introduces CompoundPrompts, a 540-prompt benchmark with three difficulty tiers, and reports experiments on DrawBench, GenEval, and CompoundPrompts, claiming state-of-the-art performance on the new benchmark.
Significance. If the empirical claims hold, InstanceGen is a meaningful step for a genuine failure mode of text-to-image models: it replaces coarse LLM-generated bounding boxes with attention-derived instance masks, uses per-segment text conditioning, and explicitly targets counting, attribute-binding, and spatial errors. The independent GenEval results (Table 6) and DrawBench results (Table 1) are real points in the paper's favor, as are the detailed implementation hyperparameters and the candid limitations section. The central caveat is that the headline comparison on CompoundPrompts is not yet independently verifiable: the benchmark is self-constructed, GPT-4o is both part of the pipeline and the judge, and no human validation or uncertainty quantification is reported. The anchor-point assumption is a secondary but real correctness risk. These issues are addressable with additional experiments and a corrected presentation, so the contribution is potentially solid.
major comments (4)
- [Section 4.3, Table 2] The central SOTA claim rests on VQA Accuracy numbers produced by GPT-4o answering yes/no questions on CompoundPrompts, a benchmark constructed by the same authors, with no human validation of the judge, no confidence intervals or significance tests, and no public release of the benchmark or evaluation harness. A systematic evaluator bias, for example toward spatially tidy layouts or toward template-consistent compositions, could inflate the reported 0.60 versus 0.43 gap. Please add a human-validated subset with inter-annotator agreement, report per-prompt variance and paired significance tests for the main comparisons, and release the benchmark and evaluation code; without these, the phrase "significantly surpasses" in Section 4.3 is stronger than the evidence supports.
- [Section 3.3.2, Eq. (3)] Equation (3) as printed multiplies the cross-attention value by delta=-1.5 when m_i=1, i.e., inside the segment assigned to the word, and leaves the value unchanged when m_i=0, i.e., outside the segment. This is the opposite of the stated goal of masking attention in segments to which the word is not assigned, and negative attention weights are not explained anywhere in the text. Since the ablation in Table 3 shows that attention masking has a strong effect on Tier C performance, the implementation of this component is load-bearing. Please correct the condition (presumably m_i=0) or, if the negative multiplier is intentional, give a precise account of how negative attention values are used by the diffusion backbone.
- [Section 3.1.2 and Supplementary B.1.3] The completeness of the proposed layout generation relies on the empirical claim that "every object instance produces at least one such anchor point" in the aggregated cross-attention map, but no failure-rate statistics are reported. When this assumption fails, the method falls back to seed search and random instance copying, which the paper itself describes as degrading layout quality and visual plausibility. Please report, on a sample of CompoundPrompts prompts, the fraction of object instances that yield no anchor point, the success rate of the seed search, and the frequency with which instance copying is needed, together with its effect on final VQA Accuracy.
- [Section 4.4, Table 3] The ablation study is difficult to interpret as reported. The "Ours" row (0.76/0.72/0.60/0.69) does not match the full-benchmark result in Table 2 (0.72/0.57/0.50/0.60), because a "representative subset" is used, but the subset is not defined. In addition, "w/o Seed Search" improves Tier A from 0.76 to 0.84 and leaves VQA Sim unchanged at 0.90, which undermines the text's conclusion that this component is "not the primary factor driving our increased performance." Without confidence intervals or a significance test, the reader cannot distinguish real ablation effects from noise. Please report ablations on the identical full benchmark with variance estimates.
minor comments (5)
- [Abstract and Section 1] The phrase "adhere to all parts of the text prompt" overstates the quantitative results, since the full-benchmark VQA Accuracy in Table 2 is 0.60 and Fig. 9 documents failures on each tier; "better adherence" would be more precise.
- [Supplementary C.3] The supplementary results folder is described as containing images for "all150 prompts" in CompoundPrompts, while the main text says the benchmark contains 540 prompts; please reconcile this discrepancy.
- [Section 4.3, Table 1] The DrawBench evaluation is described only as using "the procedure used in [Phung et al. 2024]"; please specify which prompt subset was used and how the counting and spatial accuracies were computed, so that the numbers in Table 1 can be reproduced.
- [Fig. 7 caption] The caption states that the initial images are "post our robust initialization stage," but the seed search stage only selects a seed and does not edit the image; please clarify what post-processing was applied to the displayed initial images.
- [Supplementary B.1.3] The json layout summary labels attention scores as "object_probabilities" and "attribute_probabilities," even though they are averaged cross-attention values and not probabilities; please rename these fields to avoid misleading readers.
Circularity Check
No significant circularity: InstanceGen's claims are empirically evaluated, and the self-built benchmark and GPT-4o judge issue affects evaluation confidence, not derivation circularity.
full rationale
InstanceGen is an inference-time engineering pipeline rather than a first-principles derivation. The claimed capability—adherence to complex prompts with counts, instance-level attributes, and spatial relations—is evaluated empirically on rendered images, using GPT-4o yes/no questions on CompoundPrompts plus external benchmarks DrawBench and GenEval. No equation in the paper defines the output in terms of the evaluation metric, and no fitted parameter is renamed as a prediction. The anchor-point assumption in Section 3.1.2 is an empirical observation with explicit fallbacks (seed search and instance copying), so even if the assumption fails, the method does not become circular. The attention maps, layout extraction, LLM assignment, and attention losses are components of the method, not circular definitions: the final VQA check is performed by a separate MLLM on the rendered image, not on the layout or attention maps. The co-authored citation (Patashnik et al. 2023) is used only as contrast in related work and is not load-bearing. The main validity risks—self-built benchmark, no human validation of the judge, no error bars, and no public release—bear on evaluation robustness and reproducibility, not on circularity of the derivation. The paper is self-contained against external benchmarks, so the honest finding is no circularity.
Assumptions & free parameters
free parameters (6)
- Attention-masking constant delta =
-1.5
- Attribute loss weight lambda_att =
0.8
- Background regularization weight lambda_bg =
0.3
- Object loss foreground pixel weight lambda_i =
1.5 inside mask, 1.0 outside
- Optimization schedule and learning rate =
start 0, end 20, 15/15/5 iterations at t=0/5/10, LR 0.015
- Segmentation thresholds =
0.33% max mask area, 66.6% overlap merge, 30 px min, 2 px margin
assumptions (5)
- domain assumption Cross-attention maps of the base diffusion model localize each object instance with at least one anchor point.
- domain assumption The LLM (Llama 3.3) can parse prompts and assign segments correctly from JSON layout summaries with attention scores.
- domain assumption Off-the-shelf Mask R-CNN and SAM2 provide usable segmentations when combined with attention anchors.
- domain assumption GPT-4o yes/no judgments of image-prompt alignment are a valid proxy for human fidelity.
- domain assumption The base Emu model's latents and attention are accessible and optimizable during inference.
Cite this review
Pith. "Pith review of InstanceGen: Image Generation with Instance-level Instructions." pith.science (2026). https://pith.science/paper/5MLNDMTZ
@misc{pith2026250505678,
author = {Pith},
title = {Pith review of: InstanceGen: Image Generation with Instance-level Instructions},
year = {2026},
howpublished = {\url{https://pith.science/paper/5MLNDMTZ}},
note = {Machine review of arXiv:2505.05678}
}
read the original abstract
Despite rapid advancements in the capabilities of generative models, pretrained text-to-image models still struggle in capturing the semantics conveyed by complex prompts that compound multiple objects and instance-level attributes. Consequently, we are witnessing growing interests in integrating additional structural constraints, typically in the form of coarse bounding boxes, to better guide the generation process in such challenging cases. In this work, we take the idea of structural guidance a step further by making the observation that contemporary image generation models can directly provide a plausible fine-grained structural initialization. We propose a technique that couples this image-based structural guidance with LLM-based instance-level instructions, yielding output images that adhere to all parts of the text prompt, including object counts, instance-level attributes, and spatial relations between instances.
Figures
Figures from the paper (6 more)
Reference graph
Works this paper leans on
-
[1]
There are 3 total clusters in the layout dict,we are required to assign one cluster as 'porcupine', one clus- ter as 'squirrel' and onecluster as 'raccoon' meaning we do not have to delete any clusters
-
[2]
The 'squirrel' object also does not require spa- tial arrangment
The 'porcupine' object does not require spatial arra- ngment. The 'squirrel' object also does not require spa- tial arrangment. The 'raccoon' object also does not req- uire spatial arrangment
-
[3]
arXiv preprint arXiv:2407.21783 (2024)
The llama 3 herd of models. arXiv preprint arXiv:2407.21783 (2024). Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, et al . 2024. Scal- ing rectified flow transformers for high-resolution image synthesis. In Forty-first International Conference on Machine Lea...
arXiv 2024
-
[5]
In Proceedings of the IEEE/CVF International Conference on Computer Vision
Localizing object-level shape variations with text-to-image diffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision . 23051– 23061. William Peebles and Saining Xie. 2023. Scalable Diffusion Models with Transformers. arXiv:2212.09748 [cs.CV] https://arxiv.org/abs/2212.09748 Quynh Phung, Songwei Ge, and Jia-Bin Huang. 20...
arXiv 2023
-
[6]
In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition
High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition . 10684–10695. Chitwan Saharia, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, et al. 2022. Photorealistic text-to...
work page 2022
-
[7]
Six meerkats standing watch in the Savannah
Instancediffusion: Instance-level control for image generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition . 6232–6242. Tsung-Han Wu, Long Lian, Joseph E Gonzalez, Boyi Li, and Trevor Darrell. 2024a. Self- correcting llm-controlled diffusion models. InProceedings of the IEEE/CVF Conference on Computer Vision and P...
arXiv 2024
-
[10]
1" with 'raccoon' probability (0.75). This leaves us with cluster
'porcupine' has the lowest desired quantity (1) so we start by assiging it to the cluster with the highest 'porcupine' probability, which is cluster "3" with 'por- cupine' probability (0.71). We then assign the 'raccoon' InstanceGen: Image Generation with Instance-level Instructions • 13 object to the cluster with the highest 'raccoon' probab- ility, whic...
-
[11]
3") as req- uired. We have set one cluster as 'squirrel' (
We have set one cluster as 'porcupine' ("3") as req- uired. We have set one cluster as 'squirrel' ("2") as required. We have set one cluster as 'raccoon' ("1") as required. We have set one 'squirrel' cluster as 'holdi- ng nut ' ("2") as required. ** ASSIGNMENTS ** { "1": { "object": "raccoon", "attributes": [] }, "2": { "object": "squirrel", "attributes":...
Show all 11 references
-
[2022]
In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition
Masked-attention mask transformer for universal image segmentation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition . 1290–1299. Omer Dahary, Or Patashnik, Kfir Aberman, and Daniel Cohen-Or. 2025. Be your- self: Bounded attention for multi-...
2021 arXiv
-
[2023]
In Proceedings of the IEEE/CVF International Conference on Computer Vision
Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 4015–4026. Black Forest Labs. 2023. FLUX. https://github.com/black-forest-labs/flux. Yuheng Li, Haotian Liu, Qingyang Wu, Fangzhou Mu, Jianwei Yang, Jianfeng Gao, Chunyuan Li, and Yon...
2022 arXiv
-
[2024]
arXiv preprint arXiv:2406.10210 (2024)
Make It Count: Text-to-Image Generation with an Accurate Number of Objects. arXiv preprint arXiv:2406.10210 (2024). Kevin Black, Michael Janner, Yilun Du, Ilya Kostrikov, and Sergey Levine. 2023. Training diffusion models with reinforcement learning.arXiv preprint arXiv:2305.1...
2024 arXiv
Reviewed August 15, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.