Neural Outlier Rejection for Self-Supervised Keypoint Learning

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

In the world of computer vision, "keypoints" are the bread and butter of how robots and phones understand space. Whether it’s a self-driving car navigating a street or an AR app pinning a virtual object to your coffee table, the system first has to identify salient points in an image and match them across different views.

But here is the catch: humans are surprisingly bad at picking these points consistently. If you ask ten people to click on the "most important" pixels in a photo of a tree, you’ll get ten different answers. This makes training deep learning models difficult because we lack reliable "ground truth" labels.

A paper from the Toyota Research Institute (TRI), published at ICLR 2020, proposes a clever way around this: Neural Outlier Rejection.

TL;DR

The authors introduce IO-Net (Inlier-Outlier Network), a novel self-supervised framework that learns to detect and describe keypoints by treating outlier rejection as a proxy task. By making the entire matching and rejection process differentiable, the model learns to pick points that are naturally easy to track and match, significantly outperforming previous state-of-the-art methods like SuperPoint.

What Problem Does This Paper Address?

Traditional computer vision relied on handcrafted features (like SIFT or ORB). While robust, they often fail in challenging lighting or extreme viewpoint changes. Deep learning promised better features, but it hit a wall: Supervision.

Since humans cannot provide perfect labels, researchers turned to "self-supervised" learning—letting the computer teach itself by warping images and seeing if it can find the same points. However, existing self-supervised methods had two major flaws:

  1. The Grid Constraint: Most models divide an image into a grid (e.g., 8x8 cells) and force each cell to predict exactly one keypoint. This creates artifacts at the borders where a "good" point might be ignored because it's too close to the edge.
  2. Resolution Bottlenecks: Descriptors (the "fingerprints" of a keypoint) are often calculated at a lower resolution than the original image, losing the fine-grained detail needed for pixel-perfect matching.

Methods

The researchers proposed a two-part architecture: KeyPointNet and IO-Net.

Overview of the proposed self-supervised training framework featuring KeyPointNet and IO-Net.

1. KeyPointNet: Breaking the Grid

KeyPointNet architecture showing the shared encoder and the three prediction heads, including Pixel Shuffle for high-resolution descriptors.

KeyPointNet uses a VGG-style encoder to extract features. It has three "heads" that predict:

  • Score: How "good" is this point?
  • Location: Where exactly is it?
  • Descriptor: What does it look like?

To solve the "Grid Constraint," they introduced a new formulation that allows predicted keypoints to "drift" outside their assigned 8x8 cells. This allows the network to aggregate multiple predictions onto a single high-quality salient point, even if it sits right on a border. To solve the resolution issue, they used sub-pixel convolutions (Pixel Shuffle) to upsample descriptor maps, ensuring the "fingerprints" are sharp and detailed.

2. IO-Net: The Differentiable Judge

This is the "secret sauce." IO-Net is a 1D Convolutional Neural Network that acts as a proxy supervisor. During training, the system matches points between two views. IO-Net looks at these matches and predicts which are "inliers" (correct) and "outliers" (wrong).

Because this process is fully differentiable, the errors from the matching process can flow all the way back to the keypoint detector. Essentially, the network learns: "If I pick this point, the matcher fails later, so I should stop picking points like that."

Datasets

  • Training: The model was trained on the COCO 2017 dataset (118k images). Crucially, it used only the raw images—no human labels were required.
  • Evaluation: The primary benchmark was HPatches, which contains 116 sequences of images with varying illumination and viewpoint changes.

Key Insights and Ideas

  • Outlier Rejection as Supervision: The most brilliant move here is using the success of the downstream task (matching) to train the upstream task (detection). It bypasses the need for "truth" by focusing on "utility."
  • Sub-pixel Fidelity: By using sub-pixel convolutions, the authors showed that you don't need a massive, heavy network to get high-resolution descriptors; you just need to upsample the feature maps efficiently.
  • The "Soft" Grid: Allowing keypoints to cross cell boundaries significantly improves repeatability—the likelihood that the same physical point is detected in two different images.

Key Results

The proposed method, dubbed KP2D, set new records on the HPatches benchmark:

  • Repeatability: It achieved a score of 0.686, comfortably beating SuperPoint (0.631) and traditional SIFT (0.451).
  • Homography Accuracy: This measures how well the system can estimate the geometric transformation between two views. At a strict 3-pixel threshold, KP2D achieved 0.867 accuracy, compared to 0.833 for SuperPoint.
  • Speed: Despite the added complexity, the model is highly efficient, running at roughly 175 FPS on a standard desktop GPU (Nvidia Titan Xp).

Limitations and Future Work

While the model excels at handling lighting and perspective, the authors noted that extreme rotations remain a challenge. Because the network is "fully convolutional," it has an inherent bias toward the orientation it saw during training.

Future work could involve making the descriptors more "rotation-invariant" or incorporating more diverse geometric augmentations during the self-supervised training phase. Additionally, while the proxy task of IO-Net is powerful, it currently relies on a known homography (geometric relationship) during training, which might be harder to obtain in non-planar, real-world 3D environments.

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