Reconstruct Anything Model: a lightweight foundation model for computational imaging

Matthieu Terris, Samuel Hurault, Maxime Song, Julian Tachella
3/11/2025
eess.IVcs.CV

Official code: matthieutrs/ram (110 stars, BSD-3-Clause, last commit 2026-03-06).

Abstract

Most existing learning-based methods for solving imaging inverse problems can be roughly divided into two classes: iterative algorithms, such as plug-and-play and diffusion methods leveraging pretrained denoisers, and unrolled architectures that are trained end-to-end for specific imaging problems. Iterative methods in the first class are computationally costly and often yield suboptimal reconstruction performance, whereas unrolled architectures are generally problem-specific and require expensive training. In this work, we propose a novel non-iterative, lightweight architecture that incorporates knowledge about the forward operator (acquisition physics and noise parameters) without relying on unrolling. Our model is trained to solve a wide range of inverse problems, such as deblurring, magnetic resonance imaging, computed tomography, inpainting, and super-resolution, and handles arbitrary image sizes and channels, such as grayscale, complex, and color data. The proposed model can be easily adapted to unseen inverse problems or datasets with a few fine-tuning steps (up to a few images) in a self-supervised way, without ground-truth references. Throughout a series of experiments, we demonstrate state-of-the-art performance from medical imaging to low-photon imaging and microscopy. Our code is available at https://github.com/matthieutrs/ram.

View on arXivView PDF

Code Implementations(1)

matthieutrs/ramOfficial100%
BSD-3-Clause

Official implementation of the Reconstruct Anything Model (RAM)

11019PythonMar 17, 20257 months agoBSD-3-Clause
image-processinginverse-problemsmagnetic-resonance-imaging

Similar Papers

Cite this paper

@article{terris2025reconstruct,
  title  = {Reconstruct Anything Model: a lightweight foundation model for computational imaging},
  author = {Matthieu Terris and Samuel Hurault and Maxime Song and Julian Tachella},
  year   = {2025},
  eprint = {2503.08915},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.08915v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.08915.svg)](https://codeofpaper.com/paper/2503.08915)

Discussion