HAWQ quantifies a neural network layer's sensitivity to quantization noise using its Hessian matrix. Layers with larger 'top eigenvalues' in their Hessian spectrum, indicating high loss function curvature, are deemed more sensitive and assigned higher precision, while less sensitive layers receive lower precision.