MedIGen: Towards Reliable Medical Illustration Generation via Interleaved Introspective Reasoning

Rongsheng Wang, Hongru Zhou, Ruizhe Zhou, Haoming Chen, Zhenyang Cai, Junying Chen, Minghao Wu, Yaofei Duan, Ziyi Zeng, Benyou WangNeurIPS 2026

TL;DR

Ask today’s best text-to-image models for a medical illustration, and you’ll get something gorgeous that might quietly connect the esophagus to the lungs. MedIGen solves this by abandoning "one-shot" image generation in favor of an internal "draw, critique, and redraw" loop within a single model. Together with a rigorous new expert-curated benchmark (IlluGenBench), it proves that teaching a small model to double-check its own anatomy beats simply throwing more parameters at the problem.

What Problem Does This Paper Address?

If an AI draws a cat with six toes, it’s a funny quirk; if it draws a surgical procedure out of order or misplaces a heart valve, it’s medically useless—or worse, misleading. Current text-to-image (T2I) models optimize for visual plausibility rather than biomedical validity.

When the authors had biomedical experts audit 100 illustrations from top models (including proprietary giants like GPT-Image-1 and Gemini), not a single model achieved a 50% fully acceptable rate. Because standard pipelines generate images in a single forward pass, they have no way to pause, look at their work, realize they hallucinated an extra vein, and fix it.

Medical illustration errors across commercial and open-source T2I models

Methods

Instead of bolting an external critic onto a diffusion model, the authors build upon Janus-Pro-7B, a unified autoregressive model. Because Janus-Pro treats both text and images as sequences of discrete tokens in a shared parameter space, it can seamlessly switch between "seeing" and "drawing."

MedIGen turns generation into an interleaved introspective reasoning loop (up to 3 rounds): it generates an initial image, writes a brief textual self-reflection checking for anatomical/semantic errors, and—if unsatisfied—regenerates the image conditioned on its own critique.

Figure 3: Overview of MedIGen training. Following domain-aligned pretraining, MedIGen is optimized through supervised mixture fine-tuning over generation, reflection, and refinement skills, and further improved with dual-level reinforcement learning that rewards both introspective validity and final visual correctness.

To make this work, the authors use a three-stage progressive training recipe:

  1. Domain-Aligned Pretraining: Adapting the base model to medical visuals and terminology.
  2. Sub-Skill Mixture SFT: Supervised fine-tuning on 150K samples that explicitly breaks the task into three learnable sub-skills: initial T2I generation, self-reflection, and conditioned re-generation.
  3. Dual-Level Reinforcement Learning: SFT alone leads to rote imitation of the critique format. Using Group Relative Policy Optimization (GRPO) and an external judge (Qwen3-VL-30B-A3B), the authors introduce dual-level rewards: a Generation Reward for image-prompt alignment, and an Understanding Reward that penalizes the model if its self-reflection disagrees with the external judge. This forces the reflection to be honest and causally useful.

Datasets

  • Training Data: Stage 1 curates 1.21 million medical illustration-caption pairs from the existing 24M BIOMEDICA corpus, followed by 150K high-quality samples for Stage 2 mixture training.
  • IlluGenBench (New Benchmark): Coarse text-image alignment metrics (like CLIP) miss subtle anatomical blunders. The authors introduce IlluGenBench: 296 diverse tasks across five categories (Anatomical, Surgical, Molecular/Cellular, Educational, and Disease). Rather than vague ratings, it uses 9,015 task-specific rubric criteria (about 30 per image, weighted from -5 to +5) drafted with GPT-5.1 and refined by junior and senior medical experts, evaluating Scientific Accuracy, Structural Correctness, and Semantic Alignment.
Figure 4: Benchmark Construction. (a) Initialization: GPT-5.1 utilizes metadata and illustration across five medical categories to synthesize initial prompts and rubrics. (b) Hierarchical Expert Refinement: Review process by junior and senior experts validates fidelity, yielding the final refined prompts and weighted scoring criteria.

Key Insights and Ideas

  • Introspection beats raw scale: A 7B model that knows how to critique and revise its work outperforms a 20B one-pass model (Qwen-Image-2512). However, capacity has a floor: applying this exact pipeline to a 1B model caused performance to degrade during RL, showing a minimum threshold of "brainpower" is needed to self-reflect.
  • Adaptive test-time compute: MedIGen doesn't waste energy redrawing everything. In practice, 80% of prompts pass self-reflection on the first try (adding just 1.58 seconds of latency over the base model). Extra compute is spent only on the hard 20% that actually need fixing.
  • Precision beats verbosity in rubrics: When building IlluGenBench, human experts trimmed MLLM-generated rubric lengths from ~52 words down to ~30 words. That conciseness jumped automated judge-human agreement (Macro F1) from 0.546 to 0.760.

Key Results

  • New Open-Source SOTA: On IlluGenBench, MedIGen (7B) achieves an average score of 0.618—leaping +0.29 over its Janus-Pro-7B base (0.328) and edging out the 20B Qwen-Image-2512 (0.601) across open-source T2I, unified, and reasoning baselines. (Proprietary giants like Gemini-3-Pro-Image still lead at 0.873, though MedIGen significantly narrows the gap).
  • Human Preference: In blind head-to-head human evaluations on 100 tasks, evaluators strongly preferred MedIGen over Janus-Pro-7B (77% win rate), Show-o2 (69%), BAGEL (57%), and FLUX.1-dev (44% wins vs. 34% losses).
Figure 5: Human preference evaluation. Wins indicate cases where evaluators preferred MedIGen over the compared model.

Limitations and Future Work

  • Knowing vs. Drawing: An expert audit of MedIGen's failures revealed a fascinating bottleneck: the model is much better at spotting errors than fixing them. During self-reflection, it often accurately diagnoses a pathological flaw, yet fails to translate that critique into corrected pixels during re-generation.
  • Abstract Pathology: While MedIGen excels at structured, diagrammatic tasks like Molecular illustrations (0.8253 score), it struggles with the visually complex and abstract Disease category (0.4605).
  • Automated Evaluation Gaps: Even with reference images and expert rubrics, the best MLLM judge (Gemini-3-Pro) reaches a 0.782 Macro-F1 agreement with human experts, leaving room for better automated medical evaluators.

Summary updated

Abstract

Medical illustration generation is not merely domain-specific text-to-image (T2I) generation, but a high-constraint visual reasoning problem where visually plausible images can be invalid due to anatomical and structural errors. Existing T2I models largely rely on one-pass generation and lack an internal mechanism to inspect and correct such biomedical inconsistencies. We introduce **MedIGen**, a unified medical illustration generation model that transforms one-pass synthesis into an interleaved introspection-aware refinement process, coupling generation with self-reflection and re-generation through ``generate--reflect--refine'' cycles. MedIGen is trained through three progressive stages. First, we perform large-scale medical illustration pretraining on 1.21M samples. Second, we conduct mixture training over generation, reflection, and refinement sub-skills. Finally, we apply reinforcement learning with dual-level rewards that optimize both reasoning validity and final visual correctness. We further present **IlluGenBench**, an expert-aligned rubric-driven benchmark with 296 diverse tasks and 9,015 criteria, evaluating scientific accuracy, structural correctness, and semantic alignment beyond coarse visual plausibility. Experiments show that MedIGen substantially outperforms strong open-source unified and reasoning-based baselines, improving the medical reliability of generated illustrations and establishing a new open-source frontier. Data, code, and models are available at https://github.com/FreedomIntelligence/MedIGen.
BibTeX
@inproceedings{wang2026medigen,
  author = {Rongsheng Wang and Hongru Zhou and Ruizhe Zhou and HAOMING CHEN and Zhenyang Cai and Junying Chen and Minghao Wu and Yaofei Duan and Ziyi Zeng and Benyou Wang},
  title = {{MedIGen: Towards Reliable Medical Illustration Generation via Interleaved Introspective Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=RyrXhwjZ2I},
}
Figure