mlsanityData to 14 Oct 2026

Neural Nearest Neighbors Networks

arXiv 1810.12575 ↗First posted 30 Oct 2018cs.CV cs.LGcited by 98

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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 31; 2022: 20; 2023: 19; 2024: 13; 2025: 9; 2026: 6.

98 papers.

Sort:

By area:

  1. 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
  2. 2024Taming 3DGS: High-Quality Radiance Fields with Limited Resourcescited by 204
  3. 2021Neighbor2Neighbor: Self-Supervised Denoising from Single Noisy Imagescited by 173
  4. 2022Learning Enriched Features for Fast Image Restoration and Enhancementcited by 150
  5. 2022Practical Blind Image Denoising via Swin-Conv-UNet and Data Synthesiscited by 86
  6. 2021Towards Self-Explainable Graph Neural Networkcited by 75
  7. 2023Image Denoising: The Deep Learning Revolution and Beyond -- A Survey Paper --cited by 71
  8. 2021HDRUNet: Single Image HDR Reconstruction with Denoising and Dequantizationcited by 58
  9. 2023Masked Image Training for Generalizable Deep Image Denoisingcited by 57
  10. 2021Dynamic Attentive Graph Learning for Image Restorationcited by 48
  11. 2021Differentiable Subset Pruning of Transformer Headscited by 47
  12. 2021Rethinking Deep Image Prior for Denoisingcited by 38
38 more
  1. 2022SIMPLE: A Gradient Estimator for k-Subset Samplingcited by 34
  2. 2023KBNet: Kernel Basis Network for Image Restorationcited by 33
  3. 2021ReconfigISP: Reconfigurable Camera Image Processing Pipelinecited by 30
  4. 2023Unsupervised Image Denoising in Real-World Scenarios via Self-Collaboration Parallel Generative Adversarial Branchescited by 29
  5. 2023Learning to Intervene on Concept Bottleneckscited by 29
  6. 2021RetrievalFuse: Neural 3D Scene Reconstruction with a Databasecited by 28
  7. 2021FBI-Denoiser: Fast Blind Image Denoiser for Poisson-Gaussian Noisecited by 22
  8. 2024Learning to Merge Tokens via Decoupled Embedding for Efficient Vision Transformerscited by 21
  9. 2024Content-Adaptive Non-Local Convolution for Remote Sensing Pansharpeningcited by 20
  10. 2021Dead Pixel Test Using Effective Receptive Fieldcited by 18
  11. 2022Multi-Scale Adaptive Network for Single Image Denoisingcited by 17
  12. 2021COLA-Net: Collaborative Attention Network for Image Restorationcited by 16
  13. 2023Keep It SimPool: Who Said Supervised Transformers Suffer from Attention Deficit?cited by 16
  14. 2021All the attention you need: Global-local, spatial-channel attention for image retrievalcited by 12
  15. 2021DetarNet: Decoupling Translation and Rotation by Siamese Network for Point Cloud Registrationcited by 12
  16. 2025Machine learning for modelling unstructured grid data in computational physics: a reviewcited by 12
  17. 2022Calibration of Machine Reading Systems at Scalecited by 11
  18. 2024LoMOE: Localized Multi-Object Editing via Multi-Diffusioncited by 11
  19. 2021Combinatorial Optimization for Panoptic Segmentation: A Fully Differentiable Approachcited by 10
  20. 2022A Differentiable Two-stage Alignment Scheme for Burst Image Reconstruction with Large Shiftcited by 10
  21. 2021Learning Spatial and Spatio-Temporal Pixel Aggregations for Image and Video Denoisingcited by 9
  22. 2022A Memory Transformer Network for Incremental Learningcited by 9
  23. 2025Speckle2Self: Self-Supervised Ultrasound Speckle Reduction Without Clean Datacited by 9
  24. 2022Feature Learning for Nonlinear Dimensionality Reduction toward Maximal Extraction of Hidden Patternscited by 8
  25. 2024Towards flexible perception with visual memorycited by 8
  26. 2021WSDesc: Weakly Supervised 3D Local Descriptor Learning for Point Cloud Registrationcited by 7
  27. 2024Explore Internal and External Similarity for Single Image Deraining with Graph Neural Networkscited by 7
  28. 2021DCT2net: an interpretable shallow CNN for image denoisingcited by 6
  29. 2021Rethinking Nearest Neighbors for Visual Classificationcited by 6
  30. 2022Dense residual Transformer for image denoisingcited by 6
  31. 2022Differentiable Mathematical Programming for Object-Centric Representation Learningcited by 6
  32. 2023Spatial-Frequency Attention for Image Denoisingcited by 6
  33. 2023Generalizable Local Feature Pre-training for Deformable Shape Analysiscited by 6
  34. 2023Beam Tree Recursive Cellscited by 6
  35. 2023All-optical image denoising using a diffractive visual processorcited by 6
  36. 2023A cross Transformer for image denoisingcited by 6
  37. 2021Posterior Sampling for Image Restoration using Explicit Patch Priorscited by 5
  38. 2022Revisiting L1 Loss in Super-Resolution: A Probabilistic View and Beyondcited by 5

50 most cited of 98 All 98 (JSON)