[Paper Review] Re-Align: Structured Reasoning-guided Alignment for In-Context Image Generation and Editing
Re-Align introduces IC-CoT (In-Context Chain-of-Thought) to align structured reasoning with image generation and editing, coupled with a surrogate reward and diversity strategy to improve in-context ICGE performance. It achieves state-of-the-art results among comparable models on ICGE benchmarks.
In-context image generation and editing (ICGE) enables users to specify visual concepts through interleaved image-text prompts, demanding precise understanding and faithful execution of user intent. Although recent unified multimodal models exhibit promising understanding capabilities, these strengths often fail to transfer effectively to image generation. We introduce Re-Align, a unified framework that bridges the gap between understanding and generation through structured reasoning-guided alignment. At its core lies the In-Context Chain-of-Thought (IC-CoT), a structured reasoning paradigm that decouples semantic guidance and reference association, providing clear textual target and mitigating confusion among reference images. Furthermore, Re-Align introduces an effective RL training scheme that leverages a surrogate reward to measure the alignment between structured reasoning text and the generated image, thereby improving the model's overall performance on ICGE tasks. Extensive experiments verify that Re-Align outperforms competitive methods of comparable model scale and resources on both in-context image generation and editing tasks.
Motivation & Objective
- Bridge understanding and generation for in-context image generation and editing (ICGE) with a unified framework.
- Introduce In-Context Chain-of-Thought (IC-CoT) to decouple semantic guidance and reference association.
- Develop a surrogate reward and reasoning-induced diversity to stabilize policy optimization.
- Construct Re-Align-410K, a high-quality ICGE dataset with IC-CoT annotations.
- Demonstrate state-of-the-art performance on ICGE benchmarks with competitive resources.
Proposed method
- Proposes IC-CoT to decompose reasoning into semantic guidance (a predicted caption) and reference association (roles for each reference image).
- Learns image generation via Rectified Flow following BAGEL-style diffusion-based generation conditioned on IC-CoT.
- Uses a surrogate reward s(x,c) based on CLIP image-text similarity between the generated image x and the caption c extracted from IC-CoT.
- Introduces a reasoning-induced diversity strategy to increase reward signal variance during training.
- Employs Group Relative Policy Optimization (GRPO) to optimize alignment between IC-CoT and generated images, with a two-stage training: supervised fine-tuning (SFT) and RL-based alignment.
- Automates data construction to produce Re-Align-410K with multi-image ICGE tasks and IC-CoT annotations.
Experimental results
Research questions
- RQ1How can structured reasoning (IC-CoT) improve alignment between understanding prompts and image generation in ICGE tasks?
- RQ2Does a surrogate reward based on caption–image alignment improve generation/editing quality under IC-CoT guidance?
- RQ3Can a reasoning-induced diversity strategy stabilize reinforcement learning for ICGE?
- RQ4What is the impact of IC-CoT on generation and editing performance across subject-, attribute-, and scene-based tasks?
- RQ5How does Re-Align compare to existing methods at similar model scales and resources on ICGE benchmarks?
Key findings
- Re-Align achieves state-of-the-art performance among comparable models on in-context image generation and editing tasks.
- IC-CoT provides explicit semantic guidance and reference roles that reduce reference confusion and improve generation fidelity.
- Surrogate reward based on CLIP image-caption alignment improves alignment between reasoning and generated images, aiding optimization.
- Reasoning-induced diversity increases reward signal variance and stabilizes training, improving overall performance.
- On OmniContext and DreamOmni2Bench benchmarks, Re-Align outperforms baselines such as BAGEL, OmniGen2, Echo-4o, Qwen-Image-Edit-2509, and DreamOmni2 across most metrics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.