Janus-Pro-R1: Advancing Collaborative Visual Comprehension and Generation via Reinforcement Learning

Kaihang Pan, Yang Wu, Wendong Bu, Kai Shen, Juncheng Li, Yingting Wang, liyunfei, Siliang Tang, Jun Xiao, Fei Wu, ZhaoHang, Yueting Zhuang

In the world of Multimodal Large Language Models (MLLMs), we’ve had a "split-brain" problem. Models like GPT-4o or Janus-Pro are excellent at describing images (comprehension) and decent at creating them (generation), but these two skills rarely talk to each other. When an AI generates an image with a missing detail, it usually doesn't "realize" its mistake.

Janus-Pro-R1 changes this by introducing a reasoning framework into the creative process. By applying Reinforcement Learning (RL), the researchers have enabled a model that can introspect, self-correct, and experience "Aha moments" during image generation.

TL;DR

Janus-Pro-R1 is a multimodal model that uses Reinforcement Learning to unify visual comprehension and generation. By treating image creation as an iterative, "thinking" process (Visual Chain-of-Thought), the model can detect its own mistakes and regenerate better images, surpassing GPT-4o on key text-to-image benchmarks.

What Problem Does This Paper Address?

Most current MLLMs treat vision and language as a sequence of tokens to be predicted. While this works for text, it often fails for complex image prompts. If you ask for "a bird wearing a hat," a standard model might generate just a bird. Because the comprehension and generation modules are functionally independent, the model doesn't "look" at its output to see if the hat is actually there.

Concept of Synergetic Gain in Janus-Pro-R1

The authors identify a lack of collaborative co-evolution. They argue that for AI to truly master visual tasks, its ability to understand an image must actively improve its ability to create one, and vice versa.

Methods

The researchers developed a two-stage training pipeline to turn image generation into an introspective process:

Two-Stage Training Pipeline
  1. Supervised Fine-Tuning (SFT): The model is taught the "mechanics" of introspection across three tasks:
  2. Task-I: Basic text-to-image generation.
  3. Task-II: Self-evaluation (looking at an image and explaining why it does or doesn't match a prompt).
  4. Task-III: Image regeneration (fixing an incorrect image based on self-reflection).
  5. Reinforcement Learning (RL): Using the GRPO (Group Relative Policy Optimization) algorithm, the model is encouraged to explore different reasoning paths without being tied to "ground truth" images.
  6. Bi-Level Rewards: The model receives a Generation Reward (is the final image accurate?) and a Comprehension Reward (did the model’s internal self-assessment match the judgment of a superior "teacher" model like InternVL2.5?).

This allows the model to develop a Genuine Chain-of-Thought (CoT), where it generates an initial image, checks it, and says, "Wait, the prompt asked for a square apple, but I drew a round one. Let me try again."

Datasets

  • Training: A custom collection of 200,000 prompts expanded via Qwen. Images for the SFT stage were sourced from high-quality generators like FLUX and Janus-Pro.
  • Evaluation:
    • GenEval: Tests complex compositional skills (e.g., "a red ball next to a blue cube").
  • T2I-CompBench: Evaluates attribute binding (color, shape, texture).
  • DPG-Bench: Tests the model's ability to follow long, dense descriptions.
  • PIE-Bench: Used to evaluate the model's performance in image editing tasks.

Key Insights and Ideas

  • The "Aha Moment": The most striking finding is that RL enables the model to autonomously identify and correct its own hallucinations. In qualitative examples, the model identifies missing objects or color mismatches and redirects its "reasoning" to fix them.
  • Mutual Benefits: The synergy isn't one-way. Training the model to be a better generator through introspection actually made it a superior semantic evaluator, outperforming many comprehension-only models.
  • Scaling Matters: The researchers found that "Aha moments" are an emergent property of scale. While the 7B parameter model excelled at self-correction, a smaller 1B version struggled to handle the complex reasoning required for visual CoT.
  • RL vs. SFT: SFT teaches the model to imitate reasoning, but RL teaches it to perform reasoning. RL was the key to moving beyond simple imitation to genuine autonomous exploration.

Key Results

Janus-Pro-R1 achieves state-of-the-art (SOTA) results across multiple dimensions:

  • GenEval: Achieved an overall score of 0.86, slightly edging out GPT-4o (0.85) and significantly outperforming the backbone Janus-Pro (0.80).
  • T2I-CompBench: Showed massive improvements in color and shape binding, outperforming concurrent "reasoning" models like T2I-R1.
  • Image Editing: On PIE-Bench, the model (Janus-Pro-R1-Edit) achieved a better balance between "fidelity" (keeping the original image's style) and "editability" (following the new instruction) than specialized editing models like InstructPix2Pix.
  • Semantic Evaluation: The model's self-assessment aligned with human-standard benchmarks at a rate of 81.1%, making it a powerful tool for judging other AI-generated content.

Limitations and Future Work

  • The Counting Problem: The model still lags behind some SOTA diffusion models in counting tasks (e.g., "draw exactly seven birds"). The authors attribute this to a lack of counting-specific data in their training set.
  • Aesthetic Quality: While the model is highly "obedient" to prompts, the aesthetic appeal of edited images sometimes falls short of the highest industry standards.
  • Future Directions: The team plans to use even larger computational resources to design more complex "interleaved" tasks, eventually moving toward a fully unified multimodal dialogue system where text and images are generated in a seamless, reasoning-driven flow.

Summary updated

BibTeX
@inproceedings{pan2025janus,
  author = {Kaihang Pan and Yang Wu and Wendong Bu and Kai Shen and Juncheng Li and Yingting Wang and liyunfei and Siliang Tang and Jun Xiao and Fei Wu and ZhaoHang and Yueting Zhuang},
  title = {{Janus-Pro-R1: Advancing Collaborative Visual Comprehension and Generation via Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=E7gH8L4yHi},
}
Figure