hf_mirrors/RobustRouteBench
Datasets
Dataset viewer
Files & versions

RobustRouteBench

SinapisAI RobustRouteBench: a benchmark for robust model selection across General Text, Multimodal, and Chinese.

RobustRouteBench evaluates request-level model selection under quality and cost trade-offs across General Text, Multimodal, and Chinese. It accompanies Section 6.3 of Toward Collective Model Intelligence: Characterizing and Coordinating Models.

Technical report · Code · Data fields · Multimodal images · Source attribution and terms

Dataset overview

Scenario / configModelsTrainValidationStandard testRobust test
General Text / text633,0005003,6882,894
Multimodal / multimodal454,0005004,6001,900
Chinese / chinese107,5905003,9002,000
TotalScenario-specific14,5901,50012,1886,794

The dataset contains 35,072 request instances, including 18,982 test requests. Each scenario has its own candidate pool. The test populations above are exactly those used in the technical report.

train is used for fitting selectors, validation for configuration selection, and test for reporting results. Each validation split contains 400 standard and 100 robust requests. The supplied test split is ready for evaluation: use all its rows directly. Standard and robust results are slices of that same test split, identified by evaluation_type.

Quick start

from collections import Counter
from datasets import load_dataset

ds = load_dataset(
    "SinapisAI/RobustRouteBench", "text",
    revision="03bd3da2c3bb4a998f73d285c8853c721697e3cb",
)
print({split: len(rows) for split, rows in ds.items()})
# {'train': 3000, 'validation': 500, 'test': 6582}
print(Counter(ds["test"]["evaluation_type"]))
# Counter({'standard': 3688, 'robust': 2894})

standard = ds["test"].filter(lambda row: row["evaluation_type"] == "standard")
robust = ds["test"].filter(lambda row: row["evaluation_type"] == "robust")

Use "multimodal" or "chinese" for the other scenarios. Their test sizes are 6,500 and 5,900, respectively.

Data fields and units

Each row contains one request and aligned outcomes for its candidate models.

FieldMeaning
query_idRequest identifier, shared with the prediction and media files.
scenario, published_splitScenario and split membership (train, validation, or test).
query_text, input_jsonFull request text and structured input.
evaluation_type, variant_typeStandard/robust designation and transformation type.
domain, source_dataset, source_sample_id, base_query_idTask and source identifiers.
model_idsCandidate-model order for all outcome arrays.
performanceSource-task utility in [0, 1]; unsuccessful source outcomes are zero.
cost_cnyCost in CNY per request.
latency_msRecorded latency in milliseconds.
embedding_model, embeddingEncoder identity and the shared 1,024-dimensional feature vector.
media_jsonMedia archive, image paths, and image provenance.
provenance_json, source_split, is_validationSource metadata and split annotations.

performance[i], cost_cny[i], and latency_ms[i] correspond to model_ids[i]. USD cost proxies use the fixed benchmark conversion 1 USD = 7.2 CNY. Candidate identities are listed in metadata/.

Request features

General Text and Chinese use BGE-M3 features. Multimodal uses CLIP ViT-B/32 (openai/clip-vit-base-patch32, checkpoint 3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268). Full text is split into chunks of up to 75 payload tokens. Normalized text vectors are pooled by payload-token count; normalized vectors for all request images are pooled equally. Each modality pool is normalized, then the two 512-vectors are concatenated and divided by the square root of two. The result is a unit-norm 1,024-dimensional vector. All methods and fitting seeds share these features. Reference answers are not inputs to the encoder.

Router fitting and prediction replay use the bundled features without downloading encoder weights or images. Original images and reference annotations are supplied in the multimodal media archives, organized as train.zip, validation.zip, standard_test.zip, and robust_test.zip.

Benchmark composition

General Text covers code, general reasoning, knowledge QA, mathematical reasoning, reading understanding, and long context. Its robust requests apply semantic rewrites, language variation, and long-context noise to source requests.

Multimodal training draws from 18 MMR-Bench-V2 sub-benchmarks. Standard evaluation covers VQAv2, AI2D, ScienceQA and ScienceQA-IMG, DocVQA, and OCR-VQA. Robust evaluation includes text rewriting, context noise, image variation, and combined perturbations. The standard and robust populations are independently constructed; their comparison is at the distribution level.

Chinese covers AlignBench, C-Eval, CIF-Bench, CLUE tasks, CMB-Clin, Chinese SimpleQA, FinEval, FollowBench-zh, GAOKAO-Bench, LawBench, and Chinese LongBench tasks. Its robust requests use semantic rewriting, English translation, and prefix noise.

Robust test populations

ScenarioTransformationTest requests
General TextSemantic rewrite963
General TextLanguage variation964
General TextLong-context noise967
MultimodalText rewrite475
MultimodalContext noise475
MultimodalImage variation475
MultimodalCombined perturbation475
ChineseSemantic rewrite667
ChineseEnglish translation666
ChinesePrefix noise667

Transformations preserve the answer contract and the source scorer. Image variation includes JPEG degradation, cutout, Gaussian noise, Gaussian blur, and contrast reduction. Text-scenario variants retain their source identifiers.

Compared methods

The report compares 13 implementations using ORBIT interfaces, with the same candidate pool, request features, and test requests within each scenario. Mio selector is fitted separately per scenario and configured using validation requests.

ImplementationMethod reference
Mio selectorTechnical report Section 4.2
AvengersThe Avengers
Avengers-ProPerformance-Efficiency Optimized Routing
Causal RM-SoftmaxCausal LLM Routing
EagleEagle
EmbedLLM-RouteJudgeEmbedLLM
GraphRouterGraphRouter
HybridLLMHybrid LLM
kNNTensorOpera / ORBIT
MLPTensorOpera / ORBIT
MIRTIRT-Router
RouteLLM-MFRouteLLM
SVM RouterTensorOpera / ORBIT

The comparison evaluates the offline request-level selector with $T=1$ under monetary budgets, as in Section 6.3 of the technical report. Implementation settings are provided with the prediction files and in the code.

Metrics

Section 6.3 uses nAUC and peak quality. Threshold costs and savings are supplementary measures.

Evaluate 100 evenly spaced nominal budgets between the cheapest and most expensive fixed-model mean costs on each reporting population. These endpoints use held-out costs and are shared across methods. Predicted cost determines feasibility; predicted utility selects among candidates. A request with no feasible candidate uses the model with the lowest predicted cost. Observed outcomes determine mean utility $Q_\pi(C)$ and realized mean cost $\bar c_\pi(C)$.

For the common nominal-budget grid $\mathcal G$, peak quality and threshold cost are:

Qpeak(π)=max⁡C∈GQπ(C),cˉπ@τ=min⁡{cˉπ(C):C∈G, Qπ(C)≥τQstrongest}.\begin{aligned} Q_{\mathrm{peak}}(\pi)&=\max_{C\in\mathcal G}Q_\pi(C),\\ \bar{c}_{\pi}\mathbin{@}\tau&=\min\{\bar c_\pi(C):C\in\mathcal G,\ Q_\pi(C)\geq\tau Q_{\mathrm{strongest}}\}. \end{aligned}Qpeak​(π)cˉπ​@τ​=C∈Gmax​Qπ​(C),=min{cˉπ​(C):C∈G, Qπ​(C)≥τQstrongest​}.​

Cost@90, Cost@95, and Cost@100 use $\tau=0.90,0.95,1.00$, respectively. An unattained target is N/R. The strongest fixed model maximizes mean quality on the same reporting population and candidate pool; its mean cost is the savings reference. Savings are:

Saving⁡π@τ=1−cˉπ@τcˉstrongest.\operatorname{Saving}_{\pi}\mathbin{@}\tau=1-\frac{\bar{c}_{\pi}\mathbin{@}\tau}{\bar c_{\mathrm{strongest}}}.Savingπ​@τ=1−cˉstrongest​cˉπ​@τ​.

nAUC integrates the cumulative-maximum quality envelope over increasing nominal budget and divides by the full budget interval:

Qπenv(C(g))=max⁡1≤h≤gQπ(C(h)),nAUC⁡(π)=1C(K)−C(1)∑g=1K−1Qπenv(C(g))+Qπenv(C(g+1))2(C(g+1)−C(g)).\begin{aligned} Q_\pi^{\mathrm{env}}(C^{(g)})&=\max_{1\leq h\leq g}Q_\pi(C^{(h)}),\\ \operatorname{nAUC}(\pi)&=\frac{1}{C^{(K)}-C^{(1)}}\sum_{g=1}^{K-1} \frac{Q_\pi^{\mathrm{env}}(C^{(g)})+Q_\pi^{\mathrm{env}}(C^{(g+1)})}{2} \bigl(C^{(g+1)}-C^{(g)}\bigr). \end{aligned}Qπenv​(C(g))nAUC(π)​=1≤h≤gmax​Qπ​(C(h)),=C(K)−C(1)1​g=1∑K−1​2Qπenv​(C(g))+Qπenv​(C(g+1))​(C(g+1)−C(g)).​

Curves contain evaluated selector points only. The quality-cost figure uses realized cost on a logarithmic axis; its geometric area is not nAUC. Macro nAUC equally averages the six scenario/standard-robust scores. Robust split metrics use all robust requests pooled within a scenario. Each robustness type is evaluated separately with its own cost endpoints; averaging type-level nAUC does not generally recover pooled Robust nAUC. Latency is auxiliary and is not used in the selection objective or as a hard constraint in this evaluation.

Multimodal uses fitting seeds 20260917, 20260918, and 20260919. Curves are averaged pointwise on the common budget grid before computing their metrics. Reported uncertainties are exact run-bootstrap standard errors over all 27 ordered resamples. General Text and Chinese each use seed 20260917.

Dataset costs use CNY. The supplementary cost tables below use USD for General Text and Multimodal, and CNY for Chinese; divide the first two scenarios' cost_cny values by 7.2 for those display units. Multimodal costs are fixed proxies.

Results

Mio selector achieves the highest macro nAUC, 0.6360, followed by MLP at 0.6183. The nAUC values and robustness-type scores and ranks below match Tables 6 and 7 of the technical report. The full split-level tables also provide peak quality, threshold costs, and fitting uncertainty.

Supplementary quality-cost results for Mio selector and the 12 baselines across all six test populations.

Supplementary figure. Green: Mio selector frontier and peak. Hollow circles: baseline peaks. Blue diamond: best baseline by nAUC. Multimodal points use the mean curve of three fits. Costs are USD for General Text and Multimodal, and CNY for Chinese.

Costs below are per request. N/R denotes an unattained aggregate-curve target; (r/3) records the number of individual Multimodal runs reaching that target.

Macro nAUC

RankImplementationMacro nAUC
1Mio selector0.6360
2MLP0.6183
3EmbedLLM-RouteJudge0.6044
4Avengers-Pro0.5753
5Eagle0.5731
6Avengers0.5603
7RouteLLM-MF0.5573
8kNN0.5443
9HybridLLM0.5344
10Causal RM-Softmax0.5245
11SVM Router0.5146
12MIRT0.4733
13GraphRouter0.4669

General Text: Standard

Costs in USD per request.

nAUC rankImplementationPeak qualitynAUCCost@90Cost@95Cost@100
1Eagle0.61040.60450.02530.04160.1131
2Avengers-Pro0.60710.60220.04420.06250.1067
3RouteLLM-MF0.60160.59390.04760.08740.2490
4Mio selector0.59790.59240.03210.06090.2285
5MLP0.59490.58840.02380.04090.2475
6EmbedLLM-RouteJudge0.59490.58630.16740.24750.2475
7kNN0.59050.58530.03600.0691N/R
8SVM Router0.58540.57890.07250.1643N/R
9Avengers0.58170.57700.06530.1267N/R
10HybridLLM0.57780.56840.07220.2039N/R
11Causal RM-Softmax0.49690.4969N/RN/RN/R
12MIRT0.28530.2771N/RN/RN/R
13GraphRouter0.25010.2468N/RN/RN/R

General Text: Robust

Costs in USD per request.

nAUC rankImplementationPeak qualitynAUCCost@90Cost@95Cost@100
1Mio selector0.55960.53280.22580.23890.2492
2EmbedLLM-RouteJudge0.55960.53040.24920.24920.2492
3MLP0.55960.52310.24920.24920.2492
4Eagle0.34830.3359N/RN/RN/R
5RouteLLM-MF0.29740.2891N/RN/RN/R
6Avengers-Pro0.28940.2865N/RN/RN/R
7Avengers0.28540.2832N/RN/RN/R
8kNN0.27730.2671N/RN/RN/R
9HybridLLM0.27640.2616N/RN/RN/R
10SVM Router0.27060.2611N/RN/RN/R
11Causal RM-Softmax0.17740.1774N/RN/RN/R
12MIRT0.11850.1133N/RN/RN/R
13GraphRouter0.11540.1110N/RN/RN/R

Multimodal: Standard

Costs in USD per request.

nAUC rankImplementationPeak qualitynAUCCost@90Cost@95Cost@100
1Mio selector0.7084 ± 0.00080.7077 ± 0.00072.91e-6 (3/3)2.91e-6 (3/3)N/R
2MIRT0.6359 ± 0.01550.6359 ± 0.0155N/R (1/3 runs)N/RN/R
3MLP0.6663 ± 0.00270.6299 ± 0.00320.0035 (3/3)N/RN/R
4Avengers-Pro0.6464 ± 0.00100.6239 ± 0.0019N/R (2/3 runs)N/RN/R
5Causal RM-Softmax0.6217 ± 0.03930.6217 ± 0.0393N/R (1/3 runs)N/R (1/3 runs)N/R
6Eagle0.6507 ± 0.00000.6095 ± 0.00000.0039 (3/3)N/RN/R
7Avengers0.6358 ± 0.00750.6064 ± 0.0096N/RN/RN/R
8RouteLLM-MF0.6236 ± 0.00000.5914 ± 0.0000N/RN/RN/R
9kNN0.6000 ± 0.00000.5846 ± 0.0000N/RN/RN/R
10GraphRouter0.5558 ± 0.00060.5558 ± 0.0005N/RN/RN/R
11EmbedLLM-RouteJudge0.6193 ± 0.02910.5510 ± 0.0524N/R (3/3 runs)N/R (2/3 runs)N/R
12HybridLLM0.5555 ± 0.00000.5385 ± 0.0000N/RN/RN/R
13SVM Router0.4869 ± 0.02220.4869 ± 0.0222N/RN/RN/R

Multimodal: Robust

Costs in USD per request.

nAUC rankImplementationPeak qualitynAUCCost@90Cost@95Cost@100
1Mio selector0.6266 ± 0.00080.6128 ± 0.00053.41e-6 (3/3)3.41e-6 (3/3)N/R
2MLP0.5932 ± 0.00060.5918 ± 0.00070.0001 (3/3)N/RN/R
3EmbedLLM-RouteJudge0.5869 ± 0.01450.5869 ± 0.01380.0002 (3/3)N/R (3/3 runs)N/R
4Avengers-Pro0.5979 ± 0.00250.5680 ± 0.00280.0031 (3/3)N/RN/R
5MIRT0.5641 ± 0.01280.5638 ± 0.0128N/R (1/3 runs)N/RN/R
6Avengers0.5913 ± 0.00190.5553 ± 0.02040.0025 (3/3)N/RN/R
7Causal RM-Softmax0.5477 ± 0.02860.5477 ± 0.0287N/R (1/3 runs)N/R (1/3 runs)N/R
8RouteLLM-MF0.5572 ± 0.00000.5439 ± 0.0000N/RN/RN/R
9Eagle0.5609 ± 0.00000.5264 ± 0.0000N/RN/RN/R
10HybridLLM0.5234 ± 0.00000.5106 ± 0.0000N/RN/RN/R
11GraphRouter0.5038 ± 0.00030.5038 ± 0.0002N/RN/RN/R
12kNN0.4995 ± 0.00000.4995 ± 0.0000N/RN/RN/R
13SVM Router0.4714 ± 0.02040.4714 ± 0.0204N/RN/RN/R

Chinese: Standard

Costs in CNY per request.

nAUC rankImplementationPeak qualitynAUCCost@90Cost@95Cost@100
1GraphRouter0.76750.76750.06660.0666N/R
2Avengers-Pro0.76880.76600.01230.01230.0606
3MLP0.76870.76560.01320.0132N/R
4Mio selector0.77110.76530.01270.01270.0348
5Eagle0.77190.76420.01220.01220.0516
6EmbedLLM-RouteJudge0.76750.76290.01170.0148N/R
7kNN0.76630.75980.01220.0122N/R
8Avengers0.76040.75970.01320.0132N/R
9HybridLLM0.76230.75550.01370.0137N/R
10RouteLLM-MF0.75850.75320.01400.0140N/R
11MIRT0.76880.74370.02060.02660.0666
12Causal RM-Softmax0.74060.74040.01430.0143N/R
13SVM Router0.74340.73940.01370.0171N/R

Chinese: Robust

Costs in CNY per request.

nAUC rankImplementationPeak qualitynAUCCost@90Cost@95Cost@100
1GraphRouter0.61630.61630.07910.07910.0791
2MLP0.61780.61080.00620.00980.0642
3EmbedLLM-RouteJudge0.61670.60870.01820.01820.0775
4Avengers-Pro0.61610.60540.01730.0186N/R
5Mio selector0.61370.60510.00610.0089N/R
6Eagle0.61420.59820.01220.0165N/R
7Avengers0.59320.58010.02570.0308N/R
8RouteLLM-MF0.58690.57240.01230.0604N/R
9HybridLLM0.58970.57210.01890.0561N/R
10kNN0.59190.56940.02240.0521N/R
11Causal RM-Softmax0.56320.56280.0078N/RN/R
12SVM Router0.56070.54990.0479N/RN/R
13MIRT0.61620.50600.07280.07280.0792

Mio selector by robustness type

Ranks are among 13 distinct implementations; Multimodal metrics use the pointwise mean curve over three runs and ± is exact run-bootstrap standard error.

ScenarioRobustness typePeak qualityPeak ranknAUCnAUC rank
General TextSemantic rewrite0.51241/130.48291/13
General TextLanguage variation0.49131/130.44872/13
General TextLong-context noise0.67471/130.65291/13
MultimodalText rewrite0.6455 ± 0.00101/130.6438 ± 0.00031/13
MultimodalContext noise0.6219 ± 0.00281/130.6021 ± 0.00181/13
MultimodalImage variation0.6289 ± 0.00091/130.6247 ± 0.00101/13
MultimodalCombined perturbation0.6099 ± 0.00062/130.5827 ± 0.00133/13
ChineseSemantic rewrite0.61565/130.60864/13
ChineseEnglish translation0.58937/130.58025/13
ChinesePrefix noise0.63757/130.62875/13

Reproduce the report

From the GitHub repository:

python -m pip install -e '.[report]'
python -m examples.reproduce_report --mode replay --output runs/report-replay
python -m examples.reproduce_report --mode fit --device cpu --output runs/report-fit

Replay evaluates the 65 supplied prediction arrays across 13 methods and checks the aggregate against report/aggregate-results.json. Fit trains the 12 baseline implementations; Mio is supplied through its prediction arrays. Predictions are aligned by request and model identifiers. All requests in the official test split contribute to evaluation.

report/reproduction-manifest.json records prediction checksums and fitting seeds. manifest.json records data and media checksums. The original benchmark questions and images retain their upstream attribution and terms in LICENSES.md.