Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Hugging Face Paper Proposes RouteFM: A Foundation Model That Learns to Route LLM Queries Once, Then Adapts Anywhere

AI By Crimson AI Hugging Face Papers 4 October 2026 · 00:00 11 views
Share: X Telegram

A new paper introduces RouteFM, a foundation-model approach to LLM routing that infers the capabilities of anonymous candidate models from behavioral context, allowing a single frozen router to transfer across domains, modalities, candidate pools, and context budgets without retraining.

Hugging Face Paper Proposes RouteFM: A Foundation Model That Learns to Route LLM Queries Once, Then Adapts Anywhere

Key points

Researchers have proposed RouteFM, a new approach that reframes large language model (LLM) routing as a foundation-model problem rather than a task of repeated local fitting. The work, shared as a paper on Hugging Face, asks whether routing can be learned as a reusable capability that generalizes across tasks, candidate models, and deployment conditions.

Conventional routers are typically optimized for a specific query workload and candidate pool, and often need extra supervision or retraining whenever the routing environment changes. RouteFM takes a different path: instead of binding routing decisions to fixed model identities or a single environment, it learns to characterize anonymous candidate models from behavioral context and infer their target-specific capabilities.

The method relies on episodic pretraining across heterogeneous routing environments. Once pretrained, the routing capability can be reused by a frozen router and adapted to new environments through context alone, according to the paper. The authors report transfer across changes in domains, modalities, candidate pools, and context budgets, with the largest gains observed when behavioral evidence is limited.

On MMR-Bench, a benchmark excluded from pretraining, RouteFM is reported to outperform the strongest baseline by 2.23 quality points using only eight observations per candidate. The authors frame these results as support for moving LLM routing from repeated local fitting toward a "pretrain once, route anywhere" paradigm.

The paper states that the code is publicly available at https://github.com/LAMDA-Model-Reuse/RouteFM.

ItemDetail
MethodRouteFM — foundation-model approach to LLM routing
Core ideaCharacterize anonymous candidate models from behavioral context; infer target-specific capabilities
TrainingEpisodic pretraining across heterogeneous routing environments
AdaptationFrozen router adapts to new environments via context alone
Reported transferDomains, modalities, candidate pools, context budgets
BenchmarkMMR-Bench (excluded from pretraining)
Reported result+2.23 quality points over strongest baseline with 8 observations per candidate
Codehttps://github.com/LAMDA-Model-Reuse/RouteFM
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

3
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

4
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

4