A Data-driven ML Approach for Maximizing Performance in LLM-Adapter Serving

Ferran Agullo, Joan Oliveras, Chen Wang, Alberto Gutierrez-Torre, Olivier Tardieu +3 more
8/11/2025
cs.PFcs.AIcs.CL

Official code: FerranAgulloLopez/GPULLMAdapterOptimization (0 stars, Apache-2.0, last commit 2026-02-02).

Abstract

With the rapid adoption of Large Language Models (LLMs), LLM-adapters have become increasingly common, providing lightweight specialization of large-scale models. Serving hundreds or thousands of these adapters on a single GPU allows request aggregation, increasing throughput, but may also cause request starvation if GPU memory limits are exceeded. To address this issue, this study focuses on determining the joint configuration of concurrent and parallel adapters that maximizes GPU throughput without inducing starvation, given heterogeneous adapter and traffic properties. We propose a data-driven ML approach leveraging interpretable models to tackle this caching problem and introduce the first Digital Twin capable of reproducing an LLM-adapter serving system, enabling efficient training data generation. Experiments with the vLLM framework and LoRA adapters show that the Digital Twin reproduces throughput within 5.1% of real results, while the ML approach predicts optimal numbers of concurrent and parallel adapters with an error of at most 7.2% under heterogeneous, real-world workloads. The code is publicly available at https://github.com/FerranAgulloLopez/GPULLMAdapterOptimization.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Fork of vLLM for developing the paper "A Data-driven ML Approach for Maximizing Performance in LLM-Adapter Serving"

00C, C++Nov 6, 20258 months agoApache-2.0

Cite this paper

@article{agullo2025datadriven,
  title  = {A Data-driven ML Approach for Maximizing Performance in LLM-Adapter Serving},
  author = {Ferran Agullo and Joan Oliveras and Chen Wang and Alberto Gutierrez-Torre and Olivier Tardieu and Alaa Youssef and Jordi Torres and Josep Ll. Berral},
  year   = {2025},
  eprint = {2508.08343},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.08343v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.08343.svg)](https://codeofpaper.com/paper/2508.08343)

Discussion