Neural Nearest Neighbors Networks
Not on the map. Why?
Abstract (arXiv)
Non-local methods exploiting the self-similarity of natural signals have been well studied, for example in image analysis and restoration. Existing approaches, however, rely on k-nearest neighbors (KNN) matching in a fixed feature space. The main hurdle in optimizing this feature space w.r.t. application performance is the non-differentiability of the KNN selection rule. To overcome this, we propose a continuous deterministic relaxation of KNN selection that maintains differentiability w.r.t. pairwise distances, but retains the original KNN as the limit of a temperature parameter approaching zero. To exploit our relaxation, we propose the neural nearest neighbors block (N3 block), a novel non-local processing layer that leverages the principle of self-similarity and can be used as building block in modern neural network architectures. We show its effectiveness for the set reasoning task of correspondence classification as well as for image restoration, including image denoising and single image super-resolution, where we outperform strong convolutional neural network (CNN) baselines and recent non-local models that rely on KNN selection in hand-chosen features spaces.
Key facts. Cited by 98 papers in the map (data through 14 Oct 2026). First posted on arXiv 30 Oct 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 31; 2022: 20; 2023: 19; 2024: 13; 2025: 9; 2026: 6.
98 papers.
Sort:
By area:
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
- 2024Taming 3DGS: High-Quality Radiance Fields with Limited Resourcescited by 204
- 2021Neighbor2Neighbor: Self-Supervised Denoising from Single Noisy Imagescited by 173
- 2022Learning Enriched Features for Fast Image Restoration and Enhancementcited by 150
- 2022Practical Blind Image Denoising via Swin-Conv-UNet and Data Synthesiscited by 86
- 2021Towards Self-Explainable Graph Neural Networkcited by 75
- 2023Image Denoising: The Deep Learning Revolution and Beyond -- A Survey Paper --cited by 71
- 2021HDRUNet: Single Image HDR Reconstruction with Denoising and Dequantizationcited by 58
- 2023Masked Image Training for Generalizable Deep Image Denoisingcited by 57
- 2021Dynamic Attentive Graph Learning for Image Restorationcited by 48
- 2021Differentiable Subset Pruning of Transformer Headscited by 47
- 2021Rethinking Deep Image Prior for Denoisingcited by 38
38 more
- 2022SIMPLE: A Gradient Estimator for k-Subset Samplingcited by 34
- 2023KBNet: Kernel Basis Network for Image Restorationcited by 33
- 2021ReconfigISP: Reconfigurable Camera Image Processing Pipelinecited by 30
- 2023Unsupervised Image Denoising in Real-World Scenarios via Self-Collaboration Parallel Generative Adversarial Branchescited by 29
- 2023Learning to Intervene on Concept Bottleneckscited by 29
- 2021RetrievalFuse: Neural 3D Scene Reconstruction with a Databasecited by 28
- 2021FBI-Denoiser: Fast Blind Image Denoiser for Poisson-Gaussian Noisecited by 22
- 2024Learning to Merge Tokens via Decoupled Embedding for Efficient Vision Transformerscited by 21
- 2024Content-Adaptive Non-Local Convolution for Remote Sensing Pansharpeningcited by 20
- 2021Dead Pixel Test Using Effective Receptive Fieldcited by 18
- 2022Multi-Scale Adaptive Network for Single Image Denoisingcited by 17
- 2021COLA-Net: Collaborative Attention Network for Image Restorationcited by 16
- 2023Keep It SimPool: Who Said Supervised Transformers Suffer from Attention Deficit?cited by 16
- 2021All the attention you need: Global-local, spatial-channel attention for image retrievalcited by 12
- 2021DetarNet: Decoupling Translation and Rotation by Siamese Network for Point Cloud Registrationcited by 12
- 2025Machine learning for modelling unstructured grid data in computational physics: a reviewcited by 12
- 2022Calibration of Machine Reading Systems at Scalecited by 11
- 2024LoMOE: Localized Multi-Object Editing via Multi-Diffusioncited by 11
- 2021Combinatorial Optimization for Panoptic Segmentation: A Fully Differentiable Approachcited by 10
- 2022A Differentiable Two-stage Alignment Scheme for Burst Image Reconstruction with Large Shiftcited by 10
- 2021Learning Spatial and Spatio-Temporal Pixel Aggregations for Image and Video Denoisingcited by 9
- 2022A Memory Transformer Network for Incremental Learningcited by 9
- 2025Speckle2Self: Self-Supervised Ultrasound Speckle Reduction Without Clean Datacited by 9
- 2022Feature Learning for Nonlinear Dimensionality Reduction toward Maximal Extraction of Hidden Patternscited by 8
- 2024Towards flexible perception with visual memorycited by 8
- 2021WSDesc: Weakly Supervised 3D Local Descriptor Learning for Point Cloud Registrationcited by 7
- 2024Explore Internal and External Similarity for Single Image Deraining with Graph Neural Networkscited by 7
- 2021DCT2net: an interpretable shallow CNN for image denoisingcited by 6
- 2021Rethinking Nearest Neighbors for Visual Classificationcited by 6
- 2022Dense residual Transformer for image denoisingcited by 6
- 2022Differentiable Mathematical Programming for Object-Centric Representation Learningcited by 6
- 2023Spatial-Frequency Attention for Image Denoisingcited by 6
- 2023Generalizable Local Feature Pre-training for Deformable Shape Analysiscited by 6
- 2023Beam Tree Recursive Cellscited by 6
- 2023All-optical image denoising using a diffractive visual processorcited by 6
- 2023A cross Transformer for image denoisingcited by 6
- 2021Posterior Sampling for Image Restoration using Explicit Patch Priorscited by 5
- 2022Revisiting L1 Loss in Super-Resolution: A Probabilistic View and Beyondcited by 5
50 most cited of 98 All 98 (JSON)
- 2026A Study of the Limits of Collaborative DCT-Based Image Denoising via Interpretable Neural Networks24 Sep 2026
- 2026Solving the Needle-in-a-Haystack Problem in Mammography Vision-Language Model with Differentiable Subset Sampling2 Sep 2026
- 2026Reservoir of Importance: Learning Semi-Structured Sparsity with Differentiable Subset Sampling24 Aug 2026
- 2026Prior-aware and Context-guided Group Sampling for Active Probabilistic Subsampling8 Jul 2026
- 2026Learned Nonlocal Feature Matching and Filtering for RAW Image Denoising19 Apr 2026
- 2026NS-VLA: Towards Neuro-Symbolic Vision-Language-Action Models10 Mar 2026
- 2025Reinforced Diffusion: Learning to Push the Limits of Anisotropic Diffusion for Image Denoising30 Dec 2025
- 2025E3-Pruner: Towards Efficient, Economical, and Effective Layer Pruning for Large Language Models21 Nov 2025
- 2025Unifying Convolution and Attention via Convolutional Nearest Neighbors18 Nov 2025
- 2025Separating Knowledge and Perception with Procedural Data12 Aug 2025
- 2025Speckle2Self: Self-Supervised Ultrasound Speckle Reduction Without Clean Data9 Jul 2025
- 2025SoftStep: Learning Sparse Similarity Powers Deep Neighbor-Based Regression9 Jun 2025
38 more
- 2025VibrantLeaves: A principled parametric image generator for training deep restoration models14 Apr 2025
- 2025Multi-level Attention-guided Graph Neural Network for Image Restoration26 Feb 2025
- 2025Machine learning for modelling unstructured grid data in computational physics: a review13 Feb 2025
- 2024Learning to Merge Tokens via Decoupled Embedding for Efficient Vision Transformers13 Dec 2024
- 2024Window-based Channel Attention for Wavelet-enhanced Learned Image Compression21 Sep 2024
- 2024Towards flexible perception with visual memory15 Aug 2024
- 2024Heterogeneous window transformer for image denoising8 Jul 2024
- 2024Taming 3DGS: High-Quality Radiance Fields with Limited Resources21 Jun 2024
- 2024End-to-End Trainable Retrieval-Augmented Generation for Relation Extraction6 Jun 2024
- 2024Explore Internal and External Similarity for Single Image Deraining with Graph Neural Networks2 Jun 2024
- 2024Content-Adaptive Non-Local Convolution for Remote Sensing Pansharpening11 Apr 2024
- 2024Fast, nonlocal and neural: a lightweight high quality solution to image denoising6 Mar 2024
- 2024LoMOE: Localized Multi-Object Editing via Multi-Diffusion1 Mar 2024
- 2024On normalization-equivariance properties of supervised and unsupervised denoising methods: a survey23 Feb 2024
- 2024A unified framework of non-local parametric methods for image denoising21 Feb 2024
- 2024Unveiling Latent Causal Rules: A Temporal Point Process Approach for Abnormal Event Explanation3 Feb 2024
- 2023Toward Accurate and Temporally Consistent Video Restoration from Raw Data25 Dec 2023
- 2023k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysis7 Dec 2023
- 2023A cross Transformer for image denoising16 Oct 2023
- 2023ROMO: Retrieval-enhanced Offline Model-based Optimization11 Oct 2023
- 2023Space-Time Attention with Shifted Non-Local Search28 Sep 2023
- 2023All-optical image denoising using a diffractive visual processor17 Sep 2023
- 2023Keep It SimPool: Who Said Supervised Transformers Suffer from Attention Deficit?13 Sep 2023
- 2023Learning to Intervene on Concept Bottlenecks25 Aug 2023
- 2023Unsupervised Image Denoising in Real-World Scenarios via Self-Collaboration Parallel Generative Adversarial Branches13 Aug 2023
- 2023Self2Self+: Single-Image Denoising with Self-Supervised Learning and Image Quality Assessment Loss20 Jul 2023
- 2023Beam Tree Recursive Cells31 May 2023
- 2023NODE-ImgNet: a PDE-informed effective and robust model for image denoising18 May 2023
- 2023Generalizable Local Feature Pre-training for Deformable Shape Analysis27 Mar 2023
- 2023Masked Image Training for Generalizable Deep Image Denoising23 Mar 2023
- 2023KBNet: Kernel Basis Network for Image Restoration6 Mar 2023
- 2023Nearest Neighbors Meet Deep Neural Networks for Point Cloud Analysis1 Mar 2023
- 2023Spatial-Frequency Attention for Image Denoising27 Feb 2023
- 2023Learning to Scale Temperature in Masked Self-Attention for Image Inpainting13 Feb 2023
- 2023Image Denoising: The Deep Learning Revolution and Beyond -- A Survey Paper --9 Jan 2023
- 2022Linear Combinations of Patches are Unreasonably Effective for Single-Image Denoising1 Dec 2022
- 2022Neural Architecture for Online Ensemble Continual Learning27 Nov 2022
- 2022A Memory Transformer Network for Incremental Learning10 Oct 2022
50 newest of 98 All 98 (JSON)
- 2024LoMOE: Localized Multi-Object Editing via Multi-Diffusioncited by 11
- 2026NS-VLA: Towards Neuro-Symbolic Vision-Language-Action Models10 Mar 2026
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
- 2024Taming 3DGS: High-Quality Radiance Fields with Limited Resourcescited by 204
- 2021Neighbor2Neighbor: Self-Supervised Denoising from Single Noisy Imagescited by 173
- 2022Learning Enriched Features for Fast Image Restoration and Enhancementcited by 150
- 2022Practical Blind Image Denoising via Swin-Conv-UNet and Data Synthesiscited by 86
- 2021Towards Self-Explainable Graph Neural Networkcited by 75
- 2023Image Denoising: The Deep Learning Revolution and Beyond -- A Survey Paper --cited by 71
- 2021HDRUNet: Single Image HDR Reconstruction with Denoising and Dequantizationcited by 58
- 2023Masked Image Training for Generalizable Deep Image Denoisingcited by 57
- 2021Dynamic Attentive Graph Learning for Image Restorationcited by 48
- 2021Differentiable Subset Pruning of Transformer Headscited by 47
- 2021Rethinking Deep Image Prior for Denoisingcited by 38
12 most cited of 93 All 93 (JSON)
- 2026A Study of the Limits of Collaborative DCT-Based Image Denoising via Interpretable Neural Networks24 Sep 2026
- 2026Reservoir of Importance: Learning Semi-Structured Sparsity with Differentiable Subset Sampling24 Aug 2026
- 2026Prior-aware and Context-guided Group Sampling for Active Probabilistic Subsampling8 Jul 2026
- 2026Learned Nonlocal Feature Matching and Filtering for RAW Image Denoising19 Apr 2026
- 2025Reinforced Diffusion: Learning to Push the Limits of Anisotropic Diffusion for Image Denoising30 Dec 2025
- 2025E3-Pruner: Towards Efficient, Economical, and Effective Layer Pruning for Large Language Models21 Nov 2025
- 2025Unifying Convolution and Attention via Convolutional Nearest Neighbors18 Nov 2025
- 2025Separating Knowledge and Perception with Procedural Data12 Aug 2025
- 2025Speckle2Self: Self-Supervised Ultrasound Speckle Reduction Without Clean Data9 Jul 2025
- 2025SoftStep: Learning Sparse Similarity Powers Deep Neighbor-Based Regression9 Jun 2025
- 2025VibrantLeaves: A principled parametric image generator for training deep restoration models14 Apr 2025
- 2025Multi-level Attention-guided Graph Neural Network for Image Restoration26 Feb 2025
12 newest of 93 All 93 (JSON)