Image2Struct
Vision-language models turn images of webpages, LaTeX and musical scores into code that renders them. The render is compared with the input image.
Fresh test data is downloaded from active online communities at run time. Three releases from v1.0.0 to v1.0.2. HELM includes tasks for reconstructing chart data, LaTeX, sheet music, and web pages.
- Made by
- Stanford CRFM
- Released
- October 2024
- Kind
- Documents, charts and text in images
- Level
- University
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Measures
- Capability
- Subject
- Computer and information sciences, Arts
- Language
- English
- Interaction
- Single turn
- Items from
- Real work and use, Live play or votes
- Refresh
- Live
- Run by
- Anyone
- In views
- Vision, Kept fresh
- Strongest model tested
- Claude 3.5 Sonnet (October 2024) #151 on the capability index
- Last model added
- October 2024
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
In the authors’ words
We introduce Image2Struct, a benchmark to evaluate vision-language models (VLMs) on extracting structure from images. Our benchmark 1) captures real-world use cases, 2) is fully automatic and does not require human judgment, and 3) is based on a renewable stream of fresh data. In Image2Struct, VLMs are prompted to generate the underlying structure (e.g., LaTeX code or HTML) from an input image (e.g., webpage screenshot). The structure is then rendered to produce an output image (e.g., rendered webpage), which is compared against the input image to produce a similarity score. This round-trip evaluation allows us to quantitatively evaluate VLMs on tasks with multiple valid structures. We create a pipeline that downloads fresh data from active online communities upon execution and evaluates the VLMs without human intervention. We introduce three domains (Webpages, LaTeX, and Musical Scores) and use five image metrics (pixel similarity, cosine similarity between the Inception vectors, learned perceptual image patch similarity, structural similarity index measure, and earth mover similarity) that allow efficient and automatic comparison between pairs of images. We evaluate Image2Struct on 14 prominent VLMs and find that scores vary widely, indicating that Image2Struct can differentiate between the performances of different VLMs. Additionally, the best score varies considerably across domains (e.g., 0.402 on sheet music vs. 0.830 on LaTeX equations), indicating that Image2Struct contains tasks of varying difficulty. For transparency, we release the full results at https://crfm.stanford.edu/helm/image2struct/v1.0.1/.
GPT-4o leads with 94.7 among models released by October 2024 GPT-4o leads with 94.7 among models released by October 2024
Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.
The newest model with a score here came out in October 2024, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 94.7 GPT-4o
- 80.7 GPT-4o
- 79.0
Gemini 1.5 Pro
- 73.7 Claude 3.5 Sonnet
- 71.0
Gemini 1.5 Flash
- 70.2 GPT-4o mini
- 62.3 Claude 3 Opus
- 60.5 Claude 3.5 Sonnet (October 2024)
- 49.1 Claude 3 Sonnet
- 47.4
Gemini 1.0 Pro Vision
- 45.6 GPT-4 Turbo
- 43.0 palmyra-vision-003
- 41.2
Pixtral 12B
- 31.6 llava-v1.6-vicuna-13b
- 24.6 Qwen-VL-Chat
- 21.9
LLaVA-v1.5-13B
- 17.5
IDEFICS-9B-Instruct
- 12.3
Idefics2-8B
- 7.02
IDEFICS-80B-Instruct
- 1 GPT-4o Aug 2024 94.7
- 2 GPT-4o May 2024 80.7
- 3
Gemini 1.5 Pro Sep 2024 79.0
- 4 Claude 3.5 Sonnet 73.7
- 5
Gemini 1.5 Flash Sep 2024 71.0
- 6 GPT-4o mini 70.2
- 7 Claude 3 Opus 62.3
- 8 Claude 3.5 Sonnet (October 2024) 60.5
- 9 Claude 3 Sonnet 49.1
- 10
Gemini 1.0 Pro Vision 47.4
- 11 GPT-4 Turbo Nov 2023 45.6
- 12 palmyra-vision-003 43.0
- 13
Pixtral 12B 41.2
- 14 llava-v1.6-vicuna-13b 31.6
- 15 Qwen-VL-Chat 24.6
- 16
LLaVA-v1.5-13B 21.9
- 17
IDEFICS-9B-Instruct 17.5
- 18
Idefics2-8B 12.3
- 19
IDEFICS-80B-Instruct 7.02
Source: Official Image2Struct leaderboard
- 94.7 GPT-4o
- 80.7 GPT-4o
- 79.0
Gemini 1.5 Pro
- 73.7 Claude 3.5 Sonnet
- 71.0
Gemini 1.5 Flash
- 70.2 GPT-4o mini
- 62.3 Claude 3 Opus
- 60.5 Claude 3.5 Sonnet (October 2024)
- 49.1 Claude 3 Sonnet
- 47.4
Gemini 1.0 Pro Vision
- 45.6 GPT-4 Turbo
- 41.2
Pixtral 12B
- 31.6 llava-v1.6-vicuna-13b
- 24.6 Qwen-VL-Chat
- 21.9
LLaVA-v1.5-13B
- 17.5
IDEFICS-9B-Instruct
- 12.3
Idefics2-8B
- 7.02
IDEFICS-80B-Instruct
- 1 GPT-4o Aug 2024 94.7
- 2 GPT-4o May 2024 80.7
- 3
Gemini 1.5 Pro Sep 2024 79.0
- 4 Claude 3.5 Sonnet 73.7
- 5
Gemini 1.5 Flash Sep 2024 71.0
- 6 GPT-4o mini 70.2
- 7 Claude 3 Opus 62.3
- 8 Claude 3.5 Sonnet (October 2024) 60.5
- 9 Claude 3 Sonnet 49.1
- 10
Gemini 1.0 Pro Vision 47.4
- 11 GPT-4 Turbo Nov 2023 45.6
- 12
Pixtral 12B 41.2
- 13 llava-v1.6-vicuna-13b 31.6
- 14 Qwen-VL-Chat 24.6
- 15
LLaVA-v1.5-13B 21.9
- 16
IDEFICS-9B-Instruct 17.5
- 17
Idefics2-8B 12.3
- 18
IDEFICS-80B-Instruct 7.02
Source: Official Image2Struct leaderboard
| # | Entry | Score | Setting | Released | Run on | Source |
|---|---|---|---|---|---|---|
| 1 | GPT-4o Aug 2024 | 94.7 | Aug 2024 | Aug 2024 | Official leaderboard | |
| 2 | GPT-4o May 2024 | 80.7 | May 2024 | May 2024 | Official leaderboard | |
| 3 | | 79.0 | Sep 2024 | Official leaderboard | ||
| 4 | Claude 3.5 Sonnet | 73.7 | Jun 2024 | Jun 2024 | Official leaderboard | |
| 5 | | 71.0 | Aug 2024 | Official leaderboard | ||
| 6 | GPT-4o mini | 70.2 | Jul 2024 | Jul 2024 | Official leaderboard | |
| 7 | Claude 3 Opus | 62.3 | Feb 2024 | Feb 2024 | Official leaderboard | |
| 8 | Claude 3.5 Sonnet (October 2024) | 60.5 | Oct 2024 | Oct 2024 | Official leaderboard | |
| 9 | Claude 3 Sonnet | 49.1 | Feb 2024 | Feb 2024 | Official leaderboard | |
| 10 | | 47.4 | Jan 2024 | Official leaderboard | ||
| 11 | GPT-4 Turbo Nov 2023 | 45.6 | Nov 2023 | Official leaderboard | ||
| 12 | palmyra-vision-003 | 43.0 | Official leaderboard | |||
| 13 | | 41.2 | Sep 2024 | Official leaderboard | ||
| 14 | llava-v1.6-vicuna-13b | 31.6 | Jan 2024 | Official leaderboard | ||
| 15 | Qwen-VL-Chat | 24.6 | Aug 2023 | Official leaderboard | ||
| 16 | | 21.9 | Oct 2023 | Official leaderboard | ||
| 17 | | 17.5 | Jul 2023 | Official leaderboard | ||
| 18 | | 12.3 | Apr 2024 | Official leaderboard | ||
| 19 | | 7.02 | Jul 2023 | Official leaderboard |
| # | Model | Score | Setting | Released | Run on | Source |
|---|---|---|---|---|---|---|
| 1 | GPT-4o Aug 2024 | 94.7 | Aug 2024 | Aug 2024 | Official leaderboard | |
| 2 | GPT-4o May 2024 | 80.7 | May 2024 | May 2024 | Official leaderboard | |
| 3 | | 79.0 | Sep 2024 | Official leaderboard | ||
| 4 | Claude 3.5 Sonnet | 73.7 | Jun 2024 | Jun 2024 | Official leaderboard | |
| 5 | | 71.0 | Aug 2024 | Official leaderboard | ||
| 6 | GPT-4o mini | 70.2 | Jul 2024 | Jul 2024 | Official leaderboard | |
| 7 | Claude 3 Opus | 62.3 | Feb 2024 | Feb 2024 | Official leaderboard | |
| 8 | Claude 3.5 Sonnet (October 2024) | 60.5 | Oct 2024 | Oct 2024 | Official leaderboard | |
| 9 | Claude 3 Sonnet | 49.1 | Feb 2024 | Feb 2024 | Official leaderboard | |
| 10 | | 47.4 | Jan 2024 | Official leaderboard | ||
| 11 | GPT-4 Turbo Nov 2023 | 45.6 | Nov 2023 | Official leaderboard | ||
| 12 | | 41.2 | Sep 2024 | Official leaderboard | ||
| 13 | llava-v1.6-vicuna-13b | 31.6 | Jan 2024 | Official leaderboard | ||
| 14 | Qwen-VL-Chat | 24.6 | Aug 2023 | Official leaderboard | ||
| 15 | | 21.9 | Oct 2023 | Official leaderboard | ||
| 16 | | 17.5 | Jul 2023 | Official leaderboard | ||
| 17 | | 12.3 | Apr 2024 | Official leaderboard | ||
| 18 | | 7.02 | Jul 2023 | Official leaderboard |
Everything the board measures
The benchmark’s own leaderboard publishes 8 numbers for each entry: the headline score and 7 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Other measures
- Output tokens per task
- Image2LaTeX prompt tokens
- Image2LaTeX output tokens
- Image2webpage prompt tokens
- Image2webpage output tokens
- Image2musicsheet prompt tokens
- Image2musicsheet output tokens
- Headline
- Headline score
- Other measures
- Output tokens per task
- Image2LaTeX prompt tokens
- Image2LaTeX output tokens
- Image2webpage prompt tokens
- Image2webpage output tokens
- Image2musicsheet prompt tokens
- Image2musicsheet output tokens
- Headline
- Headline score
- Other measures
- Output tokens per task
- Image2LaTeX prompt tokens
- Image2LaTeX output tokens
- Image2webpage prompt tokens
- Image2webpage output tokens
- Image2musicsheet prompt tokens
- Image2musicsheet output tokens
- Hugging Face
- University of Wisconsin-Madison
- OpenAI
- Google DeepMind
- Anthropic
- Mistral AI
- not in our model list
Number one over time
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Official Image2Struct leaderboard
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official Image2Struct leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Vision
- MMMU In use 11.5K college-level multimodal questions across 30 subjects. Multiple-choice and open accuracy.
Qwen 3.6 Plus 86%
- MMMU-Pro In use Harder MMMU: college-level multimodal questions with more options and vision-only inputs to remove text shortcuts. GPT-5.6 Sol 84.6%
- CharXiv In use Chart understanding on real arXiv figures. Reasoning questions require synthesizing information from complex charts. Claude Fable 5 93.5%
- MathVista In use Math reasoning in visual contexts (charts, geometry, puzzles) from 31 datasets. Answer accuracy.
Seed2.1 Pro 90.7%
- MATH-Vision (MathVision) In use 3,040 competition math problems with visual context. Answer accuracy.
Qwen 3.8 Max 97.7%
- MMStar In use Models answer 1,500 human-curated image questions that cannot be solved without the image, across 6 core capabilities. Scored by accuracy.
Qwen 3.8 Max 85.9%
Data audit
8 of 9 checks pass, 1 warning. Look first at the Newest score check. The newest came 2 years ago, in October 2024, for Claude 3.5 Sonnet (October 2024). Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 2 pass 2 notes
- Pass Independent runs Scores from the official leaderboard (19 entries).
- Pass Models scored 18 models we track, plus 1 other entry on its leaderboard.
- Warning Newest score The newest came 2 years ago, in October 2024, for Claude 3.5 Sonnet (October 2024).
- Note Frontier models None of the top 10 has a score. The strongest tested is Claude 3.5 Sonnet (October 2024) (#151).
- Note Headroom Scored as a plain number, with no fixed ceiling.
Leaderboard import 3 pass
- Pass Importer We read the board on crfm.stanford.edu: 19 rows for models we track and 1 other entry at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.