Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Ryan, Woisetschläger, Herbert, Wang, Shiqiang, Jacobsen, Hans Arno
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2411.00889
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917826913107968
author Zhang, Ryan
Woisetschläger, Herbert
Wang, Shiqiang
Jacobsen, Hans Arno
author_facet Zhang, Ryan
Woisetschläger, Herbert
Wang, Shiqiang
Jacobsen, Hans Arno
contents Open-weight large language model (LLM) zoos allow users to quickly integrate state-of-the-art models into systems. Despite increasing availability, selecting the most appropriate model for a given task still largely relies on public benchmark leaderboards and educated guesses. This can be unsatisfactory for both inference service providers and end users, where the providers usually prioritize cost efficiency, while the end users usually prioritize model output quality for their inference requests. In commercial settings, these two priorities are often brought together in Service Level Agreements (SLA). We present MESS+, an online stochastic optimization algorithm for energy-optimal model selection from a model zoo, which works on a per-inference-request basis. For a given SLA that requires high accuracy, we are up to 2.5x more energy efficient with MESS+ than with randomly selecting an LLM from the zoo while maintaining SLA quality constraints.
format Preprint
id arxiv_https___arxiv_org_abs_2411_00889
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MESS+: Energy-Optimal Inferencing in Language Model Zoos with Service Level Guarantees
Zhang, Ryan
Woisetschläger, Herbert
Wang, Shiqiang
Jacobsen, Hans Arno
Machine Learning
Systems and Control
Open-weight large language model (LLM) zoos allow users to quickly integrate state-of-the-art models into systems. Despite increasing availability, selecting the most appropriate model for a given task still largely relies on public benchmark leaderboards and educated guesses. This can be unsatisfactory for both inference service providers and end users, where the providers usually prioritize cost efficiency, while the end users usually prioritize model output quality for their inference requests. In commercial settings, these two priorities are often brought together in Service Level Agreements (SLA). We present MESS+, an online stochastic optimization algorithm for energy-optimal model selection from a model zoo, which works on a per-inference-request basis. For a given SLA that requires high accuracy, we are up to 2.5x more energy efficient with MESS+ than with randomly selecting an LLM from the zoo while maintaining SLA quality constraints.
title MESS+: Energy-Optimal Inferencing in Language Model Zoos with Service Level Guarantees
topic Machine Learning
Systems and Control
url https://arxiv.org/abs/2411.00889