Neural Nearest Neighbors Networks

By Tobias Plötz, Stefan Roth. 2018

376 citations recorded by the source corpus.

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.

Subfields: Computer Vision and Pattern Recognition, Media Technology

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Ming-Hsuan Yang
  3. Radu Timofte
  4. Lei Zhang
  5. Fahad Shahbaz Khan
  6. Ling Shao
  7. Dacheng Tao
  8. Chen Change Loy

In Media Technology

  1. Radu Timofte
  2. Luc Van Gool
  3. Kai Zhang
  4. Yulun Zhang
  5. Lei Zhang
  6. Wangmeng Zuo
  7. Ming-Hsuan Yang
  8. Chao Dong

Citations in the corpus