Project Homepage: https://sci-ir.vercel.app/sciir.html
Figure 1: Overview of SciIR. (a) SciIR-82k: keyword word cloud and distribution across semiotic-oriented image generation tracks. (b) Example figures from diverse domains. (c) Illustration of SciIR-Bench results across various open- and closed-source models, with a comparison of Intrinsic Reasoning vs. Instruction Following.
While Text-to-Image (T2I) models have shown remarkable success in generating photorealistic visual content, they still struggle with the rigorous semantic alignment and logical reasoning required for scientific imagery. Inspired by Peirce's Semiotic Triad, we introduce Scientific Image Reasoning (SciIR), a comprehensive resource for training and evaluation of scientific image generation.
We formalize scientific reasoning in three core dimensions: Entity Structure (Icon), Scientific Process (Index), and Scientific Law (Symbol). To overcome the scarcity of training data in scientific image generation, we elaborately create SciIR-82k, a large-scale dataset containing over 80,000 high-quality scientific imageβtext pairs from cutting-edge publications. The dataset is hierarchically organized according to the semiotic dimensions and incorporates a Scientific Reasoning Chain-of-Thought (Sci-RCoT) to explicitly model the underlying visual logic.
For evaluation, we propose SciIR-Bench, which aligns with these three semiotic levels and employs an Atomic Checklist to convert the outcome-oriented scientific accuracy into process-oriented, verifiable, fine-grained questions. Our extensive experiments reveal significant deficiencies in current models' scientific reasoning capabilities. Furthermore, by fine-tuning on the SciIR-82k dataset, we developed the Qwen-Image-SciIR model, which achieves a substantial improvement on the SciIR-Bench, increasing the final score from 35% to 43%, laying a solid foundation for future advances in scientific image generation.
- π§ A Principled Taxonomy. We ground scientific image reasoning in Peirce's Semiotic Triad, decomposing scientific correctness into three verifiable dimensions: Entity Structure (Icon), Scientific Process (Index), and Scientific Law (Symbol).
- π SciIR-82k Dataset. A large-scale refined dataset of >80,000 scientific imageβtext pairs sourced from Nature and Nature Communications, enhanced with Sci-RCoT annotations that explicitly formalize latent visual reasoning pathways.
- π¬ SciIR-Bench Benchmark. The first benchmark to systematically categorize evaluation tracks based on multidimensional scientific correctness, employing a novel Atomic Checklist to provide fine-grained, verifiable questions.
- π Qwen-Image-SciIR model. A strong open-source baseline that boosts the final SciIR-Bench score from 35% β 43% by fine-tuning Qwen-Image-2512, serving as a reliable starting point for future research.
SciIR-82k is grounded in a semiotic triad and constructed through a multi-stage automated pipeline for promoting scientific fidelity. The pipeline comprises three stages, with the core scripts provided under code/dataset&benchmark/:
- Corpus Construction β Collect open-access articles (CC BY 4.0) from Nature / Nature Communications, decompose multi-panel figures into semantically independent subfigures with YOLO11, standardize them to 1024Γ1024, and apply a two-stage VLM-based filtering pipeline (InternVL3.5) to retain valid schematics.
- Semiotic Stratification β Using Qwen3-VL as a domain-specific evaluator, assess each sample's relevance score on the three tracks (Entity Structure, Scientific Process, Scientific Law) and route images to the targeted annotation pipeline.
- Reasoning-Driven Annotation β Invert the forward generation chain via logical reverse engineering: reconstruct the latent Sci-RCoT from ground-truth images (Qwen3-VL for visual grounding, Qwen3-Max for semantic abstraction), then distill it into a concise, information-complete prompt.
π Comparison with existing datasets: SciIR-82k provides process-oriented supervision (Sci-RCoT) with both short and long text, while prior synthetic/non-synthetic datasets offer at most outcome-oriented or no reasoning supervision.
π€ Hugging Face: https://huggingface.co/datasets/MAIR-Lab-HUST/SciIR-82k
Figure 2: Overview of the SciIR-82k pipeline grounded in Peirceβs Semiotic Triad. Corpus construction (YOLO11, InternVL3.5) β semiotic stratification β reasoning-driven Sci-RCoT annotation (Qwen3).
The scripts used to build SciIR-82k are provided under code/dataset&benchmark/ for full transparency and reproducibility:
| Stage | Script | Description |
|---|---|---|
| 1. Corpus Construction | crop.py |
Decompose multi-panel figures into independent subfigures using YOLO11 document-layout analysis. |
fill.py |
Edge-aware padding to standardize subfigures to a 1024Γ1024 canvas. | |
| 2. Semiotic Stratification | classyfy.py |
Score each sample's relevance across the three semiotic tracks (Qwen3-VL) to route images to the targeted annotation pipeline. |
| 3. Reasoning-Driven Annotation | caption.py |
Reverse-engineer the Sci-RCoT (Qwen3-VL for visual grounding) and distill the synchronized abstract prompt (Qwen3-Max for semantic abstraction). |
Figure 3: An evaluation instance from SciIR-Bench. A prompt covering all four tracks guides various models in generating images. The output is then scrutinized by Gemini-3-Pro using a dimension-specific atomic checklist.
SciIR-Bench moves beyond traditional holistic image-quality metrics and instead measures whether models can faithfully instantiate structured scientific content β correctly rendering labeled entities, preserving spatial and topological relations, and accurately depicting multi-stage processes β without introducing unsupported elements or logical contradictions.
Key designs:
- Four-fold Track Grouping (N=200 each): a holistic group spanning all three tracks, plus pairwise intersections of LawβEntity, LawβProcess, and EntityβProcess.
- Adaptive Difficulty Stratification: each sample is split into Instruction Following (IF) (dense Sci-RCoT prompt) and Intrinsic Reasoning (IR) (abstract prompt), disentangling instruction adherence from internalized scientific reasoning.
- Atomic Checklist Evaluation: a term-driven, three-stage automated protocol (ground-truth extraction β atomic questioning β evidence-based refereeing) operated by Gemini-3-Pro, scored with a strict sample-level veto mechanism to penalize hallucinations.
The benchmark construction and evaluation scripts are provided under code/dataset&benchmark/:
| Step | Script | Description |
|---|---|---|
| 1. Candidate Selection | selectbenchmark.py |
Distill 800 high-quality test instances by term density (>3) and select samples spanning β₯2 semiotic tracks, then organize into the four evaluation groups. |
| 2. Checklist Generation | checklist.py |
Generate the term-driven, two-layer Atomic Checklist (Text rendering + track-customized scientific content + hallucination-defense negatives) via Gemini-3-Pro. |
| 3. Automated Evaluation | evaluation.py |
Score generated images against the checklist as a "Senior Scientific Reviewer" (Gemini-3-Pro), producing per-track, sample-level accuracy scores. |
cd code/dataset&benchmark
# 1) Build the benchmark candidate set & evaluation groups
python selectbenchmark.py
# 2) Generate the atomic checklists for each test sample
python checklist.py
# 3) Evaluate your model's generated images against the checklists
python evaluation.pyβοΈ Each script has a configuration block at the top β set your API keys, input/output paths, and the folder containing your model's generated images before running.
Figure 4: Qwen-Image-SciIR model architecture. A Reasoning Planner (LoRA-tuned Qwen2.5-7B-Instruct) first infers a comprehensive Sci-RCoT from the input prompt, which is then consumed by the Visual Generator (LoRA-tuned Qwen-Image-2512) to synthesize the final image.
We develop Qwen-Image-SciIR, a strong open-source baseline that decouples scientific reasoning from visual synthesis via two fine-tuned modules:
- Reasoning Planner β Qwen2.5-7B-Instruct fine-tuned on (prompt, Sci-RCoT) pairs with an all-linear LoRA configuration (r=64, Ξ±=16) to infer the reasoning chain.
- Visual Generator β Qwen-Image-2512 fine-tuned on (Sci-RCoT, image) pairs (LoRA r=32) at 1024Γ1024 resolution.
During inference, a chained generation flow ensures the reasoning module is actively engaged for every instance, maintaining a standard reasoning-to-rendering process throughout the benchmark.
The training scripts for both modules are provided under code/model/:
| Module | Script | Description |
|---|---|---|
| Reasoning Planner | reasoningplanner/sft_Qwen2.5-7B-Instruct.py |
LoRA SFT of Qwen2.5-7B-Instruct on (prompt, Sci-RCoT) pairs to infer the reasoning chain. |
| Visual Generator | visualgenerator/train.py |
LoRA training module for the Qwen-Image diffusion transformer on (Sci-RCoT, image) pairs (built on DiffSynth). |
visualgenerator/qwenimagelora.sh |
Launch script with the LoRA configuration (rank 32, lr 1e-4) used to fine-tune the visual generator. |
# 1) Fine-tune the Reasoning Planner (Qwen2.5-7B-Instruct)
python code/model/reasoningplanner/sft_Qwen2.5-7B-Instruct.py
# 2) Fine-tune the Visual Generator (Qwen-Image LoRA)
bash code/model/visualgenerator/qwenimagelora.sh
Table 1: Evaluation on SciIR-Bench. Accuracy Score (%) for Intrinsic Reasoning (IR), Instruction Following (IF), and overall performance across four tracks β Scientific Law (SL), Entity Structure (ES), Scientific Process (SP), and Text.
Key findings:
- π Fine-tuning works. Qwen-Image-SciIR lifts the Final Score from 35% β 43%, with the largest gains on Scientific Process (+16%) and Entity Structure (+9%), demonstrating that reasoning-dense training measurably improves scientific consistency beyond perceptual quality alone.
SciIR/
βββ assets/ # Figures used in this README
βββ benchmark_sample/ # Sample data from SciIR-Bench
β βββ instruction_following/ # IF samples with dense Sci-RCoT prompts
β β βββ All_Three/ # caption.json, checklist.json, metadata.json
β β βββ EntityStructure_ScientificLaw/
β β βββ EntityStructure_ScientificProcess/
β β βββ ScientificLaw_ScientificProcess/
β βββ intrinsic_reasoning/ # IR samples with abstract prompts
β βββ All_Three/ # caption.json, checklist.json, metadata.json
β βββ EntityStructure_ScientificLaw/
β βββ EntityStructure_ScientificProcess/
β βββ ScientificLaw_ScientificProcess/
βββ code/
β βββ dataset&benchmark/ # π§ͺ SciIR-82k construction & π¬ SciIR-Bench scripts
β β βββ crop.py # YOLO11 sub-figure extraction
β β βββ fill.py # Standardize to 1024Γ1024
β β βββ classyfy.py # Semiotic track relevance scoring
β β βββ caption.py # Sci-RCoT + prompt annotation
β β βββ selectbenchmark.py # Benchmark candidate selection & grouping
β β βββ checklist.py # Atomic checklist generation
β β βββ evaluation.py # Automated checklist evaluation
β βββ model/ # π€ Qwen-Image-SciIR training code
β βββ reasoningplanner/
β β βββ sft_Qwen2.5-7B-Instruct.py # Reasoning Planner LoRA SFT
β βββ visualgenerator/
β βββ train.py # Qwen-Image LoRA training module
β βββ qwenimagelora.sh # Visual Generator launch script
βββ README.md
If you find SciIR useful for your research, please consider citing our work:
@misc{ma2026sciirlargescaletrainingdataset,
title={SciIR: A Large-scale Training Dataset and Benchmark for Scientific Image Reasoning Generation},
author={Zhiyuan Ma and Zhengfeng Shi and Yuning An and Peize Li and Jiabao Wei and Ruijie Li and Junhao Xiao and Jianjun Li and Bowen Zhou},
year={2026},
eprint={2606.30124},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2606.30124},
}The code in this repository is released for academic research purposes. The SciIR-82k dataset is sourced from open-access articles licensed under CC BY 4.0 from Nature and Nature Communications. Please refer to the original publications for their respective licensing terms.