Skip to content

MAIR-Lab-HUST/SciIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

84 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SciIR: A Large-scale Training Dataset and Benchmark for Scientific Image Reasoning Generation

ECCV 2026 Code Dataset Benchmark Homepage License

πŸŽ‰ Accepted to ECCV 2026 πŸŽ‰

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.


πŸ“– Abstract

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.


✨ Highlights

  • 🧠 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.

πŸ—οΈ The SciIR-82k Pipeline

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/:

  1. 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.
  2. 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.
  3. 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.


πŸ“¦ Dataset

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).

πŸ”¬ SciIR-Bench (Benchmark)

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.

Benchmark Scripts

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.

Usage

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.


πŸ€– Qwen-Image-SciIR

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.

Training Code

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

πŸ“Š Results

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.

πŸ“‚ Repository Structure

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

πŸ“œ Citation

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}, 
}

πŸ“„ License

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.


⭐ If you like this project, please give it a star β€” it helps others discover SciIR!

About

SciIR: A Large-scale Training Dataset and Benchmark for Scientific Image Reasoning Generation (ECCV 2026)

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors