FN-Net:Remove the Outliers by Filtering the Noise

Kai Lv

TL;DR

FN-Net improves two-view geometry estimation by treating outlier rejection as a signal denoising problem. By integrating an adaptive soft-thresholding module into a deep learning framework, the model effectively filters out the "noise" inherent in mismatched feature points, achieving state-of-the-art accuracy in camera pose estimation.

What Problem Does This Paper Address?

In computer vision tasks like Structure from Motion (SfM) and SLAM, estimating the relative pose between two cameras depends on finding matching feature points between images. However, standard matching algorithms (like k-nearest neighbors) are far from perfect; they often produce "outliers"—mismatched pairs that can lead to wildly inaccurate camera pose calculations.

While previous learning-based methods (like PointCN and OANet) have tried to identify these outliers by looking at the global context of all matches, they often ignore the fact that outliers are essentially "noise" introduced during feature extraction. The challenge lies in finding a way to suppress this noise without losing the critical "signal" provided by the true matches (inliers).

Methods

The authors introduce FN-Net, which builds upon the architecture of OANet but replaces specific layers with a novel Filtering Noise Block. The core components include:

  • Adaptive Soft Thresholding: Inspired by Deep Residual Shrinkage Networks (DRSN), the model uses a soft threshold function. Traditionally, this function sets small signals (noise) to zero while preserving larger signals.
  • Learned Thresholds: Rather than setting a manual threshold, FN-Net uses a small sub-network (Global Average Pooling followed by Fully Connected layers) to adaptively determine the optimal threshold for each feature channel.
  • Quadratic Enhancement: Beyond simple linear thresholding, the authors utilize a quadratic function for the soft threshold. This not only removes noise but also enhances the expression of inlier features, making them more distinguishable.
  • Permutation Invariance: Because the input pairs of feature points are unordered, the network is designed to be independent of the input order, ensuring consistent results regardless of how the data is fed into the system.

Datasets

The model was evaluated on the YFCC100M dataset, a massive outdoor dataset containing 100 million images. Following standard research protocols, the authors used a subset of 68 scenes for training and 4 scenes to verify the effectiveness of the proposed method.

Key Insights and Ideas

  • Outliers as Signal Noise: The fundamental "aha moment" is treating the outlier rejection problem as a denoising task. If an outlier is the result of "process noise" during matching, then classical signal processing tools like soft thresholding can be repurposed for deep learning.
  • Channel-Wise Denoising: Noise doesn't affect every feature channel equally. By learning a unique threshold for each channel, the network can be much more surgical in what it filters out.
  • Preserving Context: Unlike simple filters, the Filtering Noise Block is integrated into a PointCN ResNet structure. This allows the model to filter out noise while simultaneously preserving the contextual relationships between different matches.

Key Results

The authors compared FN-Net against several heavyweights in the field, including RANSAC, PointCN, and OANet.

  • Accuracy: On the YFCC100M dataset, FN-Net achieved a 52.63% mAP5% (mean Average Precision at a 5-degree threshold), outperforming the previous state-of-the-art OANet (52.18%).
  • Robustness: The model showed superior performance across multiple metrics:
  • Precision: 55.24%
    • Recall: 87.18%
    • F-score: 67.6
  • Weighting: By reducing the "noise" in outliers, the network successfully pushed the predicted probability of outliers closer to zero, which significantly improved the stability of the subsequent essential matrix regression.

Limitations and Future Work

While the paper demonstrates clear improvements, a few areas remain for further exploration:

  • Computational Complexity: The addition of adaptive thresholding modules adds some overhead, though the paper does not focus on real-time inference speeds.
  • Generalization: While it performs well on outdoor scenes (YFCC100M), testing on indoor environments with more repetitive textures (where noise is even more prevalent) would be a valuable next step.
  • Integration: The authors suggest that this denoising approach could be applied to other domains, such as 3D point cloud registration or fault detection in industrial sensors.

Summary updated

Abstract

Establishing the correspondence between two images is an important research direction of computer vision. When estimating the relationship between two images, it is often disturbed by outliers. In this paper, we propose a convolutional neural network that can filter the noise of outliers. It can output the probability that the pair of feature points is an inlier and regress the essential matrix representing the relative pose of the camera. The outliers are mainly caused by the noise introduced by the previous processing. The outliers rejection can be treated as a problem of noise elimination, and the soft threshold function has a very good effect on noise reduction. Therefore, we designed an adaptive denoising module based on soft threshold function to remove noise components in the outliers, to reduce the probability that the outlier is predicted to be an inlier. Experimental results on the YFCC100M dataset show that our method exceeds the state-of-the-art in relative pose estimation.
BibTeX
@misc{lv2022fn,
  author = {Kai Lv},
  title = {{FN-Net:Remove the Outliers by Filtering the Noise}},
  year = {2022},
  eprint = {2201.09213},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.09213},
}

Loading related content...

Figure