acceptodds
Published as a conference paper at NeurIPS 2026

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

Abstract

Large language models (LLMs) are increasingly accessed as remotely hosted services by edge and enterprise clients that cannot run frontier models locally. Since models vary widely in capability and price, routing queries to models that balance quality and inference cost is essential. Existing router approaches assume access to centralized query-model evaluation data. However, these data are often fragmented across clients, such as end users and organizations, and are privacy-sensitive, which makes centralizing data infeasible. Additionally, per-client router training is ineffective since local evaluation data is limited and covers only a restricted query distribution and a biased subset of model evaluations. We introduce the first federated framework for LLM routing, enabling clients to learn a shared routing policy from local offline query-model evaluation data. Our framework supports both parametric multilayer perceptron router and nonparametric K-means router under heterogeneous client query distributions and non-uniform model coverage. Across two benchmarks, federated collaboration improves the accuracy-cost frontier over client-local routers, both via increased effective model coverage and better query generalization. Our theoretical results also validate that federated training reduces routing suboptimality.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Top 8%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 5.00 over 2 reviews, above 92% of the others.
Reviewer_8oEoOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
3
Quality
4
Significance
3
Read review
Summary

The submission proposes federated learning frameworks for LLM routers. The motivation is clear and solid. Prompt information of clients are highly heterogeneous and private, thereby requiring federated learning approach. The experiments show that federated approach can outperform local training results and the authors also propose adaptive learning scheme after the training to address personalization issue.

Strengths and weaknesses

Strengths: The motivation is highly appropriate for federated learning and solid. The proposed approach is intuitive and straightforward. The experiments show that the proposed approach outperform locally trained routers.

Weakness: The paper’s motivation is real-world private client prompts, but the experiments mostly uses offline benchmark correctness/performance labels (RouterBench-Data and ProxRouter-Data). These two datasets typically consist of MBPP, GSM-8k, Winogrande, Hellaswag, MMLU or MT-Bench. This leaves unclear whether the method works for open-ended deployment queries where there is no objective accuracy and the quality signal must come from noisy user feedback or preference data.

Questions

The formulation uses acc(x,m)acc(x,m) as the main quality signal, and most experiments appear to rely on benchmark-style query–model evaluations where correctness or a normalized score is available. However, many real client prompts motivating the paper are open-ended or preference-dependent, e.g., “suggest good restaurants in this city,” “write a sensitive customer email,” or “help debug my internal code.” These do not have a well-defined ground-truth accuracy. Can the authors clarify how their framework would obtain and use quality labels in such settings? In practice, there would be no LLM-judge scores as well. Also, such real user quality labels will be challenging to obtain and extremely small (e.g., less than 50). Can the proposed frameworks support scenarios where each user has extremely small datasets?

Limitations

yes

Paper formatting concerns

na

Final justification

Most of my questions are addressed and I am confortable for this submission being accepted.

1 comment

We thank the reviewer for the insightful discussion. We address the concerns below.

[About discussion on tasks]:

We thank the reviewer for raising this important discussion. We agree that RouterBench-Data and ProxRouter-Data primarily contain benchmark-derived quality labels and therefore do not fully reproduce open-ended deployments with sparse and noisy user feedback. We used RouterBench-Data and ProxRouter-Data because they are public benchmarks introduced specifically for evaluating multi-LLM routing systems by RouterBench [32] and ProxRouter [50]. More broadly, evaluation on public benchmark-derived query–model outcomes is standard in recent routing work, including Hybrid LLM [22], RouteLLM[48], RouterDC [13], and EmbedLLM [81]. To our knowledge, no accessible dataset currently combines open-ended user queries, multiple candidate LLMs, decentralized client partitions, and real client feedback. We will clarify this limitation in the paper.

Importantly, our framework does not fundamentally require objective correctness or an LLM-judge score. In our formulation, acc(x,m)acc(x,m) represents the expected quality/performance of model mm's response to query xx; the learning algorithms only require an observed scalar quality signal for the model that answered the query. The router will then route queries to LLMs based on this signal; thus, its only requirement is that the observed quality signal be sufficiently correlated with underlying response quality so as to be a reasonable routing criterion. For an open-ended deployment, this signal could for example be a binary thumbs-up/down, a normalized user rating, explicit response acceptance, or an application-specific outcome such as whether a generated email was approved or a proposed code fix passed a test. For example, with binary feedback, the router would estimate the probability that a user positively rates model mm's response and optimize E[positive feedback∣x,m]−λ cost(x,m).\mathbb{E}[\text{positive feedback} \mid x, m] - \lambda \,\mathrm{cost}(x, m).

Thus, the quality signal is independent of whether the prompt has a unique ground-truth answer. Pairwise preferences could similarly be supported by replacing the pointwise regression loss with a preference-ranking loss, without changing the federated architecture. Naturally, if no observable feedback of any kind is available, neither our method nor any other supervised router can learn which model users prefer.

As an intermediate evaluation closer to this setting, we now add results on the SPROUT dataset (Seamus Somerstep et al., 2025), which includes explanatory and open-ended tasks with graded response-quality signals rather than only exact-match correctness. Federated training continues to improve over client-local training: the global normalized AUC is 0.83 for MLP-Router and 0.85 for K-Means-Router, compared with lower client-local results (0.79 and 0.76, respectively for average local-only MLP and K-Means results), and we also observe improvements on representative local test distributions. We emphasize that SPROUT uses LLM-based grading and therefore does not fully substitute for real noisy human feedback; rather, it provides evidence that the benefit of federation is not restricted to queries whose answers admit binary correctness labels. We will include these results if accepted and identify evaluation with real user-feedback logs as an important future direction.

Finally, preference-dependent tasks would introduce heterogeneity not only in query distributions but also in users’ quality preferences. This provides an additional motivation for personalized federated routing: the global router can learn broadly shared model-capability patterns, while the personalization mechanism can adjust the estimates, and thus the routing logic, toward a client’s local preferences.

[About tiny client datasets]:

The framework can accommodate clients with extremely small local datasets. A client with fewer than 50 labels would generally not have enough information to train a reliable standalone router, which is precisely where federation is most useful: many clients with individually small datasets can collectively provide sufficient query and model coverage to train an effective router, while keeping their records local. The theory also reflects this distinction: the MLP bound depends on the aggregate federated sample size rather than only one client’s data, while the K-Means bound improves by pooling observations for each query-region/model pair across clients.

We additionally evaluated a substantially more data-scarce setting with 550 clients, reducing the data available per client by approximately 55 times. Federated K-Means achieves a global normalized AUC of 0.749, almost unchanged from the main results with fewer, more data-rich clients. In contrast, the client-local K-Means routers achieve only 0.536 on average, yielding a federated advantage of +0.213, nearly twice the AUC gap obtained in the main experimental results. Sweeping the local K-Means cluster count from K=1K=1 to 2424 yields mean AUCs of only 0.439-0.536, confirming that the local baseline’s degradation is driven by data scarcity rather than hyperparameter choice. Federated MLP similarly achieves an AUC of 0.747, compared with 0.575 for client-local MLP. These results directly support the intended use case: federation remains effective, and indeed provides the highest relative gains, even when each client has very little data, provided that sufficient aggregate feedback and model coverage exist across the federation of clients.

[We hope our rebuttal resolves your questions and concerns. We would be happy to further clarify anything. We appreciate your consideration in raising the score with this additional context and clarity.]

Reviewer_sf3tOpenReview ↗
Rating
5
Clarity
4
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper focuses on the LLM routing problem and proposes federated learning as a private and decentralized approach to training the router. In particular, it develops federated versions of two router types: an MLP-based parametric router and a K-means nonparametric router. The main claim is that federated collaboration improves accuracy–cost routing frontiers over client-local training by increasing effective query/model coverage, with theory supporting reduced routing suboptimality.

Strengths and weaknesses

Strengths

The paper is well-motivated and addresses a genuine practical gap. To tackle it, the authors leverage FL for the routing problem in a principled way, with the novelty being strongest at the system formulation level. The model pool expansion experiment in Section 6.3 tackles a practically relevant scenario that most routing papers overlook. The paper is also clear and well-written throughout.

Weaknesses

The main novelty of the paper is at the system level, while the FL-methodological contribution is incremental. The experimental section could also be strengthened by varying the heterogeneity parameter α\alpha and the number of clients, and by analyzing performance as a function of the FL training rounds. Finally, it would be useful to include the accuracy-cost frontier of a centralized router in the main results as a reference upper bound. Finally, it is not clear whether the main results are averaged over multiple seeds (some experiments with multiple seeds are reported in the appendix but not discussed in the main text) and confidence intervals should be reported to better quantify the performance gains with respect to the baselines.

Questions
  1. How do the performances vary with respect to the number of clients and the heterogeneity parameter?

  2. How many rounds of FL training are needed to converge and what is the total cost compared to centralized and local training? This may be relevant for the K-Means router, where clients transmit centroid statistics, and matters for assessing practical deployability.

  3. In Section 6.4 a personalized routing method is proposed, but the justification of the proposed approach is not particularly clear. In particular, why error-weighted interpolation is the right choice and why training calibration error is a reliable proxy for test performance? In addition, the results are not well discussed, since the AUC values of the federated, personalized, and local routers appear roughly overlapping in most cases. It would also be useful to report performance on the global test set as a reference, to assess whether personalization trades global performance for local gains.

Limitations

yes

Paper formatting concerns

no concerns

Final justification

My main concerns regarding the paper were mostly related to the clarity of the presentation, the definition of the experimental setting, and a more comprehensive discussion of the involved trade-offs. The authors have clarified these aspects during the rebuttal and committed to including additional results and improvements in the final version. Taking into account both the rebuttal and my initial assessment, I recommend acceptance.

1 comment

We thank the reviewer for the thoughtful assessment and constructive suggestions. We address each concern below.

[Performance across different numbers of clients (W+Q1)]:

We thank the reviewer for this suggestion. We now repeat the main RouterBench experiment while varying the number of clients and report multi-seed normalized AUC results (mean ±\pm standard error):

Number of clients NNMLP FederatedMLP Client-LocalK-Means FederatedK-Means Client-Local
50.747 ±\pm 0.0040.679 ±\pm 0.0100.733 ±\pm 0.0070.656 ±\pm 0.023
100.750 ±\pm 0.0050.679 ±\pm 0.0080.742 ±\pm 0.0070.646 ±\pm 0.018
200.750 ±\pm 0.0030.661 ±\pm 0.0070.745 ±\pm 0.0030.601 ±\pm 0.011
400.749 ±\pm 0.0090.652 ±\pm 0.0030.749 ±\pm 0.0050.584 ±\pm 0.008

Federated performance is stable (and even slightly increases) as the number of clients increases. In contrast, client-local performance decreases because the same total number of training samples is partitioned across more clients, leaving each local router with fewer observations. Consequently, the federated gain increases. With a fixed participation fraction, increasing NN also increases the absolute number of clients contributing to each round, allowing the global router to preserve collective query and model coverage. We will add this ablation and discussion to the paper.

[Performance across different heterogeneity levels (W+Q1)]:

The current paper already evaluates two datasets using different query-heterogeneity levels, with Dirichlet parameters α=0.6\alpha=0.6 for RouterBench-Data and α=0.4\alpha=0.4 for ProxRouter-Data, for result diversity. We agree, however, that a controlled sweep is more informative. We now vary the Dirichlet concentration parameter in the main RouterBench setting, where smaller α\alpha corresponds to greater client heterogeneity, and report the AUC results (mean ±\pm standard error):

Dirichlet α\alphaMLP FederatedMLP Client-LocalK-Means FederatedK-Means Client-Local
0.030.742 ±\pm 0.0070.640 ±\pm 0.0150.731 ±\pm 0.0070.601 ±\pm 0.033
0.100.743 ±\pm 0.0120.666 ±\pm 0.0100.742 ±\pm 0.0050.614 ±\pm 0.014
0.300.744 ±\pm 0.0120.669 ±\pm 0.0100.734 ±\pm 0.0150.619 ±\pm 0.014
0.600.746 ±\pm 0.0150.672 ±\pm 0.0110.741 ±\pm 0.0080.650 ±\pm 0.018
5.000.748 ±\pm 0.0120.669 ±\pm 0.0130.749 ±\pm 0.0040.625 ±\pm 0.015

The AUCs of federated K-Means and federated MLP-Router remain robust across heterogeneity levels. Both federated methods consistently outperform their client-local counterparts, with particularly large gains in the most heterogeneous setting (α=0.03\alpha=0.03). Although greater heterogeneity can make the problem more difficult, the relative benefit of a federated approach is often largest when individual clients have the most restricted coverage. We will include this structured sweep in the revision.

[Centralized-router reference (W)]:

We agree that this is a useful reference. Appendix D.1, Figure 9 already compares federated training against an idealized centralized router trained on the union of all client data. The federated and centralized accuracy-cost frontiers overlap closely. This shows that decentralization and partial participation introduce little observable loss relative to pooled-data training. We will move these centralized performance curves in the main body’s experimental results so that this reference is immediately visible.

[Multiple seeds and uncertainty reporting (W)]:

The main figures already contain many overlapping client-level and router-level accuracy-cost curves. Moreover, due to randomness, the same λ\lambda sweep produces different average-cost values across seeds. The x-axis points of the accuracy-cost curves are therefore not exactly aligned, so the curves cannot be directly averaged across seeds. We therefore do not include averaged curves or confidence bands directly in these plots, since this would not yield a well-defined pointwise comparison. Instead, Appendix H repeats the main comparisons across multiple random seeds and confirms that the conclusions are stable. We will state the aggregate uncertainty results in the main text. The multi-seed global-test AUC results are:

  • RouterBench-Data: federated MLP 0.750 ±\pm 0.003 versus client-local 0.683 ±\pm 0.003; federated K-Means 0.747 ±\pm 0.003 versus client-local 0.655 ±\pm 0.011.
  • ProxRouter-Data: federated MLP 0.735 ±\pm 0.012 versus client-local 0.645 ±\pm 0.005; federated K-Means 0.739 ±\pm 0.002 versus client-local 0.642 ±\pm 0.002.

[FL convergence, communication, and training cost (Q2)]:

The two router families have different convergence and communication behavior. For K-Means-Router, the method consists of a single federated clustering stage rather than an iterative multi-round optimization procedure. The total communicated payload is approximately 0.5 MB in our reported implementation. Thus, there is no multi-round convergence issue for K-Means-Router. For MLP-Router, the router is small (approximately 670K parameters) and its global-test accuracy increases rapidly, reaching its stable performance within approximately 5-7 communication rounds. The model payload is approximately 2.68 MB one-way per active client per round. The client-local baseline requires no communication, but it produces substantially weaker routing performance because it cannot recover missing query and model coverage from each individual client’s data. Centralized training is not practical since it requires that all raw query-model records have already been transferred to and stored at the server, which is precisely the assumption excluded by our problem setting, e.g., due to privacy concerns. Computationally, all three methods train only a small router rather than any LLM. Given the small number of rounds, modest payload, and improved accuracy–cost frontier, we believe the federated overhead is practical and justified.

[Adaptive personalization (Q3)]:

Adaptive personalization is intended only for the extreme-heterogeneity regime, where the federated router may be misaligned with a particular client's local distribution. For each model, it interpolates the local and federated accuracy/cost estimates using their relative errors on the client's existing data: the estimator with lower local error receives greater weight. This is a lightweight heuristic that requires no additional LLM evaluations. We do not claim that training error directly predicts test AUC; rather, it serves as a relative signal for choosing how much to trust each estimator. We will clarify this motivation.

The overlapping AUC values are expected because personalization is designed as a safeguard: it is intended to recover performance when either the local or federated router is clearly better, while remaining close to them when their predictions are similar. The main text shows representative clients, and Appendix D.4 reports all clients.

We also evaluated the personalized routers on the global test set. The personalized MLP and K-Means routers achieve 0.735 and 0.691 AUC, respectively, compared with average client-local results of 0.673 and 0.636. Personalization therefore sacrifices some global performance relative to the vanilla federated router, as expected from its adapting toward local client distributions, but it still generalizes better than the average local router while improving robustness on local test sets. We will add this reference and discuss the global-local trade-off more clearly.

[We hope our rebuttal resolves your questions and concerns. We would be happy to further clarify anything. We appreciate your consideration in raising the score with this additional context and clarity.]

Comments on the paper

1 comment
Meta-review

The authors study learning a router that sends queries to the appropriate model-api, where "appropriate" is the one that minimizes a performance - cost metric. They work in the federated setting where queries remain local but there is not enough local data to train a good router. The reviewers consider the work solid. While imo there is not too much novelty in the authors' approaches, the empirical validation and the reviewers opinions justify a poster presentation.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.