Batch-Incremental Triplet Sampling for Training Triplet Networks Using Bayesian Updating Theorem

07/10/2020
by   Milad Sikaroudi, et al.
0

Variants of Triplet networks are robust entities for learning a discriminative embedding subspace. There exist different triplet mining approaches for selecting the most suitable training triplets. Some of these mining methods rely on the extreme distances between instances, and some others make use of sampling. However, sampling from stochastic distributions of data rather than sampling merely from the existing embedding instances can provide more discriminative information. In this work, we sample triplets from distributions of data rather than from existing instances. We consider a multivariate normal distribution for the embedding of each class. Using Bayesian updating and conjugate priors, we update the distributions of classes dynamically by receiving the new mini-batches of training data. The proposed triplet mining with Bayesian updating can be used with any triplet-based loss function, e.g., triplet-loss or Neighborhood Component Analysis (NCA) loss. Accordingly, Our triplet mining approaches are called Bayesian Updating Triplet (BUT) and Bayesian Updating NCA (BUNCA), depending on which loss function is being used. Experimental results on two public datasets, namely MNIST and histopathology colorectal cancer (CRC), substantiate the effectiveness of the proposed triplet mining method.

READ FULL TEXT

page 1

page 5

page 6

research
07/04/2020

Offline versus Online Triplet Mining based on Extreme Distances of Histopathology Patches

We analyze the effect of offline and online triplet mining for colorecta...
research
09/11/2019

SoftTriple Loss: Deep Metric Learning Without Triplet Sampling

Distance metric learning (DML) is to learn the embeddings where examples...
research
02/24/2020

Triplet Online Instance Matching Loss for Person Re-identification

Mining the shared features of same identity in different scene, and the ...
research
11/27/2019

AdaSample: Adaptive Sampling of Hard Positives for Descriptor Learning

Triplet loss has been widely employed in a wide range of computer vision...
research
10/15/2021

Relation Preserving Triplet Mining for Stabilizing the Triplet Loss in Vehicle Re-identification

Object appearances often change dramatically with pose variations. This ...
research
12/09/2021

HBReID: Harder Batch for Re-identification

Triplet loss is a widely adopted loss function in ReID task which pulls ...
research
02/16/2021

Semi Supervised Learning For Few-shot Audio Classification By Episodic Triplet Mining

Few-shot learning aims to generalize unseen classes that appear during t...

Please sign up or login with your details

Forgot password? Click here to reset