跳到正文
原文
HuggingFace Daily Papers(社区热门论文)· HuggingFace Daily Papers(社区热门论文)·· 7 天前AI 评分36

RouteFM:面向 LLM 路由的基础模型,预训练一次即可跨环境路由

AI 导读

研究者提出 RouteFM,通过跨异构路由环境的片段式预训练学习可复用的 LLM 路由能力,让冻结的路由器仅靠上下文即可适配新环境,而非绑定固定模型身份。在未参与预训练的 MMR-Bench 上,每个候选模型仅用 8 条观测,RouteFM 就比最强基线高出 2.23 个质量分。代码已公开。

正文

View PDF HTML (experimental)

Abstract:Large language model (LLM) routing aims to assign each query to the most suitable model from a heterogeneous candidate pool, improving the quality--efficiency trade-off of LLM inference. Existing routers are typically learned through local fitting: a router is optimized for a particular query workload and candidate pool, and often requires additional supervision or retraining as the routing environment changes. We ask whether LLM routing can instead be approached from a foundation-model perspective, learning a reusable routing capability that generalizes across tasks, candidate models, and deployment conditions. To this end, we introduce RouteFM, which learns to characterize anonymous candidate models from behavioral context and infer their target-specific capabilities, rather than binding routing decisions to fixed model identities or a single environment. Through episodic pretraining across heterogeneous routing environments, this capability can be reused by a frozen router and adapted to new environments through context alone. Experiments demonstrate transfer across changes in domains, modalities, candidate pools, and context budgets, with the largest gains when behavioral evidence is limited. On MMR-Bench, which is excluded from pretraining, RouteFM outperforms the strongest baseline by 2.23 quality points with only eight observations per candidate. These results support moving LLM routing from repeated local fitting toward a pretrain once, route anywhere paradigm. Our code is publicly available at this https URL.
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2609.37362 [cs.AI]
  (or arXiv:2609.37362v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2609.37362

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Guannan Lai [view email]
[v1] Tue, 29 Sep 2026 12:23:58 UTC (561 KB)

来源:HuggingFace Daily Papers(社区热门论文) · arxiv.org