QATFactory: A Versatile, Deployment-Aligned Framework for Quantization-aware Training and Distillation of LLMs
Not on the map. Why?
Abstract (arXiv)
Large language model (LLM) inference is increasingly moving toward lower precision to realize the throughput of hardware accelerators, but aggressive post-training quantization (PTQ) can degrade model quality. We present QATFactory, an open-source framework for deployment-aligned quantization-aware distillation (QAD) and reinforcement learning (QARL). QATFactory simulates deployment-time quantization while performing matrix multiplications in BF16, allowing models to adapt to quantization noise without requiring training hardware that natively supports the target format; for example, it supports NVFP4 training on H100 GPUs, which lack FP4 Tensor Cores. The framework supports NVFP4, MXFP4, and llama.cpp's Q4K format; dense and mixture-of-experts models; and both full-parameter and LoRA-based training. It exports checkpoints directly to vLLM and llama.cpp without an additional lossy conversion step or added inference overhead. With QATFactory, we conduct extensive experiments on models ranging from 8B to 230B parameters and evaluate exported checkpoints in production inference engines. Across models and formats, QAD consistently improves deployed-model quality over strong PTQ baselines. On Qwen3.5-9B, QAD achieves average benchmark accuracies of 68.9% under NVFP4 and 66.0% under MXFP4, outperforming the best PTQ results of 65.4% and 56.4%, respectively. Through our experiments, we found that although both FP4 formats quantize weights and activations at deployment, the best training strategy is format-dependent: NVFP4 generally performs better when only weights are quantized during training, whereas MXFP4 benefits from quantizing both weights and activations. At a fixed training token budget, training on fewer 32K sequences improves average accuracy by 1.9 points over training on more 4K sequences.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 55 of its 68 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
55 of 68 references.
References · 55
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2023Let's Verify Step by Stepcited by 3,789
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
38 more
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
- 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,136
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2019Learned Step Size Quantizationcited by 628
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
- 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 467
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
- 2023LLM-QAT: Data-Free Quantization Aware Training for Large Language Modelscited by 324
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoningcited by 280
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2023QA-LoRA: Quantization-Aware Low-Rank Adaptation of Large Language Modelscited by 155
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 148
- 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
- 2024EfficientQAT: Efficient Quantization-Aware Training for Large Language Modelscited by 127
- 2024BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillationcited by 84
- 2025Pretraining Large Language Models with NVFP4cited by 76
- 2025Quantization Hurts Reasoning? An Empirical Study on Quantized Reasoning Modelscited by 73
- 2026The MiniMax-M2 Series: Mini Activations Unleashing Max Real-World Intelligencecited by 61
- 2025ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM Quantizationcited by 46
- 2019QKD: Quantization-aware Knowledge Distillationcited by 44
- 2024Low-Rank Quantization-Aware Training for LLMscited by 43
- 2024The Perfect Blend: Redefining RLHF with Mixture of Judgescited by 43
- 2025TorchAO: PyTorch-Native Training-to-Serving Model Optimizationcited by 26
- 2026Quantization-Aware Distillation for NVFP4 Inference Accuracy Recoverycited by 22
- 2025Scaling Law for Quantization-Aware Trainingcited by 17
- 2025QeRL: Beyond Efficiency -- Quantization-enhanced Reinforcement Learning for LLMscited by 16
- 2024L4Q: Parameter Efficient Quantization-Aware Fine-Tuning on Large Language Modelscited by 15
- 2026Quantized Reasoning Models Think They Need to Think Longer, but They Do Notcited by 10
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026From Bits to Chips: An LLM-based Hardware-Aware Quantization Agent for Streamlined Deployment of LLMs
- 2025QuantX: A Framework for Hardware-Aware Quantization of Generative AI Workloads
- 2026A Target-Centric Survey of Quantization-Aware Training
- 2025End-to-End On-Device Quantization-Aware Training for LLMs at Inference Cost
- 2026RAMP: Reinforcement Adaptive Mixed Precision Quantization for Efficient On Device LLM Inference
- 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving
- 2024LLMEasyQuant: Scalable Quantization for Parallel and Distributed LLM Inference
- 2026QTALE: Quantization-Robust Token-Adaptive Layer Execution for LLMs