Scikit-learn
Joblib
English
protocol-routing
llm-routing
multi-agent-systems
cost-aware-inference
protocol-selection
calibration
reasoning
reproducibility
arxiv:2608.14927
emnlp2026
Instructions to use AgentsSci/EMNLP_Cost-Aware-Protocol-Routing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use AgentsSci/EMNLP_Cost-Aware-Protocol-Routing with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("AgentsSci/EMNLP_Cost-Aware-Protocol-Routing", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Release v1.0.0 accompanying the EMNLP 2026 camera-ready paper (arXiv:2608.14927)
Browse files- CITATION.cff +59 -0
- LICENSE +21 -0
- NOTICE +55 -0
- README.md +218 -0
- artifacts/heldout_router_evaluation.csv +7 -0
- artifacts/heldout_router_paired_differences.csv +7 -0
- artifacts/metadata_only_router_selected_config.json +55 -0
- artifacts/router_metadata__labbench__llm_strict__gemma_4_31b.json +156 -0
- artifacts/router_metadata__labbench__llm_strict__gpt_oss_120b.json +156 -0
- artifacts/router_metadata__labbench__text_no_tool__gemma_4_31b_text_no_tool.json +156 -0
- artifacts/router_metadata__labbench__text_no_tool__gpt_oss_120b_text_no_tool.json +156 -0
- artifacts/router_metadata__omnimath2__competition_math_4181__gemma_4_31b.json +156 -0
- artifacts/router_metadata__omnimath2__competition_math_4181__gpt_oss_120b.json +156 -0
CITATION.cff
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cff-version: 1.2.0
|
| 2 |
+
message: "If you use this software or dataset, please cite the paper."
|
| 3 |
+
title: "LLMs Can Predict Failure Risk, But Struggle to Predict Which Collaboration Protocol Pays Off: Cost-Aware Protocol Routing Across Reasoning Tasks"
|
| 4 |
+
abstract: >-
|
| 5 |
+
Research artifact for the EMNLP 2026 paper on cost-aware protocol routing.
|
| 6 |
+
Releases matched four-protocol outcomes, fixed-order oracle labels, held-out
|
| 7 |
+
router evaluations, and post-answer confidence analyses across ten
|
| 8 |
+
model-condition settings.
|
| 9 |
+
authors:
|
| 10 |
+
- family-names: Yang
|
| 11 |
+
given-names: Chih-Hsuan
|
| 12 |
+
affiliation: Argonne National Laboratory
|
| 13 |
+
email: bellayang@anl.gov
|
| 14 |
+
- family-names: Jiang
|
| 15 |
+
given-names: Jingyan
|
| 16 |
+
affiliation: Argonne National Laboratory
|
| 17 |
+
- family-names: Yang
|
| 18 |
+
given-names: Cheng-Hau
|
| 19 |
+
affiliation: Argonne National Laboratory
|
| 20 |
+
- family-names: Vasudevan
|
| 21 |
+
given-names: Vikram
|
| 22 |
+
affiliation: Oregon State University
|
| 23 |
+
- family-names: Zheng
|
| 24 |
+
given-names: Huihuo
|
| 25 |
+
affiliation: Argonne National Laboratory
|
| 26 |
+
- family-names: Vishwanath
|
| 27 |
+
given-names: Venkatram
|
| 28 |
+
affiliation: Argonne National Laboratory
|
| 29 |
+
- family-names: Thakur
|
| 30 |
+
given-names: Rajeev
|
| 31 |
+
affiliation: Argonne National Laboratory
|
| 32 |
+
identifiers:
|
| 33 |
+
- type: other
|
| 34 |
+
value: "arXiv:2608.14927"
|
| 35 |
+
description: arXiv preprint
|
| 36 |
+
url: "https://chihhsuan-yang.github.io/EMNLP_Cost-Aware-Protocol-Routing/"
|
| 37 |
+
repository-code: "https://github.com/ChihHsuan-Yang/EMNLP_Cost-Aware-Protocol-Routing"
|
| 38 |
+
license: MIT
|
| 39 |
+
preferred-citation:
|
| 40 |
+
type: article
|
| 41 |
+
title: "LLMs Can Predict Failure Risk, But Struggle to Predict Which Collaboration Protocol Pays Off: Cost-Aware Protocol Routing Across Reasoning Tasks"
|
| 42 |
+
authors:
|
| 43 |
+
- family-names: Yang
|
| 44 |
+
given-names: Chih-Hsuan
|
| 45 |
+
- family-names: Jiang
|
| 46 |
+
given-names: Jingyan
|
| 47 |
+
- family-names: Yang
|
| 48 |
+
given-names: Cheng-Hau
|
| 49 |
+
- family-names: Vasudevan
|
| 50 |
+
given-names: Vikram
|
| 51 |
+
- family-names: Zheng
|
| 52 |
+
given-names: Huihuo
|
| 53 |
+
- family-names: Vishwanath
|
| 54 |
+
given-names: Venkatram
|
| 55 |
+
- family-names: Thakur
|
| 56 |
+
given-names: Rajeev
|
| 57 |
+
year: 2026
|
| 58 |
+
journal: "arXiv preprint arXiv:2608.14927"
|
| 59 |
+
url: "https://arxiv.org/abs/2608.14927"
|
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 ChihHsuan-Yang
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
NOTICE
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
NOTICE
|
| 2 |
+
======
|
| 3 |
+
|
| 4 |
+
This repository is the public research artifact for the EMNLP 2026 paper
|
| 5 |
+
"LLMs Can Predict Failure Risk, But Struggle to Predict Which Collaboration
|
| 6 |
+
Protocol Pays Off: Cost-Aware Protocol Routing Across Reasoning Tasks"
|
| 7 |
+
(arXiv:2608.14927).
|
| 8 |
+
|
| 9 |
+
Code in this repository is released under the MIT License (see LICENSE).
|
| 10 |
+
|
| 11 |
+
--------------------------------------------------------------------------
|
| 12 |
+
Upstream benchmarks
|
| 13 |
+
--------------------------------------------------------------------------
|
| 14 |
+
|
| 15 |
+
This artifact reports measured outcomes of language-model protocol executions
|
| 16 |
+
on problems drawn from the benchmarks below. We do NOT redistribute upstream
|
| 17 |
+
problem text or gold answers. We release stable problem identifiers, derived
|
| 18 |
+
per-protocol outcomes, and instructions for reconstructing the inputs from the
|
| 19 |
+
pinned upstream releases. Each benchmark remains subject to its own license.
|
| 20 |
+
|
| 21 |
+
* Omni-MATH - https://huggingface.co/datasets/KbsdJames/Omni-MATH
|
| 22 |
+
License: Apache-2.0.
|
| 23 |
+
Used as a filtered subset of 4,181 competition-mathematics problems.
|
| 24 |
+
|
| 25 |
+
* JEEBench - https://huggingface.co/datasets/daman1209arora/jeebench
|
| 26 |
+
License: MIT. 515 problems.
|
| 27 |
+
|
| 28 |
+
* SciBench - https://huggingface.co/datasets/xw27/scibench
|
| 29 |
+
License: MIT (see the upstream repository's LICENSE file; the Hugging Face
|
| 30 |
+
dataset card does not currently declare a license tag). 565 problems.
|
| 31 |
+
|
| 32 |
+
* LAB-Bench - https://huggingface.co/datasets/futurehouse/lab-bench
|
| 33 |
+
License: CC-BY-SA-4.0. FutureHouse.
|
| 34 |
+
Pinned upstream revision: 5c77cec648430f30611808808861eb86f81d5eaa.
|
| 35 |
+
Two text-only slices are used: a strict slice (741 problems) and a broader
|
| 36 |
+
text-no-tool slice (1,542 problems). Image-dependent subsets (FigQA, TableQA)
|
| 37 |
+
are excluded because the protocols studied here are text-only.
|
| 38 |
+
|
| 39 |
+
Please cite the original benchmark authors when using these identifiers.
|
| 40 |
+
|
| 41 |
+
--------------------------------------------------------------------------
|
| 42 |
+
Foundation models
|
| 43 |
+
--------------------------------------------------------------------------
|
| 44 |
+
|
| 45 |
+
The solver families evaluated here (openai/gpt-oss-120b and
|
| 46 |
+
google/gemma-4-31B-it) are third-party models. This artifact does not
|
| 47 |
+
redistribute, retrain, or claim ownership of those model weights.
|
| 48 |
+
|
| 49 |
+
--------------------------------------------------------------------------
|
| 50 |
+
Acknowledgments
|
| 51 |
+
--------------------------------------------------------------------------
|
| 52 |
+
|
| 53 |
+
This research used resources of the Argonne Leadership Computing Facility, a
|
| 54 |
+
U.S. Department of Energy (DOE) Office of Science user facility at Argonne
|
| 55 |
+
National Laboratory (ANL) operated under Contract No. DE-AC02-06CH11357.
|
README.md
CHANGED
|
@@ -1,3 +1,221 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
library_name: sklearn
|
| 4 |
+
tags:
|
| 5 |
+
- research-artifact
|
| 6 |
+
- llm-routing
|
| 7 |
+
- multi-agent-systems
|
| 8 |
+
- cost-aware-inference
|
| 9 |
+
- protocol-selection
|
| 10 |
+
- emnlp2026
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
+
pipeline_tag: tabular-classification
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
# Cost-Aware Protocol Routing — research artifact card
|
| 17 |
+
|
| 18 |
+
**EMNLP 2026 Accepted Paper**
|
| 19 |
+
*LLMs Can Predict Failure Risk, But Struggle to Predict Which Collaboration Protocol Pays Off: Cost-Aware Protocol Routing Across Reasoning Tasks*
|
| 20 |
+
|
| 21 |
+
[Paper (arXiv)](https://arxiv.org/abs/2608.14927) ·
|
| 22 |
+
[PDF](https://arxiv.org/pdf/2608.14927) ·
|
| 23 |
+
[Project page](https://chihhsuan-yang.github.io/EMNLP_Cost-Aware-Protocol-Routing/) ·
|
| 24 |
+
[Code](https://github.com/ChihHsuan-Yang/EMNLP_Cost-Aware-Protocol-Routing) ·
|
| 25 |
+
[Dataset](https://huggingface.co/datasets/AgentsSci/EMNLP_Cost-Aware-Protocol-Routing)
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## Read this first: what this repository is, and is not
|
| 30 |
+
|
| 31 |
+
**This is not a language model.** It contains no foundation-model weights. The
|
| 32 |
+
paper evaluates two third-party solver families — `openai/gpt-oss-120b` and
|
| 33 |
+
`google/gemma-4-31B-it` — which we did **not** train, do not own, and do not
|
| 34 |
+
redistribute. Their licenses and terms are their own.
|
| 35 |
+
|
| 36 |
+
**This is a research-artifact card, not a checkpoint release.** It documents the
|
| 37 |
+
paper's lightweight *routers*: small scikit-learn classifiers that pick which
|
| 38 |
+
collaboration protocol to run. It ships their training code, configurations,
|
| 39 |
+
selected hyperparameters, and per-problem held-out predictions — but **no
|
| 40 |
+
serialized model file**. The reason is stated honestly below.
|
| 41 |
+
|
| 42 |
+
### Why no checkpoint is published
|
| 43 |
+
|
| 44 |
+
A trained metadata-only router exists in our internal results. We chose not to
|
| 45 |
+
publish it:
|
| 46 |
+
|
| 47 |
+
1. Its serialized estimator stores integer classes `[0, 1, 2, 3, 4]` with **no
|
| 48 |
+
embedded label mapping**. The mapping from index to protocol is recoverable
|
| 49 |
+
only by assuming sorted label-name order. That is a convention, not a stored
|
| 50 |
+
fact, and we could not verify it from the checkpoint alone. Publishing it
|
| 51 |
+
would ask users to guess which action index `3` means — and a wrong guess
|
| 52 |
+
produces confident, silently incorrect routing.
|
| 53 |
+
2. It was pickled under a different scikit-learn version and already emits
|
| 54 |
+
`InconsistentVersionWarning` on load here. Pickled estimators are
|
| 55 |
+
version-fragile and are not a durable research artifact.
|
| 56 |
+
3. Nothing is lost. Every number in the paper can be reproduced without it: the
|
| 57 |
+
**per-problem held-out predictions are released with string labels**, and the
|
| 58 |
+
**training code is released and tested**. A user can re-fit the router in
|
| 59 |
+
minutes on CPU, or score our exact predictions directly.
|
| 60 |
+
|
| 61 |
+
If you need a checkpoint for a downstream system, train one with the released
|
| 62 |
+
code and record your own label mapping.
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## What the router predicts
|
| 67 |
+
|
| 68 |
+
For each problem, **before any protocol is executed**, the router picks one of
|
| 69 |
+
**five actions**:
|
| 70 |
+
|
| 71 |
+
| Action | Meaning | Oracle rank |
|
| 72 |
+
|---|---|:--:|
|
| 73 |
+
| `baseline_llm` | Direct one-shot solving | 1 |
|
| 74 |
+
| `single_agent` | Iterative single-agent self-correction | 2 |
|
| 75 |
+
| `per` | Planner–Executor–Reviewer collaboration | 3 |
|
| 76 |
+
| `broadcast` | Multi-agent deliberation | 4 |
|
| 77 |
+
| `none` | Do not escalate: no observed protocol succeeded | 5 |
|
| 78 |
+
|
| 79 |
+
`none` is a **router action**, not a fifth protocol. It is the correct choice
|
| 80 |
+
when every protocol would have failed, so spending on escalation is wasted.
|
| 81 |
+
|
| 82 |
+
The target label is the **fixed-order oracle**: the first protocol that actually
|
| 83 |
+
succeeded, in the order above. That label is retrospective — it is what the
|
| 84 |
+
router is trained to *predict*, not something available at inference.
|
| 85 |
+
|
| 86 |
+
## Feature inputs, and the leakage boundary
|
| 87 |
+
|
| 88 |
+
Routers see **only** problem-level information available before execution:
|
| 89 |
+
|
| 90 |
+
- problem text (text+metadata variant only), as TF-IDF features
|
| 91 |
+
- difficulty tier, source, and domain metadata
|
| 92 |
+
- benchmark and condition identifiers
|
| 93 |
+
|
| 94 |
+
They **never** see: gold answers, Baseline correctness, any protocol outcome,
|
| 95 |
+
the oracle label, or any downstream collaboration result. This is enforced in
|
| 96 |
+
code, not merely by convention — `protocol_routing.features` maintains an
|
| 97 |
+
explicit forbidden-column set and raises `LeakageError` on contact, including
|
| 98 |
+
for case variants. The repository's test suite proves the guard refuses
|
| 99 |
+
deliberately constructed violations.
|
| 100 |
+
|
| 101 |
+
## Router variants
|
| 102 |
+
|
| 103 |
+
| Variant | Features | Notes |
|
| 104 |
+
|---|---|---|
|
| 105 |
+
| **Text + metadata** | TF-IDF over problem text, plus metadata | The paper's main learned router |
|
| 106 |
+
| **Metadata only** | Metadata, no text | Ablation; isolates the contribution of text |
|
| 107 |
+
| **Tier-majority** | None (train-split lookup) | Reference policy: majority oracle label within each difficulty tier, with the train-split global majority as fallback |
|
| 108 |
+
|
| 109 |
+
All are multinomial logistic regression over the five actions.
|
| 110 |
+
|
| 111 |
+
## Training and selection procedure
|
| 112 |
+
|
| 113 |
+
**Six-setting evaluation** (the main router results): stratified 70/15/15 split
|
| 114 |
+
by oracle label, seed `20260712`. Hyperparameters selected on **dev only**, then
|
| 115 |
+
refit on train+dev, then evaluated once on untouched test problem identifiers.
|
| 116 |
+
All routers are scored on **identical held-out ids**, which we verified.
|
| 117 |
+
|
| 118 |
+
**Primary split** (Table 1): stratified 80/10/10, seed `42`, test n=423.
|
| 119 |
+
|
| 120 |
+
Confidence intervals throughout are 2,000-resample **problem-level percentile
|
| 121 |
+
bootstraps**. They quantify uncertainty over which problems are in the
|
| 122 |
+
benchmark — *not* run-to-run variability, since each problem-protocol pair has
|
| 123 |
+
exactly one realized outcome.
|
| 124 |
+
|
| 125 |
+
## Supported settings
|
| 126 |
+
|
| 127 |
+
Router evaluations cover **six** settings only: both solvers on OmniMath,
|
| 128 |
+
LAB-Bench strict, and LAB-Bench text-no-tool. The matched four-protocol outcome
|
| 129 |
+
data covers ten settings, but the router analysis does not. Please do not read
|
| 130 |
+
these results as holding across all ten.
|
| 131 |
+
|
| 132 |
+
## Results
|
| 133 |
+
|
| 134 |
+
Held-out router performance (from `results/aggregate/heldout_router_evaluation.csv`):
|
| 135 |
+
|
| 136 |
+
| Setting | n | Baseline | Router | Oracle | Oracle gap |
|
| 137 |
+
|---|--:|--:|--:|--:|--:|
|
| 138 |
+
| Gemma-4-31B-it OmniMath | 628 | 0.6943 | 0.7659 | 0.9570 | 0.1911 |
|
| 139 |
+
| gpt-oss-120b OmniMath | 628 | 0.5685 | 0.6672 | 0.9268 | 0.2596 |
|
| 140 |
+
| Gemma-4-31B-it LAB-Bench strict | 112 | 0.4464 | 0.7054 | 0.9107 | 0.2054 |
|
| 141 |
+
| gpt-oss-120b LAB-Bench strict | 112 | 0.1875 | 0.5625 | 0.7679 | 0.2054 |
|
| 142 |
+
| Gemma-4-31B-it LAB-Bench text-no-tool | 232 | 0.4181 | 0.7759 | 0.9612 | 0.1853 |
|
| 143 |
+
| gpt-oss-120b LAB-Bench text-no-tool | 232 | 0.3060 | 0.5733 | 0.8621 | 0.2888 |
|
| 144 |
+
|
| 145 |
+
The router beats Baseline everywhere. **It also leaves 18.5–28.9 points on the
|
| 146 |
+
table against the retrospective oracle**, and oracle-label macro-F1 stays in the
|
| 147 |
+
0.27–0.50 range. That gap is the paper's point, not a footnote.
|
| 148 |
+
|
| 149 |
+
## Why this does not solve collaboration-value prediction
|
| 150 |
+
|
| 151 |
+
The paper's central negative result: a model's own confidence ranks *Baseline
|
| 152 |
+
failures* well (0.8847 AUROC) but is much weaker at identifying *which* protocol
|
| 153 |
+
pays off (0.1674 AUPRC for PER-specific value, 0.1041 for Broadcast-specific).
|
| 154 |
+
Learned routers improve on fixed policies but do not close the oracle gap.
|
| 155 |
+
|
| 156 |
+
**Cost-aware selection among Single, PER, Broadcast, and None remains
|
| 157 |
+
unresolved.** These artifacts are published so that others can attack that
|
| 158 |
+
problem on matched data, not because the problem is solved.
|
| 159 |
+
|
| 160 |
+
## Intended use and limitations
|
| 161 |
+
|
| 162 |
+
**Intended:** reproducing the paper; research on cost-aware routing and
|
| 163 |
+
escalation policies; a baseline to beat.
|
| 164 |
+
|
| 165 |
+
**Not intended:** production routing without re-validation on your own workload.
|
| 166 |
+
These routers are fit to specific benchmarks and two specific solver families.
|
| 167 |
+
Protocol value varies substantially by task — the paper shows Broadcast's
|
| 168 |
+
advantage over PER ranging from about 10 to 45 points across settings — so a
|
| 169 |
+
router fit here should not be assumed to transfer.
|
| 170 |
+
|
| 171 |
+
**Further limitations**
|
| 172 |
+
|
| 173 |
+
- One realized execution per problem-protocol pair; no run-to-run variance.
|
| 174 |
+
- The fixed-order oracle is retrospective and is not a deployable policy.
|
| 175 |
+
- Cost is measured in logged tokens only — not latency, price, energy, or
|
| 176 |
+
parallelism.
|
| 177 |
+
- No model snapshot was version-pinned at run time, so exact historical
|
| 178 |
+
execution cannot be recreated. We claim functional, not bit-for-bit,
|
| 179 |
+
reproducibility.
|
| 180 |
+
- Routing errors are asymmetric in a way these metrics do not capture:
|
| 181 |
+
under-escalating loses a solvable problem, over-escalating only wastes tokens.
|
| 182 |
+
|
| 183 |
+
## Reproducing
|
| 184 |
+
|
| 185 |
+
```bash
|
| 186 |
+
git clone https://github.com/ChihHsuan-Yang/EMNLP_Cost-Aware-Protocol-Routing.git
|
| 187 |
+
cd EMNLP_Cost-Aware-Protocol-Routing
|
| 188 |
+
make setup
|
| 189 |
+
make test
|
| 190 |
+
python scripts/train_router.py --help
|
| 191 |
+
python scripts/evaluate_router.py --help
|
| 192 |
+
```
|
| 193 |
+
|
| 194 |
+
See `docs/REPRODUCE.md` in the repository for the full guide.
|
| 195 |
+
|
| 196 |
+
## Citation
|
| 197 |
+
|
| 198 |
+
```bibtex
|
| 199 |
+
@article{yang2026protocolrouting,
|
| 200 |
+
title = {{LLMs Can Predict Failure Risk, But Struggle to Predict Which
|
| 201 |
+
Collaboration Protocol Pays Off: Cost-Aware Protocol Routing
|
| 202 |
+
Across Reasoning Tasks}},
|
| 203 |
+
author = {Yang, Chih-Hsuan and Jiang, Jingyan and Yang, Cheng-Hau and
|
| 204 |
+
Vasudevan, Vikram and Zheng, Huihuo and Vishwanath, Venkatram and
|
| 205 |
+
Thakur, Rajeev},
|
| 206 |
+
journal = {arXiv preprint arXiv:2608.14927},
|
| 207 |
+
year = {2026},
|
| 208 |
+
note = {To appear at EMNLP 2026},
|
| 209 |
+
url = {https://arxiv.org/abs/2608.14927}
|
| 210 |
+
}
|
| 211 |
+
```
|
| 212 |
+
|
| 213 |
+
## Acknowledgments
|
| 214 |
+
|
| 215 |
+
This research used resources of the Argonne Leadership Computing Facility, a
|
| 216 |
+
U.S. Department of Energy (DOE) Office of Science user facility at Argonne
|
| 217 |
+
National Laboratory (ANL) operated under Contract No. DE-AC02-06CH11357.
|
| 218 |
+
|
| 219 |
+
## Contact
|
| 220 |
+
|
| 221 |
+
Chih-Hsuan (Bella) Yang — bellayang@anl.gov
|
artifacts/heldout_router_evaluation.csv
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
solver,setting,n,baseline_solve,router_solve,router_ci,oracle_solve,oracle_gap,oracle_label_macro_f1,route_baseline,route_single,route_per,route_broadcast,route_none
|
| 2 |
+
Gemma-4-31B-it,OmniMath,628,0.6943,0.7659,"[0.7309,0.7978]",0.9570,0.1911,0.2676,0.4984,0.2404,0.1274,0.0557,0.0780
|
| 3 |
+
gpt-oss-120b,OmniMath,628,0.5685,0.6672,"[0.6306,0.7038]",0.9268,0.2596,0.2835,0.4570,0.1990,0.1561,0.0717,0.1162
|
| 4 |
+
Gemma-4-31B-it,LAB-Bench strict,112,0.4464,0.7054,"[0.6161,0.7857]",0.9107,0.2054,0.4949,0.5714,0.0357,0.0625,0.2679,0.0625
|
| 5 |
+
gpt-oss-120b,LAB-Bench strict,112,0.1875,0.5625,"[0.4732,0.6607]",0.7679,0.2054,0.4986,0.1429,0.1518,0.2946,0.2500,0.1607
|
| 6 |
+
Gemma-4-31B-it,LAB-Bench text-no-tool,232,0.4181,0.7759,"[0.7198,0.8276]",0.9612,0.1853,0.4854,0.3664,0.4310,0.0431,0.1379,0.0216
|
| 7 |
+
gpt-oss-120b,LAB-Bench text-no-tool,232,0.3060,0.5733,"[0.5086,0.6379]",0.8621,0.2888,0.4558,0.3491,0.2974,0.0302,0.1638,0.1595
|
artifacts/heldout_router_paired_differences.csv
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
solver,setting,n,router_minus_tier_majority_points,router_minus_tier_majority_ci_points,router_minus_baseline_points,router_minus_baseline_ci_points
|
| 2 |
+
Gemma-4-31B-it,OmniMath,628,7.2,"[4.0,10.2]",7.2,"[4.0,10.2]"
|
| 3 |
+
gpt-oss-120b,OmniMath,628,3.3,"[0.0,6.5]",9.9,"[6.5,13.2]"
|
| 4 |
+
Gemma-4-31B-it,LAB-Bench strict,112,25.0,"[16.1,33.9]",25.9,"[17.9,34.0]"
|
| 5 |
+
gpt-oss-120b,LAB-Bench strict,112,-8.0,"[-17.0,1.8]",37.5,"[28.6,46.4]"
|
| 6 |
+
Gemma-4-31B-it,LAB-Bench text-no-tool,232,10.8,"[5.2,16.4]",35.8,"[29.7,42.2]"
|
| 7 |
+
gpt-oss-120b,LAB-Bench text-no-tool,232,0.9,"[-5.2,6.5]",26.7,"[20.7,32.8]"
|
artifacts/metadata_only_router_selected_config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"selected_config": {
|
| 3 |
+
"name": "plain_l2_c0.25",
|
| 4 |
+
"class_weight": null,
|
| 5 |
+
"C": 0.25
|
| 6 |
+
},
|
| 7 |
+
"selection_metric": "macro_f1 then avg_excess_cost_tokens_vs_oracle after validation-based early stopping",
|
| 8 |
+
"dev_metrics_before_refit": {
|
| 9 |
+
"n_examples": 416,
|
| 10 |
+
"accuracy": 0.569712,
|
| 11 |
+
"macro_f1": 0.267917,
|
| 12 |
+
"realized_solve_rate": 0.627404,
|
| 13 |
+
"avg_total_tokens": 51731.351,
|
| 14 |
+
"avg_model_calls": 15.312,
|
| 15 |
+
"avg_wall_time_seconds": 89.666,
|
| 16 |
+
"avg_excess_cost_tokens_vs_oracle": 19073.486,
|
| 17 |
+
"missed_success_rate": 0.323834
|
| 18 |
+
},
|
| 19 |
+
"loss_history_epochs": 30,
|
| 20 |
+
"early_stopping_metric": "dev_log_loss",
|
| 21 |
+
"selected_epoch": 1,
|
| 22 |
+
"best_dev_log_loss": 1.177944,
|
| 23 |
+
"feature_dimensions": {
|
| 24 |
+
"source_cardinality": 63,
|
| 25 |
+
"domain_cardinality": 155,
|
| 26 |
+
"total_feature_dim": 220
|
| 27 |
+
},
|
| 28 |
+
"label_counts_train": {
|
| 29 |
+
"baseline_llm": 1898,
|
| 30 |
+
"single_agent": 768,
|
| 31 |
+
"none": 244,
|
| 32 |
+
"per": 292,
|
| 33 |
+
"broadcast": 140
|
| 34 |
+
},
|
| 35 |
+
"label_counts_dev": {
|
| 36 |
+
"baseline_llm": 237,
|
| 37 |
+
"single_agent": 96,
|
| 38 |
+
"per": 36,
|
| 39 |
+
"none": 30,
|
| 40 |
+
"broadcast": 17
|
| 41 |
+
},
|
| 42 |
+
"label_counts_test": {
|
| 43 |
+
"baseline_llm": 238,
|
| 44 |
+
"none": 32,
|
| 45 |
+
"single_agent": 97,
|
| 46 |
+
"broadcast": 18,
|
| 47 |
+
"per": 38
|
| 48 |
+
},
|
| 49 |
+
"features": [
|
| 50 |
+
"source",
|
| 51 |
+
"domain",
|
| 52 |
+
"difficulty",
|
| 53 |
+
"difficulty_tier"
|
| 54 |
+
]
|
| 55 |
+
}
|
artifacts/router_metadata__labbench__llm_strict__gemma_4_31b.json
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bootstrap": {
|
| 3 |
+
"resamples": 2000,
|
| 4 |
+
"seed": 20260713,
|
| 5 |
+
"unit": "problem_uid"
|
| 6 |
+
},
|
| 7 |
+
"generated_at_utc": "2026-07-14T04:10:48.673153+00:00",
|
| 8 |
+
"label_counts_by_split": {
|
| 9 |
+
"dev": {
|
| 10 |
+
"baseline_llm": 49,
|
| 11 |
+
"broadcast": 21,
|
| 12 |
+
"planner_executor_reviewer": 13,
|
| 13 |
+
"single_agent": 17,
|
| 14 |
+
"unsolved": 11
|
| 15 |
+
},
|
| 16 |
+
"test": {
|
| 17 |
+
"baseline_llm": 50,
|
| 18 |
+
"broadcast": 21,
|
| 19 |
+
"planner_executor_reviewer": 13,
|
| 20 |
+
"single_agent": 18,
|
| 21 |
+
"unsolved": 10
|
| 22 |
+
},
|
| 23 |
+
"train": {
|
| 24 |
+
"baseline_llm": 230,
|
| 25 |
+
"broadcast": 96,
|
| 26 |
+
"planner_executor_reviewer": 60,
|
| 27 |
+
"single_agent": 83,
|
| 28 |
+
"unsolved": 49
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"routers": {
|
| 32 |
+
"metadata_bucket_majority": {
|
| 33 |
+
"bucket_rule": "difficulty_tier, else lab_bench_subset, else source, else subtask, else dataset/domain/global",
|
| 34 |
+
"global_majority": "baseline_llm",
|
| 35 |
+
"n_train_buckets": 3,
|
| 36 |
+
"router": "train-split metadata-bucket majority"
|
| 37 |
+
},
|
| 38 |
+
"metadata_logreg": {
|
| 39 |
+
"config_search": [
|
| 40 |
+
{
|
| 41 |
+
"C": 0.25,
|
| 42 |
+
"class_weight": "none",
|
| 43 |
+
"dev_macro_f1": 0.545351,
|
| 44 |
+
"dev_oracle_gap": 0.207207,
|
| 45 |
+
"dev_solve_rate": 0.693694
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"C": 1.0,
|
| 49 |
+
"class_weight": "none",
|
| 50 |
+
"dev_macro_f1": 0.545351,
|
| 51 |
+
"dev_oracle_gap": 0.207207,
|
| 52 |
+
"dev_solve_rate": 0.693694
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"C": 4.0,
|
| 56 |
+
"class_weight": "none",
|
| 57 |
+
"dev_macro_f1": 0.545351,
|
| 58 |
+
"dev_oracle_gap": 0.207207,
|
| 59 |
+
"dev_solve_rate": 0.693694
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"C": 0.25,
|
| 63 |
+
"class_weight": "balanced",
|
| 64 |
+
"dev_macro_f1": 0.499965,
|
| 65 |
+
"dev_oracle_gap": 0.135135,
|
| 66 |
+
"dev_solve_rate": 0.765766
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"C": 1.0,
|
| 70 |
+
"class_weight": "balanced",
|
| 71 |
+
"dev_macro_f1": 0.499965,
|
| 72 |
+
"dev_oracle_gap": 0.135135,
|
| 73 |
+
"dev_solve_rate": 0.765766
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"C": 4.0,
|
| 77 |
+
"class_weight": "balanced",
|
| 78 |
+
"dev_macro_f1": 0.499965,
|
| 79 |
+
"dev_oracle_gap": 0.135135,
|
| 80 |
+
"dev_solve_rate": 0.765766
|
| 81 |
+
}
|
| 82 |
+
],
|
| 83 |
+
"feature_dimensions": {
|
| 84 |
+
"metadata_feature_count": 34
|
| 85 |
+
},
|
| 86 |
+
"refit": "train+dev before held-out test evaluation",
|
| 87 |
+
"selected_config": {
|
| 88 |
+
"C": 0.25,
|
| 89 |
+
"class_weight": "none"
|
| 90 |
+
},
|
| 91 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 92 |
+
},
|
| 93 |
+
"text_metadata_logreg": {
|
| 94 |
+
"config_search": [
|
| 95 |
+
{
|
| 96 |
+
"C": 0.25,
|
| 97 |
+
"class_weight": "none",
|
| 98 |
+
"dev_macro_f1": 0.524082,
|
| 99 |
+
"dev_oracle_gap": 0.216216,
|
| 100 |
+
"dev_solve_rate": 0.684685
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"C": 1.0,
|
| 104 |
+
"class_weight": "none",
|
| 105 |
+
"dev_macro_f1": 0.541176,
|
| 106 |
+
"dev_oracle_gap": 0.207207,
|
| 107 |
+
"dev_solve_rate": 0.693694
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"C": 4.0,
|
| 111 |
+
"class_weight": "none",
|
| 112 |
+
"dev_macro_f1": 0.570964,
|
| 113 |
+
"dev_oracle_gap": 0.198198,
|
| 114 |
+
"dev_solve_rate": 0.702703
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"C": 0.25,
|
| 118 |
+
"class_weight": "balanced",
|
| 119 |
+
"dev_macro_f1": 0.51383,
|
| 120 |
+
"dev_oracle_gap": 0.135135,
|
| 121 |
+
"dev_solve_rate": 0.765766
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"C": 1.0,
|
| 125 |
+
"class_weight": "balanced",
|
| 126 |
+
"dev_macro_f1": 0.541161,
|
| 127 |
+
"dev_oracle_gap": 0.153153,
|
| 128 |
+
"dev_solve_rate": 0.747748
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"C": 4.0,
|
| 132 |
+
"class_weight": "balanced",
|
| 133 |
+
"dev_macro_f1": 0.540774,
|
| 134 |
+
"dev_oracle_gap": 0.198198,
|
| 135 |
+
"dev_solve_rate": 0.702703
|
| 136 |
+
}
|
| 137 |
+
],
|
| 138 |
+
"feature_dimensions": {
|
| 139 |
+
"metadata_feature_count": 34,
|
| 140 |
+
"text_vocab_size": 10637
|
| 141 |
+
},
|
| 142 |
+
"refit": "train+dev before held-out test evaluation",
|
| 143 |
+
"selected_config": {
|
| 144 |
+
"C": 4.0,
|
| 145 |
+
"class_weight": "none"
|
| 146 |
+
},
|
| 147 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
"setting": "labbench__llm_strict__gemma_4_31b",
|
| 151 |
+
"split_counts": {
|
| 152 |
+
"dev": 111,
|
| 153 |
+
"test": 112,
|
| 154 |
+
"train": 518
|
| 155 |
+
}
|
| 156 |
+
}
|
artifacts/router_metadata__labbench__llm_strict__gpt_oss_120b.json
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bootstrap": {
|
| 3 |
+
"resamples": 2000,
|
| 4 |
+
"seed": 20260713,
|
| 5 |
+
"unit": "problem_uid"
|
| 6 |
+
},
|
| 7 |
+
"generated_at_utc": "2026-07-14T04:10:52.280480+00:00",
|
| 8 |
+
"label_counts_by_split": {
|
| 9 |
+
"dev": {
|
| 10 |
+
"baseline_llm": 21,
|
| 11 |
+
"broadcast": 26,
|
| 12 |
+
"planner_executor_reviewer": 23,
|
| 13 |
+
"single_agent": 16,
|
| 14 |
+
"unsolved": 25
|
| 15 |
+
},
|
| 16 |
+
"test": {
|
| 17 |
+
"baseline_llm": 21,
|
| 18 |
+
"broadcast": 26,
|
| 19 |
+
"planner_executor_reviewer": 23,
|
| 20 |
+
"single_agent": 16,
|
| 21 |
+
"unsolved": 26
|
| 22 |
+
},
|
| 23 |
+
"train": {
|
| 24 |
+
"baseline_llm": 99,
|
| 25 |
+
"broadcast": 120,
|
| 26 |
+
"planner_executor_reviewer": 107,
|
| 27 |
+
"single_agent": 75,
|
| 28 |
+
"unsolved": 117
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"routers": {
|
| 32 |
+
"metadata_bucket_majority": {
|
| 33 |
+
"bucket_rule": "difficulty_tier, else lab_bench_subset, else source, else subtask, else dataset/domain/global",
|
| 34 |
+
"global_majority": "broadcast",
|
| 35 |
+
"n_train_buckets": 3,
|
| 36 |
+
"router": "train-split metadata-bucket majority"
|
| 37 |
+
},
|
| 38 |
+
"metadata_logreg": {
|
| 39 |
+
"config_search": [
|
| 40 |
+
{
|
| 41 |
+
"C": 0.25,
|
| 42 |
+
"class_weight": "none",
|
| 43 |
+
"dev_macro_f1": 0.458689,
|
| 44 |
+
"dev_oracle_gap": 0.297297,
|
| 45 |
+
"dev_solve_rate": 0.477477
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"C": 1.0,
|
| 49 |
+
"class_weight": "none",
|
| 50 |
+
"dev_macro_f1": 0.468224,
|
| 51 |
+
"dev_oracle_gap": 0.297297,
|
| 52 |
+
"dev_solve_rate": 0.477477
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"C": 4.0,
|
| 56 |
+
"class_weight": "none",
|
| 57 |
+
"dev_macro_f1": 0.449204,
|
| 58 |
+
"dev_oracle_gap": 0.324324,
|
| 59 |
+
"dev_solve_rate": 0.45045
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"C": 0.25,
|
| 63 |
+
"class_weight": "balanced",
|
| 64 |
+
"dev_macro_f1": 0.370943,
|
| 65 |
+
"dev_oracle_gap": 0.306306,
|
| 66 |
+
"dev_solve_rate": 0.468468
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"C": 1.0,
|
| 70 |
+
"class_weight": "balanced",
|
| 71 |
+
"dev_macro_f1": 0.352693,
|
| 72 |
+
"dev_oracle_gap": 0.351351,
|
| 73 |
+
"dev_solve_rate": 0.423423
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"C": 4.0,
|
| 77 |
+
"class_weight": "balanced",
|
| 78 |
+
"dev_macro_f1": 0.352693,
|
| 79 |
+
"dev_oracle_gap": 0.351351,
|
| 80 |
+
"dev_solve_rate": 0.423423
|
| 81 |
+
}
|
| 82 |
+
],
|
| 83 |
+
"feature_dimensions": {
|
| 84 |
+
"metadata_feature_count": 37
|
| 85 |
+
},
|
| 86 |
+
"refit": "train+dev before held-out test evaluation",
|
| 87 |
+
"selected_config": {
|
| 88 |
+
"C": 1.0,
|
| 89 |
+
"class_weight": "none"
|
| 90 |
+
},
|
| 91 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 92 |
+
},
|
| 93 |
+
"text_metadata_logreg": {
|
| 94 |
+
"config_search": [
|
| 95 |
+
{
|
| 96 |
+
"C": 0.25,
|
| 97 |
+
"class_weight": "none",
|
| 98 |
+
"dev_macro_f1": 0.451874,
|
| 99 |
+
"dev_oracle_gap": 0.288288,
|
| 100 |
+
"dev_solve_rate": 0.486486
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"C": 1.0,
|
| 104 |
+
"class_weight": "none",
|
| 105 |
+
"dev_macro_f1": 0.465895,
|
| 106 |
+
"dev_oracle_gap": 0.288288,
|
| 107 |
+
"dev_solve_rate": 0.486486
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"C": 4.0,
|
| 111 |
+
"class_weight": "none",
|
| 112 |
+
"dev_macro_f1": 0.483344,
|
| 113 |
+
"dev_oracle_gap": 0.27027,
|
| 114 |
+
"dev_solve_rate": 0.504505
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"C": 0.25,
|
| 118 |
+
"class_weight": "balanced",
|
| 119 |
+
"dev_macro_f1": 0.440253,
|
| 120 |
+
"dev_oracle_gap": 0.279279,
|
| 121 |
+
"dev_solve_rate": 0.495495
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"C": 1.0,
|
| 125 |
+
"class_weight": "balanced",
|
| 126 |
+
"dev_macro_f1": 0.431743,
|
| 127 |
+
"dev_oracle_gap": 0.279279,
|
| 128 |
+
"dev_solve_rate": 0.495495
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"C": 4.0,
|
| 132 |
+
"class_weight": "balanced",
|
| 133 |
+
"dev_macro_f1": 0.441665,
|
| 134 |
+
"dev_oracle_gap": 0.297297,
|
| 135 |
+
"dev_solve_rate": 0.477477
|
| 136 |
+
}
|
| 137 |
+
],
|
| 138 |
+
"feature_dimensions": {
|
| 139 |
+
"metadata_feature_count": 37,
|
| 140 |
+
"text_vocab_size": 10438
|
| 141 |
+
},
|
| 142 |
+
"refit": "train+dev before held-out test evaluation",
|
| 143 |
+
"selected_config": {
|
| 144 |
+
"C": 4.0,
|
| 145 |
+
"class_weight": "none"
|
| 146 |
+
},
|
| 147 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
"setting": "labbench__llm_strict__gpt_oss_120b",
|
| 151 |
+
"split_counts": {
|
| 152 |
+
"dev": 111,
|
| 153 |
+
"test": 112,
|
| 154 |
+
"train": 518
|
| 155 |
+
}
|
| 156 |
+
}
|
artifacts/router_metadata__labbench__text_no_tool__gemma_4_31b_text_no_tool.json
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bootstrap": {
|
| 3 |
+
"resamples": 2000,
|
| 4 |
+
"seed": 20260713,
|
| 5 |
+
"unit": "problem_uid"
|
| 6 |
+
},
|
| 7 |
+
"generated_at_utc": "2026-07-14T04:11:33.595705+00:00",
|
| 8 |
+
"label_counts_by_split": {
|
| 9 |
+
"dev": {
|
| 10 |
+
"baseline_llm": 97,
|
| 11 |
+
"broadcast": 22,
|
| 12 |
+
"planner_executor_reviewer": 25,
|
| 13 |
+
"single_agent": 79,
|
| 14 |
+
"unsolved": 8
|
| 15 |
+
},
|
| 16 |
+
"test": {
|
| 17 |
+
"baseline_llm": 97,
|
| 18 |
+
"broadcast": 22,
|
| 19 |
+
"planner_executor_reviewer": 25,
|
| 20 |
+
"single_agent": 79,
|
| 21 |
+
"unsolved": 9
|
| 22 |
+
},
|
| 23 |
+
"train": {
|
| 24 |
+
"baseline_llm": 453,
|
| 25 |
+
"broadcast": 103,
|
| 26 |
+
"planner_executor_reviewer": 117,
|
| 27 |
+
"single_agent": 367,
|
| 28 |
+
"unsolved": 39
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"routers": {
|
| 32 |
+
"metadata_bucket_majority": {
|
| 33 |
+
"bucket_rule": "difficulty_tier, else lab_bench_subset, else source, else subtask, else dataset/domain/global",
|
| 34 |
+
"global_majority": "baseline_llm",
|
| 35 |
+
"n_train_buckets": 6,
|
| 36 |
+
"router": "train-split metadata-bucket majority"
|
| 37 |
+
},
|
| 38 |
+
"metadata_logreg": {
|
| 39 |
+
"config_search": [
|
| 40 |
+
{
|
| 41 |
+
"C": 0.25,
|
| 42 |
+
"class_weight": "none",
|
| 43 |
+
"dev_macro_f1": 0.380555,
|
| 44 |
+
"dev_oracle_gap": 0.212121,
|
| 45 |
+
"dev_solve_rate": 0.753247
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"C": 1.0,
|
| 49 |
+
"class_weight": "none",
|
| 50 |
+
"dev_macro_f1": 0.46948,
|
| 51 |
+
"dev_oracle_gap": 0.220779,
|
| 52 |
+
"dev_solve_rate": 0.744589
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"C": 4.0,
|
| 56 |
+
"class_weight": "none",
|
| 57 |
+
"dev_macro_f1": 0.46948,
|
| 58 |
+
"dev_oracle_gap": 0.220779,
|
| 59 |
+
"dev_solve_rate": 0.744589
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"C": 0.25,
|
| 63 |
+
"class_weight": "balanced",
|
| 64 |
+
"dev_macro_f1": 0.380129,
|
| 65 |
+
"dev_oracle_gap": 0.186147,
|
| 66 |
+
"dev_solve_rate": 0.779221
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"C": 1.0,
|
| 70 |
+
"class_weight": "balanced",
|
| 71 |
+
"dev_macro_f1": 0.334797,
|
| 72 |
+
"dev_oracle_gap": 0.233766,
|
| 73 |
+
"dev_solve_rate": 0.731602
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"C": 4.0,
|
| 77 |
+
"class_weight": "balanced",
|
| 78 |
+
"dev_macro_f1": 0.251877,
|
| 79 |
+
"dev_oracle_gap": 0.307359,
|
| 80 |
+
"dev_solve_rate": 0.658009
|
| 81 |
+
}
|
| 82 |
+
],
|
| 83 |
+
"feature_dimensions": {
|
| 84 |
+
"metadata_feature_count": 124
|
| 85 |
+
},
|
| 86 |
+
"refit": "train+dev before held-out test evaluation",
|
| 87 |
+
"selected_config": {
|
| 88 |
+
"C": 1.0,
|
| 89 |
+
"class_weight": "none"
|
| 90 |
+
},
|
| 91 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 92 |
+
},
|
| 93 |
+
"text_metadata_logreg": {
|
| 94 |
+
"config_search": [
|
| 95 |
+
{
|
| 96 |
+
"C": 0.25,
|
| 97 |
+
"class_weight": "none",
|
| 98 |
+
"dev_macro_f1": 0.471906,
|
| 99 |
+
"dev_oracle_gap": 0.212121,
|
| 100 |
+
"dev_solve_rate": 0.753247
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"C": 1.0,
|
| 104 |
+
"class_weight": "none",
|
| 105 |
+
"dev_macro_f1": 0.476508,
|
| 106 |
+
"dev_oracle_gap": 0.194805,
|
| 107 |
+
"dev_solve_rate": 0.770563
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"C": 4.0,
|
| 111 |
+
"class_weight": "none",
|
| 112 |
+
"dev_macro_f1": 0.478219,
|
| 113 |
+
"dev_oracle_gap": 0.190476,
|
| 114 |
+
"dev_solve_rate": 0.774892
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"C": 0.25,
|
| 118 |
+
"class_weight": "balanced",
|
| 119 |
+
"dev_macro_f1": 0.267499,
|
| 120 |
+
"dev_oracle_gap": 0.272727,
|
| 121 |
+
"dev_solve_rate": 0.692641
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"C": 1.0,
|
| 125 |
+
"class_weight": "balanced",
|
| 126 |
+
"dev_macro_f1": 0.226383,
|
| 127 |
+
"dev_oracle_gap": 0.108225,
|
| 128 |
+
"dev_solve_rate": 0.857143
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"C": 4.0,
|
| 132 |
+
"class_weight": "balanced",
|
| 133 |
+
"dev_macro_f1": 0.389084,
|
| 134 |
+
"dev_oracle_gap": 0.225108,
|
| 135 |
+
"dev_solve_rate": 0.74026
|
| 136 |
+
}
|
| 137 |
+
],
|
| 138 |
+
"feature_dimensions": {
|
| 139 |
+
"metadata_feature_count": 124,
|
| 140 |
+
"text_vocab_size": 12555
|
| 141 |
+
},
|
| 142 |
+
"refit": "train+dev before held-out test evaluation",
|
| 143 |
+
"selected_config": {
|
| 144 |
+
"C": 4.0,
|
| 145 |
+
"class_weight": "none"
|
| 146 |
+
},
|
| 147 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
"setting": "labbench__text_no_tool__gemma_4_31b_text_no_tool",
|
| 151 |
+
"split_counts": {
|
| 152 |
+
"dev": 231,
|
| 153 |
+
"test": 232,
|
| 154 |
+
"train": 1079
|
| 155 |
+
}
|
| 156 |
+
}
|
artifacts/router_metadata__labbench__text_no_tool__gpt_oss_120b_text_no_tool.json
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bootstrap": {
|
| 3 |
+
"resamples": 2000,
|
| 4 |
+
"seed": 20260713,
|
| 5 |
+
"unit": "problem_uid"
|
| 6 |
+
},
|
| 7 |
+
"generated_at_utc": "2026-07-14T04:11:39.208933+00:00",
|
| 8 |
+
"label_counts_by_split": {
|
| 9 |
+
"dev": {
|
| 10 |
+
"baseline_llm": 71,
|
| 11 |
+
"broadcast": 37,
|
| 12 |
+
"planner_executor_reviewer": 29,
|
| 13 |
+
"single_agent": 63,
|
| 14 |
+
"unsolved": 31
|
| 15 |
+
},
|
| 16 |
+
"test": {
|
| 17 |
+
"baseline_llm": 71,
|
| 18 |
+
"broadcast": 38,
|
| 19 |
+
"planner_executor_reviewer": 28,
|
| 20 |
+
"single_agent": 63,
|
| 21 |
+
"unsolved": 32
|
| 22 |
+
},
|
| 23 |
+
"train": {
|
| 24 |
+
"baseline_llm": 329,
|
| 25 |
+
"broadcast": 176,
|
| 26 |
+
"planner_executor_reviewer": 133,
|
| 27 |
+
"single_agent": 294,
|
| 28 |
+
"unsolved": 147
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"routers": {
|
| 32 |
+
"metadata_bucket_majority": {
|
| 33 |
+
"bucket_rule": "difficulty_tier, else lab_bench_subset, else source, else subtask, else dataset/domain/global",
|
| 34 |
+
"global_majority": "baseline_llm",
|
| 35 |
+
"n_train_buckets": 6,
|
| 36 |
+
"router": "train-split metadata-bucket majority"
|
| 37 |
+
},
|
| 38 |
+
"metadata_logreg": {
|
| 39 |
+
"config_search": [
|
| 40 |
+
{
|
| 41 |
+
"C": 0.25,
|
| 42 |
+
"class_weight": "none",
|
| 43 |
+
"dev_macro_f1": 0.461884,
|
| 44 |
+
"dev_oracle_gap": 0.298701,
|
| 45 |
+
"dev_solve_rate": 0.5671
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"C": 1.0,
|
| 49 |
+
"class_weight": "none",
|
| 50 |
+
"dev_macro_f1": 0.46713,
|
| 51 |
+
"dev_oracle_gap": 0.294372,
|
| 52 |
+
"dev_solve_rate": 0.571429
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"C": 4.0,
|
| 56 |
+
"class_weight": "none",
|
| 57 |
+
"dev_macro_f1": 0.46713,
|
| 58 |
+
"dev_oracle_gap": 0.294372,
|
| 59 |
+
"dev_solve_rate": 0.571429
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"C": 0.25,
|
| 63 |
+
"class_weight": "balanced",
|
| 64 |
+
"dev_macro_f1": 0.451913,
|
| 65 |
+
"dev_oracle_gap": 0.25974,
|
| 66 |
+
"dev_solve_rate": 0.606061
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"C": 1.0,
|
| 70 |
+
"class_weight": "balanced",
|
| 71 |
+
"dev_macro_f1": 0.451913,
|
| 72 |
+
"dev_oracle_gap": 0.25974,
|
| 73 |
+
"dev_solve_rate": 0.606061
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"C": 4.0,
|
| 77 |
+
"class_weight": "balanced",
|
| 78 |
+
"dev_macro_f1": 0.451913,
|
| 79 |
+
"dev_oracle_gap": 0.25974,
|
| 80 |
+
"dev_solve_rate": 0.606061
|
| 81 |
+
}
|
| 82 |
+
],
|
| 83 |
+
"feature_dimensions": {
|
| 84 |
+
"metadata_feature_count": 58
|
| 85 |
+
},
|
| 86 |
+
"refit": "train+dev before held-out test evaluation",
|
| 87 |
+
"selected_config": {
|
| 88 |
+
"C": 1.0,
|
| 89 |
+
"class_weight": "none"
|
| 90 |
+
},
|
| 91 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 92 |
+
},
|
| 93 |
+
"text_metadata_logreg": {
|
| 94 |
+
"config_search": [
|
| 95 |
+
{
|
| 96 |
+
"C": 0.25,
|
| 97 |
+
"class_weight": "none",
|
| 98 |
+
"dev_macro_f1": 0.482273,
|
| 99 |
+
"dev_oracle_gap": 0.298701,
|
| 100 |
+
"dev_solve_rate": 0.5671
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"C": 1.0,
|
| 104 |
+
"class_weight": "none",
|
| 105 |
+
"dev_macro_f1": 0.489049,
|
| 106 |
+
"dev_oracle_gap": 0.285714,
|
| 107 |
+
"dev_solve_rate": 0.580087
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"C": 4.0,
|
| 111 |
+
"class_weight": "none",
|
| 112 |
+
"dev_macro_f1": 0.476716,
|
| 113 |
+
"dev_oracle_gap": 0.311688,
|
| 114 |
+
"dev_solve_rate": 0.554113
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"C": 0.25,
|
| 118 |
+
"class_weight": "balanced",
|
| 119 |
+
"dev_macro_f1": 0.458072,
|
| 120 |
+
"dev_oracle_gap": 0.264069,
|
| 121 |
+
"dev_solve_rate": 0.601732
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"C": 1.0,
|
| 125 |
+
"class_weight": "balanced",
|
| 126 |
+
"dev_macro_f1": 0.459016,
|
| 127 |
+
"dev_oracle_gap": 0.290043,
|
| 128 |
+
"dev_solve_rate": 0.575758
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"C": 4.0,
|
| 132 |
+
"class_weight": "balanced",
|
| 133 |
+
"dev_macro_f1": 0.458166,
|
| 134 |
+
"dev_oracle_gap": 0.281385,
|
| 135 |
+
"dev_solve_rate": 0.584416
|
| 136 |
+
}
|
| 137 |
+
],
|
| 138 |
+
"feature_dimensions": {
|
| 139 |
+
"metadata_feature_count": 58,
|
| 140 |
+
"text_vocab_size": 12628
|
| 141 |
+
},
|
| 142 |
+
"refit": "train+dev before held-out test evaluation",
|
| 143 |
+
"selected_config": {
|
| 144 |
+
"C": 1.0,
|
| 145 |
+
"class_weight": "none"
|
| 146 |
+
},
|
| 147 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
"setting": "labbench__text_no_tool__gpt_oss_120b_text_no_tool",
|
| 151 |
+
"split_counts": {
|
| 152 |
+
"dev": 231,
|
| 153 |
+
"test": 232,
|
| 154 |
+
"train": 1079
|
| 155 |
+
}
|
| 156 |
+
}
|
artifacts/router_metadata__omnimath2__competition_math_4181__gemma_4_31b.json
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bootstrap": {
|
| 3 |
+
"resamples": 2000,
|
| 4 |
+
"seed": 20260713,
|
| 5 |
+
"unit": "problem_uid"
|
| 6 |
+
},
|
| 7 |
+
"generated_at_utc": "2026-07-14T04:10:25.417360+00:00",
|
| 8 |
+
"label_counts_by_split": {
|
| 9 |
+
"dev": {
|
| 10 |
+
"baseline_llm": 435,
|
| 11 |
+
"broadcast": 18,
|
| 12 |
+
"planner_executor_reviewer": 41,
|
| 13 |
+
"single_agent": 106,
|
| 14 |
+
"unsolved": 27
|
| 15 |
+
},
|
| 16 |
+
"test": {
|
| 17 |
+
"baseline_llm": 436,
|
| 18 |
+
"broadcast": 18,
|
| 19 |
+
"planner_executor_reviewer": 40,
|
| 20 |
+
"single_agent": 107,
|
| 21 |
+
"unsolved": 27
|
| 22 |
+
},
|
| 23 |
+
"train": {
|
| 24 |
+
"baseline_llm": 2030,
|
| 25 |
+
"broadcast": 84,
|
| 26 |
+
"planner_executor_reviewer": 187,
|
| 27 |
+
"single_agent": 498,
|
| 28 |
+
"unsolved": 127
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"routers": {
|
| 32 |
+
"metadata_bucket_majority": {
|
| 33 |
+
"bucket_rule": "difficulty_tier, else lab_bench_subset, else source, else subtask, else dataset/domain/global",
|
| 34 |
+
"global_majority": "baseline_llm",
|
| 35 |
+
"n_train_buckets": 10,
|
| 36 |
+
"router": "train-split metadata-bucket majority"
|
| 37 |
+
},
|
| 38 |
+
"metadata_logreg": {
|
| 39 |
+
"config_search": [
|
| 40 |
+
{
|
| 41 |
+
"C": 0.25,
|
| 42 |
+
"class_weight": "none",
|
| 43 |
+
"dev_macro_f1": 0.179087,
|
| 44 |
+
"dev_oracle_gap": 0.256778,
|
| 45 |
+
"dev_solve_rate": 0.700159
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"C": 1.0,
|
| 49 |
+
"class_weight": "none",
|
| 50 |
+
"dev_macro_f1": 0.178893,
|
| 51 |
+
"dev_oracle_gap": 0.253589,
|
| 52 |
+
"dev_solve_rate": 0.703349
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"C": 4.0,
|
| 56 |
+
"class_weight": "none",
|
| 57 |
+
"dev_macro_f1": 0.182069,
|
| 58 |
+
"dev_oracle_gap": 0.251994,
|
| 59 |
+
"dev_solve_rate": 0.704944
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"C": 0.25,
|
| 63 |
+
"class_weight": "balanced",
|
| 64 |
+
"dev_macro_f1": 0.217796,
|
| 65 |
+
"dev_oracle_gap": 0.221691,
|
| 66 |
+
"dev_solve_rate": 0.735247
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"C": 1.0,
|
| 70 |
+
"class_weight": "balanced",
|
| 71 |
+
"dev_macro_f1": 0.216413,
|
| 72 |
+
"dev_oracle_gap": 0.226475,
|
| 73 |
+
"dev_solve_rate": 0.730463
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"C": 4.0,
|
| 77 |
+
"class_weight": "balanced",
|
| 78 |
+
"dev_macro_f1": 0.218656,
|
| 79 |
+
"dev_oracle_gap": 0.221691,
|
| 80 |
+
"dev_solve_rate": 0.735247
|
| 81 |
+
}
|
| 82 |
+
],
|
| 83 |
+
"feature_dimensions": {
|
| 84 |
+
"metadata_feature_count": 363
|
| 85 |
+
},
|
| 86 |
+
"refit": "train+dev before held-out test evaluation",
|
| 87 |
+
"selected_config": {
|
| 88 |
+
"C": 4.0,
|
| 89 |
+
"class_weight": "balanced"
|
| 90 |
+
},
|
| 91 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 92 |
+
},
|
| 93 |
+
"text_metadata_logreg": {
|
| 94 |
+
"config_search": [
|
| 95 |
+
{
|
| 96 |
+
"C": 0.25,
|
| 97 |
+
"class_weight": "none",
|
| 98 |
+
"dev_macro_f1": 0.185324,
|
| 99 |
+
"dev_oracle_gap": 0.253589,
|
| 100 |
+
"dev_solve_rate": 0.703349
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"C": 1.0,
|
| 104 |
+
"class_weight": "none",
|
| 105 |
+
"dev_macro_f1": 0.191559,
|
| 106 |
+
"dev_oracle_gap": 0.245614,
|
| 107 |
+
"dev_solve_rate": 0.711324
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"C": 4.0,
|
| 111 |
+
"class_weight": "none",
|
| 112 |
+
"dev_macro_f1": 0.205862,
|
| 113 |
+
"dev_oracle_gap": 0.232855,
|
| 114 |
+
"dev_solve_rate": 0.724083
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"C": 0.25,
|
| 118 |
+
"class_weight": "balanced",
|
| 119 |
+
"dev_macro_f1": 0.233681,
|
| 120 |
+
"dev_oracle_gap": 0.208931,
|
| 121 |
+
"dev_solve_rate": 0.748006
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"C": 1.0,
|
| 125 |
+
"class_weight": "balanced",
|
| 126 |
+
"dev_macro_f1": 0.260752,
|
| 127 |
+
"dev_oracle_gap": 0.197767,
|
| 128 |
+
"dev_solve_rate": 0.759171
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"C": 4.0,
|
| 132 |
+
"class_weight": "balanced",
|
| 133 |
+
"dev_macro_f1": 0.235345,
|
| 134 |
+
"dev_oracle_gap": 0.210526,
|
| 135 |
+
"dev_solve_rate": 0.746411
|
| 136 |
+
}
|
| 137 |
+
],
|
| 138 |
+
"feature_dimensions": {
|
| 139 |
+
"metadata_feature_count": 363,
|
| 140 |
+
"text_vocab_size": 15585
|
| 141 |
+
},
|
| 142 |
+
"refit": "train+dev before held-out test evaluation",
|
| 143 |
+
"selected_config": {
|
| 144 |
+
"C": 1.0,
|
| 145 |
+
"class_weight": "balanced"
|
| 146 |
+
},
|
| 147 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
"setting": "omnimath2__competition_math_4181__gemma_4_31b",
|
| 151 |
+
"split_counts": {
|
| 152 |
+
"dev": 627,
|
| 153 |
+
"test": 628,
|
| 154 |
+
"train": 2926
|
| 155 |
+
}
|
| 156 |
+
}
|
artifacts/router_metadata__omnimath2__competition_math_4181__gpt_oss_120b.json
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bootstrap": {
|
| 3 |
+
"resamples": 2000,
|
| 4 |
+
"seed": 20260713,
|
| 5 |
+
"unit": "problem_uid"
|
| 6 |
+
},
|
| 7 |
+
"generated_at_utc": "2026-07-14T04:10:45.093159+00:00",
|
| 8 |
+
"label_counts_by_split": {
|
| 9 |
+
"dev": {
|
| 10 |
+
"baseline_llm": 356,
|
| 11 |
+
"broadcast": 26,
|
| 12 |
+
"planner_executor_reviewer": 55,
|
| 13 |
+
"single_agent": 144,
|
| 14 |
+
"unsolved": 46
|
| 15 |
+
},
|
| 16 |
+
"test": {
|
| 17 |
+
"baseline_llm": 357,
|
| 18 |
+
"broadcast": 26,
|
| 19 |
+
"planner_executor_reviewer": 55,
|
| 20 |
+
"single_agent": 144,
|
| 21 |
+
"unsolved": 46
|
| 22 |
+
},
|
| 23 |
+
"train": {
|
| 24 |
+
"baseline_llm": 1663,
|
| 25 |
+
"broadcast": 123,
|
| 26 |
+
"planner_executor_reviewer": 256,
|
| 27 |
+
"single_agent": 670,
|
| 28 |
+
"unsolved": 214
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"routers": {
|
| 32 |
+
"metadata_bucket_majority": {
|
| 33 |
+
"bucket_rule": "difficulty_tier, else lab_bench_subset, else source, else subtask, else dataset/domain/global",
|
| 34 |
+
"global_majority": "baseline_llm",
|
| 35 |
+
"n_train_buckets": 10,
|
| 36 |
+
"router": "train-split metadata-bucket majority"
|
| 37 |
+
},
|
| 38 |
+
"metadata_logreg": {
|
| 39 |
+
"config_search": [
|
| 40 |
+
{
|
| 41 |
+
"C": 0.25,
|
| 42 |
+
"class_weight": "none",
|
| 43 |
+
"dev_macro_f1": 0.258693,
|
| 44 |
+
"dev_oracle_gap": 0.259968,
|
| 45 |
+
"dev_solve_rate": 0.666667
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"C": 1.0,
|
| 49 |
+
"class_weight": "none",
|
| 50 |
+
"dev_macro_f1": 0.259024,
|
| 51 |
+
"dev_oracle_gap": 0.259968,
|
| 52 |
+
"dev_solve_rate": 0.666667
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"C": 4.0,
|
| 56 |
+
"class_weight": "none",
|
| 57 |
+
"dev_macro_f1": 0.257415,
|
| 58 |
+
"dev_oracle_gap": 0.261563,
|
| 59 |
+
"dev_solve_rate": 0.665072
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"C": 0.25,
|
| 63 |
+
"class_weight": "balanced",
|
| 64 |
+
"dev_macro_f1": 0.290482,
|
| 65 |
+
"dev_oracle_gap": 0.23126,
|
| 66 |
+
"dev_solve_rate": 0.695375
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"C": 1.0,
|
| 70 |
+
"class_weight": "balanced",
|
| 71 |
+
"dev_macro_f1": 0.280241,
|
| 72 |
+
"dev_oracle_gap": 0.248804,
|
| 73 |
+
"dev_solve_rate": 0.677831
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"C": 4.0,
|
| 77 |
+
"class_weight": "balanced",
|
| 78 |
+
"dev_macro_f1": 0.277894,
|
| 79 |
+
"dev_oracle_gap": 0.259968,
|
| 80 |
+
"dev_solve_rate": 0.666667
|
| 81 |
+
}
|
| 82 |
+
],
|
| 83 |
+
"feature_dimensions": {
|
| 84 |
+
"metadata_feature_count": 374
|
| 85 |
+
},
|
| 86 |
+
"refit": "train+dev before held-out test evaluation",
|
| 87 |
+
"selected_config": {
|
| 88 |
+
"C": 0.25,
|
| 89 |
+
"class_weight": "balanced"
|
| 90 |
+
},
|
| 91 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 92 |
+
},
|
| 93 |
+
"text_metadata_logreg": {
|
| 94 |
+
"config_search": [
|
| 95 |
+
{
|
| 96 |
+
"C": 0.25,
|
| 97 |
+
"class_weight": "none",
|
| 98 |
+
"dev_macro_f1": 0.262641,
|
| 99 |
+
"dev_oracle_gap": 0.261563,
|
| 100 |
+
"dev_solve_rate": 0.665072
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"C": 1.0,
|
| 104 |
+
"class_weight": "none",
|
| 105 |
+
"dev_macro_f1": 0.281265,
|
| 106 |
+
"dev_oracle_gap": 0.264753,
|
| 107 |
+
"dev_solve_rate": 0.661882
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"C": 4.0,
|
| 111 |
+
"class_weight": "none",
|
| 112 |
+
"dev_macro_f1": 0.279245,
|
| 113 |
+
"dev_oracle_gap": 0.261563,
|
| 114 |
+
"dev_solve_rate": 0.665072
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"C": 0.25,
|
| 118 |
+
"class_weight": "balanced",
|
| 119 |
+
"dev_macro_f1": 0.305407,
|
| 120 |
+
"dev_oracle_gap": 0.220096,
|
| 121 |
+
"dev_solve_rate": 0.706539
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"C": 1.0,
|
| 125 |
+
"class_weight": "balanced",
|
| 126 |
+
"dev_macro_f1": 0.323259,
|
| 127 |
+
"dev_oracle_gap": 0.221691,
|
| 128 |
+
"dev_solve_rate": 0.704944
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"C": 4.0,
|
| 132 |
+
"class_weight": "balanced",
|
| 133 |
+
"dev_macro_f1": 0.32304,
|
| 134 |
+
"dev_oracle_gap": 0.23126,
|
| 135 |
+
"dev_solve_rate": 0.695375
|
| 136 |
+
}
|
| 137 |
+
],
|
| 138 |
+
"feature_dimensions": {
|
| 139 |
+
"metadata_feature_count": 374,
|
| 140 |
+
"text_vocab_size": 15599
|
| 141 |
+
},
|
| 142 |
+
"refit": "train+dev before held-out test evaluation",
|
| 143 |
+
"selected_config": {
|
| 144 |
+
"C": 1.0,
|
| 145 |
+
"class_weight": "balanced"
|
| 146 |
+
},
|
| 147 |
+
"selection_metric": "dev macro-F1, then dev solve rate, then oracle gap"
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
"setting": "omnimath2__competition_math_4181__gpt_oss_120b",
|
| 151 |
+
"split_counts": {
|
| 152 |
+
"dev": 627,
|
| 153 |
+
"test": 628,
|
| 154 |
+
"train": 2926
|
| 155 |
+
}
|
| 156 |
+
}
|