cs.CVMar 30, 2026

MathGen: Revealing the Illusion of Mathematical Competence through Text-to-Image Generation

Authors: Ruiyao Liu, Hui Shen, Ping Zhang, Yunta Hsieh, Yifan Zhang, Jing Xu, Qi Han, Junchen Li, +11 more

Organizations: University of Pennsylvania · University of Michigan · The Ohio State University · USTC · Independent · City University of Hong Kong · University of Wisconsin · UCSB · University of Hong Kong · Peking University · Carnegie Mellon University

Abstract

Modern generative models have demonstrated the ability to solve challenging mathematical problems. In many real-world settings, however, mathematical solutions must be expressed visually through diagrams, plots, geometric constructions, and structured symbolic layouts, where correctness depends on precise visual composition. This naturally raises the question of whether generative models can still do so when the answer must be rendered visually rather than written in text? To study this problem, we introduce MathGen, a rigorous benchmark of 420 problems spanning seven core domains, including 350 Clean-Scene problems and 70 paired Open-Scene problems. Each problem is evaluated under a Script-as-a-Judge protocol with problem-specific verification criteria implemented through reusable executable scripts for deterministic and reproducible evaluation. Experiments on representative open-source and proprietary text-to-image models show that mathematical fidelity remains a major bottleneck: even the best closed-source model reaches only 53.7% overall accuracy, while open-source models achieve just 1--11%, often near 0% on structured tasks, particularly those requiring precise geometric and functional rendering. Overall, current T2I models remain far from reliable at even elementary mathematical visual generation.

Figures & tables

Explore similar work

CardsList
  1. Math-Vision Diagrams: A Comprehensive Benchmark for Evaluating LLM Mathematical Diagram Generation Capabilities

    Aug 9, 2026Harish Kashyap, Kiran Byadarhaly, Sriram Chakaravarthy +2LLM EvaluationT2I Generation Evaluation

  2. MathVis: Can AI Reason through Drawing? A Benchmark for Mathematical Figure Generation

    Oct 9, 2026Jingjing Wei, Hao Zhao, Xinke Li +3Mathematical Reasoning BenchmarksLLM Mathematical Reasoning