#  N4 -Fields: Neural Network Nearest Neighbor Fields for Image Transforms

arXiv: https://arxiv.org/abs/1406.6558 · HTML: https://mlsanity.com/paper/1406.6558/

## Key facts

- Cited by 14 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 25 Jun 2014.

## Built on by (most cited first, 14 of 14)

- [Dense Extreme Inception Network for Edge Detection](https://mlsanity.com/paper/2112.02250/) (2021)
- [DiffusionEdge: Diffusion Probabilistic Model for Crisp Edge Detection](https://mlsanity.com/paper/2401.02032/) (2024)
- [Learning Crisp Boundaries Using Deep Refinement Network and Adaptive Weighting Loss](https://mlsanity.com/paper/2102.01301/) (2021)
- [One-Stage Deep Edge Detection Based on Dense-Scale Feature Fusion and Pixel-Level Imbalance Learning](https://mlsanity.com/paper/2203.09387/) (2022)
- [Enforcing connectivity of 3D linear structures using their 2D projections](https://mlsanity.com/paper/2207.06832/) (2022)
- [Boosting Edge Detection with Pixel-wise Feature Selection: The Extractor-Selector Paradigm](https://mlsanity.com/paper/2501.02534/) (2025)
- [A Comprehensive Study for Edge Detection: Ideal-Prior Guidance Learning, High-Precision Architecture, and Better Distinguishability Evaluation Benchmark](https://mlsanity.com/paper/2407.19992/) (2024)
- [Symmetrization Weighted Binary Cross-Entropy: Modeling Perceptual Asymmetry for Human-Consistent Neural Edge Detection](https://mlsanity.com/paper/2501.13365/) (2025)
- [CAPE: Connectivity-Aware Path Enforcement Loss for Curvilinear Structure Delineation](https://mlsanity.com/paper/2504.00753/) (2025)
- [Multiresolution local smoothness detection in non-uniformly sampled multivariate signals](https://mlsanity.com/paper/2507.13480/) (2025)
- [Adjusting the Ground Truth Annotations for Connectivity-Based Learning to Delineate](https://mlsanity.com/paper/2112.02781/) (2021)
- [Layout2Rendering: AI-aided Greenspace design](https://mlsanity.com/paper/2404.16067/) (2024)
- [Training-free Quantum-Inspired Image Edge Extraction Method](https://mlsanity.com/paper/2501.18929/) (2025)
- [PEdger++: Practical Edge Detection via Assembling Cross Information](https://mlsanity.com/paper/2508.11961/) (2025)

## Abstract (arXiv)

We propose a new architecture for difficult image processing operations, such as natural edge detection or thin object segmentation. The architecture is based on a simple combination of convolutional neural networks with the nearest neighbor search. We focus our attention on the situations when the desired image transformation is too hard for a neural network to learn explicitly. We show that in such situations, the use of the nearest neighbor search on top of the network output allows to improve the results considerably and to account for the underfitting effect during the neural network training. The approach is validated on three challenging benchmarks, where the performance of the proposed architecture matches or exceeds the state-of-the-art.
