Taming Hierarchical Image Coding Optimization: A Spectral Regularization Perspective

Wuyang Cong, Junqi Shi, Ming Lu, Xu Zhang, Zhan MaICLR 2026

TL;DR

Hierarchical image compression models are theoretically superior to single-scale models but are notoriously difficult to optimize, often suffering from "spectral messiness" during training. This paper introduces two training-only spectral regularizers that force different model scales to specialize in specific frequency bands. The result is 2.3× faster convergence and a new state-of-the-art performance (20.65% bitrate savings over VTM-22.0) without adding any extra computational cost during inference.

The Problem: Information Allocation Chaos

In learned image compression (LIC), most models rely on a single-scale Variational Autoencoder (VAE). While effective, these architectures are beginning to hit a performance ceiling. Hierarchical VAEs (HVAEs) represent the logical next step: by processing images at multiple resolutions, they should theoretically allow for better "coarse-to-fine" modeling and flexible quality scalability.

However, HVAEs are a headache to train. They often require weeks of GPU time and still struggle to consistently beat simpler single-scale models. Through spectral analysis, the authors identify the root cause of this inefficiency: information allocation chaos.

Illustration of spectral aliasing and interference in naive training.

Without explicit guidance, different scales in the hierarchy "fight" over the same frequency components, leading to spectral aliasing. Alternatively, they allow energy to disperse across the wrong bands, causing low-frequency interference and high-frequency noise. This lack of specialization leads to redundant data being encoded and massive optimization bottlenecks.

Proposed Method: Spectral Regularization

The authors propose a "Spectral Regularization" perspective to tame the training process. They introduce two main strategies applied only during training, ensuring the final model remains lightweight for the end user:

  1. Intra-scale Frequency Regularization: This leverages the "frequency principle"—the observation that neural networks naturally learn low-frequency patterns before high-frequency ones. Using a Discrete Cosine Transform (DCT), the authors progressively "unveil" frequencies to the model. Early in training, the model only sees low-frequency global structures. As training progresses, higher frequencies are gradually added. This forces the top scales of the hierarchy to specialize in global layout before the lower scales start encoding fine details.
  2. Inter-scale Latent Regularization: To prevent different scales from encoding the same redundant information, the authors introduce a similarity-based penalty. They use a Discrete Wavelet Transform (DWT) to align the latent features of adjacent scales and then apply an L2 loss to discourage them from being too similar. This ensures that each scale captures unique, non-overlapping information.

These ideas are implemented in a new, lightweight 4-scale architecture called DHIC (Deep Hierarchical Image Coding). By swapping heavy transformer backbones for efficient CNNs, the authors prove that their optimization strategy—rather than raw model size—is the true driver of performance.

Key Insights and Visual Proof

The most striking evidence in the paper is the spectral energy heatmap visualization. It visually proves that "naive" end-to-end training results in a blurry mess of overlapping frequencies across scales.

Comparison of training dynamics: naive optimization (top) vs. proposed spectral regularization (bottom).

In contrast, the regularized training dynamics show a beautiful, clean "staircase" of frequency specialization. Each scale distinctly handles its own frequency band without bleeding into the others. Furthermore, the authors found that using an L2 distance for inter-scale regularization is mathematically superior to L1 or Cosine Similarity, as it better aligns with the Gaussian probability assumptions inherent in hierarchical VAEs.

Results and Performance

The impact of these regularizers is substantial across multiple standard benchmarks (Kodak, CLIC, Tecnick, and LIU4K-v2):

  • Efficiency: The model converges 2.3× faster than the baseline. Training that previously took 10 days can now be completed in less than 4.
  • Compression Gains: DHIC achieves an average 20.65% BD-Rate gain over the traditional VTM-22.0 codec, meaning it provides the same image quality using roughly 20% less data.
  • State-of-the-Art Status: It outperforms existing heavyweights like ELIC, MLIC++, and HPCM-Large. The gains are especially pronounced in high-bitrate and high-resolution (4K) scenarios where hierarchical modeling naturally shines.
  • Decoding Speed: Because the regularizers are discarded after training and the core architecture relies on efficient CNNs, DHIC achieves some of the fastest decoding speeds among top-tier learned codecs.

Limitations and Future Work

While this method acts as a "silver bullet" for hierarchical models, the authors note it does not translate perfectly to single-scale models with complex context modeling (like ELIC). In single-scale architectures, applying these regularizers can actually degrade performance because they rely on "slices" that lack a natural frequency-based hierarchy. Future work will explore how to adapt these spectral insights for single-scale VAEs and investigate more sophisticated scheduling functions for the frequency truncation process.

Summary updated

BibTeX
@inproceedings{cong2026taming,
  author = {Wuyang Cong and Junqi Shi and Ming Lu and Xu Zhang and Zhan Ma},
  title = {{Taming Hierarchical Image Coding Optimization: A Spectral Regularization Perspective}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=lO6I66lweK},
}
Figure