Neural Outlier Rejection for Self-Supervised Keypoint Learning

Jiexiong Tang, Hanme Kim, Vitor Guizilini, Sudeep Pillai, Rares Ambrus

This paper, presented at ICLR 2020, introduces a novel approach to one of computer vision’s most enduring challenges: finding and matching "interest points" (keypoints) across different images without requiring human-labeled data.

Overview

The authors propose IO-Net (InlierOutlierNet), a differentiable proxy task that uses outlier rejection to self-supervise the learning of keypoint detectors and descriptors. By combining this with a new architecture (KeyPointNet) that allows keypoints to move across grid boundaries and utilizes sub-pixel convolutions for high-fidelity descriptors, they achieve state-of-the-art performance in feature matching and homography estimation.

The Challenge of Keypoint Labeling

In tasks like SLAM (Simultaneous Localization and Mapping) or Structure-from-Motion, systems must identify the same salient points in an environment across varying angles and lighting conditions.

While deep learning has revolutionized computer vision, it faces a significant labeling bottleneck in this domain. Humans struggle to consistently label the same pixel across different images of a natural scene. Consequently, researchers have turned to self-supervised learning, where models learn from raw video or image pairs related by known geometric transformations (homographies).

However, existing self-supervised methods often suffer from two primary issues:

  1. Discretization Artifacts: Many models divide an image into a grid and force each cell to predict one keypoint strictly within its borders, which degrades matching performance near cell edges.
  2. Low-Resolution Descriptors: Descriptors are often learned at a lower resolution than the original image, losing the fine-grained detail necessary for precise matching.

Proposed Methods

The authors introduce a two-part framework designed to overcome these limitations through a combination of architectural improvements and a novel supervisory signal.

The KP2D training pipeline: KeyPointNet extracts features from target and source frames, while IO-Net provides an indirect supervisory signal through outlier rejection.

1. KeyPointNet Architecture

KeyPointNet serves as the primary feature extractor. It utilizes a VGG-style encoder followed by three specialized "heads":

  • Score Head: Predicts the reliability or "salience" of a keypoint.
  • Location Head: Regresses the $(u, v)$ coordinates. Crucially, the authors use a novel formulation that allows a keypoint to be predicted outside its original $8 \times 8$ grid cell. This "cross-border" capability prevents convergence issues and improves feature aggregation.
  • Descriptor Head: Produces a 256-dimensional vector for each point. To address the resolution problem, the network employs sub-pixel convolutions (Pixel Shuffle) to upsample feature maps, enabling pixel-level metric learning.
Detailed architecture of KeyPointNet, featuring a shared encoder and specialized heads for score, location, and descriptors.

2. IO-Net: The Proxy Task

IO-Net is the paper's most significant innovation. It is a small 1D CNN that acts as a "differentiable RANSAC." During training, it processes pairs of matched keypoints and predicts the probability that each pair is an inlier (a correct match) or an outlier.

Because IO-Net is fully differentiable, gradients from the outlier rejection loss flow back into KeyPointNet. This forces the main network to learn descriptors that are more discriminative and locations that are more stable across different views.

Key Insights

  • Outlier Rejection as Supervision: The core idea is treating outlier rejection as a supervisory signal rather than just a post-processing step. If a matching algorithm cannot distinguish an inlier from an outlier, the underlying features require improvement.
  • Breaking the Grid: By allowing keypoints to "drift" across cell boundaries, the model avoids the "checkerboard" artifacts common in previous models like SuperPoint. This significantly boosts repeatability—the likelihood that the same point is detected in two different views.
  • Sub-pixel Fidelity: Sub-pixel convolutions allow the network to capture high-frequency details in descriptors without the massive memory overhead of processing the entire image at full resolution.

Results and Performance

The proposed method, dubbed KP2D, was evaluated against traditional methods (SIFT, ORB) and learned methods (SuperPoint, UnsuperPoint) using the HPatches dataset.

  • Repeatability: KP2D achieved a score of 0.686, outperforming UnsuperPoint (0.645) and SuperPoint (0.631).
  • Homography Accuracy: On viewpoint-varying sequences, KP2D significantly outperformed SIFT and other learned methods at tight error thresholds (3-pixel and 5-pixel).
  • Efficiency: Despite its complexity, the model is highly efficient, running at 174.5 FPS on an Nvidia Titan Xp.
  • Ablation Study: Results showed that the IO-Net loss ($L_{IO}$) improved the Matching Score even in the absence of standard triplet loss, validating the effectiveness of the outlier rejection proxy task.

Limitations

While KP2D handles most scenarios well, it still faces challenges with extreme rotations. As a fully convolutional network, it does not have explicit rotation invariance built-in. Future work may involve integrating rotation-invariant architectures or expanding self-supervision to include temporal consistency in video sequences.

Summary updated

BibTeX
@inproceedings{tang2020neural,
  author = {Jiexiong Tang and Hanme Kim and Vitor Guizilini and Sudeep Pillai and Rares Ambrus},
  title = {{Neural Outlier Rejection for Self-Supervised Keypoint Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=WW_ueNWv1D},
}
Figure