Skip to content
yushaohanPublic

About

🍽️ This repo is the official implementation of "IntReal: A Real-World Dataset and Benchmark for Multimodal Interleaved Generation"

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

26 Commits

Folders and files

Repository files navigation

IntReal: A Real-World Dataset and Benchmark for Multimodal Interleaved Generation

Shaohan Yu1,2, Jie Qin2, Wende Tan3, Haiwen Diao4, Limeng Qiao2, Yueming Lyu1, Chenyang Si1,†

1 PRLab, Nanjing University Β  2 Meituan
3 Imperial College London Β  4 S-Lab, Nanyang Technological University

πŸ“„ Paper Β· 🌐 Project Page Β· πŸ€– Models Β· πŸ€— Dataset Β· πŸ† Leaderboard Β· 🎬 Video

IntReal.mp4

πŸ”₯ News & Updates

  • [2026.10.30] Our paper is now available on arXiv!
  • [2026.10.30] Day-0 release: our dataset, leaderboard, and fine-tuned models are available on Hugging Face. Try them out! We welcome your feedback!

πŸš€ Quick Start

IntReal evaluation can run on a single common GPU with 80 GB of memory, such as an NVIDIA A100 80GB or H100 80GB. Before evaluation, complete the following preparation steps. Run all commands from the repository root.

  1. Prepare the environment with uv. Install the project dependencies with uv sync --locked, then activate the environment with source .venv/bin/activate.

  2. Prepare the benchmark images. Follow benchmark/README.md to download the evaluation images from Hugging Face and extract them into the expected directory.

  3. Prepare the expert models. Follow experts/README.md to download DINOv3 and RALI to the recommended locations. You also need to download and deploy a VLM as an API service for judging. The VLM serving environment is separate from this project's evaluation environment.

Once everything is ready, create a .env file in the repository root with your deployed model name, API base URL, and API key:

cat > .env <<'EOF'
export INTREAL_API_MODEL=gemma4
export INTREAL_API_BASE_URL=http://localhost:8000/v1
export INTREAL_API_KEY=EMPTY
EOF

Use the model name exposed by your service and replace the URL with its actual address. If your service requires authentication, replace EMPTY with its API key. The .env file is excluded from Git. evaluate.py first checks the three variables in the shell environment, then automatically fills missing or empty values from the .env beside the script. Existing non-empty shell values take precedence. If any required value is still missing or empty, evaluation exits with an error before loading models.

Run the bundled single-sample test:

python evaluate.py --model test --benchmark test

If the environment is configured correctly, the evaluation results are saved to results/test/test.jsonl.

🦁 Model Zoo

Our released models are available in the IntReal Hugging Face collection.

Model family SFT SFT + RL
Bagel IntReal-Bagel-SFT IntReal-Bagel-SFT-RL
SenseNova-U1-8B-MoT IntReal-U1-8B-MoT-SFT IntReal-U1-8B-MoT-SFT-RL

πŸ€– Inference

We provide inference scripts for Bagel and SenseNova-U1, covering both self-forcing (SF) interleaved generation and teacher-forcing (TF) image generation conditioned on ground-truth context.

See inference/README.md for backend installation, checkpoint preparation, generation commands, multi-GPU execution, and resuming interrupted runs. The scripts save outputs in the format expected by the evaluation pipeline below.

πŸ” Evaluation

After generation, save model outputs as outputs/<model_name>/<benchmark_name>.jsonl, with one JSON object per sample:

outputs/
└── my-model/
    β”œβ”€β”€ IntReal.jsonl
    └── images/
        β”œβ”€β”€ sf_0001.png
        └── tf_0001.png

Each record stores the sample ID and an ordered sequence of text and image blocks. For example (formatted across multiple lines for readability):

{
  "model": "my-model",
  "eval_set": "IntReal",
  "eval_set_id": 1,
  "response_sf": [
    {"type": "text", "content": "The first step is..."},
    {"type": "image", "content": "outputs/my-model/images/sf_0001.png"},
    {"type": "text", "content": "Next..."}
  ],
  "response_tf": [
    {"type": "image", "content": "outputs/my-model/images/tf_0001.png"}
  ]
}

eval_set_id must match the sample's id in benchmark/<benchmark_name>.jsonl. Image paths must point to local files; relative paths are resolved from the repository root. Preserve the generation order of the blocks.

response_sf corresponds to holistic evaluation in our paper. Since this setting involves open-ended generation, we refer to it as self-forcing (SF) by analogy. response_tf corresponds to fine-grained evaluation, where generation is conditioned on ground-truth context; we refer to this setting as teacher-forcing (TF) by analogy.

Activate the environment and export the API settings from .env, then run evaluation from the repository root:

source .venv/bin/activate
python evaluate.py --model my-model --benchmark IntReal

The results are written to results/my-model/IntReal.jsonl.

Optional arguments:

Argument Default Description
--concurrency 20 Maximum number of samples evaluated concurrently.
--config-dir config Directory containing experts.yaml, metrics.yaml, and prompts.yaml.
--output-dir outputs Root directory of model outputs; the runner reads <output-dir>/<model>/<benchmark>.jsonl.
--result-dir results Root directory for evaluation results.

For example: python evaluate.py --model my-model --benchmark IntReal --concurrency 4 --result-dir results-new.

πŸ–ΌοΈ Viewer

Browse benchmarks, compare reference and SF/TF responses, and export evaluation reports as CSV:

source .venv/bin/activate
python -m viewer.app

Open http://127.0.0.1:8420. The viewer reads benchmark/, outputs/, and results/ without loading models or calling APIs.

πŸ™ Acknowledgement

We thank the teams behind Bagel, Emu3.5, and SenseNova-U1 for their contributions to open-source unified multimodal models (UMMs). We also thank the Flow-Factory team for providing the reinforcement learning training framework, and the SEED-Story team for collecting and releasing interleaved image-text storytelling data.

©️ Licence

If you plan to use IntReal for commercial purposes, please let me know at shaohan.yu@smail.nju.edu.cn.

πŸ“§ Contact

For a faster response, we recommend contacting the first author Shaohan at shaohan.yu@smail.nju.edu.cn. If you prefer to communicate in Chinese, you can also reach him on WeChat: SeanShaohanYu. Alternatively, you may contact the corresponding author Chenyang at chenyang.si@nju.edu.cn.

πŸ“‘ Citation

@misc{yu2026intrealrealworlddatasetbenchmark,
      title={IntReal: A Real-World Dataset and Benchmark for Multimodal Interleaved Generation}, 
      author={Shaohan Yu and Jie Qin and Wende Tan and Haiwen Diao and Limeng Qiao and Yueming Lyu and Chenyang Si},
      year={2026},
      eprint={2610.38425},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2610.38425}, 
}

About

🍽️ This repo is the official implementation of "IntReal: A Real-World Dataset and Benchmark for Multimodal Interleaved Generation"

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Contributors

Languages