Poodle: Seamlessly Scaling Down Large Language Models with Just-in-Time Model Replacement

05 Jun 2026 (modified: 22 Jun 2026)VLDB 2026 Workshop NOVAS SubmissionEveryoneRevisionsBibTeXCC BY 4.0
Keywords: Semantic Queries; Ml Systems; LLM; Model Search
TL;DR: Just-in-Time Model Replacement automatically detects recurring LLM tasks and transparently swaps in cheaper, task-specific surrogate models, cutting cost and energy without sacrificing ease of use.
Abstract: Businesses increasingly rely on large language models (LLMs) to automate simple repetitive tasks instead of developing custom machine learning models. LLMs require few, if any, training examples and can be utilized by users without expertise in model development. However, this comes at the cost of substantially higher resource and energy consumption compared to smaller models, which often achieve similar predictive performance for simple tasks. In this paper, we present our vision for just-in-time model replacement (JITR), where, upon identifying a recurring task in calls to an LLM , the model is replaced transparently with a cheaper alternative that performs well for this specific task. JITR retains the ease of use and low development effort of LLMs, while saving significant cost and energy. We discuss the main challenges in realizing our vision regarding the identification of recurring tasks and the creation of a custom model. Specifically, we argue that model search and transfer learning will play a crucial role in JITR to efficiently identify and fine-tune models for a recurring task. Using our JITR prototype Poodle, we achieve significant savings for exemplary tasks.
Submission Number: 3
Loading