cs.LGSep 5, 2026
SaveOnline Learning with LLM Experts from Limited Feedback
Organizations: Virginia Tech · Adobe Research
Abstract
We study adaptive routing of prompts to large language model (LLM) experts to maximize response quality in an online setting with limited feedback. We formulate it as a bandit problem with actions that represent experts and features that encode prompts, over a horizon of rounds. We propose algorithms that strategically select and observe rewards to minimize regret. In the full-information setting, we achieve a regret of , while in the bandit setting we achieve , where is a budget on feedback. Our experiments show that we efficiently learn high-quality routing strategies across diverse LLMs from limited feedback.
Figures & tables
| (3) |
Algorithm 1 : Limited full-information feedback for expert selection.
| (6) | ||||
Algorithm 2 : Limited bandit feedback for expert selection.
Figure 1: Results comparing our approaches to the other methods (RouterBench): (a) (evaluates prompt at round when feedback is requested) and (b) (observes feedback at all rounds). Clearly, has better regret guarantees than by careful choice of feedback. suffers the smallest regret due to more data.
| Full-information | Bandit | |||
|---|---|---|---|---|
| LimFullFeed | NoLookBack | LimBanFeed | NoLookBack | |
| 1000 | ||||
| 2000 | ||||
| 5000 | ||||
| 10000 | ||||
| 20000 | ||||
Table 1: Cumulative regret with respect to feedback budget on Nectar ( , , ).
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Axis | Value | LimBanFeed | LimFullFeed |
|---|---|---|---|
| 2 | |||
| 6 | |||
| 10 | |||
| 16 | |||
| 20 | |||
| 8 |
Table 2: Runtime in seconds with respect , , and on Nectar.
Figure 2: Results comparing our approaches to the other methods (Nectar): (a) (evaluates prompt at round when feedback is requested) and (b) (observes feedback at all rounds). Clearly, has better regret guarantees than by careful choice of feedback. suffers the smallest regret due to more data.
Explore similar work
Large language models (LLMs) achieve impressive performance across multiple domains, but using the most capable model for every query is prohibitive at scale. LLM routing exploits diversity in model capability and cost by assigning each query to a suitable model to balance utility and budget. Current methods have two limitations: (i) they either use heuristics that do not always enforce the budget constraint or impose a fixed per-query budget that cannot adapt across the workload and leads to suboptimal performance; (ii) they require supervised learning on a dense dataset with statistics for every query-model pair, which is expensive to collect. To address these challenges, we formulate LLM routing as a constrained contextual multi-armed bandit problem and introduce WISERouter (WR for short), a framework that supports offline learning from historical interactions as well as online learning with exploration. We further prove that WR-Online achieves a sublinear regret bound of over a time horizon . Empirical results on RouterBench and SWE-Bench demonstrate that (i) WR-Offline surpasses existing baselines in performance under a fixed budget and adheres more closely to budget constraints, and (ii) WR-Online achieves comparable performance to the baselines, while using substantially less exploration data.
OrcaRouter: A Production-Oriented LLM Router with Hybrid Offline-Online Learning
The rapid development of large language models, each with distinct capabilities and inference costs, raises a practical deployment question: given an incoming request, which model should handle it? We present OrcaRouter, a production-oriented LLM router that combines a LinUCB-based contextual bandit over lexical and sentence-embedding features with a hybrid offline-online learning protocol. Offline, OrcaRouter obtains full-information feedback by evaluating each candidate model on a curated set of routing prompts, yielding a reward matrix used to fit one ridge regressor per arm. At deployment time, it initializes from these parameters and can optionally continue learning from bandit feedback, updating only the selected model's arm after observing its reward. At the time of our RouterArena submission (May 20, 2026), OrcaRouter-Adaptive ranked second on the public RouterArena leaderboard with an arena score of 72.08, achieving 75.54% accuracy at a cost of USD 1.00 per 1,000 queries.
Learning to Route and Schedule LLMs from User Retrials via Contextual Queueing Bandits
Explosive demands for LLMs often cause user queries to accumulate in server queues, requiring efficient routing (query-LLM matching) and scheduling (query prioritization) mechanisms. Several online algorithms are being deployed, but they overlook the following two key challenges inherent to conversational LLM services: (1) unsatisfied users may retry queries, increasing the server backlog, and (2) requests for
explicit" feedback, such as ratings, degrade user experiences. In this paper, we develop a joint routing and scheduling algorithm that leverages implicit" feedback inferred from user retrial behaviors. The key idea is to propose and study the framework of contextual queueing bandits with multinomial logit feedback (CQB-MNL). CQB-MNL models query retrials, as well as context-based learning for user preferences over LLMs. Our algorithm, anytime CQB (ACQB), achieves efficient learning while maintaining queue stability by combining Thompson sampling with forced exploration at a decaying rate. We show that ACQB simultaneously achieves a cumulative regret of for routing and a queue length regret of for any large . For experiments, we refine query embeddings via contrastive learning while adopting a disjoint parameter model to learn LLM-specific parameters. Experiments on synthetic data, offline routing datasets (SPROUT, EmbedLLM, and RouterBench), and real user conversation logs (WildChat-1M) confirm that our methods improve routing, scheduling, and queue stability against strong online and offline-trained baselines.