TL;DR
While reasoning-focused LLMs have made massive leaps, modern text-to-image (T2I) models still struggle to generate structured, explanatory visuals like scientific diagrams and educational infographics. This paper introduces MMMG, an expert-validated benchmark spanning 10 disciplines and 6 educational tiers, evaluated using a knowledge-graph alignment metric (MMMG-Score). Even state-of-the-art models like GPT-4o score only 50.20 out of 100, while the authors' open-source, reasoning-guided baseline—FLUX-Reason—boosts generation performance to 34.45.
What Problem Does This Paper Address?
Standard text-to-image benchmarks evaluate prompt adherence, compositionality (e.g., “a red cube on a blue plate”), or aesthetic appeal. However, they almost entirely ignore deep multimodal reasoning.
Humans frequently rely on "knowledge images"—such as flowcharts, anatomical diagrams, and economic curves—to understand complex ideas. Producing these requires an AI system to take a concise, underspecified prompt (e.g., “Illustrate the structure of a neuron and the process of action potential propagation”), infer domain-specific concepts, plan spatial relationships, and render legible text and symbols. Existing perceptual metrics (like FID, CLIP-Score, or aesthetic predictors) cannot verify whether visual facts and dependencies are structurally correct or readable.
Methods
To benchmark and improve reasoning in image generation, the authors introduce a unified evaluation framework and an open-source model:
- Unified Knowledge Graph (KG) Representation: Abstracting visuals into formal graphs $G = (\mathcal{E}, \mathcal{D})$. Entities ($\mathcal{E}$) represent nodes, while edges ($\mathcal{D}$) define domain-agnostic predicates like
Defines,Contains,Causes,Requires, andTemporalOrder. - MMMG-Score: A multiplicative composite metric combining semantic fidelity and visual legibility: $$\text{MMMG-Score}(Y_{\text{gen}}) = R(n_{\text{vis}}) \cdot [1 - \text{GED}(G_{\text{gen}}, G_{\text{ref}})]$$
- Knowledge Fidelity ($1 - \text{GED}$): OpenAI-o3 performs visual reasoning to ground the reference KG ($G_{\text{ref}}$) onto the generated image to extract a depicted subgraph ($G_{\text{gen}}$). The score is computed using normalized Graph Edit Distance.
- Visual Readability ($R$): Segment Anything Model v2.1 (SAM-2.1) and PaddleOCR segment the image into coherent visual and text units. An excessive number of fragmented regions ($n_{\text{vis}} \ge 160$) penalizes visual clutter and hallucinations that might otherwise game an LLM judge.
- FLUX-Reason Baseline: A cascaded architecture where a reasoning LLM (e.g., DeepSeek-R1 or o3) generates a detailed Chain-of-Thought (CoT) and visual planning trace. This trajectory is passed through an extended T5 text encoder (up to 2,048 tokens) into a LoRA-fine-tuned
FLUX.1-[dev]diffusion model.
Prompt X + Reference KG
│
▼
Reasoning LLM (DeepSeek-R1 / o3) ──► Generates CoT Layout & Concept Plan
│
▼
Extended T5 Encoder (2048 tokens) ──► Guides FLUX Diffusion Model ──► Legible Knowledge Image
Datasets
- MMMG Benchmark: Comprises 4,456 expert-validated prompt–image pairs with corresponding ground-truth KGs.
- Covers 10 disciplines: Biology, Chemistry, Mathematics, Engineering, Geography, Economics, Sociology, Philosophy, History, and Literature.
- Spans 6 educational tiers: Pre-school, Primary, Secondary, High School, Undergraduate, and PhD.
- ~77% of benchmark visuals are sourced from real-world, human-designed graphics.
- Training Corpus: 16,000 curated synthetic image–prompt–KG triplets generated via GPT-4o, used to supervise FLUX-Reason.
Key Insights and Ideas
- Reasoning vs. Verbosity: Simple prompt expansion (recaptioning) hurts performance on higher-tier knowledge prompts. True structured reasoning (explicit entity selection, dependency modeling, and spatial layout planning) is necessary for accurate image generation.
- The Complexity Cliff: While most models achieve reasonable scores at preschool levels (20–30), almost all collapse at the PhD level (scoring below 10), reflecting failures in abstract concept mapping and relational composition.
- Evaluation Alignment: MMMG-Score correlates strongly with expert human judgment ($r = 0.876$), dramatically outperforming general LLM judges like WiScore ($r = 0.701$), FID ($r = -0.774$), and Aesthetic Predictors ($r = 0.215$).
- Distinct Failure Modes:
- Proprietary models like GPT-4o produce visually clean images but frequently omit relational dependencies (e.g., causal arrows or functional connections).
- Open-source models (e.g., SDXL, Infinity) primarily suffer from illegible typography, low entity recall, and severe visual clutter.
Key Results
The authors evaluated 21 competitive T2I models alongside FLUX-Reason variants:
| Model | Architecture | Pre-school | High School | PhD | Average MMMG-Score |
|---|---|---|---|---|---|
| LlamaGen | AR | 8.24 | 1.44 | 1.14 | 3.02 |
| SDXL-1.0 | DM | 23.41 | 16.26 | 9.29 | 15.90 |
| FLUX.1-[dev] | DM | 29.80 | 16.12 | 12.30 | 19.13 |
| FLUX.1-[pro] | DM | 42.27 | 23.40 | 18.61 | 27.14 |
| HiDream-I1-Full | DM | 42.86 | 23.39 | 20.05 | 28.04 |
| Gemini Nano Banana | MM | 49.46 | 48.85 | 39.07 | 45.73 |
| GPT-4o | MM | 64.78 | 51.29 | 38.60 | 50.20 |
| FLUX-Reason (R1) | DM + LLM | 49.10 | 33.65 | 22.57 | 34.45 |
- FLUX-Reason (R1) outperforms its base model (
FLUX.1-[dev]) by +15.32 points, setting an open-source baseline. - Disciplinary differences are pronounced: symbolic, structured domains like Chemistry and Engineering outperform abstract, irregular domains like Biology and Sociology.
Limitations and Future Work
- LLM Grounding Bottleneck: Extracting grounded knowledge graphs via vision-language models (e.g., OpenAI-o3) remains difficult when images contain dozens of fine-grained entities and overlapping relationships.
- Data Scarcity: Gathering high-resolution, factually accurate knowledge images across fragmented academic curricula is challenging.
- Open vs. Proprietary Gap: A considerable gap remains between open-weight diffusion baselines (34.45) and proprietary multimodal models like GPT-4o (50.20). Future efforts must explore multimodal pretraining architectures, reinforcement learning with layout rewards, and scaled CoT training.
Summary updated