A unified benchmark for evaluating accurate, efficient, and generalizable multimodal LLM routers.
Haoxuan Ma† ·
Guannan Lai† ·
Han-Jia Ye
Nanjing University · †Equal contribution
ECCV Final PDF • Proceedings • arXiv Preprint • Dataset • Quick Start • Results • Citation
- October 4, 2026 — The ECCV 2026 proceedings version is published. The conference final PDF and BibTeX are available below.
- August 2026 — Accepted to ECCV 2026! 🎉
- August 2026 — MMR-Bench V2 is now available on Hugging Face. V2 expands the benchmark to 18 datasets and 44 multimodal models, with a normalized and reproducible data release.
Multimodal LLM routing selects the best model for each incoming request instead of sending every request to a single model. MMR-Bench evaluates this decision under realistic accuracy–cost trade-offs and across diverse visual reasoning tasks.
The benchmark is designed around three questions:
- Effectiveness: Can a router improve accuracy while controlling inference cost?
- Generalization: Does the routing policy transfer across datasets and task distributions?
- Modality: How well do text, image, and joint multimodal representations support routing?
This repository provides the routing baselines and offline evaluation pipeline. The complete benchmark data is distributed separately through MMR-Bench V2 on Hugging Face.
| Component | Description |
|---|---|
| Benchmark | 18 datasets spanning general VQA, OCR, document and chart understanding, mathematical reasoning, spatial perception, and hallucination robustness |
| Routing setting | Offline, cost-aware model routing with per-instance model outcomes |
| Baselines | Random, Oracle, k-NN, K-Means, linear and MLP routers, matrix-factorization variants, and CMR |
| Evaluation | Accuracy–cost curves and routing metrics including nAUC, Ps, and QNC |
| Analysis | In-distribution evaluation, cross-dataset generalization, and cross-modality transfer |
Download the latest release: 🤗
gh0stHunter/MMR-Bench-V2
V2 unifies the benchmark into a consistent release with:
- 18 benchmark datasets organized by capability;
- evaluation results covering 44 multimodal models;
- standardized instance metadata and per-model outcomes;
- CSV and normalized Parquet artifacts for downstream analysis;
- manifests, model metadata, checksums, and validation utilities for reproducibility.
The Hugging Face data card documents the current file layout, schemas, coverage, and known issues. Large data artifacts are intentionally hosted there instead of in this Git repository.
The ECCV 2026 paper evaluates 10 candidate models on 8 datasets, with 11,000 instances across three routing scenarios. MMR-Bench V2 is the expanded data release covering 18 datasets and 44 multimodal models. When comparing with the paper's tables, use the candidate pools, dataset combinations, splits, and cost definitions specified in the conference final version.
The Springer proceedings record is the published version; the arXiv entry hosts the earlier preprint.
MMR-Bench requires Python 3.9 or newer.
git clone https://github.com/Hunter-Wrynn/MMR-Bench.git
cd MMR-Bench
pip install -e .Install the optional embedding dependencies to run CLIP/OpenCLIP and sentence-transformer based routers:
pip install -e '.[embedding]'To use the Hugging Face download helper, install the hf extra:
pip install -e '.[hf]'Generate a small synthetic benchmark and run a router end to end:
python scripts/make_toy_data.py
mmrbench \
--data-root data/toy \
--dataset toy \
--mode 22 \
--router kmeansnewThe command writes an accuracy–cost curve to outputs/ and prints a JSON summary containing nAUC, Ps, and QNC. The equivalent module entry point is python -m mmrbench.
python scripts/prepare_hf_mmr_bench.py \
--repo gh0stHunter/MMR-Bench-V2 \
--dest dataYou can set HF_HOME to choose a different Hugging Face cache directory. See data/README.md and the V2 data card for the complete layout.
Dataset names can be joined with + to evaluate a combined routing scenario:
mmrbench \
--data-root data \
--dataset ocrbench+seedbench+mmstar \
--mode 22 \
--router linearmfThe two digits in --mode specify the train and test modalities:
| Value | Modality |
|---|---|
1 |
Text |
2 |
Multimodal (text + image) |
3 |
Image |
For example, 22 evaluates multimodal-to-multimodal routing, while 12 trains with text features and evaluates on multimodal inputs.
MMR-Bench performs offline routing over precomputed model outcomes. At minimum, each instance contains:
dataset_idx: globally unique instance identifier;question: input question;img_path: optional path to the associated image;<model>_correct: per-model outcome or score;<model>_cost: per-model cost in any consistent unit.
The V2 release additionally retains normalized predictions, token counts, benchmark metadata, and validation status where available. See the Hugging Face data card for the authoritative V2 schema.
This codebase focuses on routing algorithms and offline evaluation. To reproduce a run:
- download the MMR-Bench V2 outcomes and corresponding image data;
- place or link the data under
data/; - select the dataset combination, modality mode, and router;
- run
mmrbenchand compare the generated cost–accuracy curve and summary metrics.
Use --random-state for deterministic data splits. Router-specific options such as --n-clusters, --knn-k, --mf-rank, and --epochs are exposed through the command-line interface.
Contributions to routing methods, benchmark adapters, evaluation, and documentation are welcome. Please see CONTRIBUTING.md before opening a pull request.
If you find MMR-Bench useful, please cite the published ECCV 2026 paper:
@inproceedings{ma2026mmrbench,
title = {{MMR-Bench}: A Comprehensive Benchmark for Multimodal {LLM} Routing},
author = {Ma, Haoxuan and Lai, Guannan and Ye, Han-Jia},
booktitle = {Computer Vision -- ECCV 2026},
series = {Lecture Notes in Computer Science},
volume = {17058},
pages = {610--626},
publisher = {Springer Nature Switzerland},
address = {Cham},
year = {2026},
doi = {10.1007/978-3-032-37083-9_34},
url = {https://doi.org/10.1007/978-3-032-37083-9_34}
}This repository is released under the MIT License.

