SeLMRoute: Probabilistic Semantic Evidence for Large Language Model Routing

Hugging Face Daily Papers Papers

Summary

SeLMRoute introduces an LLM routing framework that separates candidate-independent semantic evidence extraction from performance learning, achieving 72.08% average accuracy on LLMRouterBench across 15 datasets and 20 candidate models, outperforming the strongest fixed candidate (69.23%) and enabling both performance-oriented and cost-aware routing decisions.

Large language model (LLM) routing aims to select the most suitable model for each incoming query. Most existing routers learn this decision directly from query embeddings, model representations, preference data, or clusters of similar examples. Such approaches can be effective, yet the representation used for routing rarely states what a query actually requires. We introduce SeLMRoute, a routing framework that separates the extraction of candidate-independent semantic evidence from the learning of candidate performance and the application of deployment objectives. A decision model first evaluates a set of interpretable questions about the query, such as its reasoning requirements and use of external knowledge, with each judgment retained as a probability distribution. The resulting probabilistic semantic state is used by a lightweight supervised router to estimate candidate model performance. Routing objectives are applied after performance estimation, which allows the same semantic state to support performance-oriented and cost-aware decisions. On the LLMRouterBench (15 datasets, 20 candidate models, 11,481 queries), SeLMRoute achieves an average accuracy of 72.08% pm 0.45, while grouped five-fold out-of-fold evaluation reaches 72.64%, compared with 69.23% for the strongest fixed candidate. The representation achieves the highest mean performance among the evaluated semantic, dense, lexical, and domain-level representations. In a separate 13-model performance-cost setting, SeLMRoute improves performance in all five grouped splits, with a mean PerfGain of 2.66%. Our code is available at https://github.com/Indigma-Innovations/SeLMRoute.
Original Article
View Cached Full Text

Cached at: 10/01/26, 04:23 PM

Paper page - SeLMRoute: Probabilistic Semantic Evidence for Large Language Model Routing

Source: https://huggingface.co/papers/2609.34736

Abstract

Largelanguagemodel(LLM)routingaimstoselectthemostsuitablemodelforeachincomingquery.Mostexistingrouterslearnthisdecisiondirectlyfromqueryembeddings,modelrepresentations,preferencedata,orclustersofsimilarexamples.Suchapproachescanbeeffective,yettherepresentationusedforroutingrarelystateswhataqueryactuallyrequires.WeintroduceSeLMRoute,aroutingframeworkthatseparatestheextractionofcandidate-independentsemanticevidencefromthelearningofcandidateperformanceandtheapplicationofdeploymentobjectives.Adecisionmodelfirstevaluatesasetofinterpretablequestionsaboutthequery,suchasitsreasoningrequirementsanduseofexternalknowledge,witheachjudgmentretainedasaprobabilitydistribution.Theresultingprobabilisticsemanticstateisusedbyalightweightsupervisedroutertoestimatecandidatemodelperformance.Routingobjectivesareappliedafterperformanceestimation,whichallowsthesamesemanticstatetosupportperformance-orientedandcost-awaredecisions.OntheLLMRouterBench(15datasets,20candidatemodels,11,481queries),SeLMRouteachievesanaverageaccuracyof72.08%pm0.45,whilegroupedfive-foldout-of-foldevaluationreaches72.64%,comparedwith69.23%forthestrongestfixedcandidate.Therepresentationachievesthehighestmeanperformanceamongtheevaluatedsemantic,dense,lexical,anddomain-levelrepresentations.Inaseparate13-modelperformance-costsetting,SeLMRouteimprovesperformanceinallfivegroupedsplits,withameanPerfGainof2.66%.Ourcodeisavailableathttps://github.com/Indigma-Innovations/SeLMRoute.

View arXiv pageView PDFGitHub0Add to collection

Get this paper in your agent:

hf papers read 2609\.34736

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2609.34736 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2609.34736 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2609.34736 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

Pretrain Once, Route Anywhere: Towards a Foundation Model for LLM Routing

Hugging Face Daily Papers

The paper introduces RouteFM, a foundation model for LLM routing that learns reusable routing capabilities via episodic pretraining across heterogeneous environments, allowing a frozen router to adapt to new domains, modalities, and candidate pools through behavioral context alone. RouteFM outperforms the strongest baseline by 2.23 quality points on MMR-Bench with only eight observations per candidate, supporting a 'pretrain once, route anywhere' paradigm.