Neural Nearest Neighbors Networks
Tobias Pl\"otz, Stefan Roth

TL;DR
This paper introduces a differentiable relaxation of the KNN selection process, enabling neural networks to better leverage self-similarity in signals for tasks like image restoration and correspondence classification.
Contribution
It proposes the neural nearest neighbors (N3) block, a novel non-local layer that uses a continuous relaxation of KNN, improving performance over traditional CNNs and non-local models.
Findings
Outperforms CNN baselines in image denoising and super-resolution
Effective for correspondence classification tasks
Maintains differentiability of KNN selection process
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsImage and Signal Denoising Methods · Advanced Image Processing Techniques · Advanced Image Fusion Techniques
