One Change at a Time: Compositional Text-to-Image Generation via Counterfactual Interventions
Mingkun Chang, Zhuofu Li, Chengzhuo Tong, Bohan Zeng, Yancheng Li, Jichang Li, Guanbin Li
Abstract
Modern flow matching models achieve remarkable visual fidelity in text-to-image (T2I) generation, yet compositional generation remains a persistent challenge. Comparative supervision has recently emerged as a promising direction, contrasting images across alternative captions or visual variants to enforce faithful factor binding. However, existing comparative supervision often remains confounded, as paired variants typically entangle target factors with unintended semantic or visual shifts. To bridge the gap, we propose OCAT, framing compositional learning as single-factor counterfactual interventions under invariant scene contexts. To curate such controlled interventions at scale, we build a 3D simulation pipeline with agent-guided repair, producing OCAT-Instruct-24K with isolated factor variations across canonical composition types. To exploit such variations, we design a counterfactual assignment objective for flow matching that discriminates target factors while maintaining flow regression and generation fidelity. Results on GenEval and T2I-CompBench++ across SD3.5 Medium and FLUX.1-Dev demonstrate consistent compositional gains, notably in spatial relations and attribute binding. Collectively, our findings highlight the value of scene context invariance, demonstrating the promise of controlled counterfactual supervision for T2I generation.
Create a lesson
Metadata
- Comments
- 18 pages, 9 figures, 8 tables, including supplementary material
Related papers
ScaleTrojan: Uncovering Backdoor Vulnerability in Visual Autoregressive Text-to-Image Generation
Shared title terminologycs.CVBin Cui, Qianqian Xu, Shilong Bao et al.
Memoria: Memory-Augmented Test-Time Prompt Repair for Compositional Video Generation
Shared title terminologycs.CVHohei Chan, Mingxuan Zhu, Shiyuan Liu et al.
Code-based Image Generation: Benchmarking, Baselines, and Improved Rewards
Shared title terminologycs.CVNicole Wang, Zhanhao Liang, Xingjian Leng et al.
Local Background Fitting for Reference-Based Localization of Generative Image Edits
Shared title terminologycs.CVHailong Wang, Wuzheng Tan, Bing Han et al.
Guiding Unified Multimodal Models to Generate Images from Long Prompts
Shared title terminologycs.CVHao Zhang, Jiaxin Qi, Jianqiang Huang
DualSight: Learning to Disentangle Artifact and Semantic Features for Detection of Diffusion-Generated Images
Shared title terminologycs.CVAhmed Abdullah, Nikolas Ebert, Oliver Wasenmüller