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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Strassenburg, Nils, Glavic, Boris, Rabl, Tilmann
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911642002915328
author Strassenburg, Nils
Glavic, Boris
Rabl, Tilmann
author_facet Strassenburg, Nils
Glavic, Boris
Rabl, Tilmann
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2512_05525
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Poodle: Seamlessly Scaling Down Large Language Models with Just-in-Time Model Replacement
Strassenburg, Nils
Glavic, Boris
Rabl, Tilmann
Databases
Machine Learning
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.
title Poodle: Seamlessly Scaling Down Large Language Models with Just-in-Time Model Replacement
topic Databases
Machine Learning
url https://arxiv.org/abs/2512.05525