Code of the paper "Learning to reconstruct signals from binary measurements alone" by Julian Tachella and Marcelo Pereyra,
AISTATS 2024, oral presentation.
We use the deepinv library for most of the code.
The equivariant bootstrap method is a simple resampling procedure which produces well-calibrated uncertainty intervals for any reconstruction network (i.e., trained in a supervised or self-supervised manner). The method outperforms other SOTA diffusion-based methods in terms of coverage, speed and test PSNR.
Assuming that the forward process associated with the inverse problem is described as
where
for
- Clone the repository
- Install the latest version of deepinv if you don't have it already
pip install git+https://github.com/deepinv/deepinv.git#egg=deepinv
- Install huggingface_hub if you don't have it already
pip install huggingface_hub
- Run the
main.py
file to run the proposed equivariant bootstrapping technique for uncertainty quantification, and the other competing methods (ULA, diffPIR and DDRM). The script downloads automatically the datasets and pretrained models from the deepinv library and the HuggingFace repo jtachella/equivariant_bootstrap.
The following figure shows the coverage of the proposed method (Equivariant Bootstrap) and the other competing methods (see the paper for more details). The proposed method significantly outperforms the other methods in terms of coverage.
The following table shows the average test PSNR of the proposed method (Equivariant Bootstrap) and the other competing methods:
DDRM | DiffPIR | ULA | Proposed self-sup. | Proposed sup. | |
---|---|---|---|---|---|
C. Sensing (MNIST) | - | - | |||
Inpainting (DIV2K) | |||||
Tomography (LIDC-IDRI) | - |
@article{tachella2023bootstrap,
title={Equivariant Bootstrapping for Uncertainty Quantification in Imaging Inverse Problems},
author={Tachella, Julian and Pereyra, Marcelo},
journal={arXiv preprint arXiv:2310.11838},
year={2023}
}