Skip to page content
SAVRN
Search Plan a project

Open-weight model

EMNLP_Cost-Aware-Protocol-Routing

by AgentsSci — Agents for Science Research Group AgentsSci/EMNLP_Cost-Aware-Protocol-Routing

EMNLP_Cost-Aware-Protocol-Routing is an open-weight model from AgentsSci — Agents for Science Research Group, released under MIT License. Its published files total 45.1 KB.

EMNLP 2026 Accepted Paper LLMs Can Predict Failure Risk, But Struggle to Predict Which Collaboration Protocol Pays Off: Cost-Aware Protocol Routing Across Reasoning Tasks This is not a language model. It contains no foundation-model weights.

Parameters—
Context—
Weights45.1 KB
Licensemit
AccessOpen weights
Monthly Downloads—

Model Card

By AgentsSci — Agents for Science Research Group, published under mit, revision a7d0dd15bbbf.

EMNLP 2026 Accepted Paper LLMs Can Predict Failure Risk, But Struggle to Predict Which Collaboration Protocol Pays Off: Cost-Aware Protocol Routing Across Reasoning Tasks This is not a language model. It contains no foundation-model weights. The paper evaluates two third-party solver families — openai/gpt-oss-120b and google/gemma-4-31B-it — which we did not train, do not own, and do not redistribute. Their licenses and terms are their own. This is a research-artifact card, not a checkpoint release. It documents the paper's lightweight routers: small scikit-learn classifiers that pick which collaboration protocol to run. It ships their training code, configurations, selected…

Read AgentsSci — Agents for Science Research Group's full model card

Cost-Aware Protocol Routing — research artifact card

EMNLP 2026 Accepted Paper LLMs Can Predict Failure Risk, But Struggle to Predict Which Collaboration Protocol Pays Off: Cost-Aware Protocol Routing Across Reasoning Tasks

Paper (arXiv) · PDF · Project page · Code · Dataset


Read this first: what this repository is, and is not

This is not a language model. It contains no foundation-model weights. The paper evaluates two third-party solver families — openai/gpt-oss-120b and google/gemma-4-31B-it — which we did not train, do not own, and do not redistribute. Their licenses and terms are their own.

This is a research-artifact card, not a checkpoint release. It documents the paper's lightweight routers: small scikit-learn classifiers that pick which collaboration protocol to run. It ships their training code, configurations, selected hyperparameters, and per-problem held-out predictions — but no serialized model file. The reason is stated honestly below.

Why no checkpoint is published

If you see a joblib.load(...) snippet on this page, ignore it. Hugging Face auto-generates a "Use this model" widget for scikit-learn repositories, and it points at a sklearn_model.joblib that does not exist here. That is not a broken upload: no checkpoint is published, deliberately, for the reasons below.

A trained metadata-only router exists in our internal results. We chose not to publish it:

  1. Its serialized estimator stores integer classes [0, 1, 2, 3, 4] with no embedded label mapping. The mapping from index to protocol is recoverable only by assuming sorted label-name order. That is a convention, not a stored fact, and we could not verify it from the checkpoint alone. Publishing it would ask users to guess which action index 3 means — and a wrong guess produces confident, silently incorrect routing.
  2. It was pickled under a different scikit-learn version and already emits InconsistentVersionWarning on load here. Pickled estimators are version-fragile and are not a durable research artifact.
  3. Nothing is lost. Every number in the paper can be reproduced without it: the per-problem held-out predictions are released with string labels, and the training code is released and tested. A user can re-fit the router in minutes on CPU, or score our exact predictions directly.

If you need a checkpoint for a downstream system, train one with the released code and record your own label mapping.


What the router predicts

For each problem, before any protocol is executed, the router picks one of five actions:

Action Meaning Oracle rank
baseline_llm Direct one-shot solving 1
single_agent Iterative single-agent self-correction 2
per Planner–Executor–Reviewer collaboration 3
broadcast Multi-agent deliberation 4
none Do not escalate: no observed protocol succeeded 5

none is a router action, not a fifth protocol. It is the correct choice when every protocol would have failed, so spending on escalation is wasted.

The target label is the fixed-order oracle: the first protocol that actually succeeded, in the order above. That label is retrospective — it is what the router is trained to predict, not something available at inference.

Feature inputs, and the leakage boundary

Routers see only problem-level information available before execution:

  • problem text (text+metadata variant only), as TF-IDF features
  • difficulty tier, source, and domain metadata
  • benchmark and condition identifiers

They never see: gold answers, Baseline correctness, any protocol outcome, the oracle label, or any downstream collaboration result. This is enforced in code, not merely by convention — protocol_routing.features maintains an explicit forbidden-column set and raises LeakageError on contact, including for case variants. The repository's test suite proves the guard refuses deliberately constructed violations.

Router variants

Variant Features Notes
Text + metadata TF-IDF over problem text, plus metadata The paper's main learned router
Metadata only Metadata, no text Ablation; isolates the contribution of text
Tier-majority None (train-split lookup) Reference policy: majority oracle label within each difficulty tier, with the train-split global majority as fallback

All are multinomial logistic regression over the five actions.

Training and selection procedure

Six-setting evaluation (the main router results): stratified 70/15/15 split by oracle label, seed 20260712. Hyperparameters selected on dev only, then refit on train+dev, then evaluated once on untouched test problem identifiers. All routers are scored on identical held-out ids, which we verified.

Primary split (Table 1): stratified 80/10/10, seed 42, test n=423.

Confidence intervals throughout are 2,000-resample problem-level percentile bootstraps. They quantify uncertainty over which problems are in the benchmark — not run-to-run variability, since each problem-protocol pair has exactly one realized outcome.

Supported settings

Router evaluations cover six settings only: both solvers on OmniMath, LAB-Bench strict, and LAB-Bench text-no-tool. The matched four-protocol outcome data covers ten settings, but the router analysis does not. Please do not read these results as holding across all ten.

Results

Held-out router performance (from results/aggregate/heldout_router_evaluation.csv):

Setting n Baseline Router Oracle Oracle gap
Gemma-4-31B-it OmniMath 628 0.6943 0.7659 0.9570 0.1911
gpt-oss-120b OmniMath 628 0.5685 0.6672 0.9268 0.2596
Gemma-4-31B-it LAB-Bench strict 112 0.4464 0.7054 0.9107 0.2054
gpt-oss-120b LAB-Bench strict 112 0.1875 0.5625 0.7679 0.2054
Gemma-4-31B-it LAB-Bench text-no-tool 232 0.4181 0.7759 0.9612 0.1853
gpt-oss-120b LAB-Bench text-no-tool 232 0.3060 0.5733 0.8621 0.2888

The router beats Baseline everywhere. It also leaves 18.5–28.9 points on the table against the retrospective oracle, and oracle-label macro-F1 stays in the 0.27–0.50 range. That gap is the paper's point, not a footnote.

Why this does not solve collaboration-value prediction

The paper's central negative result: a model's own confidence ranks Baseline failures well (0.8847 AUROC) but is much weaker at identifying which protocol pays off (0.1674 AUPRC for PER-specific value, 0.1041 for Broadcast-specific). Learned routers improve on fixed policies but do not close the oracle gap.

Cost-aware selection among Single, PER, Broadcast, and None remains unresolved. These artifacts are published so that others can attack that problem on matched data, not because the problem is solved.

Intended use and limitations

Intended: reproducing the paper; research on cost-aware routing and escalation policies; a baseline to beat.

Not intended: production routing without re-validation on your own workload. These routers are fit to specific benchmarks and two specific solver families. Protocol value varies substantially by task — the paper shows Broadcast's advantage over PER ranging from about 10 to 45 points across settings — so a router fit here should not be assumed to transfer.

Further limitations

  • One realized execution per problem-protocol pair; no run-to-run variance.
  • The fixed-order oracle is retrospective and is not a deployable policy.
  • Cost is measured in logged tokens only — not latency, price, energy, or parallelism.
  • No model snapshot was version-pinned at run time, so exact historical execution cannot be recreated. We claim functional, not bit-for-bit, reproducibility.
  • Routing errors are asymmetric in a way these metrics do not capture: under-escalating loses a solvable problem, over-escalating only wastes tokens.

Reproducing

git clone https://github.com/ChihHsuan-Yang/EMNLP_Cost-Aware-Protocol-Routing.git
cd EMNLP_Cost-Aware-Protocol-Routing
make setup
make test
python scripts/train_router.py --help
python scripts/evaluate_router.py --help

See docs/REPRODUCE.md in the repository for the full guide.

Citation

@article{yang2026protocolrouting,
  title  = {{LLMs Can Predict Failure Risk, But Struggle to Predict Which
            Collaboration Protocol Pays Off: Cost-Aware Protocol Routing
            Across Reasoning Tasks}},
  author = {Yang, Chih-Hsuan and Jiang, Jingyan and Yang, Cheng-Hau and
            Vasudevan, Vikram and Zheng, Huihuo and Vishwanath, Venkatram and
            Thakur, Rajeev},
  journal = {arXiv preprint arXiv:2608.14927},
  year    = {2026},
  note    = {To appear at EMNLP 2026},
  url     = {https://arxiv.org/abs/2608.14927}
}

Acknowledgments

This research used resources of the Argonne Leadership Computing Facility, a U.S. Department of Energy (DOE) Office of Science user facility at Argonne National Laboratory (ANL) operated under Contract No. DE-AC02-06CH11357.

Contact

Chih-Hsuan (Bella) Yang — [email protected]

Identity and Version

Repository
AgentsSci/EMNLP_Cost-Aware-Protocol-Routing
Publisher
AgentsSci — Agents for Science Research Group
Task
Not stated by the source
Modality
Other
Library
Not stated by the source
Parameters
Not stated by the source
Languages
en
Revision
a7d0dd15bbbfa0cce018df408b10bac26aa37477
First published
2026-09-23
Last updated
2026-09-24

Files and Weights

14 files, 45.1 KB in total.

Configuration7 files · 26.0 KB
Documentation3 files · 13.9 KB
Other3 files · 3.6 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
artifacts/metadata_only_router_selected_config.jsonConfiguration1.3 KB —
artifacts/router_metadata__labbench__llm_strict__gemma_4_31b.jsonConfiguration4.1 KB —
artifacts/router_metadata__labbench__llm_strict__gpt_oss_120b.jsonConfiguration4.1 KB —
artifacts/router_metadata__labbench__text_no_tool__gemma_4_31b_text_no_tool.jsonConfiguration4.1 KB —
artifacts/router_metadata__labbench__text_no_tool__gpt_oss_120b_text_no_tool.jsonConfiguration4.1 KB —
artifacts/router_metadata__omnimath2__competition_math_4181__gemma_4_31b.jsonConfiguration4.1 KB —
artifacts/router_metadata__omnimath2__competition_math_4181__gpt_oss_120b.jsonConfiguration4.1 KB —
LICENSEDocumentation1.1 KB —
NOTICEDocumentation2.6 KB —
README.mdDocumentation10.3 KB —
CITATION.cffOther2.2 KB —
artifacts/heldout_router_evaluation.csvOther900 B —
artifacts/heldout_router_paired_differences.csvOther571 B —
.gitattributesRepository1.5 KB —

License and Download

License
mit
Access
Open weights, no gate
Download from AgentsSci — Agents for Science Research Group

Released by AgentsSci — Agents for Science Research Group through its official repository on Hugging Face. Read the license.

Built From

Questions About EMNLP_Cost-Aware-Protocol-Routing

Can I use EMNLP_Cost-Aware-Protocol-Routing commercially?

Yes. EMNLP_Cost-Aware-Protocol-Routing is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.