Skip to content

tachella/unsure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNSURE: self-supervised learning with Unknown Noise level and Stein's Unbiased Risk Estimate (ICLR'25)

Code of the ICLR 2025 paper "UNSURE: Unknown Noise level Stein's Unbiased Risk Estimator" by Julian Tachella, Mike Davies and Laurent Jacques.

We use the deepinv library for most of the code.

The UNSURE loss was added to the deepinv library, please see this jupyter notebook demo and the documentation.

Paper available at openreview.

Method Description

UNSURE is a self-supervised learning loss that can be used for learning a reconstruction network $f$ from a dataset of noisy measurements

$$ y_i = \mathcal{S}(Ax_i) $$

for $i=1,\dots,N$ where $x_i$ is the clean image, $y_i$ is the noisy measurement, $A$ is a linear operator and $\mathcal{S}$ is a stochastic noising process.

Unlike Stein's Unbiased Risk Estimator (SURE), the proposed loss can be used without any prior knowledge of the noise level. The loss is defined as

$$ \max_{\eta} \min_{f} \sum_{i=1}^N ||y_i - f(y_i)||^2 + 2\Sigma_{\eta} \text{div} f(y_i) $$

where $\eta$ is a Lagrange multiplier, $\Sigma_{\eta}$ is the covariance matrix of the noise and $\text{div} f(y)$ is the divergence of the network $f$ at the point $y$. There exist multiple variants for different types of noise (e.g. Gaussian, Poisson-Gaussian, spatially correlated noise, etc.). Please refer to the paper for more details.

Getting Started

  1. Clone the repository
  2. Install the latest version of deepinv if you don't have it already
pip install git+https://github.com/deepinv/deepinv.git#egg=deepinv
  1. Generate the datasets by running the generate_datasets.py file.
  2. Run the main.py file.

Citation

@inproceedings{
tachella2025unsure,
title={{UNSURE}: self-supervised learning with Unknown Noise level  and Stein's Unbiased Risk Estimate},
author={Juli{\'a}n Tachella and Mike Davies and Laurent Jacques},
booktitle={The Thirteenth International Conference on Learning Representations},
year={2025},
url={https://openreview.net/forum?id=ScVnYBaSEw}
}

About

code related to "UNSURE: Unknown Noise level Stein's Unbiased Risk Estimator" by Tachella, Davies and Jacques

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages