CVLGOct 30, 2018

Neural Nearest Neighbors Networks

arXiv:1810.12575v1372 citations
Originality Highly original
AI Analysis

This work addresses the problem of optimizing feature spaces for non-local methods in image analysis and restoration, offering a differentiable alternative to KNN selection for researchers and practitioners in computer vision.

The authors tackled the non-differentiability of KNN selection in feature spaces by proposing a continuous deterministic relaxation, enabling optimization for application performance. They introduced the neural nearest neighbors block (N3 block) and demonstrated its effectiveness, outperforming strong CNN baselines and recent non-local models in tasks like correspondence classification, image denoising, and single image super-resolution.

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.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes