Skip to main content
QUICK REVIEW

[Paper Review] Learning Local Image Descriptors with Deep Siamese and Triplet Convolutional Networks by Minimising Global Loss Functions

Vijay Kumar B G, Gustavo Carneiro|arXiv (Cornell University)|Dec 31, 2015
Advanced Image and Video Retrieval TechniquesComputer Science28 references176 citations
TL;DR

This paper proposes training local image descriptors using triplet and siamese convolutional networks with a novel global loss function to improve generalization and performance. The method achieves state-of-the-art results on the UBC benchmark, with the triplet network trained using both triplet and global losses yielding the best feature embedding, and the center-surround siamese network with global loss outperforming prior pairwise similarity methods by nearly half in FPR95 scores.

ABSTRACT

Recent innovations in training deep convolutional neural network (ConvNet) models have motivated the design of new methods to automatically learn local image descriptors. The latest deep ConvNets proposed for this task consist of a siamese network that is trained by penalising misclassification of pairs of local image patches. Current results from machine learning show that replacing this siamese by a triplet network can improve the classification accuracy in several problems, but this has yet to be demonstrated for local image descriptor learning. Moreover, current siamese and triplet networks have been trained with stochastic gradient descent that computes the gradient from individual pairs or triplets of local image patches, which can make them prone to overfitting. In this paper, we first propose the use of triplet networks for the problem of local image descriptor learning. Furthermore, we also propose the use of a global loss that minimises the overall classification error in the training set, which can improve the generalisation capability of the model. Using the UBC benchmark dataset for comparing local image descriptors, we show that the triplet network produces a more accurate embedding than the siamese network in terms of the UBC dataset errors. Moreover, we also demonstrate that a combination of the triplet and global losses produces the best embedding in the field, using this triplet network. Finally, we also show that the use of the central-surround siamese network trained with the global loss produces the best result of the field on the UBC dataset. Pre-trained models are available online at https://github.com/vijaykbg/deep-patchmatch

Motivation & Objective

  • To improve the generalization and robustness of learned local image descriptors by replacing standard siamese training with triplet networks.
  • To address overfitting in siamese and triplet networks by introducing a global loss function that minimizes overall training set error.
  • To evaluate whether triplet networks and global loss improve performance on local descriptor learning compared to existing methods.
  • To demonstrate that global loss enhances model generalization beyond individual pair/triplet-based optimization.

Proposed method

  • Proposes a triplet network architecture for local image descriptor learning, where each training sample consists of a query patch, a positive patch (same 3D location), and a negative patch (different 3D location).
  • Introduces a global loss function that minimizes the variance of intra-class distances and maximizes the variance of inter-class distances across the entire training set, improving regularization.
  • Combines the triplet loss with the global loss to jointly optimize for both local contrastive learning and global distributional consistency.
  • Employs a center-surround siamese network with global loss, where the network processes a central patch and surrounding context to improve feature discrimination.
  • Uses stochastic gradient descent with mini-batches, initializing the triplet network with weights from a pre-trained siamese model to improve convergence.
  • Applies hyperparameter tuning via cross-validation for margin (m=0.01), and scaling parameters (γ=1, t=0.4, λ=0.8) in the global loss function.

Experimental results

Research questions

  • RQ1Can triplet networks improve local image descriptor learning compared to siamese networks?
  • RQ2Does incorporating a global loss function reduce overfitting and improve generalization in descriptor learning?
  • RQ3Can the combination of triplet and global losses yield better performance than either loss alone?
  • RQ4Does the center-surround siamese network with global loss outperform existing pairwise similarity methods?

Key findings

  • The triplet network trained with both triplet and global losses (TNet-TGLoss) achieves the best feature embedding performance on the UBC benchmark, outperforming all prior methods.
  • The center-surround siamese network trained with global loss (CS-SNet-GLoss) achieves an FPR95 score nearly half that of the previous state-of-the-art 2ch-2stream method.
  • The TNet-TGLoss model achieves the lowest mean FPR95 across all six UBC training-test combinations, demonstrating superior robustness and generalization.
  • The global loss significantly improves model generalization, as evidenced by faster convergence and better performance despite using fewer training epochs.
  • The combination of triplet and global losses does not outperform the TNet-TGLoss model, indicating that the global loss is most effective when combined with triplet loss.
  • The proposed models achieve state-of-the-art results in both embedding and pairwise similarity settings, with the global loss enabling better performance than standard pairwise training.

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.