Deep Metric Learning Using Triplet Network
Open accessThe DOI matches its Crossref record; 18 of the 18 references it cites were found in a registry or an index.
Abstract
Deep learning has proven itself as a successful set of models for learning useful semantic representations of data. These, however, are mostly implicitly learned as part of a classification task. In this paper we propose the triplet network model, which aims to learn useful representations by distance comparisons. A similar model was defined by Wang et al. (2014), tailor made for learning a ranking for image information retrieval. Here we demonstrate using various datasets that our model learns a better representation than that of its immediate competitor, the Siamese network. We also discuss future possible usage as a framework for unsupervised learning.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Several papers provided example-based explanation using a triplet network (Hoffer and Ailon (2015)).”
From Explainable artificial intelligence (XAI) in deep learning-based medical image analysis (2022) · cites this paper as Hoffer and Ailon (2015)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Gradient-based learning applied to document recognition
Lecun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998) · Proceedings of the IEEE · doi:10.1109/5.726791 · Cited by 58,805 · cited 3×
“The second dataset is the original MNIST (LeCun et al. (1998)) consisting of 60000 28x28 gray-scale images of handwritten digits 0-9, and a corresponding set of 10000 test images.”
MethodInfluentialLearning Deep Architectures for AI
Bengio, Y. (2009) · Foundations and Trends® in Machine Learning · doi:10.1561/2200000006 · Cited by 9,239 · cited 1×
“One of the underlying assumptions is that deep, hierarchical models such as convolutional networks create useful representation of data (Bengio (2009); Hinton (2007)), which can then be used to distinguish between available classes.”
BackgroundDimensionality Reduction by Learning an Invariant Mapping
Hadsell, R., Chopra, S., & LeCun, Y. (2006) · 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition - Volume 2 (CVPR'06) · doi:10.1109/cvpr.2006.100 · Cited by 5,336 · cited 1×
“Notable exceptions where explicit metric learning is preformed are the Siamese Network variants (Bromley et al. (1993); Chopra et al. (2005); Hadsell et al. (2006)), in which a contrastive loss over the metric induced by the representation is used to train the network to distinguish between similar…”
BackgroundCNN Features Off-the-Shelf: An Astounding Baseline for Recognition
Razavian, A. S., Azizpour, H., Sullivan, J., & Carlsson, S. (2014) · 2014 IEEE Conference on Computer Vision and Pattern Recognition Workshops · doi:10.1109/cvprw.2014.131 · Cited by 4,451 · cited 1×
“Features extracted by deep networks were also shown to provide useful representation (Zeiler & Fergus (2013a); Sermanet et al. (2013)) which can be, in turn, successfully used for other tasks (Razavian et al. (2014)).”
MethodLearning a Similarity Metric Discriminatively, with Application to Face Verification
Chopra, S., Hadsell, R., & LeCun, Y. (2005) · 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05) · doi:10.1109/cvpr.2005.202 · Cited by 4,036 · cited 2×
“Notable exceptions where explicit metric learning is preformed are the Siamese Network variants (Bromley et al. (1993); Chopra et al. (2005); Hadsell et al. (2006)), in which a contrastive loss over the metric induced by the representation is used to train the network to distinguish between similar…”
BackgroundMethodOverFeat: Integrated Recognition, Localization and Detection using Convolutional Networks
Sermanet, P., Eigen, D., Zhang, X., Mathieu, M., Fergus, R., & LeCun, Y. (2013) · arXiv · doi:10.48550/arxiv.1312.6229 · Cited by 2,680 · cited 1×
“Features extracted by deep networks were also shown to provide useful representation (Zeiler & Fergus (2013a); Sermanet et al. (2013)) which can be, in turn, successfully used for other tasks (Razavian et al. (2014)).”
MethodSignature Verification Using A "Siamese" Time Delay Neural Network
BROMLEY, J., BENTZ, J. W., BOTTOU, L., GUYON, I., LECUN, Y., MOORE, C., SÄCKINGER, E., & SHAH, R. (1993) · International Journal of Pattern Recognition and Artificial Intelligence · doi:10.1142/s0218001493000339 · Cited by 2,077 · cited 5×
“Notable exceptions where explicit metric learning is preformed are the Siamese Network variants (Bromley et al. (1993); Chopra et al. (2005); Hadsell et al.”
BackgroundInfluentialGoing Deeper with Convolutions
Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., & Rabinovich, A. (2014) · arXiv · doi:10.48550/arxiv.1409.4842 · Cited by 1,461 · cited 1×
“We believe that enhancement to the embedding network such as Network-in-Network model (Lin et al. (2013)), Inception models (Szegedy et al. (2014)) and others can benefit the Triplet net similarly to the way they benefited other classification tasks.”
Learning Fine-Grained Image Similarity with Deep Ranking
Wang, J., Song, Y., Leung, T., Rosenberg, C., Wang, J., Philbin, J., Chen, B., & Wu, Y. (2014) · 2014 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2014.180 · Cited by 1,269
Lee, C., Xie, S., Gallagher, P., Zhang, Z., & Zhuowen Tu, A. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1409.5185 · Cited by 993
Research works printed but not linked: 6
- Chechik, Gal, Sharma, Varun, Shalit, Uri, and Bengio, Samy. Large scale online learning of image similarity through ranking. The Journal of Machine Learning Research , 11:1109-1135, 2010.
- Coates, Adam, Ng, Andrew Y, and Lee, Honglak. An analysis of single-layer networks in unsupervised feature learning. In International Conference on Artificial Intelligence and Statistics , pp. 215-223, 2011.
- Collobert, Ronan, Kavukcuoglu, Koray, and Farabet, Cl´ ement. Torch7: A matlab-like environment for machine learning. In BigLearn, NIPS Workshop , number EPFL-CONF-192376, 2011.
- Lin, Tsung-Han and Kung, HT. Stable and efficient representation learning with nonnegativity constraints. In Proceedings of the 31st International Conference on Machine Learning (ICML14) , pp. 1323-1331, 2014.
- Mairal, Julien, Koniusz, Piotr, Harchaoui, Zaid, and Schmid, Cordelia. Convolutional kernel networks. In Advances in Neural Information Processing Systems , pp. 2627-2635, 2014.
- Tamuz, Omer, Liu, Ce, Belongie, Serge, Shamir, Ohad, and Kalai, Adam. Adaptively learning the crowd kernel. In Getoor, Lise and Scheffer, Tobias (eds.), Proceedings of the 28th International Conference on Machine Learning (ICML-11) , ICML '11, pp. 673-680, New York, NY, USA, June 2011. ACM. ISBN 978-1-4503-0619-5.
Cited by
CosFace: Large Margin Cosine Loss for Deep Face Recognition
Wang, H., Wang, Y., Zhou, Z., Ji, X., Gong, D., Zhou, J., Li, Z., & Liu, W. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00552 · Cited by 3,034
SphereFace: Deep Hypersphere Embedding for Face Recognition
Liu, W., Wen, Y., Yu, Z., Li, M., Raj, B., & Song, L. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.713 · Cited by 2,280
“Most widely used loss functions for deep metric learning are contrastive loss [1, 3] and triplet loss [32, 22, 6], and both impose Euclidean margin to features.”
BackgroundFine-Tuning CNN Image Retrieval with No Human Annotation
Radenovic, F., Tolias, G., & Chum, O. (2019) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2018.2846566 · Cited by 1,472
Explainable artificial intelligence (XAI) in deep learning-based medical image analysis
van der Velden, B. H. M., Kuijf, H. J., Gilhuijs, K. G. A., & Viergever, M. A. (2022) · Medical Image Analysis · doi:10.1016/j.media.2022.102470 · Cited by 1,328
Eleven grand challenges in single-cell data science
Lähnemann, D., Köster, J., Szczurek, E., McCarthy, D. J., Hicks, S. C., Robinson, M. D., Vallejos, C. A., Campbell, K. R., Beerenwinkel, N., Mahfouz, A., et al. (2020) · Genome Biology · doi:10.1186/s13059-020-1926-6 · Cited by 1,327
Learning Discriminative Features with Multiple Granularities for Person Re-Identification
Wang, G., Yuan, Y., Chen, X., Li, J., & Zhou, X. (2018) · Proceedings of the 26th ACM international conference on Multimedia · doi:10.1145/3240508.3240552 · Cited by 1,203
“Triplet loss [15, 28] enforces a margin between the intra and inter distances to the same anchor sample with in a triplet.”
BackgroundDynamic Few-Shot Visual Learning Without Forgetting
Gidaris, S., & Komodakis, N. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00459 · Cited by 1,128
Unsupervised Learning of Visual Representations Using Videos
Wang, X., & Gupta, A. (2015) · 2015 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2015.320 · Cited by 1,005
“Finally, our work is also related to metric learning via deep networks [51, 31, 4, 17, 15, 22, 54].”
BackgroundCircle Loss: A Unified Perspective of Pair Similarity Optimization
Sun, Y., Cheng, C., Zhang, Y., Zhang, C., Zheng, L., Wang, Z., & Wei, Y. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr42600.2020.00643 · Cited by 987
“The latter leverages a metric loss function ( e.g. , triplet loss [9, 22]) to optimize the similarity between samples.”
BackgroundContrastive Representation Learning: A Framework and Review
Le-Khac, P. H., Healy, G., & Smeaton, A. F. (2020) · IEEE Access · doi:10.1109/access.2020.3031549 · Cited by 862
“While conceptually simple and widely adopted in multiple metric learning applications [49], [90], [105], the pair and triplet losses usually suffer from slow convergence because”
BackgroundMethodInfluentialMatching Networks for One Shot Learning
Vinyals, O., Blundell, C., Lillicrap, T., Kavukcuoglu, K., & Wierstra, D. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1606.04080 · Cited by 854
“Second, we employ a training strategy which is tailored for one-shot learning from the support set S.”
MethodMulti-Similarity Loss With General Pair Weighting for Deep Metric Learning
Wang, X., Han, X., Huang, W., Dong, D., & Scott, M. R. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.00516 · Cited by 854
Deep Learning Based Vulnerability Detection: Are We There Yet?
Chakraborty, S., Krishna, R., Ding, Y., & Ray, B. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3087402 · Cited by 790
“learning, to create amaximal separation between classes [43], [44].”
BackgroundDeep Image Retrieval: Learning Global Representations for Image Search
Gordo, A., Almazán, J., Revaud, J., & Larlus, D. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-46466-4_15 · Cited by 787
“three stream Siamese networks) have been considered for metric learning [43,44] and face identification [45].”
BackgroundLearning Deep Structure-Preserving Image-Text Embeddings
Wang, L., Li, Y., & Lazebnik, S. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.541 · Cited by 760
“Finally, our work is related to deep similarity learning [4, 6, 7, 16, 18, 39, 47], though we are solving a cross-view, not a within-view, matching problem.”
BackgroundA Comprehensive Survey of Few-shot Learning: Evolution, Applications, Challenges, and Opportunities
Song, Y., Wang, T., Cai, P., Mondal, S. K., & Sahoo, J. P. (2023) · ACM Computing Surveys · doi:10.1145/3582688 · Cited by 721
“Triple loss [171] SIMBAD’15 Anchor, Positive, Negative European Distance The distance between Anchor and Positive is smaller than that with Negative”
BackgroundImbalance Problems in Object Detection: A Review
Oksuz, K., Cam, B. C., Kalkan, S., & Akbas, E. (2021) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2020.2981890 · Cited by 704
Deep Metric Learning: A Survey
KAYA, M., & BİLGE, H. Ş. (2019) · Symmetry · doi:10.3390/sym11091066 · Cited by 703
“Triplet network inspired by Siamese network contains three objects, which are formed positive, negative, and anchor sampl s [85].”
BackgroundInfluentialTriplet Loss in Siamese Network for Object Tracking
Dong, X., & Shen, J. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-01261-8_28 · Cited by 648
“Triplet loss in computer vision: Triplet loss has been widely applied for numerous applications in computer vision, such as face recognition [23], image retrieval [14], [37], [26], and person re-identification [3], [30], [13].”
MethodPPFNet: Global Context Aware Local Features for Robust 3D Point Matching
Deng, H., Birdal, T., & Ilic, S. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00028 · Cited by 631
Survey of Explainable AI Techniques in Healthcare
Chaddad, A., Peng, J., Xu, J., & Bouridane, A. (2023) · Sensors · doi:10.3390/s23020634 · Cited by 591
“[38] ProtoPNet * * * [39] Triplet Network * * * * Example-based [5] xDNN * * *”
BackgroundCNN Image Retrieval Learns from BoW: Unsupervised Fine-Tuning with Hard Examples
Radenović, F., Tolias, G., & Chum, O. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-46448-0_1 · Cited by 551
“where they mine hard positive patches for descriptor learning. They are also guided by 3D reconstruction but only at patch level. Despite the fact that one of the recent advances is the triplet loss [32,33,34], note that also Arandjelovic et al. [35] use it, there are no extenstive and direct comparisons to siamese ne…”
BackgroundDeep Learning for Entity Matching: A Design Space Exploration
Mudgal, S., Li, H., Rekatsinas, T., Doan, A., Park, Y., Krishnan, G., Deep, R., Arcaute, E., & Raghavendra, V. (2018) · Proceedings of the 2018 International Conference on Management of Data · doi:10.1145/3183713.3196926 · Cited by 550
“1, the triplet framework [34] can be adapted for EM.”
BackgroundMethodEnd-to-End Learning of Deep Visual Representations for Image Retrieval
Gordo, A., Almazán, J., Revaud, J., & Larlus, D. (2017) · International Journal of Computer Vision · doi:10.1007/s11263-017-1016-8 · Cited by 537
Learning Two-Branch Neural Networks for Image-Text Matching Tasks
Wang, L., Li, Y., Huang, J., & Lazebnik, S. (2019) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2018.2797921 · Cited by 535
Ghafouri, V., Agarwal, V., Zhang, Y., Sastry, N. R., Such, J. M., & Suárez-Tangil, G. (2023) · International Conference on Information and Knowledge Management · doi:10.1145/3583780.3614777 · Cited by 38
Trunk-Branch Ensemble Convolutional Neural Networks for Video-Based Face Recognition
Ding, C., & Tao, D. (2018) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2017.2700390 · Cited by 441
Learning Attentive Pairwise Interaction for Fine-Grained Classification
Zhuang, P., Wang, Y., & Qiao, Y. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i07.7016 · Cited by 415
Yu, Q., Liu, F., Song, Y.-Z., Xiang, T., Hospedales, T. M., & Loy, C. C. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.93 · Cited by 413
“sic network architecture in each branch of a triplet ranking Siamese network [9].”
BackgroundExtractive Summarization as Text Matching
Zhong, M., Liu, P., Chen, Y., Wang, D., Qiu, X., & Huang, X. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.552 · Cited by 413
Finding Task-Relevant Features for Few-Shot Learning by Category Traversal
Li, H., Eigen, D., Dodge, S., Zeiler, M., & Wang, X. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.00009 · Cited by 400
“This is similar to metric learning using Siamese Networks [4, 6], trained explicitly for the few-shot classification problem by iteratively sampling a query and support set from a larger labeled training set, and optimizing to maximize a similarity score between the query and same-labeled examples.”
MethodLearning from Multiple Teacher Networks
You, S., Xu, C., Xu, C., & Tao, D. (2017) · Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining · doi:10.1145/3097983.3098135 · Cited by 395
“Triplet-based constraint has been veried to have excellent performance in metric learning [17] and classication tasks [27].”
BackgroundSelf-Supervised Learning of Graph Neural Networks: A Unified Review
Xie, Y., Xu, Z., Zhang, J., Wang, Z., & Ji, S. (2023) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2022.3170559 · Cited by 389
“[44] proposes to minimize the triplet margin loss [74], which is commonly used in deep metric learning [75].”
BackgroundContrastive Learning as Goal-Conditioned Reinforcement Learning
Eysenbach, B., Zhang, T., Levine, S., & Salakhutdinov, R. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-2580 · Cited by 28
A Decade Survey of Content Based Image Retrieval Using Deep Learning
Dubey, S. R. (2022) · IEEE Transactions on Circuits and Systems for Video Technology · doi:10.1109/tcsvt.2021.3080920 · Cited by 356
“A triplet network is a variation of siamese network [161] which utilizes a triplet of images, including an anchor image, a positive image and a negative image.”
BackgroundFoundationPose: Unified 6D Pose Estimation and Tracking of Novel Objects
Wen, B., Yang, W., Kautz, J., & Birchfield, S. (2024) · 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52733.2024.01692 · Cited by 353
“Note that different from standard triplet loss [26], the anchor sample is not shared between the positive and negative samples in our case, since the input is cropped depending on each pose hypothesis to account for translations.”
BackgroundDeep learning features at scale for visual place recognition
Chen, Z., Jacobson, A., Sunderhauf, N., Upcroft, B., Liu, L., Shen, C., Reid, I., & Milford, M. (2017) · 2017 IEEE International Conference on Robotics and Automation (ICRA) · doi:10.1109/icra.2017.7989366 · Cited by 344
Smart Mining for Deep Metric Learning
Harwood, B., Kumar B.G., V., Carneiro, G., Reid, I., & Drummond, T. (2017) · 2017 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2017.307 · Cited by 344
“The triplet network [24, 6, 14, 25] is trained with an input composed of an anchor point xi (from class yi), another point from the same class x+i = xj (with i 6= j and yi = yj), and a point from a different class xi = xk ((with k 6= i and yi 6= yk).”
BackgroundMethodInfluentialA comprehensive survey of loss functions and metrics in deep learning
Terven, J., Cordova-Esparza, D.-M., Romero-González, J.-A., Ramírez-Pedraza, A., & Chávez-Urbiola, E. A. (2025) · Artificial Intelligence Review · doi:10.1007/s10462-025-11198-7 · Cited by 343
Learning Text Similarity with Siamese Recurrent Networks
Neculoiu, P., Versteegh, M., & Rotaru, M. (2016) · Proceedings of the 1st Workshop on Representation Learning for NLP · doi:10.18653/v1/w16-1617 · Cited by 341
“A variant of the Siamese network, the triplet network (Hoffer and Ailon, 2015), was used to learn an image similarity measure based on ranking data (Wang et al., 2014).”
MethodSemantic Drift Compensation for Class-Incremental Learning
Yu, L., Twardowski, B., Liu, X., Herranz, L., Wang, K., Cheng, Y., Jui, S., & van de Weijer, J. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr42600.2020.00701 · Cited by 340
Learning to Localize Sound Source in Visual Scenes
Senocak, A., Oh, T.-H., Kim, J., Yang, M.-H., & Kweon, I. S. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00458 · Cited by 328
Comparative Evaluation of Hand-Crafted and Learned Local Features
Schonberger, J. L., Hardmeier, H., Sattler, T., & Pollefeys, M. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.736 · Cited by 310
Machine learning for metal additive manufacturing: Towards a physics-informed data-driven paradigm
Guo, S., Agarwal, M., Cooper, C., Tian, Q., Gao, R. X., Guo, W., & Guo, Y. B. (2022) · Journal of Manufacturing Systems · doi:10.1016/j.jmsy.2021.11.003 · Cited by 309
Multilevel Language and Vision Integration for Text-to-Clip Retrieval
Xu, H., He, K., Plummer, B. A., Sigal, L., Sclaroff, S., & Saenko, K. (2019) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v33i01.33019062 · Cited by 307
ChangeMask: Deep multi-task encoder-transformer-decoder architecture for semantic change detection
Zheng, Z., Zhong, Y., Tian, S., Ma, A., & Zhang, L. (2022) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2021.10.015 · Cited by 283
Look, Listen, and Learn More: Design Choices for Deep Audio Embeddings
Cramer, A. L., Wu, H.-H., Salamon, J., & Bello, J. P. (2019) · ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp.2019.8682475 · Cited by 281
“More recent approaches successfully leverage triplet learning [28] under contextual constraints, such as the temporal proximity of audio samples in video streams [12].”
BackgroundBreast cancer histology images classification: Training from scratch or transfer learning?
Shallu, & Mehra, R. (2018) · ICT Express · doi:10.1016/j.icte.2018.10.007 · Cited by 277
Classification is a Strong Baseline for Deep Metric LearningPreprint
Zhai, A., & Wu, H. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1811.12649 · Cited by 263
“Standard deep neural network metric learning approaches learn image representations through the local relationships between images in the form of pairs [3] [1] or triplets [8] [19].”
BackgroundFeng, Y., Chen, J., Xie, J., Zhang, T., Lv, H., & Pan, T. (2022) · Knowledge-Based Systems · doi:10.1016/j.knosys.2021.107646 · Cited by 262
Visual place recognition: A survey from deep learning perspective
Zhang, X., Wang, L., & Su, Y. (2021) · Pattern Recognition · doi:10.1016/j.patcog.2020.107760 · Cited by 261
MFDNet: Collaborative Poses Perception and Matrix Fisher Distribution for Head Pose Estimation
Liu, H., Fang, S., Zhang, Z., Li, D., Lin, K., & Wang, J. (2022) · IEEE Transactions on Multimedia · doi:10.1109/tmm.2021.3081873 · Cited by 254
On Mutual Information Maximization for Representation Learning
Tschannen, M., Djolonga, J., Rubenstein, P. K., Gelly, S., & Lučić, M. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1907.13625 · Cited by 253
“…the structure present in the input data, namely spatial (e.g. patches from the same image should be closer than patches from different images) and temporal information (temporally close video frames should be encoded closer than the ones which are further away in time) (Hoffer and Ailon, 2015).”
BackgroundNew Insights on Reducing Abrupt Representation Change in Online Continual LearningPreprint
Caccia, L., Aljundi, R., Asadi, N., Tuytelaars, T., Pineau, J., & Belilovsky, E. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2104.05025 · Cited by 251
“A typical approach in this loss and related triplet loss for classification may be to select the negatives from any other class [12].”
BackgroundMethodSUES-200: A Multi-Height Multi-Scene Cross-View Image Benchmark Across Drone and Satellite
Zhu, R., Yin, L., Yang, M., Wu, F., Yang, Y., & Hu, W. (2023) · IEEE Transactions on Circuits and Systems for Video Technology · doi:10.1109/tcsvt.2023.3249204 · Cited by 249
“retrieval tasks are contrastive loss [42] and triplet loss [43], and these loss functions achieve good performance in other”
BackgroundMulti-object Tracking with Quadruplet Convolutional Neural Networks
Son, J., Baek, M., Cho, M., & Han, B. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.403 · Cited by 247
“Siamese network [5, 9] and triplet network [49, 18] are simple methods to measure the similarity between two objects.”
BackgroundMethodAdaCos: Adaptively Scaling Cosine Logits for Effectively Learning Deep Face Representations
Zhang, X., Zhao, R., Qiao, Y., Wang, X., & Li, H. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.01108 · Cited by 246
“Apart from the large-scale training data and deep structures, training losses also play key roles in learning accurate face recognition models [41, 6, 11].”
BackgroundVijay Kumar, B. G., Carneiro, G., & Reid, I. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.581 · Cited by 237
“have a noticeable difference, which is the fact that a triplet of similar and dissimilar inputs gives context for the optimisation process, as opposed to the pairwise loss that the siamese network minimises (same class) or maximises (different classes) as much as possible for each pair independently [14].”
BackgroundMethodInfluentialCui, Y., Zhou, F., Lin, Y., & Belongie, S. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.130 · Cited by 234
“The loss will be back propagated to each layer of the CNN and their corresponding parameters are updated through stochastic gradient descent.”
BackgroundGSV-Cities: Toward appropriate supervised visual place recognition
Ali-bey, A., Chaib-draa, B., & Giguère, P. (2022) · Neurocomputing · doi:10.1016/j.neucom.2022.09.127 · Cited by 222
“This formulation allows us to use pair-based and triplet-based loss functions in a supervised manner such as (1) Contrastive loss [11], (2) Triplet ranking loss [16] and (3) Multi-Similarity loss [51].”
BackgroundMethodID-Reveal: Identity-aware DeepFake Video Detection
Cozzolino, D., Rossler, A., Thies, J., Niesner, M., & Verdoliva, L. (2021) · 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.01483 · Cited by 221
Wang, X., Farhadi, A., & Gupta, A. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.291 · Cited by 220
“To model the transformation, we apply a Siamese network architecture in this paper, which is also related to the literature using deep metric learning [11, 9, 37, 12, 54, 16].”
MethodSynFace: Face Recognition with Synthetic Data
Qiu, H., Yu, B., Gong, D., Li, Z., Liu, W., & Tao, D. (2021) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.01070 · Cited by 219
“For example, 1) contrastive loss [9, 22] and triplet loss [24, 66] are usually utilized to increase the Euclidean margin for better feature embedding; 2) center loss [61] aims to learn a center for each identity and then minimizes the center-aware intra-class variations; 3) Largemargin softmax loss [33, 34] and its va…”
BackgroundFine-Grained Action Retrieval Through Multiple Parts-of-Speech Embeddings
Wray, M., Csurka, G., Larlus, D., & Damen, D. (2019) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2019.00054 · Cited by 218
“Recently, neural networks trained with a ranking loss considering image pairs [27], triplets [35], quadruplets [5] or beyond [32], have been considered for metric learning [17, 35] and for a broad range of search tasks such as face/person identification [29, 5, 16, 2] or instance retrieval [10, 27].”
BackgroundCrossCLR: Cross-modal Contrastive Learning For Multi-modal Video Representations
Zolfaghari, M., Zhu, Y., Gehler, P., & Brox, T. (2021) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.00148 · Cited by 216
“Many implementations of this principle have been proposed: max-margin loss [14], triplet loss [46, 47, 18],”
MethodLiu, S., Qian, S., Guan, Y., Zhan, J., & Ying, L. (2020) · Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval · doi:10.1145/3397271.3401086 · Cited by 212
“…recently to improve sampling and weighting schemes that focus on pulling semantic similar instance pairs closer, pushing semantic dissimilar instance pairs apart from each other for supervised pair-based problems, such as triplet loss [12], lift structure loss [24], multi-similarity loss [36].”
BackgroundExpression, Affect, Action Unit Recognition: Aff-Wild2, Multi-Task Learning and ArcFace
Kollias, D., & Zafeiriou, S. (2019) · arXiv · doi:10.48550/arxiv.1910.04855 · Cited by 210
“[4, 15] propose multi-loss learning to increase feature discriminating power.”
BackgroundMulti-Objective Interpolation Training for Robustness to Label Noise
Ortego, D., Arazo, E., Albert, P., O'Connor, N. E., & McGuinness, K. (2021) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr46437.2021.00654 · Cited by 209
“Many traditional methods are based on sampling pairs or triplets to measure similarities [5, 17].”
MethodSelf-Supervised Contrastive Pre-Training for Time Series Via Time-Frequency Consistency
Zhang, X., Zhao, Z., Tsiligkaridis, T., & Žitnik, M. (2022) · neural information processing systems · doi:10.52202/068431-0288 · Cited by 203
PN-Net: Conjoined Triple Deep Network for Learning Local Image DescriptorsPreprint
Balntas, V., Johns, E., Tang, L. H. Y., & Mikolajczyk, K. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1601.05030 · Cited by 201
“The SoftMax Ratio ob-jective introduced in [12] is based on triplets and ratios, but does not include the evaluation of the ∆ ∗ distance inside the triplet.”
BackgroundMethodResultInfluentialA systematic review of few-shot learning in medical imaging
Pachetti, E., & Colantonio, S. (2024) · Artificial Intelligence in Medicine · doi:10.1016/j.artmed.2024.102949 · Cited by 198
Few-Shot Adversarial Domain Adaptation
Motiian, S., Jones, Q., Iranmanesh, S. M., & Doretto, G. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1711.02536 · Cited by 196
“We address that problem by modifying the usual pairing technique used in many applications such as learning similarity metrics [7, 23, 22].”
MethodA Survey on Deep Visual Place Recognition
Masone, C., & Caputo, B. (2021) · IEEE Access · doi:10.1109/access.2021.3054937 · Cited by 192
“There are no explicit comparisons between these two losses in VPR, with only a few studies providing some indications: [93] reports superior performance using a triplet network, but only for a classification task; on the other hand, [77], [83] mention using a siamese architecture because it yielded…”
BackgroundOrthogonal Convolutional Neural Networks
Wang, J., Chen, Y., Chakraborty, R., & Yu, S. X. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr42600.2020.01152 · Cited by 190
Learning from Extrinsic and Intrinsic Supervisions for Domain Generalization
Wang, S., Yu, L., Li, C., Fu, C.-W., & Heng, P.-A. (2020) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-58545-7_10 · Cited by 187
Everything You Wanted to Know about Deep Learning for Computer Vision but Were Afraid to Ask
Ponti, M. A., Ribeiro, L. S. F., de Nazaré, T. S., Bui, T., & Collomosse, J. P. (2017) · SIBGRAPI Conference on Graphics, Patterns and Images (SIBGRAPI) · doi:10.1109/sibgrapi-t.2017.12 · Cited by 188
“Contrastive loss is seen to outperform triplet loss in [77], but marginally underperforms its counterpart in [54], [82].”
BackgroundPoint Cloud Oversegmentation With Graph-Structured Deep Metric Learning
Landrieu, L., & Boussaha, M. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.00762 · Cited by 186
“This loss differs from the triplet loss [8, 20], as it involves all vertices within a graph (or a sub-graph) at once, and not just an anchor and related positive/negative examples.”
BackgroundTowards Transferable Targeted Attack
Li, M., Deng, C. D., Li, T., Yan, J., Gao, X., & Huang, H. (2020) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr42600.2020.00072 · Cited by 186
Yao, D., Sui, J., Wang, M., Yang, E., Jiaerken, Y., Luo, N., Yap, P.-T., Liu, M., & Shen, D. (2021) · IEEE Transactions on Medical Imaging · doi:10.1109/tmi.2021.3051604 · Cited by 185
“, triplet) relationships between subjects, while previous studies have shown that modeling triplet relationship is very helpful to boost learning performance [31], [32].”
BackgroundResultMultimodal Representation Learning for Recommendation in Internet of Things
Huang, Z., Xu, X., Ni, J., Zhu, H., & Wang, C. (2019) · IEEE Internet of Things Journal · doi:10.1109/jiot.2019.2940709 · Cited by 184
“Conceptually, a triplet network [32], [33] contains three copies of a base network with shared parameters.”
BackgroundA survey on deep learning for cybersecurity: Progress, challenges, and opportunities
Macas, M., Wu, C., & Fuertes, W. (2022) · Computer Networks · doi:10.1016/j.comnet.2022.109032 · Cited by 181
Yuan, J., Sun, S., Omeiza, D., Zhao, B., Newman, P. M., Kunze, L., & Gadd, M. (2024) · Robotics: Science and Systems · doi:10.15607/rss.2024.xx.075 · Cited by 181
Deep Metric Learning for Visual Understanding: An Overview of Recent Advances
Lu, J., Hu, J., & Zhou, J. (2017) · IEEE Signal Processing Magazine · doi:10.1109/msp.2017.2732900 · Cited by 180
“[26] employed a triplet network architecture for DML, which aims to learn useful representations by distance comparisons.”
MethodMetric Learning for Adversarial RobustnessPreprint
Mao, C., Zhong, Z., Yang, J., Vondrick, C., & Ray, B. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1909.00900 · Cited by 179
“Motivated by this empirical observation, we propose to add an additional constraint to the model using metric learning [15, 32, 44] to produce more robust classifiers.”
MethodTile2Vec: Unsupervised Representation Learning for Spatially Distributed Data
Jean, N., Wang, S., Samar, A., Azzari, G., Lobell, D., & Ermon, S. (2019) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v33i01.33013967 · Cited by 176
Houssein, E. H., Gamal, A. M., Younis, E. M. G., & Mohamed, E. (2025) · Cluster Computing · doi:10.1007/s10586-025-05281-5 · Cited by 179
Boosting Adversarial Training with Hypersphere Embedding
Pang, T., Yang, X. H., Dong, Y., Xu, K., Zhu, J., & Su, H. (2020) · neural information processing systems · doi:10.48550/arxiv.2002.08619 · Cited by 176
“Although these methods are appealing, they could introduce high computational overhead [41], cause unexpected class biases [26], or be vulnerable under strong adversarial attacks [35].”
BackgroundMethodDeep Audio-visual Learning: A Survey
Zhu, H., Luo, M.-D., Wang, R., Zheng, A.-H., & He, R. (2021) · International Journal of Automation and Computing · doi:10.1007/s11633-021-1293-0 · Cited by 174
“The relevant model mainly consisted of three networks, namely, sound and visual networks and an attention network trained via the distance ratio [33] unsupervised loss.”
MethodUnsupervised Person Re-Identification by Deep Asymmetric Metric Embedding
Yu, H.-X., Wu, A., & Zheng, W.-S. (2020) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2018.2886878 · Cited by 173
“There are also some works on supervised deep metric learning [63], [64], [65], [66], [67], [68].”
BackgroundDeepArt: Learning Joint Representations of Visual Arts
Mao, H., Cheung, M., & She, J. P. M. (2017) · ACM International Conference on Multimedia (ACM MM) · doi:10.1145/3123266.3123405 · Cited by 172
“Previous works [8, 16, 37] about a Siamese-based ranking network and Triplet-based ranking network have achieved good performance on different tasks, especially retrieval and verification tasks.”
BackgroundMethodG, V. K. B., Carneiro, G., & Reid, I. D. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1512.09272 · Cited by 171
“have a noticeable difference, which is the fact that a triplet of similar and dissimilar inputs gives context for the optimisation process, as opposed to the pairwise loss that the siamese network minimises (same class) or maximises (different classes) as much as possible for each pair independently [14].”
BackgroundMethodInfluentialAdaptiveFace: Adaptive Margin and Sampling for Face Recognition
Liu, H., Zhu, X., Lei, Z., & Li, S. Z. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.01222 · Cited by 170
“Triplet loss [24, 9, 35] making up triplets to separate the positive pair from the negative pair by a distance margin.”
BackgroundTristouNet: Triplet loss for speaker turn embedding
Bredin, H. (2017) · 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp.2017.7953194 · Cited by 168
“egmentation and clustering. In this paper, we show that the proposed embedding outperforms both approaches and leads to better speaker change detection results. 2. RELATED WORK Using the triplet loss [7, 8] to train euclidean embeddings has been recently and successfully applied to face recognition and clustering in […”
MethodTransitive Invariance for Self-Supervised Visual Representation Learning
Wang, X., He, K., & Gupta, A. (2017) · 2017 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2017.149 · Cited by 168
“In addition, the ranking function used in this paper is related to deep metric learning with Siamese architectures [5, 21, 19, 54, 24].”
MethodRecent advances on loss functions in deep learning for computer vision
Tian, Y., Su, D., Lauria, S., & Liu, X. (2022) · Neurocomputing · doi:10.1016/j.neucom.2022.04.127 · Cited by 168
Analyzing and Improving Representations with the Soft Nearest Neighbor LossPreprint
Frosst, N., Papernot, N., & Hinton, G. E. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1902.01889 · Cited by 168
“The soft nearest neighbor loss is similar to the triplet loss (Hoffer & Ailon, 2015), in that both measure the relative distance between points from the same class and points from different classes.”
BackgroundMethodQuadruplet Network With One-Shot Learning for Fast Visual Object Tracking
Dong, X., Shen, J., Wu, D., Guo, K., Jin, X., & Porikli, F. (2019) · IEEE Transactions on Image Processing · doi:10.1109/tip.2019.2898567 · Cited by 167
“As an alternative to using pairs in Siamese network, Hoffer and Ailon [22] employ”
BackgroundMethodInfluentialAttributes as Operators: Factorizing Unseen Attribute-Object Compositions
Nagarajan, T., & Grauman, K. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-01246-5_11 · Cited by 167
Fashion Style in 128 Floats: Joint Ranking and Classification Using Weak Data for Feature Extraction
Simo‐Serra, E., & Ishikawa, H. (2016) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr.2016.39 · Cited by 167
“It has also been extended to triplet images for ranking [11, 36] and has been very successfully applied to face recognition [25] in particular.”
BackgroundAutoencoder-based deep metric learning for network intrusion detection
Andresini, G., Appice, A., & Malerba, D. (2021) · Information Sciences · doi:10.1016/j.ins.2021.05.016 · Cited by 166
Metadata
- Authors
- Hoffer, E., & Ailon, N.
- Affiliations
- Technion – Israel Institute of Technology (IL)
- Corresponding author
- Hoffer, Elad
- ORCID
- Hoffer, Elad
- Venue
- Lecture Notes in Computer Science
- Publisher
- Springer International Publishing
- Published
- 2015
- Pages
- 84-92
- ISSN
- 0302-9743 (ISSN-L)
- 1611-3349
- OpenAlex
- W1839408879
- Semantic Scholar
- 3ac1a7d6630cd1c7b70c4c2c7bc92c40df1162ca
- Cited by
- 2,134
- References
- 9
- Citations by year
- 2026: 64 · 2025: 191 · 2024: 217 · 2023: 284 · 2022: 295 · 2021: 331 · 2020: 303 · 2019: 217 · 2018: 125 · 2017: 75 · 2016: 28 · 2015: 4
- FWCI
- 43.58
- Type
- conference paper
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- Lecture notes in computer science (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- TIB Data Manager
- International Conference on Learning Representations
- Funders
- Nvidia
- Israel Science Foundation (1271/13)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Image and Video Retrieval Techniques
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Keywords
- triplet network, deep metric learning, distance comparison, semantic representation, image retrieval, Siamese network, unsupervised learning, representation learning
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.