Neighbor2Neighbor
A U-Net image denoiser trained only on noisy images, using pairs of neighboring pixels as input and target.
54 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 1.3M
- Operations
- 54
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2021
- Cited by
- 483 (as of 28 October 2026)
- Authors
- Tao Huang, Songjiang Li, Xu Jia and others
- License
- BSD-3-Clause
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18733
- Graph hash
- 4bba4bc46a574d209ed37a28ebb1e713d0f70b136ad813f9c1350b5fdb4b4537
- Skeleton hash
- b24938764fd47ea8c61d979a18c396bc4db6e922696fb9cf8f6afe286d9ecea6
- Architecture hash
- f402e25d13e765c8dac4332042550e920196513cfb49ef180aea05246891c55c
- Diagram SHA-256
- 55bcae55941b61e430c799f194573ec832e15c0632f0e6d6dffcf34445119a27
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Neighbor2Neighbor is a method for training an image denoising network with only noisy images, with no clean reference images. That matters because supervised denoisers need large amounts of noisy-clean image pairs, which limits where they can be used. The network in this graph is a modified U-Net with three 1 × 1 convolution layers added at the end, and the method requires no modifications to the network structure.
The training pairs come from a random neighbor sub-sampler. In each 2×2 cell of a noisy image, two neighboring pixels are randomly chosen, one for each of two smaller sub-sampled images. One sub-sampled image is the network input and the other is the target, an arrangement the authors describe as inspired by Noise2Noise. Because neighboring pixels do not have identical true values, the loss adds a regularization term that accounts for this difference.
The paper tests four synthetic noise settings in sRGB space, Gaussian and Poisson noise each at a fixed and a varied level, and real camera noise on the SIDD benchmark in raw-RGB space. The synthetic training images are 256×256 patches cropped from ImageNet validation images.
Key idea. Neighbor2Neighbor trains a denoising network from single noisy images by sub-sampling each image into pairs of neighboring pixels and adding a regularizer to the loss.
- Neighbor2Neighbor
- Nb2Nb
- self-supervised denoising
- image denoising
- single noisy image
- neighbor sub-sampler
- denoising without clean images
- U-Net denoiser
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{huang2021neighbor2neighborselfsuperviseddenoisingsingle,
title={Neighbor2Neighbor: Self-Supervised Denoising from Single Noisy Images},
author={Tao Huang and Songjiang Li and Xu Jia and Huchuan Lu and Jianzhuang Liu},
year={2021},
eprint={2101.02824},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/2101.02824},
}