TL;DR
Modern text-to-image (T2I) generators create stunning visuals, yet still stumble over fused fingers or ignored prompt instructions—flaws that global scalar scores and blurry pixel heatmaps fail to properly explain. This paper introduces Structured Defect Grounding (SDG), reframing image critique as a structured list of (location, type, reason, importance) tuples natively generated by Vision-Language Models (VLMs). Beyond diagnosing errors, these crisp, box-level critiques can be converted directly into spatial reward maps to fine-tune diffusion models—fixing localized flaws without sacrificing overall photorealism.
What Problem Does This Paper Address?
Imagine grading an essay by handing back a single "7/10," or by shining a blurry red flashlight over a paragraph without saying why it’s wrong. That is essentially how we currently evaluate T2I models.
Traditional evaluators output a single scalar preference score—great for ranking two images, useless for telling a model where a hand is mangled. Recent "dense feedback" methods improve on this using pixel heatmaps, but heatmaps hit a representation bottleneck:
- Arbitrary boundaries: Point-derived heatmaps rely on human-chosen blur radii rather than actual defect extents, struggling with large-area semantic errors.
- Unbound semantics: A continuous blob of pixels cannot cleanly separate overlapping errors or attach a specific explanation and severity score to each individual flaw.
- Architectural friction: Autoregressive VLMs speak in tokens, not pixel grids, meaning heatmaps require awkward extra regression heads or decoders.
Methods
Instead of pixel regression, the authors cast image diagnosis as structured set prediction. Given an image and its prompt, an SDG Detector outputs a chain-of-thought reasoning trace followed by a variable-length list of defect tuples:
- Location: A bounding box (
[0, 1000]coordinates). - Type: Either artifact (visual/anatomical flaws) or misalignment (contradicting the prompt).
- Reason: A natural-language explanation.
- Importance: A
1–100perceptual severity score.
To train this detector (built on Qwen3-VL-4B-Instruct), the authors use a two-stage pipeline:
- Cold-Start SFT with Coordinate Jitter: Standard supervised fine-tuning, with a twist—bounding box coordinates in the target answer are randomly perturbed slightly ($\pm 10$ units) so the VLM learns spatial tolerance rather than memorizing exact numbers.
- Composite-Reward GRPO: Group Relative Policy Optimization (a reinforcement learning algorithm) refines the model using a format-gated reward combining Hungarian-matched box overlap (DIoU), description embedding similarity, and importance accuracy.
Finally, the authors close the loop from diagnosis to generation with BoxFlow-GRPO. Prior RL methods for diffusion models apply a single image-level scalar advantage across the whole image. BoxFlow-GRPO projects SDG's predicted boxes and importance scores onto the diffusion latent grid, subtracting localized penalties from a base scalar reward and normalizing advantages per spatial location across a group of sampled images.
Datasets
- SDG-30K (New): 30,096 images ($1024 \times 1024$) generated from Pick-a-Pic prompts across four modern generators: FLUX.2-dev, Z-Image-Turbo, LongCat-Image, and SANA-1.5. 112 human annotators drew boxes and wrote short Chinese notes, which Gemini 3 Pro expanded into detailed English descriptions, 3-step reasoning traces, and calibrated importance scores. Unlike prior datasets (like RichHF-18K's heatmaps or human-only box datasets), SDG-30K unifies artifacts and misalignments at the instance level with natural-language reasons.
- SDG-Eval (New): A dedicated evaluation protocol measuring image-level detection and Hungarian-matched defect-level localization, description similarity, and importance accuracy.
- Evaluation Benchmarks: RichHF-18K (zero-shot cross-dataset testing) and DrawBench (evaluating RL-aligned generators).
Key Insights and Ideas
- Heatmaps struggle with semantics: On zero-shot cross-dataset testing (RichHF-18K), heatmap-based models trained in-domain virtually miss prompt-conditioned misalignments (recall of 0.143), whereas zero-shot SDG catches them (F1 of 0.655). Bounding boxes naturally capture large-scale conceptual errors (like an upright pose instead of an "upside-down jump") that point-based heatmaps miss.
- True spatial credit assignment prevents "reward hacking" drift: Standard scalar RL alignment often inflates preference scores by drifting toward cartoonish or anime styles, tanking photorealism. Because BoxFlow-GRPO penalizes exact defective latent regions via per-location advantages, it fixes errors while actually increasing photorealism.
- Keep the vision encoder frozen: Unfreezing the ViT during SFT significantly degraded spatial localization (dropping misalignment [email protected] from 0.376 to 0.305) at the 30K dataset scale.
Key Results
- Near-Human Defect Grounding: On SDG-30K, the 4B-parameter SDG (GRPO) detector achieves 0.263 (artifact) and 0.387 (misalignment) [email protected]—substantially beating zero-shot GPT-5.4 (0.035 / 0.292) and Gemini 3 Pro (0.200 / 0.307), and approaching the human inter-annotator upper bound (0.278 / 0.409).
- Superior Diffusion Alignment: Post-training FLUX.1-dev with BoxFlow-GRPO is the only tested RL method to improve all five evaluation metrics simultaneously (+2.4% average gain), boosting Forensic-Chat real-image probability $P(\text{real})$ from 0.211 to 0.228 (while scalar RL dropped it to 0.149).
- Actionable Image Editing: Feeding SDG box overlays and text critiques into GPT-Image-1.5 reduced detected defect boxes by 37.55% upon re-diagnosis and beat heatmap-guided editing 11.00% to 3.90% in human blind preferences (with 85.11% ties).
Limitations and Future Work
Not explicitly discussed in a dedicated section in the main paper (Pages 1–10). However, two practical constraints are apparent from the experiments:
- Bounding box granularity: Boxes represent spatial support rectangularly rather than via pixel-exact segmentation masks, and even human annotators only agree at 0.278 / 0.409 [email protected] due to subjective defect boundaries.
- Editor bottlenecks in refinement: In downstream image editing, human evaluators rated 85–87% of outputs as "Same" across methods, reflecting already high-quality inputs and strong baseline editors (plus safety/policy filtering by GPT-Image-1.5).
Summary updated