Elamur Research⌕
☰
home / papers / 2026 / Generalising LLM Routing using Past Performance Retrieval: A Few-Shot Router is Sufficient

Generalising LLM Routing using Past Performance Retrieval: A Few-Shot Router is Sufficient

Paper · 2026 · Clovis Varangot-Reille, Christophe Bouvard and Antoine Gourru

Summary

The paper asks whether LLM routing that adapts to new candidate models without retraining really needs complex architectures such as graph neural networks or learned model representations. The authors propose CONTEXTUAL ROUTER, a meta-evaluation approach. A new query is embedded and matched by cosine similarity against a small history of queries with known per-model scores. The similarities and neighbour scores are then combined through a light attention-style regressor to estimate each candidate's performance. The final model choice maximises estimated performance minus a cost term weighted by a tunable penalty λ. Because the input size depends on k rather than on the number of models, a new LLM can join by being scored on the history set. The method was tested on SPROUT, RouterBench, LiveBench, BigGenBench and EmbedLLM against UMR. It reached quality–cost trade-offs comparable to other generalisable routers. However, plain k-NN averaging did as well or better. The takeaway is that good retrieval over a small performance log is enough for practical, low-resource routing.

Key points

  • Five routing benchmarks were used: SPROUT, RouterBench, LiveBench, BigGenBench and EmbedLLM. The main baselines were UMR and K-NN@40, and k = 40 was the default neighbourhood size.
  • Changing the encoder made no significant difference. The authors compared potion-multilingual-128M (static, 256d), snowflake-arctic-embed-m-v2.0 (768d) and OpenAI text-embedding-3-large (3072d). The static model came close to the best, which was Snowflake's.
  • In a low-data test on the unseen FusionBench, retrieval-based routers did as well with 1% of the history (n=53) as with 10% (n=535). This held for both original and newly added candidates. UMR, in contrast, degraded at 1%.
  • To simulate realistic queries, 3000 samples each from RouterBench, EmbedLLM and Sprout were paraphrased with gpt-4o-mini. The resulting changes were small, with ΔPeak between −0.3 and 2.0 and ΔDTO_w between −3.0 and 1.1.
  • The main practical cost is that a collection of queries, each paired with recorded scores for the candidate LLMs, must be kept available during inference, though it only needs to be very small.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Clovis Varangot-Reille, Christophe Bouvard and Antoine Gourru. 2026. Generalising LLM Routing using Past Performance Retrieval: A Few-Shot Router is Sufficient. Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 4: Student Research Workshop).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2026.eacl-srw.22

@inproceedings{varangotreille2026generalising,
  title = {{Generalising LLM Routing using Past Performance Retrieval: A Few-Shot Router is Sufficient}},
  author = {Clovis Varangot-Reille, Christophe Bouvard and Antoine Gourru},
  booktitle = {Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 4: Student Research Workshop)},
  year = {2026},
  doi = {10.18653/v1/2026.eacl-srw.22},
  url = {https://doi.org/10.18653/v1/2026.eacl-srw.22}
}

References

1 references, 0 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Sumit Kumar Dam, Choong Seon Hong, Yu Qiao, and Chaoning Zhang. 2024. A complete survey on LLM-based AI chatbots. Preprint, arXiv:2406.16937. — [arXiv:2406.16937](https://arxiv.org/abs/2406.16937) find

Updated

This page in Markdown → https://md.research.elamur.ai/free/en/papers/reille-2026-generalising-llm-routing-past-performance/