LLMConf: Knowledge-Enhanced Configuration Optimization for Large Language Model Inference
Authors:
- 2 July 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-10
Abstract
As large language models (LLMs) are widely applied across various domains, improving the quality of LLM inference services is essential. In this paper, we find that optimizing configuration parameters of LLM inference engines can significantly improve LLM inference performance in terms of latency and throughput. Therefore, we propose LLMConf, an automated performance tuning system that optimizes multiple LLM inference performance metrics by searching for the optimal configuration parameters of the LLM inference engine. We first introduce a knowledge-enhanced approach to identify the set of configuration parameters (LLMConfigs) that most significantly impact LLM performance from the adjustable parameters provided by the LLM inference engine. We then perform automated data collection to build functional relationships between LLMConfigs and each performance metric. Additionally, LLMConf employs a multi-objective optimization module to obtain optimal LLMConfigs for simultaneously optimizing multiple performance metrics. The experimental results show that LLMConf significantly outperforms existing methods. Compared to the default configuration parameters of the LLM inference engine, LLMConf achieves an average improvement of 20.1% across 7 key performance metrics. Moreover, experiments demonstrate that LLMConf has strong transferability across diverse datasets, varying concurrency levels and different LLM base models.Keywords
Funding Information
- National Key Research and Development Program of China (2024YFB4505904)
- National Natural Science Foundation of China (62272495)
This publication has 15 references indexed in Scilit:
- Hybrid modified particle swarm optimization with genetic algorithm (GA) based workflow scheduling in cloud-fog environment for multi-objective optimizationCluster Computing, 2023
- HUNTER: An Online Cloud Database Hybrid Tuning System for Personalized Requirements2022
- COSE: Configuring Serverless Functions using Statistical Learning2020
- An End-to-End Automatic Cloud Database Tuning System Using Deep Reinforcement Learning2019
- A review of multi-objective optimization: Methods and its applicationsCogent Engineering, 2018
- Transfer learning for performance modeling of configurable systems: An exploratory analysis2017
- An Evolutionary Many-Objective Optimization Algorithm Using Reference-Point-Based Nondominated Sorting Approach, Part I: Solving Problems With Box ConstraintsIEEE Transactions on Evolutionary Computation, 2013
- An Evolutionary Many-Objective Optimization Algorithm Using Reference-Point Based Nondominated Sorting Approach, Part II: Handling Constraints and Extending to an Adaptive ApproachIEEE Transactions on Evolutionary Computation, 2013
- Strategies to Reduce the Number of Variables and the Combinatorial Search Space of the Multistage Transmission Expansion Planning ProblemIEEE Transactions on Power Systems, 2012
- Predicting performance via automated feature-interaction detection2012