Published October 31, 2024 | Version v1

MESS+: Energy-Optimal Inferencing in Language Model Zoos with Service Level Guarantees

Description

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.5× more energy efficient with MESS+ than with randomly selecting an LLM from the zoo while maintaining SLA quality constraints.

Files

MESS_Energy_Optimal.pdf

Files (1.0 MB)

Name Size Download all
md5:deab494dd3a2f608b59ca05547a7d7d2
1.0 MB Preview Download

Additional details

Identifiers

Funding

European Commission
PANDORA - A Comprehensive Framework enabling the Delivery of Trustworthy Datasets for Efficient AIoT Operation 101135775