LIFT: Learned Invariant Feature Transform

Kwang Moo Yi, Eduard Trulls, Vincent Lepetit, Pascal Fua

Abstract

LIFT (Learned Invariant Feature Transform) is a novel deep learning architecture that unifies the entire local feature pipeline—detection, orientation estimation, and description—into a single, end-to-end differentiable network. By training these components to work in harmony rather than in isolation, LIFT overcomes the "integration gap" found in traditional hand-crafted methods and piecewise learned models. Experimental results show that LIFT significantly outperforms the gold-standard SIFT and other state-of-the-art descriptors on standard benchmarks for image matching and 3D reconstruction.

Introduction

For decades, local features have been the cornerstone of computer vision, enabling tasks such as 3D reconstruction, robot navigation, and image retrieval. The traditional standard, SIFT (Scale-Invariant Feature Transform), utilizes a hand-crafted pipeline consisting of three sequential steps: detection (finding keypoints), orientation estimation (assigning a canonical direction), and description (summarizing the local neighborhood).

While deep learning has recently surpassed hand-crafted methods in individual stages—most notably in learning better descriptors—these components were typically developed in silos. This modularity creates an integration gap; a superior descriptor is ineffective if the detector provides inconsistent points. LIFT addresses this by optimizing the entire pipeline jointly, ensuring that every part is tuned to assist the others.

The LIFT Architecture

The LIFT architecture is a modular Convolutional Neural Network (CNN) composed of three primary functional blocks:

  1. The Detector (DET): Generates a score map to identify robust feature points.
  2. The Orientation Estimator (ORI): Predicts the dominant orientation of a patch to provide rotation invariance.
  3. The Descriptor (DESC): Computes a high-dimensional vector representing the local image patch.
Overview of the LIFT pipeline, integrating detection, orientation, and description modules into a single flow.

To maintain end-to-end differentiability, the authors incorporate Spatial Transformers. These allow the network to perform mathematical "cropping" and "rotation" operations based on the outputs of the detector and orientation modules. Furthermore, the discrete "Non-Maximum Suppression" (NMS) typically used in detectors is replaced with a soft-argmax function during training, allowing gradients to flow back through the entire system.

Staged Training Strategy

Training a unified pipeline from scratch is challenging because the detector cannot learn where to look until the descriptor knows how to represent the data. To solve this, the authors employ a staged training approach using patches derived from Structure-from-Motion (SfM) data:

  • Step 1: The Descriptor is trained first to distinguish between matching and non-matching patches.
  • Step 2: The Orientation Estimator is trained while keeping the Descriptor weights fixed.
  • Step 3: The Detector is trained last, conditioned on the previously learned orientation and description capabilities.
The training architecture utilizes multiple patches (P1-P4) with shared weights to learn invariant features through a differentiable pipeline.

Experimental Results

LIFT was evaluated on several challenging datasets, including the Strecha dataset (viewpoint changes), the DTU dataset (viewpoint and illumination), and the Webcam dataset (extreme day/night changes).

  • Superior Matching: On the Strecha dataset, LIFT achieved a matching score of 0.374, compared to 0.283 for SIFT and 0.298 for DeepDesc (a learned descriptor paired with a SIFT detector).
  • Component Synergy: Ablation studies confirmed that the components are highly interdependent. Replacing any LIFT module with a SIFT equivalent resulted in a significant performance drop, proving that the network learns to find points specifically suited for its own descriptor.
  • Generalization: Although trained on outdoor architectural data (Piccadilly Circus and the Roman Forum), LIFT generalized effectively to indoor objects, demonstrating robust geometric and photometric invariance.

Conclusion and Future Work

LIFT demonstrates that turning a multi-step engineering problem into a continuous optimization problem yields significant performance gains. By ensuring differentiability through the use of Spatial Transformers and soft-argmax, the authors successfully bridged the gap between detection and description.

Future work may involve moving beyond patch-based training to "hard negative mining" across entire images to further increase discriminative power. While LIFT is currently more computationally intensive than real-time hand-crafted methods like ORB, it sets a new state-of-the-art for high-accuracy local feature extraction.

Summary updated

BibTeX
@inproceedings{yi2016lift,
  author = {Kwang Moo Yi and Eduard Trulls and Vincent Lepetit and Pascal Fua},
  title = {{LIFT: Learned Invariant Feature Transform}},
  booktitle = {European Conference on Computer Vision},
  year = {2016},
  doi = {10.1007/978-3-319-46466-4\_28},
}
Figure