Datasets:
task_id stringlengths 19 106 | input_image imagewidth (px) 242 12.6k | target_image imagewidth (px) 242 12.6k | instruction stringlengths 186 3.52k | input_svg stringlengths 1.76k 10.8M ⌀ | checklist stringlengths 1.48k 13.2k ⌀ | panels listlengths 0 21 |
|---|---|---|---|---|---|---|
2001.09326_pics_Model_3_4 | In the lower-right "Autoregression" area, replace the blue stick-figure pose line-drawings with grayscale 3D-rendered human-pose thumbnails on dark square backgrounds. Replace the three blue outline poses to the right of the small autoregression blocks with three small, evenly spaced dark-background thumbnails of the s... | <svg xmlns="http://www.w3.org/2000/svg" width="3434" height="3840" viewBox="0 0 3434 3840">
<defs>
<marker id="arrowSmall" markerWidth="12" markerHeight="8" refX="0" refY="4" orient="auto" markerUnits="userSpaceOnUse">
<path d="M0,0 L12,4 L0,8 Z" fill="#000000"/>
</marker>
<marker id="arrowCurve" ma... | [{"id": "q1", "q": "In the 'Autoregression' row, were the three blue outline stick-figure poses (to the right of the small autoregression blocks) replaced by three small, evenly spaced dark-background grayscale 3D-rendered human-pose thumbnails (successive cropped poses of the same figure)?", "format": "multi_choice", ... | [] | ||
2003.09044_figures_overview_1_2 | "Enlarge the bottom-center \"Goal Image\" box (making it taller) and add a centered blue square goal(...TRUNCATED) | "<svg width=\"3840\" height=\"2097\" viewBox=\"0 0 3840 2097\" xmlns=\"http://www.w3.org/2000/svg\">(...TRUNCATED) | "[{\"id\": \"q1\", \"q\": \"Was the bottom-center 'Goal Image' box enlarged and a centered blue squa(...TRUNCATED) | [] | ||
2004.05273_figures_trace_1_2 | "In the panel (a) legend, add one new entry: a yellow star marker labeled \"Goal position (robot)\" (...TRUNCATED) | "<svg width=\"3840\" height=\"1718\" viewBox=\"0 0 3840 1718\" xmlns=\"http://www.w3.org/2000/svg\">(...TRUNCATED) | "[{\"id\": \"q1\", \"q\": \"In the panel (a) legend, was a new entry added - a yellow star marker la(...TRUNCATED) | [] | ||
2004.11145_arch_4_5 | "Swap the positions of the left and right panels in both rows of the figure, keeping the central \"C(...TRUNCATED) | "<svg width=\"3840\" height=\"2176\" viewBox=\"0 0 3840 2176\" xmlns=\"http://www.w3.org/2000/svg\">(...TRUNCATED) | "[{\"id\": \"q1\", \"q\": \"In the top row (Centralized Actor-critic Framework), has the 'Parameter (...TRUNCATED) | [] | ||
2004.11588_Framework_1_2 | "Replace the small \"FM\" box at the top with a wide \"Factorization Machine Layer\" bar that spans (...TRUNCATED) | "<svg width=\"3304\" height=\"3840\" viewBox=\"0 0 3304 3840\" xmlns=\"http://www.w3.org/2000/svg\">(...TRUNCATED) | "[{\"id\": \"q1\", \"q\": \"Has the small 'FM' box at the top been replaced with a wide bar labeled (...TRUNCATED) | [] | ||
2004.12027_fig_method_1_2 | "Add a single flat lavender (light purple) horizontal bar in the open black area above the \"Efficie(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"3840\" height=\"914\" viewBox=\"0 0 3840 914\">\n(...TRUNCATED) | "[{\"id\": \"q1\", \"q\": \"Was a single flat lavender (light purple) horizontal bar added in the op(...TRUNCATED) | [] | ||
2004.14257_images_add-tagger_1_2 | "Recolor the large rounded background panel from gray to pale blue with a blue outline. In the top i(...TRUNCATED) | "<svg width=\"3840\" height=\"1835\" viewBox=\"0 0 3840 1835\" xmlns=\"http://www.w3.org/2000/svg\">(...TRUNCATED) | "[{\"id\": \"q1\", \"q\": \"Was the large rounded background panel recolored from gray to pale blue (...TRUNCATED) | [] | ||
2005.05298_figures_example_2_3 | "Restructure the figure from a two-column layout into a vertically stacked layout. In v_old the numb(...TRUNCATED) | "<svg width=\"3840\" height=\"2780\" viewBox=\"0 0 3840 2780\" xmlns=\"http://www.w3.org/2000/svg\">(...TRUNCATED) | "[{\"id\": \"q1\", \"q\": \"Has the overall layout changed from a two-column arrangement (dialog lef(...TRUNCATED) | [] | ||
2005.08083_figures_Figure-AutoML_2_3 | "Move the \"Prior Knowledge From Specialists\" box from its current position at the top-center of th(...TRUNCATED) | "<svg width=\"3840\" height=\"2345\" viewBox=\"0 0 3840 2345\" xmlns=\"http://www.w3.org/2000/svg\">(...TRUNCATED) | "[{\"id\": \"q1\", \"q\": \"Has the 'Prior Knowledge From Specialists' box moved from the top-center(...TRUNCATED) | [] | ||
2005.13013_stilts_crosslingual_method_2_3 | "Remove the top-left legend block that reads \"EN English\" and \"Multilingual\" (with its two color(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"3840\" height=\"1935\" viewBox=\"0 0 3840 1935\">(...TRUNCATED) | "[{\"id\": \"q1\", \"q\": \"Was the top-left legend block containing 'EN English' and 'Multilingual'(...TRUNCATED) | [] |
Every task pairs a figure as it appeared in one version of a paper with the same figure after the authors revised it, together with a natural-language instruction describing the change and a checklist for grading an attempted edit.
Because each pair comes from an actual revision, the edits reflect what authors genuinely wanted to change rather than synthetic perturbations.
Examples
Reflow and duplicate
"Rotate the entire diagram from a vertical (top-to-bottom) flow into a horizontal (left-to-right) flow and duplicate the transformer block so two identical block groups appear side by side. […] Relabel the MLP's inner blocks from FC1/FC2 to FC3/FC4. […] All internal block text is rotated 90° to read vertically."
Task 2106.13700_figures_Transformer_search_space_3_4
Rearrange into a new grid
"Rearrange the figure from its original three-row layout into a new two-column layout. […] Keep all existing connectors (preserved from v_old, just reoriented for the two-column layout) […] and do not add any new connectors. Finally, change the content of the 'Textual Choices' panel from 'LABEL: G' to 'CHOICE: G'."
Task 2401.01614_figs_figure2_5_6
What a task looks like
Each task directory is named <arxiv_id>_<figure_path>_<old_version>_<new_version>:
<arxiv_id>_<figure_path>_<old>_<new>/
├── input.svg vector source, before the revision
├── input.png rendered figure, before
├── target.png rendered figure, after
├── instruction.md what the authors changed, in natural language
├── checklist.json grading criteria for an attempted edit
├── sample.json task metadata
└── panels/ raster assets the SVG references (only where needed)
Some tasks additionally carry a method.md describing the figure in prose. items.json at the
repository root indexes the tasks.
Loading
load_dataset returns one row per task, carrying the complete task:
from datasets import load_dataset
ds = load_dataset("yashengsun/SciDiagramRevision", split="test")
row = ds[0]
row["task_id"], row["instruction"]
row["input_image"], row["target_image"] # PIL images, before and after
row["input_svg"] # editable vector source
row["checklist"] # grading criteria, JSON string
row["panels"] # raster assets the SVG references
Roughly a third of the figures reference their raster assets by relative path
(panels/icon_*.png) rather than embedding them, so write those files back out alongside the SVG
before rendering it:
import json, os
os.makedirs("task/panels", exist_ok=True)
with open("task/input.svg", "w") as f:
f.write(row["input_svg"])
for p in row["panels"]:
p["image"].save(os.path.join("task/panels", p["file_name"]))
The original files remain browsable in the repository, so a plain download works too:
hf download yashengsun/SciDiagramRevision --repo-type dataset --local-dir SciDiagramRevision
Intended use
The benchmark is designed for agents that edit the vector source of a figure rather than regenerate it as pixels, so that changes remain precise, local, and reversible.
An attempt is scored against the checklist rather than by pixel distance to the target, since more than one correct edit can satisfy a given instruction. Checklists also cover parts of the figure the instruction did not mention, which makes the benchmark sensitive to over-editing as well as under-editing.
Licensing
The figures are drawn from arXiv submissions and remain under whatever licence each source paper carries. arXiv's default licence does not grant redistribution rights; only papers released under CC BY, CC BY-SA, or CC0 may be redistributed freely. Check the licence of a source paper before reusing its figure outside the terms of that paper.
Citation
If you use this dataset, please cite:
@article{sun2026scidiagramedit,
title = {SciDiagramEdit: Learning to Edit Scientific Diagrams from Paper Revisions},
author = {Sun, Yasheng and Zeng, Zezi and Yang, Yifan and Luo, Chong and
Wang, Wenyi and Liu, Ziwei and Schmidhuber, J\"urgen},
journal = {arXiv preprint arXiv:2607.15272},
year = {2026},
url = {https://arxiv.org/abs/2607.15272}
}
- Downloads last month
- 53