SEAIPFJul 10

Attention to Detail: Evaluating Energy, Performance, and Accuracy Trade-offs Across vLLM Configurations

arXiv:2607.0917222.7h-index: 8
Predicted impact top 4% in SE · last 90 daysOriginality Synthesis-oriented
AI Analysis

For practitioners deploying LLMs, this study provides empirical evidence on the energy-performance-accuracy trade-offs of vLLM configurations, though the findings are incremental as they confirm known dependencies without introducing new methods.

This paper investigates how vLLM inference engine configurations (attention kernel type, prefix caching, chunked prefill) affect energy consumption, latency, and accuracy across 5 LLMs and 5 tasks, finding that attention type and prefix caching significantly impact energy and performance, while chunked prefill has limited effect; model choice dominates global trade-offs, and configuration tuning offers local improvements, with some configurations unexpectedly affecting accuracy.

Large Language Models are reshaping how software is developed and maintained. They are typically deployed in production using inference engines such as vLLM, which can efficiently serve pre-trained, highly configurable models. While prior work has focused on model architectures and hardware acceleration, the impact of inference engine configuration on energy consumption, performance, and output quality remains poorly understood. In this paper, we present a large-scale controlled study of three selected vLLM configuration options: attention kernel type, prefix caching, and chunked prefill. We evaluate all combinations of these configurations across 5 open-weight LLMs and 5 diverse inference tasks, totaling $9,000$ runs and $93,600$ measures. We analyze energy consumption, latency, and accuracy, and examine both main effects and interaction effects between configuration options and tasks. Our results show that the studied configuration options significantly impact energy and performance, mainly driven by attention type and prefix caching, while chunked prefill has a limited effect under the default vLLM serving configuration and evaluated workloads. These effects are highly model- and workload-dependent, and no configuration is universally optimal. We further show that model choice dominates global trade-offs, while configuration tuning provides local improvements along the Pareto frontier. Unexpectedly, inference options can also affect model accuracy.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes