NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HPatches: A Benchmark and Evaluation of Handcrafted and Learned Local Descriptors

Vassileios Balntas, Karel Lenc, Andrea Vedaldi, Krystian Mikolajczyk

TL;DR

The authors introduce HPatches, a new, large-scale, and rigorously defined benchmark for evaluating local image descriptors. They argue that existing benchmarks are flawed, leading to inconsistent results, and that recent deep learning descriptors have saturated them. HPatches aims to provide a more realistic and reproducible evaluation across multiple tasks, revealing that simple post-processing can elevate traditional descriptors to the level of learned ones.

What Problem Does This Paper Address?

Evaluating local image descriptors is crucial for tasks like image matching and retrieval. However, the authors highlight significant issues with existing benchmarks. These include:

  • Ambiguity and Inconsistency: Different research papers report contradictory results for the same descriptors on the same benchmarks, often due to variations in implicit parameters like feature detectors and measurement region sizes.
  • Dataset Saturation: Recent advances in learned descriptors have led to performance saturation on many existing datasets, making it difficult to differentiate between them or assess their true generalization capabilities.
  • Lack of Diversity: Existing datasets often lack diversity in terms of scenes, capturing conditions, and evaluation tasks, limiting their applicability to real-world scenarios.

These shortcomings hinder reliable comparisons and slow down progress in the field.

Methods

The paper proposes a novel benchmark suite based on a new, large-scale dataset. Key methodological aspects include:

  • Patch-Based Evaluation: Instead of whole images, the benchmark uses extracted image patches. This eliminates detector-related biases and simplifies the process, making results directly comparable across different works.
  • Strictly Defined Protocols: The authors introduce three complementary tasks:
  • Patch Verification: A binary classification task to predict if two patches match.
  • Image Matching: Assessing the ability to find correspondences between patches in two images.
  • Patch Retrieval: Evaluating how well a query patch can be matched against a large collection of patches, including distractors.
  • Controlled Noise: To simulate real-world variations and detector imperfections, they introduce three levels of geometric noise (EASY, HARD, TOUGH) applied to extracted patches.
  • Post-Processing: They investigate the impact of normalization techniques (ZCA whitening, power law, L2 normalization) on descriptor performance.

Datasets

The core of the HPatches benchmark is a newly introduced dataset.

  • HPatches Dataset: This dataset comprises 51 sequences, with a total of 59 scenes exhibiting significant geometric deformations and 57 scenes with photometric changes. It includes a reference image and five target images per sequence, annotated with ground-truth homographies. Patches are extracted using multiple detectors and then projected onto target images to ensure correspondence, even when detectors might fail.
  • Existing Datasets: The paper reviews and contrasts HPatches with several existing benchmarks, including the Oxford matching dataset, Generated Matching dataset, DTU Robots dataset, Hanover dataset, Edge Foci dataset, WxBs dataset, PhotoTourism, CVDS, and RomePatches. HPatches aims to overcome their limitations in terms of size, diversity, and reproducibility.

Key Insights and Ideas

  • The "Benchmark Effect": The performance ranking of descriptors can vary significantly across different tasks (verification, matching, retrieval), highlighting the inadequacy of single-task benchmarks.
  • Normalization is Key: Simple post-processing techniques like ZCA whitening and power law normalization can dramatically boost the performance of both traditional and learned descriptors, often bringing them to competitive levels.
  • Traditional Descriptors Still Relevant: With proper normalization and evaluation on a robust benchmark, traditional descriptors like SIFT can perform on par with, or even outperform, many state-of-the-art deep learning-based descriptors, especially in matching and retrieval tasks.
  • Verification Task Limitations: The patch verification task, while useful, is easily saturated and doesn't fully reflect real-world matching performance, as demonstrated by the trivial MSTD descriptor performing well on it but failing on others.
  • Real-World Data Matters: The paper emphasizes that real-world data, with its complex and unmodelled nuisance factors, is more challenging and a better testbed for descriptor robustness than synthetic data.

Key Results

  • SIFT's Resilience: Normalized SIFT variants (+RSIFT) achieve top-tier performance in matching and retrieval tasks, often outperforming many deep learning descriptors.
  • Deep Descriptor Performance: While deep descriptors like +DDESC perform well, especially in verification, their advantage diminishes on other tasks, and they are often slower.
  • Binary Descriptors: Binary descriptors (BRIEF, ORB) are significantly faster but generally underperform SIFT and deep descriptors in accuracy, though they remain competitive for verification.
  • Impact of Noise: Performance drops significantly with increasing geometric noise (TOUGH), and illumination changes also pose a considerable challenge, with some descriptors showing a performance gap of up to 30% compared to EASY settings.
  • Post-processing Boost: For most descriptors, normalized features perform substantially better than their original counterparts.

Limitations and Future Work

  • Computational Cost: While HPatches aims for rigorous evaluation, some state-of-the-art descriptors are computationally expensive, which might limit their real-time application.
  • Detector Independence: While the benchmark focuses on descriptors, the paper acknowledges that future work could extend to evaluating feature detectors more rigorously using the same dataset.
  • Further Exploration of Learned Descriptors: The paper trained learned descriptors on PhotoTourism data. Future work could explore training them directly on the HPatches dataset to see how performance and learned representations evolve.
  • Expanding Tasks: While HPatches covers three key tasks, the dataset's rich annotations could potentially support evaluations for other computer vision problems involving local features.

Summary updated

BibTeX
@misc{balntas2017hpatches,
  author = {Vassileios Balntas and Karel Lenc and Andrea Vedaldi and Krystian Mikolajczyk},
  title = {{HPatches: A Benchmark and Evaluation of Handcrafted and Learned Local Descriptors}},
  year = {2017},
  eprint = {1704.05939},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.05939},
}
Figure