arXiv:2611.07570cs.LGNov 2026

Manuscript Offprint

arXiv:2611.07570

ACSeL: Adaptive Configuration Search for Hardware-Constrained LLM Inference

Bokun Wang, Hung-Yueh Chiang, Diana Marculescu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Serving large language models (LLMs) under tight memory and latency service-level objectives (SLOs), including on edge devices, requires jointly selecting the model size, batch size, quantization algorithm, and mixed-precision quantization recipes. Exhaustive search over this combinatorially large space is infeasible. Unlike data-center serving, which often prioritizes throughput or generation speed, resource-constrained deployments typically set memory and latency budgets as constraints and then seek the configuration with the highest generation quality among feasible ones. To this end, we propose ACSeL, a framework that identifies configurations predicted to satisfy deployment constraints while achieving high predicted generation quality. To enable efficient quality estimation, we use Relative Model Quality Degradation (RMQD), a proxy based on the divergence between the candidate and reference models' next-token distributions over a small calibration corpus. Across the evaluated model sizes and precisions, RMQD is inexpensive to evaluate and strongly correlated with downstream benchmark performance. ACSeL combines (i) a lightweight quality surrogate that predicts RMQD directly from a configuration; (ii) Few-shot Median Calibration (FMC), which calibrates operator-profile-based latency estimates using a small number of end-to-end profiles; and (iii) a structured search algorithm BandPareto for exploring layerwise mixed-precision configurations. Experiments on an NVIDIA RTX A6000 workstation and an NVIDIA Jetson Thor edge platform show that FMC substantially improves deployment feasibility, while BandPareto + FMC achieves the highest feasibility and the lowest RMQD gaps to the best measured configurations in the evaluation set.

1 Introduction

Large language models (LLMs) have advanced rapidly and are increasingly deployed beyond the datacenter, on edge devices, personal workstations, vehicles, wearable patient monitors, and interactive appliances that need on-device or near-device reasoning with low latency and strong privacy. These platforms face strict physical limits: finite DRAM and flash storage, limited accelerator memory bandwidth, relatively strict interactive latency budgets such as time-to-first-token (TTFT) and time-per-output-token (TPOT) that users experience as responsiveness, and hard thermal and power constraints. Under such complex conditions, maximizing generation quality usually means optimizing over a joint configuration space for a given model family and serving backend: the product of global choices (such as model size and batch size) and a per-layer quantization configuration space, where each layer specifies weight/activation formats, quantization algorithm, quantization scope (e.g., full or Linear-only), and options grouping layers into bands that share a recipe across contiguous layers. Exploring such a complex space is challenging because it is combinatorially large: for example, the number of candidate configurations is already on the order of 10710^{7} for Qwen3 family models and Ampere-class GPUs, rendering any exhaustive profiling impractical. This motivates an adaptive configuration optimization problem: for each deployment request, automatically select the configuration that maximizes generation quality subject to its hardware and latency budgets.

Prior work on configuration optimization for LLM serving typically targets data-center objectives, such as throughput or energy under latency SLOs, using control knobs such as parallelism and runtime scheduling (Xu et al., 2026; Cho et al., 2026; Song et al., 2026). These methods also generally assume fixed and uniform

Figure

Figure 1: Overview of ACSEL, which uses quality and latency surrogates to guide the search over the configuration space and returns the predicted-feasible configuration with the highest predicted generation quality for the given deployment request.

quantization recipes. On hardware-constrained platforms the picture changes. Deployments often run on a single accelerator at modest request rates, so multi-GPU parallelism and cluster-scale scheduling offer little headroom, while latency budgets act as SLOs rather than soft targets to trade against tokens/sec. For example, a wearable patient monitor cannot add another rack, and the operator seeks to ensure that each response satisfies the latency constraints while achieving the highest possible generation quality. Layerwise weight/activation precision provides another lever for meeting memory and latency constraints while preserving generation quality. We therefore consider the complementary objective of maximizing the generation quality subject to latency and memory constraints:

max⁡C∈CqF(C),s.t.TTFT(C,q)≤L1,TPOT(C,q)≤L2,Mem(C,q)≤m0,(1)\max_{C\in\mathcal{C}_{q}}F(C),\quad \text{s.t.}\quad \text{TTFT}(C,q)\leq L_{1},\text{TPOT}(C,q)\leq L_{2},\text{Mem}(C,q)\leq m_{0}, \tag{1}

where q={hardware,isl,osl,L1,L2,model family,backend}q=\{\text{hardware},\text{isl},\text{osl},L_1,L_2,\text{model family},\text{backend}\} is a deployment request, isl\text{isl}, osl\text{osl} refer to input/output sequence lengths, L1L_1, L2L_2 are constraints on TTFT/TPOT, CC is a configuration from space Cq\mathcal{C}_q for request qq, F(C)F(C) measures model quality (instantiated later via an inexpensive proxy), and m0m_0 is the memory constraint of the given hardware platform1^1.

To efficiently solve (1), we present ACSEL (illustrated in Figure 1), a surrogate-guided framework for jointly selecting the model size, serving configuration, and layerwise mixed-precision quantization recipe under request-specific constraints. ACSEL replaces costly benchmark evaluation and exhaustive hardware profiling with lightweight quality and latency surrogates, and then uses these surrogates to search the combinatorially large configuration space for a feasible solution with highest predicted generation quality. Our main contributions are as follows:

  • We use Relative Model Quality Degradation (RMQD), defined as the KL divergence between the next-token distributions of candidate models and a shared reference model over a small calibration corpus, as a low-cost quality proxy. We further develop a lightweight surrogate that predicts RMQD directly from configurations.

  • We develop Few-shot Median Calibration (FMC), which improves AIContegrator (Xu et al., 2026) using only a small number of end-to-end profiles and robust log-space median regression, improving measured deployment feasibility with limited platform-specific profiling.

  • We design efficient surrogate-guided search algorithms, including our BandPareto (BP), to enable efficient exploration of combinatorial mixed-precision configuration spaces under deployment-time constraints. Experiments on a workstation with an NVIDIA RTX A6000 GPU and an NVIDIA Jetson Thor edge platform show that FMC substantially improves deployment feasibility, while BandPareto + FMC achieves the lowest RMQD gaps. Our collected latency dataset of mixed-precision quantized LLMs could aid future research in resource-constrained serving.

1^1ACSEL could also incorporate energy constraints conservatively as latency ×\times thermal design power limit.

References (23)