Online Multi-LLM Selection via Contextual Bandits Under Unstructured Context Evolution
Proceedings of the AAAI Conference on Artificial Intelligence · 14.03.2026 · 40 (29) · 24855-24863
DOI: 10.1609/aaai.v40i29.39672 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the AAAI Conference on Artificial Intelligence, online erschienen am 14.03.2026. Verfasst von Manhin Poon und 5 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref).
Abstract (Originalsprache)
Large language models (LLMs) exhibit diverse response behaviors, costs, and strengths, making it challenging to select the most suitable LLM for a given user query. We study the problem of adaptive multi-LLM selection in an online setting, where the learner interacts with users through multi-step query refinement and must choose LLMs sequentially without access to offline datasets or model internals. A key challenge arises from unstructured context evolution: the prompt dynamically changes in response to previous model outputs via a black-box process, which cannot be simulated, modeled, or learned. To address this, we propose the first contextual bandit framework for sequential LLM selection under unstructured prompt dynamics. We formalize a notion of myopic regret and develop a LinUCB-based algorithm that provably achieves sublinear regret without relying on future context prediction. We further introduce budget-aware and positionally-aware (favoring early-stage satisfaction) extensions to accommodate variable query costs and user preferences for early high-quality responses. Our algorithms are theoretically grounded and require no offline fine-tuning or dataset-specific training. Experiments on diverse benchmarks demonstrate that our methods outperform existing LLM routing strategies in both accuracy and cost-efficiency, validating the power of contextual bandits for real-time, adaptive LLM selection.
Zitieren
APA
Poon, M., Dai, X., Liu, X., Kong, F., Lui, J. C., & Zuo, J. (2026). Online Multi-LLM Selection via Contextual Bandits Under Unstructured Context Evolution. Proceedings of the AAAI Conference on Artificial Intelligence, 40(29), 24855-24863. https://doi.org/10.1609/aaai.v40i29.39672
Vancouver
Poon M, Dai X, Liu X, Kong F, Lui JC, Zuo J. Online Multi-LLM Selection via Contextual Bandits Under Unstructured Context Evolution. Proceedings of the AAAI Conference on Artificial Intelligence. 2026;40(29):24855-24863. doi:10.1609/aaai.v40i29.39672
BibTeX
@article{Poon2026,
author = {Poon, Manhin and Dai, Xiangxiang and Liu, Xutong and Kong, Fang and Lui, John C.S. and Zuo, Jinhang},
title = {Online Multi-LLM Selection via Contextual Bandits Under Unstructured Context Evolution},
journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
year = {2026},
volume = {40},
number = {29},
pages = {24855--24863},
doi = {10.1609/aaai.v40i29.39672}
}
EUVIMED