R174 · Agent architecture › Self-improvement and learning loops

QDA: an agent designs the quantization recipe, scored by KL in minutes

Read the original

Authors NVIDIA, Elvis Saravia (shared)

self-improvementquantizationevalsinference

Sources: Li, Zhao, Han et al. (MIT and NVIDIA), "QDA: Closed-Loop LLM Quantization Design with Agents", arXiv 2611.23388, 17 Nov 2026; Elvis Saravia's LinkedIn post on the paper.

The claim in one paragraph

Post-training quantization (PTQ) recipes do not transfer: the best mix of methods, calibration data and per-layer choices changes with each model and precision, so experts redesign it by hand. QDA hands that design loop to a coding agent. The agent proposes a recipe, a shared library builds the checkpoint, a fast evaluator scores it, and the agent uses the scores to decide what to change next. Each search gets 8 GPUs for 8 hours (64 GPU-hours) and roughly $19 to $75 of agent tokens. On four reasoning models QDA beats the strongest public recipe by 0.9, 1.4 and 2.2 accuracy points at W4A16, W4A8 and W3A16. On the 320B-parameter MoE GLM-5.3-Flash at NVFP4 (W4A4) it recovers 98.3% of FP8 accuracy, against 96.9% and 96.3% for the NVIDIA and Red Hat AI vendor checkpoints. Every output runs on existing serving kernels with no inference overhead.

Architecture

Why it matters beyond quantization

The pattern generalizes to any expert tuning loop: an agent can search a design space well only if each candidate can be scored cheaply, the scorer is out of the agent's reach, and an occasional expensive check guards against the cheap proxy's blind spots. Evaluation rate, not agent cleverness, sets how many rounds fit in the budget.

Tradeoffs

Failure modes to expect

Review checklist for an agent-driven tuning loop

  1. Can each candidate be scored in minutes, and is the cheap score validated against the expensive one?

  2. Is the scorer, its reference data and the test set physically out of the agent's reach (separate process, read-only code, frozen inputs)?

  3. Is there a periodic expensive check for failure modes the proxy cannot see?

  4. Are all agent tool calls logged by a supervisor outside the sandbox?

  5. Is every file the agent can read scanned for test items?

  6. Is the final result compared against the strongest public baseline and the vendor's own tooling, not only a naive baseline?

  7. Is the per-search budget (GPU-hours and tokens) reported alongside the gain?

Cited in field guides

Connections

See R174 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.