NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Align & Invert: Solving Inverse Problems with Diffusion and Flow-based Models via Representation Alignment

Loukas Sfountouris, Giannis Daras, Paris Giampouras

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Diffusion & Image Generation › Diffusion and Flow Model Optimization · Type: new method · Keywords: representation alignment, inverse problems, image restoration, diffusion models, visual encoders

Areas: Generative Models (Diffusion & Flows) › Pixel-Space Diffusion › Image Editing and Reconstruction; Computer Vision & 3D › Visual Diffusion and Restoration › Diffusion Models for Inverse Problems

Summary

Repa aligns diffusion or flow-based generative models with a DINOv2 visual encoder to improve reconstruction quality in inverse problems such as super-resolution and inpainting.

Explained to a 5-year-old

A computer can draw pictures by changing them little by little. Another computer knows what real pictures should look like because it has seen many of them. Sometimes pictures become blurry or have missing parts, and we want to fix them. The two computers are asked to make their ideas of pictures match each other. Making them match helps create clearer pictures more quickly.

Explained to a 5-year-old, longer

A computer program can create new pictures by starting with noise and slowly improving them. Another program, called a visual encoder, has learned what real pictures look like from many examples. When we have a picture that is not clear-like it’s blurry, has missing parts, or is out of focus-we need to fix it. Fixing such pictures is called solving an inverse problem because we work backwards from a bad picture to the good one. Traditional methods often use just one of these programs, which can give imperfect results. The new idea is to make the two programs talk to each other so their ideas of a picture match. By aligning their internal representations, the programs can guide each other to produce better details. This alignment works during the fixing process, not before. It helps the picture become sharper and more realistic without needing many extra steps. The approach has been tested on several tasks like making small pictures bigger, filling in missing parts, and removing blur. In each test, the pictures look better and the fixing process finishes faster. Overall, the matching of the two programs makes image restoration easier and more effective.

For a technical reader

The paper introduces Repa, a representation alignment technique that couples diffusion or flow-based generative models with a pretrained self-supervised visual encoder such as DINOv2 during inference. By minimizing a divergence in the encoder’s feature space, Repa steers the latent diffusion states toward those of the clean image, effectively using the encoder as a prior for inverse problems. The method is integrated into existing solvers for tasks like super-resolution, inpainting, and deblurring, yielding higher reconstruction quality while reducing the number of discretization steps needed. Theoretical analysis shows that Repa can be interpreted as a variational regularization and, under mild assumptions, guarantees that latent states move toward the target. Experiments across multiple benchmarks confirm consistent improvements, making Repa a practical way to boost image restoration pipelines with minimal extra computation.

Problem

Recovering clean signals from degraded observations in inverse problems (e.g., super-resolution, inpainting) is challenging, especially when using generative priors that may not align well with pretrained encoders.

Method

The approach aligns the internal representations of diffusion or flow-based generative models with those of a pretrained self-supervised visual encoder (e.g., DINOv2) during inference, using a regularization that can be interpreted as minimizing a divergence in the encoder space and steering latent diffusion states toward those of the clean image.

Results

The approach yields higher reconstruction quality and requires fewer discretization steps to achieve the same performance as the baseline solvers.

Contributions

We introduce representation alignment (Repa) to bridge diffusion/flow models and pretrained visual encoders for inverse problems, provide theoretical analysis linking Repa to divergence minimization and latent state steering, and demonstrate consistent gains across multiple restoration tasks.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction