arXiv:2611.11975cs.AINov 2026

Manuscript Offprint

arXiv:2611.11975

AutoQS: Automated Quantization Strategy Design with Large Language Models

Zhen Liu, Zhiqin Yang, Yonggang Zhang, Jianyi Liu, Jinjun Wang, Jingwen Fu

ABSTRACT

Quantization reduces LLM deployment costs, but effective strategies must balance model quality and storage. LLM-driven search can automate strategy design through repeated proposal and evaluation. This process must identify useful strategies within a limited evaluation budget. The key challenge is that actual quantization is expensive, while inexpensive proxies may not reflect quantized-model performance. To address this challenge, we present AutoQS, an Automated Quantization Strategy Design with LLMs. AutoQS keeps weight precision fixed and searches group-size allocations across layers and operators under deployment constraints. Evaluation history guides coordinated LLM proposals, while deterministic validation ensures compatible allocations. An inexpensive quality proxy evaluates candidates, and an candidate repository retains alternative allocations to inform subsequent proposals. Periodic actual quantization complements these proxy evaluations with measured quality and checkpoint storage, providing feedback for further search within the evaluation budget. Experiments on Qwen2.5-7B-Instruct show that AutoQS improves seven-task average accuracy over uniform-group GPTQ and AWQ by 0.70 and 1.12 percentage points, respectively, at four-bit weight precision.

1 INTRODUCTION

Quantization reduces the storage and memory requirements of large language models (LLMs) by representing weights with fewer bits (Frantar et al., 2023; Lin et al., 2024). Preserving model quality under this compression requires careful choices about how quantization is applied throughout the model. Even at a fixed weight precision, quantization granularity remains an important design choice. In group-wise quantization, groups of weights share quantization parameters, such as scales. Smaller groups provide finer granularity at the cost of additional metadata. Because model components respond differently to quantization, a uniform allocation need not provide the most effective use of this granularity (Dong et al., 2019; Heo et al., 2024). Designing a heterogeneous allocation therefore requires coordinating decisions across layers and operators while respecting the configurations supported by the quantization implementation.

Existing research provides two complementary foundations for automating this process. Quantization methods improve how low-precision weights are obtained. GPTQ, a post-training quantization method for generative pre-trained transformers, uses approximate second-order information to reduce reconstruction error (Frantar et al., 2023). Activation-aware Weight Quantization (AWQ) protects salient weight channels using activation statistics, while OmniQuant learns calibration parameters to improve low-bit reconstruction (Lin et al., 2024; Shao et al., 2024). Automated allocation methods, including Hardware-Aware Automated Quantization (HAQ), further demonstrate the value of using evaluation feedback to choose quantization configurations (Wang et al., 2019). In parallel, LLM-driven systems such as FunSearch and Evolution of Heuristics automate program and

∗^{*}Equal contribution.

†^{\dagger}Corresponding author: fujingwen@bza.edu.cn.

heuristic design through repeated proposal and evaluation (Romera-Paredes et al., 2024; Liu et al., 2024). Recent systems further show how evaluation feedback can guide subsequent LLM-generated changes during iterative search (Ye et al., 2024; Novikov et al., 2025). These developments motivate an analogous approach to quantization strategy design, where proposed allocations are evaluated and the resulting evidence informs later proposals.

Applying this approach to quantization introduces two connected difficulties. First, a proposed strategy must become a valid allocation before it can be evaluated. Changes across layers and operators must satisfy shared-configuration requirements, and differently expressed proposals may encode the same allocation. Second, evaluating a valid allocation at full fidelity requires constructing and testing a quantized checkpoint. Repeating this process for every proposal would consume the experimental budget quickly. Inexpensive proxies support broader exploration, but their scores do not directly establish downstream accuracy or the size of a materialized checkpoint. These difficulties raise a central question. How can LLM-driven search turn quantization proposals into executable strategies and improve them using a limited number of actual quantization evaluations?

We address this question with AutoQS, a framework for Automated Quantization Strategy Design with LLMs. AutoQS keeps weight precision fixed within each run and searches group-size allocations across layers and fusion-compatible operator groups. To turn proposals into executable strategies, it combines structured LLM edits with deterministic validation. The LLM receives a parent allocation, previous evaluation results, and a candidate repository, and proposes sparse edits that can jointly change several operator decisions. Each proposal is checked for consistency with the parent and for compatibility with the supported quantization configurations. Equivalent allocations are detected from their canonical representation, and deterministic novelty repair seeks an unseen valid alternative when an allocation is repeated. This gives the LLM scope to propose coordinated changes while enforcing the concrete requirements of the quantization implementation.

Multi-fidelity optimization provides a precedent for combining inexpensive approximations with costly target evaluations (Kandasamy et al., 2017). AutoQS adopts this broad evaluation principle through low-cost candidate assessment and periodic evaluation of quantized checkpoints. Valid, unseen candidates receive a scalar proxy score together with diagnostic statistics and a storage estimate. Maintaining a population of evaluated candidates can provide varied contexts for subsequent LLM proposals, as demonstrated by FunSearch (Romera-Paredes et al., 2024). In AutoQS, the candidate repository supports parent selection and retains alternative allocation patterns for later proposals. However, proxy-based exploration alone cannot verify the quality of the resulting quantized models. AutoQS therefore complements this loop with periodic quantization and checkpoint feedback. At a fixed interval, it evaluates the latest eligible candidate in the current search window. The selected strategy undergoes fresh GPTQ quantization (Frantar et al., 2023), followed by development-task evaluation and checkpoint-size measurement. The resulting observations inform later search decisions, connecting proposal generation to the behavior of actual quantized models. The default protocol permits at most 20 such evaluation opportunities over 100 search iterations. After candidate selection is frozen, a broader seven-task evaluation assesses the selected strategies without feeding its results back into search.

At four-bit weight precision, AutoQS improves seven-task average accuracy over uniform-group GPTQ and AWQ by 0.70 and 1.12 percentage points, respectively, on Qwen2.5-7B-Instruct. Matched-seed ablations support the roles of LLM proposals and checkpoint feedback in improving search-time performance. Case studies further examine how the discovered strategies allocate quantization granularity across model components and transfer to related models without additional allocation search.

Our contributions are threefold as follows:

  • Automated quantization strategy design. We introduce AutoQS to automate heterogeneous group-size allocation at fixed weight precision. The framework uses an LLM to propose coordinated strategy changes while enforcing operator compatibility and allocation validity.

  • Search with periodic checkpoint feedback. We combine inexpensive candidate evaluation and candidate search history with a bounded schedule of actual quantization evaluations. Measured checkpoint quality informs subsequent search, while checkpoint materialization provides direct storage measurements.

  • Empirical evaluation of strategy quality and search behavior. We evaluate strategy quality through downstream benchmarks, investigate the search mechanism through matched-seed ablations, and examine allocation structure and reuse through case studies.

References (56)