Leveraging Second-Order Curvature for Efficient Learned Image Compression: Theory and Empirical Evidence
Yichi Zhang, Fengqing Zhu
TL;DR
The paper tackles slow convergence and suboptimal rate–distortion trade-offs in learned image compression caused by gradient conflicts between rate and distortion. It proposes SOAP, a second-order quasi-Newton optimizer with Kronecker-structured preconditioning, as a drop-in replacement that accelerates training and improves RD performance across multiple LIC architectures. The authors provide theoretical analysis showing Newton preconditioning aligns gradients intra-step and inter-step, and they validate this with empirical metrics, including reduced steps/time and BD-Rate gains, plus a marked reduction in activation/latent outliers that enhances post-training quantization robustness. A key practical takeaway is that optimization strategy—specifically curvature information—offers a tangible lever to boost LIC efficiency and deployability without architectural changes. The work also presents a preliminary extension to learned video compression, suggesting broader applicability of curvature-aware optimization in high-dimensional compression tasks.
Abstract
Training learned image compression (LIC) models entails navigating a challenging optimization landscape defined by the fundamental trade-off between rate and distortion. Standard first-order optimizers, such as SGD and Adam, struggle with \emph{gradient conflicts} arising from competing objectives, leading to slow convergence and suboptimal rate-distortion performance. In this work, we demonstrate that a simple utilization of a second-order quasi-Newton optimizer, \textbf{SOAP}, dramatically improves both training efficiency and final performance across diverse LICs. Our theoretical and empirical analyses reveal that Newton preconditioning inherently resolves the intra-step and inter-step update conflicts intrinsic to the R-D objective, facilitating faster, more stable convergence. Beyond acceleration, we uncover a critical deployability benefit: second-order trained models exhibit significantly fewer activation and latent outliers. This substantially enhances robustness to post-training quantization. Together, these results establish second-order optimization, achievable as a seamless drop-in replacement of the imported optimizer, as a powerful, practical tool for advancing the efficiency and real-world readiness of LICs.
