Top Hessian Metrics: Eigenvalue vs. Trace
Early Hessian-based quantization methods like HAWQ-V1 primarily used the largest Hessian eigenvalue to gauge layer sensitivity, but subsequent research, particularly with HAWQ-V2, established that the average Hessian trace is a more theoretically sound and effective metric for allocating mixed precision.
The top 3
- Average Hessian Trace Outperforms Top Eigenvalue for LLM Quantization: Research, notably HAWQ-V2, theoretically proves and empirically demonstrates that the average Hessian trace is a more effective metric for layer sensitivity in mixed-precision quantization than solely the top eigenvalue, leading to better accuracy retention in models like ResNet-50.
- Hessian Trace: Efficiently Approximated via Hutchinson's Algorithm: While computing all Hessian eigenvalues is computationally prohibitive (O(N^3) complexity), the Hessian trace can be efficiently approximated using stochastic methods like Hutchinson's algorithm, making it a practical metric for sensitivity analysis in large-scale LLM quantization.
- Max Hessian Eigenvalue Pinpoints Critical Curvature for Robust Quantization: The maximum Hessian eigenvalue is crucial for identifying layers highly sensitive to perturbations and outliers in the loss landscape, guiding advanced techniques like HeRo-Q to reshape the landscape and methods like GPTQ to compensate for quantization errors, thereby enhancing robustness.
Sources
Open the full topic