mlsanityData to 14 Oct 2026

Online LLM Selection via Constrained Bandits with Time-Varying Demand

arXiv 2606.17489 ↗First posted 16 Jun 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) are increasingly deployed in edge-cloud inference systems to handle diverse user tasks with heterogeneous accuracy, latency, and cost profiles. Selecting the appropriate LLM for each incoming task is critical for ensuring service quality and efficient resource utilization. However, model heterogeneity, stochastic and unknown performance characteristics, and time-varying task demands make static selection strategies inadequate. Real-world deployments often impose hard resource budgets such as monetary expenditure limits, along with soft service-level requirements such as latency guarantees. These constraints introduce additional challenges for online decision-making. We formulate this problem as a constrained stochastic bandit learning task, where the learner sequentially selects models under both packing-type (hard) and covering-type (soft) constraints, while adapting to time-varying task demand. The learner operates without access to the underlying reward, cost, or latency distributions and must rely on partial feedback. We develop a novel online learning algorithm that leverages confidence-bound estimates and demand predictions to balance reward maximization with long-term constraint satisfaction. We provide theoretical guarantees showing sublinear regret and sublinear covering constraint violations compared to an offline benchmark with full information. Experimental results on synthetic workloads demonstrate the effectiveness and robustness of our approach in dynamic, resource-constrained environments.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 31 of its 49 references that are in the map. First posted on arXiv 16 Jun 2026.

Builds on

31 of 49 references.

References · 31

  1. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
  2. 2020Time Series Forecasting With Deep Learning: A Surveycited by 459
  3. 2023Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedbackcited by 353
  4. 2018Competitive caching with machine learned advicecited by 195
  5. 2013Optimization, Learning, and Games with Predictable Sequencescited by 188
  6. 2016Fairness in Learning: Classic and Contextual Banditscited by 168
  7. 2013Bandits with Knapsackscited by 164
  8. 2020Algorithms with Predictionscited by 153
  9. 2015Online Optimization : Competing with Dynamic Comparatorscited by 99
  10. 2018Learning to Optimize under Non-Stationaritycited by 85
  11. 2014Bandits with concave rewards and convex knapsackscited by 83
  12. 2020The Primal-Dual method for Learning Augmented Algorithmscited by 80
19 more
  1. 2018Adversarial Bandits with Knapsackscited by 73
  2. 2020Secretary and Online Matching Problems with Machine Learned Advicecited by 71
  3. 2019Combinatorial Sleeping Bandits with Fairness Constraintscited by 68
  4. 2024Improving Online Algorithms via ML Predictionscited by 66
  5. 2018Online Learning with an Unknown Fairness Metriccited by 62
  6. 2020Ekya: Continuous Learning of Video Analytics Models on Edge Compute Serverscited by 58
  7. 2024Cost-Effective Online Multi-LLM Selection with Versatile Reward Modelscited by 39
  8. 2025Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latencycited by 34
  9. 2022Contextual Bandits with Packing and Covering Constraints: A Modular Lagrangian Approach via Regressioncited by 30
  10. 2024Which LLM to Play? Convergence-Aware Online Model Selection with Time-Increasing Banditscited by 27
  11. 2022Non-stationary Bandits with Knapsackscited by 25
  12. 2025ThriftLLM: On Cost-Effective Selection of Large Language Models for Classification Queriescited by 14
  13. 2025Device-Cloud Collaborative LLM Inference with Multi-Modal, Multi-Task, Multi-Turn Conversationscited by 14
  14. 2025Invisible Tokens, Visible Bills: The Urgent Need to Audit Hidden Operations in Opaque LLM Servicescited by 10
  15. 2022Online Resource Allocation under Horizon Uncertaintycited by 9
  16. 2024Resource Allocation for Stable LLM Training in Mobile Edge Computingcited by 7
  17. 2024Learning the Optimal Path and DNN Partition for Collaborative Edge Inferencecited by 3
  18. 2024Quantum Entanglement Path Selection and Qubit Allocation via Adversarial Group Neural Banditscited by 2
  19. 2025Generalizable Pareto-Optimal Offloading with Reinforcement Learning in Mobile Edge Computingcited by 2

Built on by

Not cited yet.