# Federate the Router: Learning Language Model Routers with Sparse and Decentralized Evaluations

*Baris Askin, Shivam Patel, Anupam Nayak, Andrea Vigano, Jiin Woo, Gauri Joshi, Carlee Joe-Wong*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153323) · [OpenReview](https://openreview.net/forum?id=MABQINnqfs) · [Open on the map](../papers.html#p153323)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Agent Memory Management](../pgroup/67.md) · Type: new method · Keywords: federated learning, LLM routing, privacy-preserving, model selection, multilayer perceptron router, K-means router

Areas: [Privacy & Federated Learning](../areas/privacy-federated.md) › Federated Privacy Methods › Federated Low-Rank Adaptation

## Summary
The paper presents a federated framework that enables clients to jointly learn a shared LLM routing policy from local query-model evaluation data, improving the accuracy-cost trade-off over client-local routers.

## Explained to a 5-year-old
Many people use big language models on the internet. They need to send questions to the right model that works well and is cheap. Right now, all the information about which model works best is kept in one place, but that can be unsafe. This paper lets many people share what they know about the models without sending the secret info. By working together, they can pick the best model for each question, making things faster and cheaper.

## Explained to a 5-year-old, longer
Big language models are like super smart helpers that you can talk to online. Sometimes you want to ask a question, but you don’t know which model will answer best. Some models are fast but not very accurate, while others are accurate but slow. Right now, people keep a big list of which model works for which question, but they keep that list secret because it’s private. This paper says we can let many people look at their own secret lists and add them together without showing the secret information. By sharing only the results, they can learn a better way to choose the right model for each question. This helps everyone get answers that are both good and fast. It also saves money because you don’t have to use the biggest, most expensive model all the time. The new method works for both simple and complex ways of picking models. It also works when different people have different kinds of questions. This makes the system more fair and useful for everyone. In the end, the paper shows that working together gives better results than each person trying alone.

## For a technical reader
The system lets multiple clients train a shared router without sending raw evaluation data, preserving privacy. It supports both a simple neural network router and a clustering-based router, handling varied query patterns and uneven model coverage. Experiments on two benchmarks show that federated training yields a better accuracy-cost balance than training routers locally. Theoretical analysis confirms that federated training reduces the expected routing error. This approach enables scalable, privacy-preserving model selection for edge and enterprise deployments.

## Problem
Routing queries to appropriate language models is crucial for balancing quality and cost, but existing approaches rely on centralized evaluation data that is often fragmented and privacy-sensitive, making data collection impractical. Moreover, training routers locally is limited by small, biased client data, leading to suboptimal routing.

## Method
Clients collaboratively train a shared routing policy using local offline query-model evaluation data without sharing raw data. The framework supports both a parametric multilayer perceptron router and a nonparametric K-means router, handling heterogeneous query distributions and uneven model coverage.

## Results
Federated collaboration improves the accuracy-cost frontier compared to client-local routers by providing broader model coverage and better query generalization, and theoretical analysis shows reduced routing suboptimality.

## Contributions
It is the first work to enable federated learning of LLM routing policies while supporting both parametric and nonparametric router types under heterogeneous client data. The paper also provides theoretical validation that federated training reduces routing suboptimality.

## Practical relevance
Enables edge and enterprise clients to collaboratively improve LLM routing without sharing sensitive evaluation data, leading to better quality-cost trade-offs on resource-constrained devices.

## Research questions this paper is counted under

- [How can we design routing policies that adapt to new models and conversation contexts while maintaining performance and cost efficiency?](../q/183.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153323)
