Paper commentary
SuperPoint: Self-Supervised Interest Point Detection and Description
SuperPoint learns interest point detection and description without human labels
- Problem Supervised training of interest point detectors is blocked, because no labeled corner locations exist for generic images.
- Method SuperPoint pre-trains a detector on synthetic shapes, then labels real images with Homographic Adaptation. One shared encoder then feeds interest point and descriptor heads.
Why interest points are hard to label
Geometric pipelines such as SLAM and structure-from-motion need interest points that can be found again under changes of lighting and viewpoint. Real systems, however, receive raw pixels, so the geometry they rely on has to be recovered from image content.
Supervised learning would need a labeled set of interest points, and no such dataset exists for this task. Keypoint tasks such as human pose have clearly defined targets, like a mouth corner, whereas a generic interest point has no equivalent semantic definition, so annotation is hard to specify.
The approach replaces human labels with labels produced by the detector itself. A detector is trained on synthetic images, used to label real images, and a joint network is then trained on those labels. This is self-training, and the pseudo-ground truth it creates is what the rest of the method depends on.
Where this sits among prior work
FAST cast high-speed corner detection as a learning problem, and SIFT remains a standard local feature descriptor. UCN and DeepDesc learn descriptors but do not detect interest points, and LIFT adds a convolutional detect, orient and describe pipeline that needs supervision from a classical SfM system.
TILDE used a principle similar to Homographic Adaptation without a large fully-convolutional network, and QuadNetworks is unsupervised but patch-based and shallow. Geometric Matching Networks and Deep Image Homography Estimation estimate global transformations with self-supervision, but they produce no interest points or point correspondences.
Synthetic pre-training to MagicPoint
Synthetic Shapes renders simple 2D geometry such as quadrilaterals, triangles, lines and ellipses, so the interest point locations are known exactly. Corners are modeled as Y-, L- and T-junctions, together with the centers of tiny ellipses and the endpoints of line segments, which removes the label ambiguity seen in natural images. Samples are rendered and warped on the fly, so no example is seen twice by the network.
MagicPoint is the detector pathway of SuperPoint with the descriptor head removed, trained for 200,000 iterations on synthetic data. The interest point types in Synthetic Shapes cover only a subset of those found in the real world, although the authors found the training workable in practice.
Homographic Adaptation as a labeling step
Homographies describe exactly, or almost exactly, the image change caused by camera rotation about its centre, distant scenes and planar surfaces. Most of a typical scene is close enough to planar that a homography is a useful model for the same point seen from a new viewpoint. Homographies need no 3D information, so random ones can be applied to any 2D image with little more than bilinear interpolation.
The averaged output provides the pseudo-ground truth labels that the network is later trained to reproduce.
Random homographies are composed from translation, scale, in-plane rotation and symmetric perspective distortion, each sampled from pre-set ranges with a truncated normal distribution. A root center crop is applied first to limit border artifacts, and the first homography is fixed to the identity, so N_h = 1 means no adaptation.
The labels are therefore generated with N_h = 100.
The procedure can be repeated, so that a model trained on one round of labels produces the labels for the next round.
One encoder feeding two heads
The shared encoder is VGG-style with three max-pooling layers, so each output cell covers an 8 × 8 pixel region of the input. Both heads start from this shared representation, so most parameters serve both tasks and detections and descriptors come from the same forward pass.
The interest point decoder predicts 65 channels per cell, one for each of the 64 pixel positions in the 8 × 8 cell and one dustbin for no interest point. A channel-wise softmax is applied, the dustbin is dropped, and the remaining 64 values are reshaped to full resolution. The reshaping is parameter-free, which the authors chose over learned upsampling because upsampling adds computation and can produce checkerboard artifacts.
Bi-cubic interpolation fills in a dense map, and each descriptor is L2-normalized to unit length. Descriptors have length D = 256.
The encoder has eight 3 × 3 convolutions with 64-64-64-64-128-128-128-128 channels and a 2 × 2 max pool every two layers, with ReLU and BatchNorm after each convolution. Each decoder head has one 3 × 3 convolution with 256 units, followed by a 1 × 1 convolution with 65 units for the detector or 256 units for the descriptor.
How the detector and descriptor losses combine
The total loss adds the detector loss for each of the two warped images to a weighted descriptor loss: \( L = L_p(X,Y) + L_p(X',Y') + \lambda L_d(D,D',S) \). The two images are a synthetically warped pair whose correspondence follows from a known homography, so the descriptor term has ground truth correspondences. The weight λ is 0.0001.
The detector loss is a cross-entropy averaged over the H_c W_c cells. For each cell it takes minus the log of the softmax probability given to the ground truth label: \( l_p(x_{hw};y)=-\log\left(\frac{\exp(x_{hwy})}{\sum_{k=1}^{65}\exp(x_{hwk})}\right) \), and the loss is minimized. If two ground truth corners fall in the same cell, one of them is chosen at random.
The descriptor loss runs over every pair of cells from the two images. The pair label s is 1 when the warped center of one cell lies within 8 pixels of the other cell's center, and 0 otherwise. Matching pairs are penalized when their dot product falls below the positive margin m_p, and non-matching pairs are penalized when their dot product rises above the negative margin m_n.
A weight λ_d scales the positive term because non-matching pairs outnumber matching ones. The values used are λ_d = 250, m_p = 1 and m_n = 0.2.
Training schedule for MagicPoint and SuperPoint
MagicPoint is trained for 200,000 iterations on Synthetic Shapes. Pseudo-ground truth labels come from the 80,000 images of the MS-COCO 2014 training split, resized to 240 × 320 and converted to grayscale, labeled by MagicPoint with N_h = 100. The labeling is then repeated once, using the model from the first round.
For joint training, each example is a random homography applied to a grayscale COCO image and its labels. This sampling is narrower than during adaptation, and extreme in-plane rotations are avoided because they are rare in HPatches. Training uses mini-batches of 32, the Adam solver with learning rate 0.001 and betas (0.9, 0.999), and augmentation with random Gaussian noise, motion blur and brightness changes, implemented in PyTorch.
Detector comparison on Synthetic Shapes
The evaluation uses 1000 held-out Synthetic Shapes images and mean Average Precision. Without noise, MagicPoint reaches 0.979, against 0.405 for FAST, 0.678 for Harris corners and 0.686 for Shi-Tomasi. With added imaging noise, MagicPoint keeps 0.971, while FAST falls to 0.061, Harris to 0.213 and Shi-Tomasi to 0.157.
The gap is widest under noise, and the authors attribute the weakness of the classical detectors to imaging noise. This result covers the Synthetic Shapes dataset only, and real-image behaviour is evaluated separately.
Repeatability on HPatches
HPatches has 116 scenes and 696 unique images. The first 57 scenes have large illumination changes and the other 59 have large viewpoint changes.
Homography estimation against LIFT, SIFT and ORB
Features are matched by nearest neighbor from the first image to the second, and the homography is estimated by OpenCV findHomography with RANSAC over all matches. Each system keeps up to 1000 points at 480 × 640. LIFT uses its pre-trained model, and SIFT and ORB use default OpenCV implementations.
At ε = 3 pixels SuperPoint scores .684, against .676 for SIFT, .598 for LIFT and .395 for ORB.
SIFT has the lowest mean localization error at 0.833, against 1.158 for SuperPoint, and the authors attribute this to SIFT's extra sub-pixel localization. SuperPoint scores .821 on NN mAP and .470 on M. Score, against .694 and .313 for SIFT.
The authors read the descriptor results as support for learned representations over hand-tuned ones, in line with earlier findings they cite. They suggest LIFT's lower scores may reflect HPatches' indoor sequences, since LIFT was trained on a single outdoor sequence.
Runtime on a Titan X GPU
A forward pass runs in about 11.15 ms for 480 × 640 inputs on a Titan X GPU, measured with the timing tool that ships with Caffe. Descriptors are sampled only at the 1000 detected locations instead of densely, and bi-cubic interpolation followed by L2 normalization takes about 1.5 ms on a CPU. The total comes to an estimated 13 ms, or 70 FPS, on a GPU; the authors make this estimate from the two parts rather than a single end-to-end measurement.
Limits of the evidence
The synthetic pre-training covers only some interest point types, and the authors note that real images contain more. On viewpoint repeatability for real images, MagicPoint underperforms the classical detectors, which is the reason the adaptation step is needed.
SuperPoint and LIFT both fail on an extreme in-plane rotation case that their training examples did not contain, and SuperPoint's training sampling excludes such rotations by design. The LIFT comparison uses its pre-trained model, which was not retrained on the experiments' data.
The real-image evaluations use HPatches, and the controlled comparison uses Synthetic Shapes; no other benchmark is reported. Repeatability alone does not predict matching quality, as ORB shows, and applications such as SLAM and SfM are left to future work.
Paper info
- Authors
- Daniel DeTone, Tomasz Malisiewicz, Andrew Rabinovich
- Venue
- arXiv · Preprint
- First published
- 2017-12-20
- Added
- 2026-11-12
- Updated
- 2018-4-19
- Version
- v4
- arXiv
- 1712.07629
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Daniel DeTone, Tomasz Malisiewicz, Andrew Rabinovich (2017). SuperPoint: Self-Supervised Interest Point Detection and Description. arXiv:1712.07629v4. https://arxiv.org/abs/1712.07629v4
BibTeX
@misc{detone2017superpoint,
title = {{SuperPoint: Self-Supervised Interest Point Detection and Description}},
author = {Daniel DeTone and Tomasz Malisiewicz and Andrew Rabinovich},
year = {2017},
eprint = {1712.07629},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1712.07629v4}
}