Manuscript Offprint

arXiv:2610.01592

Which LLM to pick? Online Active Model Selection for Large Language Models

Alessandro Turrin, Patrik Okanovic, Torsten Hoefler, Nezihe Merve Gürel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large Language Models (LLMs) are increasingly applied to process streaming data, with practitioners relying on benchmarks to select the best model even though these signals only approximate real performance. While oracle annotations can provide reliable feedback, they are often costly and difficult to obtain at scale. To address this challenge, we propose ONLINE LLM PICKER, the first framework for active model selection for LLMs in online settings. Given an arbitrary stream of queries and a limited annotation budget, ONLINE LLM PICKER selects the most informative prompts for annotation to identify the best LLM among candidate models. Across multiple tasks including 10 datasets, for over 130 language models, we show that ONLINE LLM PICKER saves annotation cost by up to 71.67% while reliably identifying the best or near-best model for the stream. We also show that using the returned model for sequential generation on unannotated prompts across the stream reduces regret by up to a factor of 2.51×2.51\times, indicating that ONLINE LLM PICKER can identify the best or near-best model well before processing all streaming prompts.

1 Introduction

Large Language Models (LLMs) are widely applied across various domains (Fan et al., 2023; Tan, 2023), from medicine (Boll et al., 2025; Veen et al., 2024; Biswas & Talukdar, 2024) and industry (Angelopoulos et al., 2025; Kok et al., 2024; Li et al., 2024b), to education (Dan et al., 2023; Caines et al., 2023) and law (Pont et al., 2023; Lee, 2023), (Guha et al., 2023). Alongside this growing adoption, hundreds of publicly available LLMs have emerged (Google-t5, 2024; Meta-Llama, 2024; Falcon, 2023; DeepSeek, 2025; MistralAI; Qwen, 2025; Nvidia, 2025), many demonstrating strong performance without the need for fine-tuning and the ability to follow instructions and adapt to new tasks with little or no task-specific supervision (Brown et al., 2020; Kojima et al., 2023; Dong et al., 2024; Liu et al., 2021).

Given the abundance of off-the-shelf models, selecting the most suitable LLM for a particular task or data stream is a non-trivial problem. Existing evaluation pipelines and benchmarks assess performance across diverse datasets and tasks using multiple metrics (Guo et al., 2023), but no single model consistently excels across domains or datasets (Chang et al., 2023; Liang et al., 2023). Because LLM effectiveness is highly context-dependent and varies substantially across scenarios, standard evaluation metrics alone cannot fully capture model quality or practical utility (Ouyang et al., 2022; Kocoñ et al., 2023). A common approach to model selection is therefore to rely on randomly or heuristically chosen small subsets of annotated data (Polo et al., 2024; Vivek et al., 2024). However, such strategies often lead to inefficient use of resources and fail to reliably capture differences across models (Kossen et al., 2021). Active Model Selection (Madani et al., 2012; Karimi et al., 2021; Ashury-Tahan et al., 2024; Okanovic et al., 2024; Kay et al., 2025; Liu et al., 2022; Li et al., 2024a; Hara et al., 2024; Gardner et al., 2015) addresses this limitation by selectively annotating a small set of queries to identify the best model for arbitrary data examples. Yet, prior work has largely focused on classification tasks rather than generation (Karimi et al., 2021; Liu et al., 2022; Okanovic et al., 2024; Kay et al., 2025; Li et al., 2024a; Hara et al., 2024), with the exception of Ashury-Tahan et al. (2024), which

Figure

Figure 1: An overview of the ONLINE LLM PICKER workflow.

studies language model selection under the assumption that all prompts are available from the outset. To the best of our knowledge, no prior work has explored active model selection for LLMs in online settings to date.

Contributions: To fill this gap, in this work we propose ONLINE LLM PICKER, an active model selection strategy designed to efficiently identify the best candidate LLM in online settings. Given an incoming stream of prompts and a small annotation budget, ONLINE LLM PICKER selects the most informative prompts to annotate in order to reliably identify the best LLM for the stream. Our framework is based on the combined informativeness criterion that maximizes variance across model responses to unannotated prompts while also accounting for posterior uncertainty. ONLINE LLM PICKER makes no assumptions about the underlying LLMs, allowing it to be applied to any generative task and any model collection. ONLINE LLM PICKER is depicted in Figure 1.

We validate ONLINE LLM PICKER through a comprehensive set of experiments spanning multiple LLM generation tasks, including open-ended question answering (Rajpurkar et al., 2016), open-ended question answering with no correct response (Rajpurkar et al., 2018), grammar correction of natural language text (Loem et al., 2023), and both arithmetic (Gambardella et al., 2024) and calculus problems expressed in code-like notation (Gao et al., 2023). Our model collections across these tasks contain over 130 language models. We rank the models using both ROUGE (Lin, 2004) and embedding-based similarity measures (e.g. BERTScore (Zhang et al., 2020)), so that we can capture lexical and semantic agreement with the reference outputs. Our results demonstrate that ONLINE LLM PICKER identifies the best or near-best LLM in online environments while requiring up to 71.67% fewer annotations than competing baselines, and reduces regret by up to a factor of 2.51×2.51 \times when applied to sequential generation on unannotated prompts across the stream.

References (100)

Couldn't load all references. Reload the page to try again.