Hierarchical Optimization-Derived Learning

Risheng Liu, Xuan Liu, Shangzhi Zeng, Jin Zhang, Yixuan Zhang · DOI · OpenReview

Introduction

Optimization-Derived Learning (ODL) has emerged as a powerful paradigm in computer vision and signal processing. By "unrolling" iterative optimization algorithms—such as Gradient Descent or ADMM—into neural network architectures, researchers can create models that are both interpretable and grounded in mathematical theory. However, a significant gap remains between the theoretical foundations of optimization and the practical training of these deep architectures.

Existing ODL methods typically fall into two categories: Unrolling with Numerical Hyperparameters (UNH), which preserves convergence guarantees but lacks the flexibility of deep learning, and Embedded with Network Architectures (ENA), which replaces optimization components with complex neural networks. While ENA methods achieve high performance, they often ignore the underlying optimization theory during training. This leads to a lack of joint convergence, where the learned network parameters ($\omega$) and the optimization variables ($u$) may fail to reach a stable, meaningful equilibrium. This paper introduces Hierarchical Optimization-Derived Learning (HODL) to bridge this gap.

The HODL Framework

The core innovation of HODL is the treatment of model construction and training as a nested, hierarchical system. Rather than treating the optimizer and the network as separate entities, HODL formulates the problem as a bilevel optimization:

$$\min_{u, \omega} \ell(u, \omega) \quad \text{s.t.} \quad u = \mathcal{T}(u, \omega)$$

In this formulation, $\mathcal{T}$ represents a "non-expansive" operator that defines the optimization iterations. The constraint ensures that the solution $u$ is always a fixed point of the optimization process relative to the network parameters $\omega$.

Algorithmic Strategies

To solve this hierarchical problem, the authors propose two distinct strategies:

  1. Aggregated HODL (aHODL): This approach calculates gradients from both the lower-level optimization task and the upper-level learning loss. By aggregating these directions, aHODL provides a theoretically robust path to convergence, even in scenarios where the optimization solution is non-unique.
  2. Simplified HODL (sHODL): Designed for computational efficiency, sHODL omits the aggregation step. This variant is particularly suited for complex, high-dimensional architectures where the full aHODL calculation might be prohibitively expensive.

To maintain stability, the framework utilizes spectral normalization. This ensures that the neural network modules remain non-expansive, a critical mathematical property that prevents the unrolled iterations from becoming chaotic or diverging during deep training.

Experimental Results

The HODL framework was evaluated across a diverse array of tasks, demonstrating its versatility and robustness compared to traditional ODL and pure deep learning methods.

Image Restoration and Enhancement

HODL achieved state-of-the-art results in several vision benchmarks:

  • Rain Streak Removal: On the Rain100L dataset, HODL reached a PSNR of 40.07 dB, surpassing specialized architectures like RCDNet (40.00 dB) and PReNet (37.45 dB).
  • Low-light Enhancement: On the LOL dataset, HODL achieved 20.86 dB, a significant improvement over previous ODL-based approaches like GLADNet (16.19 dB).
  • Image Deconvolution: Tests on BSD, DIV2K, and other datasets confirmed that HODL maintains superior image fidelity and sharper details through its theoretically grounded optimization steps.

Generative Modeling and Few-Shot Learning

Beyond restoration, HODL addresses fundamental issues in Generative Adversarial Networks (GANs). In synthetic "2D ring" experiments, standard GANs often suffer from mode collapse, failing to capture the full distribution. HODL successfully captured all 8 modes of the distribution by treating the discriminator as an optimizer for the generator within the hierarchical framework.

Furthermore, HODL showed strong performance in Few-shot Learning (Omniglot, MiniImageNet) and Hyper-parameter Optimization (MNIST data cleaning), proving that the coupling of optimization and learning is beneficial across various domains of machine learning.

Key Insights and Discussion

The primary contribution of HODL is the realization of the coupling effect: network parameters and optimization variables are intrinsically linked. When a network is updated to improve performance, it fundamentally alters the landscape of the optimization problem it is meant to solve. HODL is the first framework to track and optimize this relationship explicitly with theoretical guarantees.

Limitations

Despite its strengths, HODL faces challenges regarding computational complexity. The nested iteration strategy requires an inner loop for optimization and an outer loop for learning, which can be resource-intensive for very large-scale problems. Additionally, while HODL optimizes the parameters of the operator $\mathcal{T}$, the initial choice of the optimization algorithm (the base operator) still requires domain expertise.

Conclusion

Hierarchical Optimization-Derived Learning provides a rigorous mathematical foundation for unrolled neural networks. By ensuring joint convergence and stability through non-expansive operators, HODL closes the gap between the interpretability of classical optimization and the power of deep learning. Future work will focus on scaling this framework to foundation-model dimensions and exploring automated operator design.

Summary updated

BibTeX
@article{liu2023hierarchical,
  author = {Risheng Liu and Xuan Liu and Shangzhi Zeng and Jin Zhang and Yixuan Zhang},
  title = {{Hierarchical Optimization-Derived Learning}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  url = {https://openreview.net/forum?id=4DEtpvQOiK},
}
Figure