EquiReg: Equivariance Regularized Diffusion for Inverse Problems

Bahareh Tolooshams, Aditi Chandrashekar, Rayhan Zirvi, Abbas Mammadov, Jiachen Yao, Chuwei Wang, Anima Anandkumar

TL;DR

EquiReg is a general plug-in regularization framework that improves diffusion-based inverse solvers by keeping sampling trajectories on the data manifold. By leveraging "Manifold-Preferential Equivariant" (MPE) functions—which naturally exhibit lower equivariance error for realistic data—EquiReg significantly reduces artifacts and enables high-quality reconstructions even with fewer sampling steps.

What Problem Does This Paper Address?

Diffusion models have become the gold standard for solving inverse problems like image deblurring, super-resolution, and inpainting. These models work by starting with noise and iteratively refining it to match a target "posterior" distribution—a mix of a learned data prior and a likelihood term that ensures the result matches the observed measurements.

However, there is a catch: the likelihood term is mathematically intractable. To get around this, most current solvers (like DPS or PSLD) use a simplified Gaussian approximation. While efficient, this approximation often pushes the sampling process away from the "data manifold"—the low-dimensional space where realistic, natural images live. When the sampler drifts off-manifold, it produces "hallucinated" artifacts or inconsistent results, especially when trying to speed up the process by taking fewer steps.

The Gaussian approximation can lead to posterior expectations that fall in low-density regions between modes, pushing samples off the data manifold.

Methods

The authors introduce EquiReg (Equivariance Regularized Diffusion), which adds a new regularization term to the diffusion sampling update. The core innovation is the use of Manifold-Preferential Equivariant (MPE) functions.

An equivariant function is one that commutes with certain transformations (like rotations or reflections). The authors discovered that many standard pre-trained networks (like ResNet encoders or LDM decoders) are "preferentially" equivariant: they show very low equivariance error for clean, natural data but high error for noisy or implausible data.

EquiReg works by:

  1. Identifying a symmetry group: For example, vertical reflections for faces or rotations for general objects.
  2. Plugging in an MPE function: This can be a pre-trained encoder or autoencoder already used in the diffusion pipeline.
  3. Regularizing the trajectory: At each step, EquiReg calculates the equivariance error of the current estimate. It then applies a gradient update to minimize this error, effectively "nudging" the sample back toward the manifold of realistic images.
Figure 1: Equivariance Regularized (EquiReg) diffusion for inverse problems. (left) Manifold preferential equivariance (MPE) functions whose equivariance error is lower for on-manifold and higher for off-manifold data. (right) EquiReg regularizes the posterior sampling trajectory for improved performance. It penalizes off-manifold trajectories via MPE-based regularization. This is a schematic illustrating the motivation of our method; the depicted EquiLoss color gradient is qualitative rather than a direct measurement of manifold distance, with empirical equivariance error shown in Figure 4a. Mt denotes a high-density region of pt at diffusion time t, rather than its support, with M0 = M denoting the clean data manifold.

Crucially, EquiReg is architecture-agnostic. It doesn't require retraining the diffusion model; it simply acts as a "guide" during the inference (sampling) stage.

Datasets

The researchers evaluated EquiReg across several domains:

  • Natural Images: They used the FFHQ (Face) and ImageNet (General) datasets at 256x256 resolution.
  • Scientific Computing: They applied the method to solving Partial Differential Equations (PDEs), specifically the Helmholtz and Navier-Stokes equations, using standard physics benchmarks.
  • Text-to-Image: Preliminary experiments were conducted using DreamSampler on FFHQ.

Key Insights and Ideas

  • MPEs are Everywhere: One of the most surprising findings is that MPE behavior isn't a rare property. It emerges naturally in almost any model trained with data augmentation or on data with inherent symmetries. You don't need to design a special "manifold detector"; a standard ResNet-50 often works out of the box.
  • Implicit Acceleration: By keeping the trajectory on the manifold, EquiReg allows solvers to maintain high quality even when the number of measurement consistency steps is drastically reduced. This leads to significant wall-clock time savings (e.g., a 2x speedup for SITCOM).
  • Diversity without Collapse: Unlike some regularizers that force the model toward a single "average" solution (mode collapse), EquiReg preserves the diversity of the posterior. As the problem becomes more difficult (e.g., larger inpainting masks), the diversity of EquiReg's samples increases linearly, reflecting the true uncertainty of the task.
EquiReg maintains healthy posterior sampling diversity across different task difficulties rather than collapsing to a single mode.

Key Results

EquiReg consistently outperformed baseline solvers across linear and nonlinear tasks:

  • Image Restoration: On super-resolution tasks, EquiReg improved the FID (Fréchet Inception Distance) of the DPS solver by 59%. For motion deblurring, it improved the LPIPS (a perceptual similarity metric) of ReSample by 51%.
  • PDE Solving: EquiReg achieved a 7.3% relative reduction in $\ell_2$ error for the Helmholtz equation and a 7.5% reduction for Navier-Stokes compared to state-of-the-art function-space diffusion solvers.
  • Qualitative Improvements: As seen in Figure 2, EquiReg effectively removes the "hazy" or "distorted" artifacts common in standard diffusion-based reconstructions.
Figure 2: EquiReg’s broad applicability. a-d) image restoration inverse problems and e) text-guided image generation, resulting in artifact reduction and more realistic generation. Here, EquiReg refers to our regularization being applied to the diffusion sampling method on the same row.

Limitations and Future Work

While powerful, EquiReg has a few areas for further exploration:

  • Symmetry Selection: Currently, the user must manually choose a symmetry group (like rotation or reflection) that matches the data. The authors suggest that future work could involve automatic symmetry discovery to make the process more autonomous.
  • MPE Strength: The effectiveness of the regularization depends on the "strength" of the MPE signal in the chosen function. While many pre-trained models work, finding the optimal MPE function for a specific task remains an open question.
  • Theoretical Depth: While the paper provides a Wasserstein-flow perspective, a deeper theoretical understanding of exactly why MPE behavior emerges so consistently in trained networks is still being developed.

Summary updated

BibTeX
@misc{tolooshams2025equireg,
  author = {Bahareh Tolooshams and Aditi Chandrashekar and Rayhan Zirvi and Abbas Mammadov and Jiachen Yao and Chuwei Wang and Anima Anandkumar},
  title = {{EquiReg: Equivariance Regularized Diffusion for Inverse Problems}},
  year = {2025},
  eprint = {2505.22973},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.22973},
}
Figure