Where, What, Why, and Importance: Structured Defect Grounding for Text-to-Image Feedback
AuthorsHuaisong Zhang, Hao Yu, Yuxuan Zhang, Jiahe Wang, Xinrui Chen, Haoxiang Cao, Feng Lu, Wendong Zhang, Changqian Yu, Chun Yuan
Resources
This paper turns image-quality debugging for text-to-image models into a structured task that pinpoints what is wrong, where it is wrong, why, and how important it is, then uses those defects to improve the generator.
Key results
Box-grounded dataset size across four T2I generators
FLUX.2-dev, Z-Image-Turbo, LongCat-Image, and SANA-1.5-1.6B
Best SDG detector result for artifact localization
Best SDG detector result for prompt-conditioned misalignment localization
Average relative downstream improvement over the base model
Real-image probability achieved by BoxFlow-GRPO
What the paper found
This paper from Tsinghua University and Kuaishou’s Kolors Team introduces Structured Defect Grounding, or SDG, a shift from heatmap regression to instance-level defect prediction for text-to-image feedback. Instead of collapsing failures into a single score or pixel field, SDG represents each defect as a location-type-reason-importance tuple, covering both artifacts and prompt-conditioned misalignments. To train and evaluate this formulation, the authors build SDG-30K, a 30,096-image dataset annotated across four generators—FLUX.2-dev, Z-Image-Turbo, LongCat-Image, and SANA-1.5-1.6B—and augment the labels with Gemini 3 Pro for reasoning traces, description expansion, and importance scoring. A Qwen3-VL-4B-Instruct detector trained with supervised fine-tuning and GRPO reaches 0.263 BoxF1@0.5 for artifacts and 0.387 for misalignments, close to the human upper bound of 0.278 and 0.409, while zero-shot GPT-5.4 and Gemini 3 Pro lag far behind on precise localization. The structured outputs also drive BoxFlow-GRPO, which turns defect boxes into importance-weighted spatial rewards for FLUX.1-dev and improves average downstream reward by 2.4%, with P(real) rising to 0.228. The same feedback enables GPT-Image-1.5 refinement, where SDG beats ImageDoctor and a fixed caption-only baseline on paired comparisons, showing that localized, semantically explicit defect grounding can diagnose, align, and correct modern generative models in one framework.
Original abstract
Despite generating increasingly photorealistic images, text-to-image (T2I) models still exhibit localized, subtle, and structurally complex failures. Diagnosing these failures requires instance-level feedback that answers where a defect occurs, what type it is, why it is defective, and its importance to overall image quality. While recent dense-feedback methods move beyond scalar supervision, their heatmap-centric representations still formulate diagnosis as pixel-field regression, making it difficult to localize variable-cardinality defects and bind semantic reasons to individual failures. To address this representation bottleneck, we propose Structured Defect Grounding (SDG), which casts T2I diagnosis as structured set prediction by modeling each defect as a (location, type, reason, importance) tuple. To make this formulation trainable and measurable, we introduce SDG-30K, a 30K-image dataset with box-grounded annotations across four modern T2I generators, together with a dedicated evaluation protocol, SDG-Eval. Building on this structured representation, we further present a diagnosis-to-alignment framework in which a Vision-Language Model (VLM) serves as the SDG detector, and BoxFlow-GRPO converts predicted defect sets into box-derived, importance-weighted spatial rewards for diffusion model alignment. Extensive experiments show that our SDG detector outperforms leading proprietary VLMs on structured defect grounding, while SDG-guided rewards consistently improve T2I alignment and support localized image refinement. These results establish SDG as a unified, instance-level interface for diagnosing, evaluating, and enhancing modern generative models.
Read the original paperMore in Generative Models
Browse all 87 papers →dNaViT: Discrete Codes are General-Purpose Visual Representations
Xiaotong Li, Zhengrong Yue, Xu Huang, Jialv Zou, Minhao Jing, Wenhao Yan, Haodong Li, Hai Huang, Bo Zhao, Yan Feng, Peng Pei, Xunliang Cai
dNaViT turns images into reusable discrete codes designed to work across visual understanding, generation, and editing.
Lipschitz-Controlled Flow Matching for Robust Image Restoration
Sedjro Salomon Hotegni, Konstantin Sonntag, Paul-Christian Bürkner, Sebastian Peitz
LipsFlower aims to make flow-matching image restorations less sensitive to small input changes without sacrificing perceptual quality.
PhysLoop: Harnessing LLMs' Physics Awareness for Self-Improving Video Generation Models
Yuxuan Chen, Xiaojie Li, Hao Chen, Juncheng Ma, Kewei Zhang, Zhongjing Du, Guoqiang Wei, Fangfang Wang, Zhen Dong, Zhiyang Dou, Liming Zhao, Yan Zeng, Jianwei Zhang, Daquan Zhou
PhysLoop uses LLMs’ physics knowledge to help video generators create and repair more physically consistent videos.