Skip to main content
QUICK REVIEW

[Paper Review] Improving the HardNet Descriptor

Milan Pultar|arXiv (Cornell University)|Jul 19, 2020
Advanced Image and Video Retrieval TechniquesComputer Science70 references9 citations
TL;DR

This paper improves the HardNet local feature descriptor through a new dataset (AMOS Patches) for illumination and appearance robustness, optimized training protocols, and architectural enhancements. HardNet8, trained on combined datasets with PCA compression and hyperparameter tuning, achieves state-of-the-art performance on HPatches, AMOS Patches, and IMW Phototourism benchmarks, with a specialized variant outperforming prior methods on stereo matching tasks.

ABSTRACT

In the thesis we consider the problem of local feature descriptor learning for wide baseline stereo focusing on the HardNet descriptor, which is close to state-of-the-art. AMOS Patches dataset is introduced, which improves robustness to illumination and appearance changes. It is based on registered images from selected cameras from the AMOS dataset. We provide recommendations on the patch dataset creation process and evaluate HardNet trained on data of different modalities. We also introduce a dataset combination and reduction methods, that allow comparable performance on a significantly smaller dataset. HardNet8, consistently outperforming the original HardNet, benefits from the architectural choices made: connectivity pattern, final pooling, receptive field, CNN building blocks found by manual or automatic search algorithms -- DARTS. We show impact of overlooked hyperparameters such as batch size and length of training on the descriptor quality. PCA dimensionality reduction further boosts performance and also reduces memory footprint. Finally, the insights gained lead to two HardNet8 descriptors: one performing well on a variety of benchmarks -- HPatches, AMOS Patches and IMW Phototourism, the other is optimized for IMW Phototourism.

Motivation & Objective

  • To improve the robustness and performance of the HardNet local feature descriptor for wide baseline stereo matching.
  • To develop a new dataset, AMOS Patches, that enhances robustness to illumination and appearance variations using registered images from the AMOS dataset.
  • To investigate optimal training strategies, including dataset combination, reduction, batch size, training length, and loss function design.
  • To explore architectural choices such as connectivity patterns, pooling, receptive fields, and CNN building blocks via manual and DARTS-based search.
  • To evaluate the impact of embedding compression via PCA on descriptor quality and memory efficiency.

Proposed method

  • Proposes the AMOS Patches dataset, constructed from registered images of selected cameras in the AMOS dataset, to improve robustness to illumination and appearance changes.
  • Introduces a method for combining and reducing heterogeneous datasets, enabling high performance with significantly smaller training data volumes.
  • Employs a multi-stage training pipeline using generalized loss with positive pair sampling, batch sizes up to 9000, and training for up to 40 epochs.
  • Applies DARTS-based neural architecture search to identify effective CNN building blocks, favoring VGG-like over ResNet-like architectures.
  • Uses PCA to compress descriptor embeddings to 128 dimensions, improving performance and reducing memory footprint.
  • Trains two variants: HardNet8-Univ (general-purpose) and HardNet8-PT (optimized for IMW Phototourism), using domain-specific data combinations.

Experimental results

Research questions

  • RQ1Can a new, illumination-robust dataset derived from registered images improve local descriptor performance on challenging benchmarks?
  • RQ2How do dataset combination and reduction techniques affect descriptor quality when training on significantly fewer samples?
  • RQ3What architectural choices—such as connectivity, pooling, receptive field, and CNN blocks—lead to improved descriptor performance?
  • RQ4How do overlooked hyperparameters like batch size and training duration impact descriptor quality?
  • RQ5To what extent does PCA-based compression of descriptor embeddings improve performance and reduce memory usage?

Key findings

  • The AMOS Patches dataset significantly improves robustness to illumination and appearance changes, outperforming baseline descriptors on HPatches and AMOS Patches benchmarks.
  • HardNet8-Univ achieves a mean average precision (mAP) of 60.95 on the full HPatches split, surpassing the original HardNet (52.79) and GeoDesc (59.15) on this benchmark.
  • HardNet8-PT achieves a mean average accuracy (mAA) of 57.58 on the IMW Phototourism Stereo 8k benchmark, outperforming all prior methods including GeoDesc (51.11).
  • Training with a batch size of 9000 and 40 epochs leads to superior descriptor quality, while smaller batches and shorter training degrade performance.
  • PCA compression of 512-dimensional embeddings to 128 dimensions improves mAA on IMW Phototourism by 2.5 percentage points and reduces memory usage.
  • Reducing the dataset size by an order of magnitude through filtering and combination still yields comparable performance, demonstrating effective data efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.