Hugging Face Blog

Quanto: a PyTorch quantization backend for Optimum

arXiv AI
1d ago

A Continuous Relaxation of Quantization-Aware Training

The paper introduces RelaxQAT, a continuous relaxation of quantization‑aware training that gradually adjusts bitwidth during model training. This approach addresses challenges of low‑bit quantization, such as limited levels and flat loss surfaces, by avoiding abrupt changes in precision. Experiments show that RelaxQAT yields up to 6.3% accuracy gains on vision tasks and 7.7% on natural language tasks compared to leading QAT methods.

By Kartikeya Bhardwaj, Mohammed Almousa, Chaitanya Mullapudi, Ananth Balasubramanian, Nithin Ramesan, Tuc Nguyen, Harris Teague
arXiv Machine Learning
Oct 16

Compiling Multi-Threshold Operators for Quantized Non-Monotonic and Fine-Granular Activations in Custom-Tailored DNN Accelerators

The paper presents a method for compiling multi‑threshold operators that support quantized, non‑monotonic, and fine‑granular activation functions in custom DNN accelerators. It extends the multi‑threshold representation to multi‑dimensional thresholds, integrates algebraic conversion rules into an ONNX‑based compiler, and validates the approach on both monotonic and non‑monotonic functions using the FINN framework. The authors also characterize hardware costs compared to graph‑level decomposition and discuss potential use in quantization‑aware training.

By Christoph Berganski, Felix Jentzsch, Marco Platzner
arXiv Machine Learning
5d ago

Zonotopic Analysis of Quantization Error in Neural Networks

The paper introduces a zonotope-based abstract interpretation framework for verifying quantized ReLU feed-forward neural networks. It presents a unified round‑clamp abstract transformer that handles both rounding and clamping, and extends the approach to constrained zonotopes to tighten error bounds. Experiments on ACAS Xu benchmarks show that the constrained zonotope method reduces error‑bound widths by 70‑85% and runtimes by 65‑80% compared to existing symbolic DRA propagation, while the plain zonotope method achieves competitive bounds nearly 300 times faster.

By Robert Debbas, \'Eric Goubault, Sylvie Putot