HAQ & HAWQ: Pioneering Hessian-Guided Quantization

Hessian-Aware Quantization (HAQ) represents a family of neural network compression techniques that leverage second-order loss curvature. Notable among these is HAWQ (Hessian AWare Quantization), a framework that utilizes the Hessian spectrum to automatically determine layer-specific quantization precision, significantly streamlining the mixed-precision allocation process.

The top 3

  1. HAQ: Pioneering Hardware-Aware Quantization with RL: HAQ (Hardware-Aware Automated Quantization), introduced by Wang et al. in 2018, pioneered using reinforcement learning (DDPG RL agent) to automatically determine mixed-precision quantization policies, leveraging direct hardware feedback (latency, energy) instead of proxy signals for optimal efficiency.
  2. HAWQ: Hessian Spectrum for Layer-Wise Precision: HAWQ (Hessian AWare Quantization), introduced by Dong et al. in 2019, systematically determines layer-wise mixed-precision by analyzing the Hessian spectrum, allowing automatic selection of quantization levels and a deterministic fine-tuning order.
  3. HAWQ-V2 & V3: Advancements in Hessian-Guided Quantization: HAWQ-V2 improved upon HAWQ by theoretically proving the average Hessian trace as a better sensitivity metric than just the top eigenvalue, and HAWQ-V3 introduced integer-only inference and solved mixed-precision allocation with Integer Linear Programming (ILP) for hardware-aware deployment, achieving up to 23% latency reduction.

Sources

Open the full topic