Regularization of inverse problems: deep equilibrium models versus bilevel learning

Danilo Riccio, Matthias J. Ehrhardt, Martin BenningNumerical 2022

Abstract

Variational regularization methods are essential for approximating solutions to ill-posed inverse problems. Traditionally, these methods relied on hand-crafted models, but recent shifts have favored data-driven approaches like the fields-of-expert model. Training these models is often framed as a bilevel optimization problem. This paper compares the established framework of bilevel learning with the emerging framework of deep equilibrium (DEQ) models in the context of inverse problems. We demonstrate that bilevel learning, when solved via fixed-point iterations, is a special case of the DEQ framework. Our computational comparison across denoising, inpainting, and deconvolution tasks reveals that the additional constraints in bilevel learning can enhance model robustness and training stability.

Introduction

In fields ranging from medical imaging to geophysics, researchers frequently encounter inverse problems: the challenge of recovering a clean signal or image $u$ from noisy, indirect measurements $f$. Because these problems are typically ill-posed—meaning small fluctuations in noise can lead to significant errors in reconstruction—regularization is required to stabilize the solution process.

While mathematicians traditionally designed regularizers manually (e.g., Tikhonov regularization), the field has increasingly adopted data-driven regularization. In this paradigm, the parameters of the regularizer are learned from a dataset. This paper investigates the relationship between two primary frameworks for this learning: Bilevel Learning (BL) and Deep Equilibrium (DEQ) Models.

Frameworks and Theoretical Connection

Bilevel Learning (BL)

Bilevel learning treats the training process as an optimization problem nested within another. The "upper-level" problem minimizes a loss function (such as Mean Squared Error) relative to ground truth data, while the "lower-level" problem ensures that the reconstruction itself is an optimal solution to a specific regularization energy functional.

Deep Equilibrium (DEQ) Models

DEQ models represent a departure from traditional feed-forward neural networks. Instead of passing data through a fixed number of layers, a DEQ model defines the output as the fixed point of a nonlinear mapping: $u = G(u, \Psi)$. Training involves optimizing the parameters $\Psi$ so that the equilibrium state of the system aligns with the desired output.

The Connection

A key contribution of this research is the mathematical proof that Bilevel Learning is a subset of the DEQ framework. When the lower-level optimization in a bilevel problem is solved using an iterative method (like gradient descent), that iteration defines a fixed-point mapping. This mapping fits the DEQ formulation. However, DEQ is more general; its fixed-point operator does not need to be the gradient of an energy function, allowing it to represent "non-conservative" vector fields that BL cannot.

Experimental Methodology

To compare these frameworks fairly, the authors utilized similar network architectures for both—typically consisting of an affine layer, an activation function (ReLU, Softshrink, or Tanh), and a linear output layer.

Datasets and Tasks: * MNIST: Used for extensive hyperparameter sweeps to test model sensitivity. * CelebA: Used to test scalability, employing 2D convolutional layers to handle higher-resolution grayscale imagery. * Tasks: The models were evaluated on denoising, inpainting (recovering missing pixels), and deconvolution (deblurring).

Key Insights and Results

1. Performance and Robustness

In straightforward tasks like denoising, both frameworks performed almost identically. However, in more complex tasks like inpainting and deblurring, Bilevel Learning proved significantly more robust. BL achieved lower average loss and demonstrated less sensitivity to the choice of hyperparameters, such as step size ($\tau$) or regularization weight ($\gamma$).

2. The Necessity of Equilibrium

The study highlights that "naïve" learning—training a network to perform only a single step of an iteration—fails for underdetermined problems like inpainting. Capturing the global structure of the image requires training for the equilibrium point, a requirement shared by both BL and DEQ.

3. Efficiency and Convergence

Interestingly, the extra freedom afforded to DEQ models did not translate into better performance. DEQ models in this study often had twice as many parameters because they lacked the symmetry constraints inherent in the bilevel gradient formulation. Despite this, bilevel models were easier to train to a successful state; a higher percentage of hyperparameter configurations led to valid solutions in BL compared to DEQ.

Conclusion

This research bridges the gap between bilevel optimization and deep equilibrium models. While DEQ provides a more general mathematical framework, the structural constraints of Bilevel Learning appear to act as a beneficial "meta-regularizer." These constraints simplify the training landscape and result in models that are more robust across a variety of inverse imaging tasks. Future work may explore whether more complex DEQ architectures, such as those utilizing Anderson Acceleration, can eventually overcome the stability advantages currently held by the bilevel approach.

Summary updated

BibTeX
@inproceedings{riccio2022regularization,
  author = {Danilo Riccio and Matthias J. Ehrhardt and Martin Benning},
  title = {{Regularization of inverse problems: deep equilibrium models versus bilevel learning}},
  booktitle = {Numerical},
  year = {2022},
}
Figure