Quantization Design Agents Enable Closed-Loop LLM Quantization Design

Latest 0 views

Coding agents search LLM quantization recipes, beating public recipes on four reasoning models with no inference overhead in deployment.

Key Takeaways

  • QDA uses a coding agent to automatically design post-training quantization recipes for LLMs, removing human tuning from the recipe-search process.
  • Its agent-generated checkpoints beat the strongest public recipes on four reasoning models, with average gains of 0.9, 1.4, and 2.2 points at W4A16, W4A8, and W3A16.
  • QDA makes the search practical by using a fast KL score and a library of 21 stackable PTQ methods, allowing up to 36 candidate recipes to be tested in an eight-hour run.
  • The resulting quantized models run on existing kernels with no inference overhead, so the accuracy gains translate directly into deployable improvements rather than benchmark-only wins.
  • Tooling quality strongly affects results: the same agent performs worse when using NVIDIA ModelOpt’s tools, and search costs range from $19 to $75, with a 320B GLM-5.3-Flash example recovering 98.3% of FP8 accuracy at NVFP4.

Meta description: QDA uses a coding agent to search LLM quantization recipes, beating public checkpoints by 0.9, 1.4 and 2.2 points on four reasoning models without human tuning.

Quantization Design Agents Enable Closed-Loop LLM Quantization Design

Tags: QDA, LLM quantization, post-training quantization, coding agent, NVIDIA ModelOpt

Featured image: abstract technology-style grid of low-precision matrix blocks and a glowing search path, no people, no logos, no text

QDA brings a coding agent into LLM quantization design. For each model and precision, the agent creates a post-training quantization recipe without human-in-the-loop tuning, and its checkpoints beat the strongest public recipe on 4 reasoning models by 0.9, 1.4 and 2.2 points on average at W4A16, W4A8 and W3A16. The resulting models run on existing kernels with no inference overhead, making the gain a deployment result rather than only a benchmark story.

Background: The Search Space Behind PTQ Recipes

Post-training quantization, or PTQ, is the process of converting a trained model into a lower-precision form while trying to keep accuracy close to the original. In the QDA setup, that task is treated as a recipe design problem. The recipe must match each model and each precision setting, rather than relying on one fixed method applied everywhere.

The agent works the way a quantization expert would. It proposes a recipe, builds it, measures it, and then decides what to change next. The speed of that loop depends on two tools described in the source: a KL score that takes minutes instead of dozens of GPU-hours, and a library of 21 PTQ methods that can stack in any order.

This search space matters because no method wins everywhere. The best recipe differs for every model and precision, and the agent finds it by searching.

Development: How QDA Builds and Tests Candidates

The core change is automation of the expert workflow. Instead of a person selecting one known method and hoping it fits the target model, QDA runs a candidate loop. It can test up to 36 candidates in one eight-hour search.

The KL score shortens the feedback step. Rather than spending dozens of GPU-hours evaluating each candidate, the agent can get a score in minutes. The library of 21 PTQ methods expands the possible recipe space, and the ability to stack methods in any order gives the agent room to combine approaches rather than choosing a single fixed algorithm.

The result is a system that designs the recipe itself for each model and precision. There is no human in the loop during that design step. The checkpoints produced by the agent beat the strongest public recipe on 4 reasoning models, with average gains of 0.9, 1.4 and 2.2 points at W4A16, W4A8 and W3A16.

Those gains also stay practical. The quantized models run on existing kernels with no inference overhead, which means the benefit is not paid for by slower serving or custom deployment changes.

Latest Results: Four Models, One Large Checkpoint, and Tool Sensitivity

The source gives a concrete example on the 320B-parameter GLM-5.3-Flash model at NVFP4. One 6.5-hour search costing $69 recovers 98.3% of the FP8 model's accuracy, against 96.9% for NVIDIA's release.

That comparison highlights the value of the search recipe itself. A lower-precision model can still retain nearly all of the higher-precision baseline accuracy when the PTQ recipe is tuned well.

The tools also affect the outcome. Given NVIDIA ModelOpt's tools instead of QDA's tools, the same agent falls 0.5 to 1.3 points behind on Qwen3.6-35B. This shows that the agent's result depends not only on the search loop, but also on the tooling surface it can use.

Cost remains part of the story. A search costs $19 to $75 of agent tokens. The current stage, therefore, is an autonomous PTQ recipe search system that can test up to 36 candidates in an eight-hour run, score them quickly, and produce checkpoints that beat the strongest public recipe on 4 reasoning models while running on existing kernels with no inference overhead.

Tags: coding agentspost-training quantizationLLM quantizationQuantization Design AgentsNVIDIA ModelOpt

Comments

No comments yet. Be the first to comment.

Leave a comment