Abstract
Multimodal Large Language Models (MLLMs) with unified architectures excel across a wide range of vision-language tasks, yet aligning them with personalized image generation remains a significant challenge. Existing methods for MLLMs are frequently subject-specific, demanding a data-intensive fine-tuning process for every new subject, which limits their scalability. In this paper, we introduce MM-R1, a framework that integrates a cross-modal Chain-of-Thought (X-CoT) reasoning strategy to unlock the inherent potential of unified MLLMs for personalized image generation. Specifically, we structure personalization as an integrated visual reasoning and generation process: (1) grounding subject concepts by interpreting and understanding user-provided images and contextual cues, and (2) generating personalized images conditioned on both the extracted subject representations and user prompts. To further enhance the reasoning capability, we adopt Grouped Reward Proximal Policy Optimization (GRPO) to explicitly align the generation. Experiments demonstrate that MM-R1 unleashes the personalization capability of unified MLLMs to generate images with high subject fidelity and strong text alignment in a zero-shot manner.
Introduction
Personalized image generation—the ability to synthesize a specific subject in novel contexts—is a cornerstone of creative AI. While diffusion models have dominated this space, they often require subject-specific fine-tuning (e.g., DreamBooth), which is computationally expensive and non-scalable. Unified MLLMs offer a more integrated approach but frequently struggle with "identity drift," where the unique features of a reference subject are lost during the generation of complex scenes.
The authors of MM-R1 identify a critical gap: most models attempt to generate images directly from prompts without first "understanding" the visual nuances of the reference subject. By introducing a reasoning-based approach, MM-R1 enables models to analyze a subject's attributes before rendering, significantly improving fidelity and prompt adherence.
Methodology: Thinking Before Drawing
The core of MM-R1 is the Cross-modal Chain-of-Thought (X-CoT) reasoning strategy. This framework restructures personalization into a two-stage process: Understanding and Generation.
Cross-modal Chain-of-Thought (X-CoT)
Instead of a direct mapping from text to pixels, the model follows a structured reasoning path:
- Stage 1: Understanding: The model interprets the reference image and user cues to generate a "blueprint"—a detailed textual description of the subject's unique attributes.
- Stage 2: Generation: The model renders the final image conditioned on this blueprint and the original user prompt. This intermediate reasoning step acts as a strong conditioning signal, preventing the loss of identity.
Optimization via GRPO
To refine this reasoning capability, the authors employ Grouped Reward Proximal Policy Optimization (GRPO). This reinforcement learning technique uses three distinct reward functions to align the model's output:
- Format Reward: Ensures the model adheres to the X-CoT reasoning structure.
- Text Alignment Reward: Uses PickScore to verify that the generated image matches the user's prompt.
- Subject Similarity Reward: Uses DreamSim to ensure the generated subject maintains high fidelity to the reference image.
Experimental Evaluation
MM-R1 was evaluated on standard benchmarks including DreamBench and Kontext-Bench, achieving state-of-the-art results for unified MLLMs:
- High Fidelity: On DreamBench, MM-R1 achieved a DINO score of 0.786 and a CLIP-T score of 0.313, outperforming models like GPT-4o and specialized architectures.
- Zero-Shot Capability: Unlike previous methods that required training for every new subject, MM-R1 performs personalization in a zero-shot manner, handling unseen subjects immediately through its reasoning engine.
- Contextual Consistency: In Kontext-Bench, the model demonstrated superior ability in maintaining character identity across diverse and novel contexts.
Conclusion
MM-R1 demonstrates that the reasoning strengths of Large Language Models can be effectively bridged into the visual domain for personalized generation. By implementing a "Think-then-Generate" workflow, the framework overcomes the scalability issues of fine-tuning-based methods while maintaining high subject fidelity. Future work will focus on expanding this reasoning capability to multi-subject generation and interactive editing.
Summary updated