Triangular similarity metric learning : A siamese architecture approach

Abstract : In many machine learning and pattern recognition tasks, there is always a need for appropriate metric functions to measure pairwise distance or similarity between data, where a metric function is a function that defines a distance or similarity between each pair of elements of a set. In this thesis, we propose Triangular Similarity Metric Learning (TSML) for automatically specifying a metric from data. A TSML system is loaded in a siamese architecture which consists of two identical sub-systems sharing the same set of parameters. Each sub-system processes a single data sample and thus the whole system receives a pair of data as the input. The TSML system includes a cost function parameterizing the pairwise relationship between data and a mapping function allowing the system to learn high-level features from the training data. In terms of the cost function, we first propose the Triangular Similarity, a novel similarity metric which is equivalent to the well-known Cosine Similarity in measuring a data pair. Based on a simplified version of the Triangular Similarity, we further develop the triangular loss function in order to perform metric learning, i.e. to increase the similarity between two vectors in the same class and to decrease the similarity between two vectors of different classes. Compared with other distance or similarity metrics, the triangular loss and its gradient naturally offer us an intuitive and interesting geometrical interpretation of the metric learning objective. In terms of the mapping function, we introduce three different options: a linear mapping realized by a simple transformation matrix, a nonlinear mapping realized by Multi-layer Perceptrons (MLP) and a deep nonlinear mapping realized by Convolutional Neural Networks (CNN). With these mapping functions, we present three different TSML systems for various applications, namely, pairwise verification, object identification, dimensionality reduction and data visualization. For each application, we carry out extensive experiments on popular benchmarks and datasets to demonstrate the effectiveness of the proposed systems.
Document type :
Complete list of metadatas

Cited literature [187 references]  Display  Hide  Download
Contributor : Abes Star <>
Submitted on : Thursday, September 28, 2017 - 4:58:07 PM
Last modification on : Friday, May 17, 2019 - 10:23:09 AM
Long-term archiving on : Friday, December 29, 2017 - 3:33:02 PM


Version validated by the jury (STAR)


  • HAL Id : tel-01314392, version 2


Lilei Zheng. Triangular similarity metric learning : A siamese architecture approach. Other [cs.OH]. Université de Lyon, 2016. English. ⟨NNT : 2016LYSEI045⟩. ⟨tel-01314392v2⟩



Record views


Files downloads