TCDesc: Learning Topology Consistent Descriptors

Honghu Pan, Fanyang Meng, Zhenyu He, Yongsheng Liang, Wei LiuarXiv 2020

Abstract

In computer vision, matching interest points across images is a fundamental task typically addressed by learning descriptors via triplet loss. However, standard triplet loss often ignores the local neighborhood structure, leading to inconsistent distributions in the descriptor space. This paper presents TCDesc, a method that introduces a "topology consistency" measure into the training process. By leveraging Locally Linear Embedding (LLE), TCDesc ensures that matching descriptors maintain similar relationships with their neighbors. Experimental results on major benchmarks show that TCDesc significantly improves robustness and accuracy over existing state-of-the-art triplet-loss-based descriptors.

Introduction

The core challenge in local image descriptor learning is ensuring that matching points from different viewpoints or lighting conditions map to similar locations in the embedding space. Most modern approaches utilize a triplet loss function to minimize Euclidean distance between positive pairs and maximize it for negative pairs. While effective, this "point-to-point" strategy fails to account for the "neighborhood" context. If two points are a true match, their relative positions to surrounding points—their topology—should remain consistent. Ignoring this structural information makes descriptors more susceptible to noise and geometric distortions.

Standard triplet loss (a) ignores neighborhood structure, while TCDesc (b) encourages matching descriptors to maintain similar neighborhood relationships.

Methodology: Topology Consistency

TCDesc integrates a Topology Measure directly into the triplet loss framework. The method operates through three primary components:

  1. Topology Vector Construction: For each descriptor in a training batch, the algorithm identifies its $k$-nearest neighbors ($k$NN). It then applies Locally Linear Embedding (LLE) to determine a set of weights that best reconstruct the descriptor as a linear combination of its neighbors.
  2. Topology Distance: The consistency between two matching descriptors is quantified by the "topology distance," defined as the difference between their respective LLE weight vectors. High similarity in these weights indicates consistent local structures.
  3. Dynamic Weighting Strategy: To optimize training, the authors employ a dynamic fusion of standard Euclidean distance and the new topology distance. Initially, the model prioritizes Euclidean distance to establish basic feature alignment. As training progresses, the weight of the topology consistency term increases to refine the descriptor manifold.

Experimental Evaluation

The authors evaluated TCDesc across three industry-standard benchmarks: UBC PhotoTourism (patch verification), HPatches (matching and retrieval), and W1BS (wide baseline stereo).

Key Results

TCDesc consistently improved upon the baselines it was integrated with, such as HardNet and CDF:

  • UBC PhotoTourism: TCDesc-CDF achieved a mean False Positive Rate (FPR95) of 1.08%, a notable improvement over the baseline CDF+ (1.18%) and HardNet+ (1.51%).
  • HPatches: The method demonstrated superior performance across all tasks. Notably, in the Patch Retrieval task, it achieved a mean Average Precision (mAP) of 70.50%.
  • Wide Baseline Stereo (W1BS): In extreme scenarios involving different sensors or drastic appearance changes, TCDesc-HN achieved an average mAUC of 8.44%, validating the robustness provided by topological constraints.
Performance comparison on HPatches across Verification, Matching, and Retrieval tasks, showing TCDesc variants (e.g., TCDesc-CDF+) leading the benchmarks.

Conclusion

TCDesc demonstrates that moving from simple point-to-point matching to "neighborhood-to-neighborhood" consistency provides a powerful higher-order constraint for descriptor learning. By bridging traditional manifold learning (LLE) with deep neural networks, the method achieves state-of-the-art results on challenging vision tasks. While currently limited to floating-point descriptors, the principle of topology consistency offers a promising direction for broader embedding tasks such as face recognition and large-scale image retrieval.

Summary updated

BibTeX
@misc{pan2020tcdesc,
  author = {Honghu Pan and Fanyang Meng and Zhenyu He and Yongsheng Liang and Wei Liu},
  title = {{TCDesc: Learning Topology Consistent Descriptors}},
  year = {2020},
  eprint = {2006.03254},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.03254},
}
Figure