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
Items 701–800 of 1,002
Visual-audio correspondence and its effect on video tipping: Evidence from Bilibili vlogs
Li, B., & Zhao, J. (2023) · Information Processing & Management · doi:10.1016/j.ipm.2023.103347 · Cited by 19
Deep Metric Learning With Density Adaptivity
Li, Y., Yao, T., Pan, Y., Chao, H., & Mei, T. (2019) · IEEE Transactions on Multimedia · doi:10.1109/tmm.2019.2939711 · Cited by 19
“As an extension of contrastive embedding, triplet embedding [28]–[32] is another dimension of DML approaches by learning embedding function with triplet/ranking supervision over the set of ranking triplets.”
BackgroundToward Multilabel Image Retrieval for Remote Sensing
Imbriaco, R., Sebastian, C., Bondarev, E., & de With, P. H. N. (2021) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2021.3095957 · Cited by 19
“In metric learning, the CNNs learn to quantify image similarity using the contrastive loss [31], the triplet loss [34], or other more advanced loss functions.”
MethodWang, M., Zheng, B., Wang, G., Yang, J., Lü, J., & Zhang, W. (2025) · Mathematics · doi:10.3390/math13071098 · Cited by 19
Bridging Viewpoints in Cross-View Geo-Localization With Siamese Vision Transformer
Ahn, W. J., Park, S., Pae, D.-S., Choi, H. D., & Lim, M. T. (2024) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2024.3429570 · Cited by 19
“With the advent of deep learning, convolution neural network (CNN)-based methods [13], [14], [15], [16], [17], [18], [19], [20], [21] have achieved impressive results using triplet learning [22].”
MethodFew-shot Remote Sensing Scene Classification via Parameter-free Attention and Region Matching
Jia, Y., Sun, C., Gao, J., & Wang, Q. (2025) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2025.05.026 · Cited by 19
Unsupervised deep triplet hashing with pseudo triplets for scalable image retrieval
Gu, Y., Zhang, H., Zhang, Z., & Ye, Q. (2019) · Multimedia Tools and Applications · doi:10.1007/s11042-019-7687-0 · Cited by 19
“The rest of this paper is organized as follows: we briefly review some related works of Hashing, Triplet Network and Autoencoder in Section 2, and in Section 3, the proposed model is described in details.”
MethodInfluentialImproving Few-Shot Learning Through Multi-task Representation Learning Theory
Bouniot, Q., Redko, I., Audigier, R. M. M., Loesch, A., & Habrard, A. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-20044-1_25 · Cited by 19
“They typically use a form of contrastive loss as their objective function, similarly to Neighborhood Component Analysis (NCA) [18] or Triplet Loss [20].”
MethodHarnessing Large-Scale Herbarium Image Datasets Through Representation Learning
Walker, B. E., Tucker, A., & Nicolson, N. (2022) · Frontiers in Plant Science · doi:10.3389/fpls.2021.806407 · Cited by 19
“In a triplet network ( Figure 1 ), one implementation of metric learning (Hoffer and Ailon, 2018), a neural network is presented with three images: an anchor, a positive example from the same class as the anchor, and a negative example from a different class than the anchor.”
BackgroundDual triplet network for image zero-shot learning
Ji, Z., Wang, H., Pang, Y., & Shao, L. (2019) · Neurocomputing · doi:10.1016/j.neucom.2019.09.062 · Cited by 19
Cow Face Recognition for a Small Sample Based on Siamese DB Capsule Network
Xu, F., Gao, J., & Pan, X. (2022) · IEEE Access · doi:10.1109/access.2022.3182806 · Cited by 19
Triplet Network with Attention for Speaker Diarization
Song, H., Willi, M., Thiagarajan, J. J., Berisha, V., & Spanias, A. (2018) · Interspeech (USB) · doi:10.21437/interspeech.2018-2305 · Cited by 19
Uzun, B., Çevıkalp, H., & Sarıbaş, H. (2022) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2022.3205939 · Cited by 19
“Therefore, our proposed method can be seen as applying the distance metric learning to quantized data instead of learning distance metric through individual class samples as in [26], [48], [49], [51].”
MethodResultInfluentialLabel Inference Attack against Split Learning under Regression SettingPreprint
Xie, S., Yang, X., Yao, Y., Liu, T., Wang, T., & Sun, J. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2301.07284 · Cited by 19
“Besides the two main learning regularizations above utilized in our attack, we have studied another triplet loss regularization (Hoffer and Ailon 2015; Schroff, Kalenichenko, and Philbin 2015) which may lead to better attack performance.”
MethodA novel approach for software vulnerability detection based on intelligent cognitive computing
Xuan, C. D., Hoang, D., Thanh, M. C., & Cong, B. V. (2023) · The Journal of Supercomputing · doi:10.1007/s11227-023-05282-4 · Cited by 19
Lin, C., & Heipke, C. (2022) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2022.06.003 · Cited by 18
Deep Image Similarity Measurement Based on the Improved Triplet Network with Spatial Pyramid Pooling
Yuan, X., Liu, Q., Long, J., Hu, L., & Wang, Y. (2019) · Information · doi:10.3390/info10040129 · Cited by 18
“Like the triple network [18,22], this model also needs to input three images, respectively anchor image(xa), positive image (xp) and negative image(xn), where the image xa and the image xp are a similar image pairs whereas the image xa and the image xn are a dissimilar image pairs.”
BackgroundMethodInfluentialCross-domain retrieving sketch and shape using cycle CNNs
Chen, M., Wang, C., & Liu, L. (2020) · Computers & Graphics · doi:10.1016/j.cag.2020.05.018 · Cited by 18
Matching Large Baseline Oblique Stereo Images Using an End-to-End Convolutional Neural Network
Yao, G., Yılmaz, A., Zhang, L., Meng, F., Ai, H., & Jin, F. (2021) · Remote Sensing · doi:10.3390/rs13020274 · Cited by 18
“[28] proposed a triplet network architecture to generate the deep learning descriptors.”
BackgroundIncreasing Importance of Joint Analysis of Audio and Video in Computer Vision: A Survey
Shahabaz, A., & Sarkar, S. (2024) · IEEE Access · doi:10.1109/access.2024.3391817 · Cited by 16
Egocentric Shopping Cart Localization
Spera, E., Furnari, A., Battiato, S., & Farinella, G. M. (2018) · Proceedings - International Conference on Pattern Recognition/Proceedings/International Conference on Pattern Recognition · doi:10.1109/icpr.2018.8545516 · Cited by 18
“We also explore the possibility of learning feature representations suitable for the localization task by fine-tuning the pre-trained VGG16 model using a triplet network architecture [17].”
BackgroundMethodLearning A Meta-Ensemble Technique For Skin Lesion Classification And Novel Class Detection
Bagchi, S., Banerjee, A., & Bathula, D. R. (2020) · IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · doi:10.1109/cvprw50498.2020.00381 · Cited by 18
“To ensure this, a triplet loss function [16] is used.”
MethodZhao, W., Zhu, X., Guo, K., Shi, H., Zhang, X., & Lei, Z. (2023) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2023.3322600 · Cited by 18
“Triplet loss [48] constructs triplets to separate the positive pair from the negative pair by a distance margin.”
BackgroundBharathiraja, S., Kanna, B. R., & Hariharan, M. (2022) · Arabian Journal for Science and Engineering · doi:10.1007/s13369-022-06743-3 · Cited by 18
STEAD: Spatio-Temporal Efficient Anomaly Detection for Time and Compute Sensitive Applications
Gao, A., & Liu, J. (2025) · IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros60139.2025.11246678 · Cited by 18
“This concept would then be refined by Hoffer Ailon [31] who proposed the Triplet Network as an extension of the Siamese Network that utilizes a trio of neural networks instead of the Siamese Network’s traditional use of two as shown in figure 2.”
FAMCF: A few-shot Android malware family classification framework
Zhou, F., Wang, D., Xiong, Y., Sun, K., & Wang, W. (2024) · Computers & Security · doi:10.1016/j.cose.2024.104027 · Cited by 18
Exploiting predicted answer in label aggregation to make better use of the crowd wisdom
Liu, J., Tang, F., Chen, L., & Zhu, Y. (2021) · Information Sciences · doi:10.1016/j.ins.2021.05.060 · Cited by 18
TripletGAN: Training Generative Model with Triplet LossPreprint
Cao, G., Yang, Y., Lei, J., Jin, C., Liu, Y., & Song, M. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1711.05084 · Cited by 18
“Triplet loss is widely used in face recognition [ 27 ] and metric learning [ 12 ], in place of the classification based method, which requires producing a large dimension output to perform softmax on.”
Context-Aware Visual Compatibility PredictionPreprint
Cucurull, G., Taslakian, P., & Vázquez, D. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1902.03646 · Cited by 18
“Therefore, our decoder function takes inspiration from other metric learning approaches [23, 15, 32].”
BackgroundLearning Neural Models for End-to-End Clustering
Meier, B. B., Elezi, I., Amirian, M., Dürr, O., & Stadelmann, T. (2018) · Lecture notes in computer science · doi:10.1007/978-3-319-99978-4_10 · Cited by 18
SSKD: Self-Supervised Knowledge Distillation for Cross Domain Adaptive Person Re-Identification
Liu, W., Nie, S., Yin, J., Wang, R., Gao, D., & Jin, L. (2021) · IEEE International Conference on Network Infrastructure and Digital Content (IC-NIDC) · doi:10.1109/ic-nidc54101.2021.9660538 · Cited by 18
“Triplet loss (Hoffer and Ailon 2015) and contrastive loss (Hadsell, Chopra, and LeCun 2006) are not sufficient to pull similar samples and repel dissimilar ones for re-ID task.”
BackgroundA Low-Cost Embedded Facial Recognition System for Door Access Control using Deep Learning
Orna, G., Benítez, D. S., & Pérez, N. (2020) · IEEE ANDESCON · doi:10.1109/andescon50619.2020.9271984 · Cited by 18
“…done, the RGB format is used, along with the boundaries of the boxes drawn above, to encode faces into 128-value vectors using a pre-trained deep neural network model that aims to detect faces based on ResNet-34 [33] but with 29 conv layers and the number of filters reduced by half [29], [34], [35].”
MethodAmato, D., Calderaro, S., Bosco, G. L., Rizzo, R., & Vella, F. (2024) · Cognitive Computation · doi:10.1007/s12559-024-10312-1 · Cited by 18
“We use the so-called triplet network [25] to obtain the embeddings starting from the tiles.”
Supervision and Source Domain Impact on Representation Learning: A Histopathology Case Study
Sikaroudi, M., Safarpoor, A., Ghojogh, B., Shafiei, S., Crowley, M., & Tizhoosh, H. R. (2020) · Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC) · doi:10.1109/embc44109.2020.9176279 · Cited by 18
“Later, Hoffer and Ailon [5] proposed triplet networks for representation learning that learned the configuration among anchor, positive, and negative cases (or triplets) simultaneously.”
BackgroundLearning Similarity: Feature-Aligning Network for Few-shot Action Recognition
Tan, S., & Yang, R. (2019) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn.2019.8851694 · Cited by 18
“In particular, Hoffer and Ailon [18] used triplet loss to enforce a distance ranking for training.”
MethodTripletProt: Deep Representation Learning of Proteins Based On Siamese Networks
Nouranı, E., Asgari, E., McHardy, A. C., & Mofrad, M. R. K. (2021) · IEEE Transactions on Computational Biology and Bioinformatics · doi:10.1109/tcbb.2021.3108718 · Cited by 18
“In this paper, we use Triplet networks [31] inspired by Siamese (twin) triplet loss to achieve the same objective.”
MethodA new representation learning approach for credit data analysis
Li, T., Kou, G., & Peng, Y. (2023) · Information Sciences · doi:10.1016/j.ins.2023.01.068 · Cited by 18
Few-Shot Learning-Based Network Intrusion Detection through an Enhanced Parallelized Triplet Network
Tian, J., Wang, Z., Fang, H., Chen, L., Qin, J., Chen, J., & Wang, Z. (2022) · Security and Communication Networks · doi:10.1155/2022/3317048 · Cited by 18
Extraction and normalization of simple and structured entities in medical documents
Wajsbürt, P. (2021) · theses.fr (ABES) · doi:10.70675/2f777bcaz72aaz400ezb9f4za52428477079 · Cited by 18
Ensemble of loss functions to improve generalizability of deep metric learning methods
Zabihzadeh, D., Alitbi, Z., & Mousavirad, S. J. (2023) · Multimedia Tools and Applications · doi:10.1007/s11042-023-16160-9 · Cited by 18
“While contrastive losses are based on absolute distance values, triplet losses (Wang, Song et al. 2014, Hoffer and Ailon 2015, Ge 2018, Chen and Deng 2019, Yuan, Deng et al. 2019) concentrate on relative distances between positive and negative pairs.”
InfluentialXDM: Improving Sequential Deep Matching with Unclicked User Behaviors for Recommender System
Lv, F., Li, M., Guo, T., Yu, C., Sun, F., Jin, T., & Ng, W. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-00129-1_31 · Cited by 18
Pose-dIVE: Pose-Diversified Augmentation with Diffusion Model for Person Re-IdentificationPreprint
Kim, I. H., Jin, W., Son, S., Seo, J., Cho, S., Baek, J., Lee, B., Lee, J., & Kim, S. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2406.16042 · Cited by 18
“The most significant method is Distance Metric Learning [20, 30, 32, 55, 58, 68], such as Triplet Loss [22], which utilizes deep learning models to project images into a feature embedding space where the vectors of the same identity are close together, while those of different identities are far…”
InfluentialDuroselle, R., Jouvet, D., & Illina, I. (2020) · Interspeech (USB) · doi:10.21437/interspeech.2020-1708 · Cited by 18
“Triplet loss [28] operates on pairs of samples.”
Training Triplet Networks with GANPreprint
Zięba, M., & Wang, L. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1704.02227 · Cited by 18
“We propose to use slightly different lost function from that was defined by Hoffer & Ailon (2015) because we want to be consistent with log-prob discriminative part of learning for GAN model.”
MethodResultInfluentialToward Practical Weakly Supervised Semantic Segmentation via Point-Level Supervision
Fan, J., & Zhang, Z. (2023) · International Journal of Computer Vision · doi:10.1007/s11263-023-01862-2 · Cited by 17
“Other approaches such as center loss (Wen et al., 2016), triplet loss (Hoffer & Ailon, 2015; Schroff et al., 2015) are also widely applied in various retrieval tasks.”
BackgroundAtmoDist: Self-supervised representation learning for atmospheric dynamics
Hoffmann, S., & Lessig, C. (2023) · Environmental Data Science · doi:10.1017/eds.2023.1 · Cited by 17
“Exploring a triplet loss (Hoffer and Ailon, 2015) is another interesting direction.”
BackgroundPerson Identification With Low Training Sample Based on Micro-Doppler Signatures Separation
Qiao, X., Feng, Y., Shan, T., & Tao, R. (2022) · IEEE Sensors Journal · doi:10.1109/jsen.2022.3162590 · Cited by 17
A Realism Metric for Generated LiDAR Point Clouds
Triess, L. T., Rist, C. B., Peter, D., & Zöllner, J. M. (2022) · International Journal of Computer Vision · doi:10.1007/s11263-022-01676-8 · Cited by 17
“networks with shared weights to achieve the feature embedding [14, 21].”
BackgroundDeep Learning—A New Era in Bridging the Semantic Gap
Markowska–Kaczmar, U., & Kwaśnicka, H. (2018) · Intelligent systems reference library · doi:10.1007/978-3-319-73891-8_7 · Cited by 17
A contrastive triplet network for automatic chest X-ray reporting
Yang, Y. Q., Yu, J. Y., Jiang, H., Han, W., Zhang, J., & Jiang, W. (2022) · Neurocomputing · doi:10.1016/j.neucom.2022.06.063 · Cited by 17
MicroRec: Leveraging Large Language Models for Microservice Recommendation
Alsayed, A. S., Dam, H. K., & Nguyen, C. (2024) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3643991.3644916 · Cited by 17
“The network is trained to distinguish between similar and dissimilar posts. user queries and questions in SO posts, and trained to distinguish between similar instances (positive samples) to be nearer to the user’s query (anchor), while dissimilar instances (negative samples) are far [14].”
BackgroundUddin, K., Khan, A. A., Farooq, M. U., & Malik, K. M. (2025) · IEEE International Conference on Computer Vision Workshops · doi:10.1109/iccvw69036.2025.00161 · Cited by 17
“Sub-sequently, we employed the triplet model ( TM ) [5] to capture intra-class consistencies and inter-class inconsistencies, thereby generating discriminative features for effective detection.”
Audio-Driven Talking Video Frame Restoration
Cheng, H. H., Guo, Y., Yin, J., Chen, H., Wang, J., & Nie, L. (2021) · IEEE Transactions on Multimedia · doi:10.1109/tmm.2021.3118287 · Cited by 17
“We then employ the triplet loss [33] function as follows: where I i is the video frame from the complete video V , M i denotes audio segments from A and M I i is the artificially constructed interfering audio A I .”
MethodRepresentation Learning for EEG-Based Biometrics Using Hilbert–Huang Transform
Олегович, С. М., Kovalev, I., Konev, A. A., Kostyuchenko, E. Y., & Mitsel, A. A. (2022) · Computers · doi:10.3390/computers11030047 · Cited by 17
“In general, this can be achieved using specific embedding and classification losses such as the triplet loss [39], ArcFace Loss [40] or multi-similarity loss [41].”
MethodMemory Linked Anomaly Metric Learning of Thermography Rail Defects Detection System
Zhang, X., Gao, B., Shi, Y., Woo, W. L., & Li, H. (2021) · IEEE Sensors Journal · doi:10.1109/jsen.2021.3112698 · Cited by 17
Cattle verification with YOLO and cross-attention encoder-based pairwise triplet loss
Kumar, N., Sharma, A., Kumar, A., Singh, R., & Singh, S. K. (2025) · Computers and Electronics in Agriculture · doi:10.1016/j.compag.2025.110223 · Cited by 17
BPFNet: A Unified Framework for Bimodal Palmprint Alignment and Fusion
Li, Z., Liang, X., Fan, D., Li, J., & Zhang, D. D. (2021) · Communications in computer and information science · doi:10.1007/978-3-030-92310-5_4 · Cited by 17
Wang, S., Kang, Q., She, R., Zhao, K., Song, Y., & Tay, W. P. (2024) · IEEE Transactions on Intelligent Transportation Systems · doi:10.1109/tits.2024.3465830 · Cited by 17
“Both of our proposed models, PRFusion and PRFusion ++ , adopt the triplet loss [56]: where f a , f p , f n are descriptors of an anchor, a positive sample and a negative sample, and m is the margin hyperparameter.”
Class token and knowledge distillation for multi-head self-attention speaker verification systems
Mingote, V., Miguel, A., Ortega, A., & Lleida, E. (2022) · Digital Signal Processing · doi:10.1016/j.dsp.2022.103859 · Cited by 17
Artist Similarity for Everyone: A Graph Neural Network Approach
Korzeniowski, F., Oramas, S., & Gouyon, F. (2022) · Transactions of the International Society for Music Information Retrieval · doi:10.5334/tismir.143 · Cited by 17
Nagarajan, T., & Grauman, K. L. (2018) · Cited by 17
Intra-Variable Handwriting Inspection Reinforced With Idiosyncrasy Analysis
Adak, C., Chaudhuri, B. B., Lin, C.-T., & Blumenstein, M. (2020) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2020.2991833 · Cited by 17
“For similarity metric learning, we adopt the idea of triplet network [40], which is quite a popular technique in the literature [40]–[42].”
MethodLi, J., Han, L., Wang, Y., Yuan, B., Yuan, X., Yang, Y., & Yan, H. (2022) · Neural Computing and Applications · doi:10.1007/s00521-022-06896-0 · Cited by 17
“Triplet loss [15, 16, 40] was used in computer vision to reduce the distance of positive pairs and increase the distance of negative pairs.”
MethodPhoto-to-shape material transfer for diverse structures
Hu, R., Su, X., Chen, X., van Kaick, O. M., & Huang, H. F. (2022) · ACM Transactions on Graphics · doi:10.1145/3528223.3530088 · Cited by 17
“Moreover, Zhu et al. [2018] colorize 3D furniture models and indoor scenes according to an image exemplar, based on transferring color information across image segmentations. Huang et al. [2018b] facilitate the transfer of a detailed texture from a photograph to a 3D model by aligning a simple proxy to the object in t…”
BackgroundMethodInfluentialShao, H., Li, P., & Zhong, D. (2024) · IEEE Transactions on Image Processing · doi:10.1109/tip.2024.3451933 · Cited by 17
“…databases to compare our method with other methods, including Softmax [63], Incorporating MobileFaceNet and Circle loss (IMC) [64], triplet loss [57], Large Margin Cosine Loss (LMCL) [65], Mixup [43], Deep-CORAL [66], Variance-Risk Extrapolation (VREX) [67], Representation Self-Challenging…”
BackgroundMethodManifold Matching via Deep Metric Learning for Generative Modeling
Dai, M., & Hang, H. (2021) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.00652 · Cited by 17
“Hoffer and Ailon implemented deep metric learning with Triplet network [18] which aimed to learn useful representations through distance comparisons.”
BackgroundZhang, B., Kong, Y., Essl, G., & Provost, E. M. (2019) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v33i01.33015725 · Cited by 17
“DNNs with triplet loss (Hoffer and Ailon 2015; Schroff, Kalenichenko, and Philbin 2015) aim to learn an embedding space where the distance between the anchor and the positive example is at least smaller than the distance between that anchor and the negative example by a margin τ .”
BackgroundMethodEnergy-based Self-attentive Learning of Abstractive Communities for Spoken Language Understanding
Shang, G., Tixier, A. J. ‐., Vazirgiannis, M., & Lorré, J.-P. (2020) · Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the International Joint Conference on Natural Language Processing (AACL-IJCNLP) · doi:10.18653/v1/2020.aacl-main.34 · Cited by 17
Unsupervised Learning of Semantic Audio RepresentationsPreprint
Jansen, A., Plakal, M., Pandya, R., Ellis, D. P. W., Hershey, S., Liu, J., Moore, R. C., & Saurous, R. A. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1711.02209 · Cited by 17
“We instead resort to deep metric learning using triplet loss [7, 8, 9], which finds a nonlinear mapping into a low dimensional space where simple Euclidean distance can express any desired relationship between examples of the form X is more like Y than like Z.”
BackgroundDindorf, C., Konradi, J., Wolf, C., Taetz, B., Bleser, G., Huthwelker, J., Werthmann, F., Drees, P., Fröhlich, M., & Betz, U. (2021) · Computer Methods in Biomechanics & Biomedical Engineering · doi:10.1080/10255842.2021.1981884 · Cited by 17
“Previous research showed that an SNN with triplet loss could learn better representations compared to an SNN with contrastive loss (Hoffer and Ailon 2018).”
Cilingir, K., Manzelli, R., & Kulis, B. (2020) · OpenBU (Boston University) · doi:10.48550/arxiv.2005.02612 · Cited by 17
“Deep metric learning approaches replace the linear mapping learned in Mahalanobis metric learning methods with more general mappings that are learned via neural networks (Hoffer & Ailon, 2015; Chopra et al., 2005).”
BackgroundMethodInfluentialMultimodal Multitask Deep Learning for X-Ray Image Retrieval
Yu, Y., Hu, P., Lin, J., & Krishnaswamy, P. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-87240-3_58 · Cited by 17
Gao, W., Raghavan, P., Shprints, R., & Coley, C. W. (2025) · Journal of the American Chemical Society · doi:10.1021/jacs.5c01120 · Cited by 18
Semi-supervised Learning with a Teacher-Student Network for Generalized Attribute Prediction
Shin, M. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-58621-8_30 · Cited by 17
Hi-Gen: Generative Retrieval For Large-Scale Personalized E-commerce SearchPreprint
Wu, Y., Feng, Y., Wang, J., Zhou, W., Ye, Y., Xiao, R., & Xiao, J. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2404.15675 · Cited by 17
“As we know, metric learning can map the original features into some appropriate feature space where similar items are closer to each other, and dissimilar items are further apart [30]–[33].”
BackgroundOğul, B. B., & Özdemir, S. (2021) · IEEE Access · doi:10.1109/access.2021.3136724 · Cited by 17
“Some of these studies can be grouped into multi-stream learning models, such as Siamese or triplet networks, for ‘classification’ of objects [20].”
BackgroundThe magnitude vector of images
Adamer, M. F., Brouwer, E. D., O’Bray, L., & Rieck, B. (2024) · Journal of Applied and Computational Topology · doi:10.1007/s41468-024-00182-9 · Cited by 17
“Many techniques for metric learning have been developed including triplet losses (Ge 2018) and triplet networks (Hoffer and Ailon 2015).”
SAQAM: Spatial Audio Quality Assessment Metric
Manocha, P., Kumar, A., Xu, B., Menon, A. K., Gebru, I. D., Ithapu, V. K., & Calamia, P. T. (2022) · Interspeech (USB) · doi:10.21437/interspeech.2022-406 · Cited by 17
Beyond Frontal Face Recognition
Joseph, M., & Elleithy, K. M. (2023) · IEEE Access · doi:10.1109/access.2023.3258444 · Cited by 17
“Even when the inputs are pair or triplets’ images [22], [23], features are extracted from each image separately, and the outputs are later optimized with a one-hot encoding vector.”
MethodMatching individual Ladoga ringed seals across short-term image sequences
Nepovinnykh, E., Chelak, I., Lushpanov, A., Eerola, T., Kalviainen, H. A., & Chirkova, O. (2022) · Mammalian Biology · doi:10.1007/s42991-022-00229-3 · Cited by 16
“Instead of using the standard triplet loss (Hoffer and Ailon 2015) that was used in Nepovinnykh et al.”
MethodLearning Thematic Similarity Metric from Article Sections Using Triplet Networks
Ein Dor, L., Mass, Y., Halfon, A., Venezian, E., Shnayderman, I., Aharonov, R., & Slonim, N. (2018) · Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) · doi:10.18653/v1/p18-2009 · Cited by 30
“This results in a sizable training set of weakly labeled triplets, used to train a triplet neural network (Hoffer and Ailon, 2015), aiming to predict which sentence is from the same section as the pivot in each triplet.”
BackgroundMethodInfluentialA Residual-Dyad Encoder Discriminator Network for Remote Sensing Image Matching
Khurshid, N., Tharani, M., Taj, M., & Qureshi, F. Z. (2019) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2019.2951820 · Cited by 16
“in [28] and [55], for example, uses contrastive loss between image pairs, whereas the triplet network [56] computes a loss”
BackgroundUnsupervised Distillation of Syntactic Information from Contextualized Word Representations
Ravfogel, S., Elazar, Y., Goldberger, J., & Goldberg, Y. (2020) · BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP (BlackboxNLP) · doi:10.18653/v1/2020.blackboxnlp-1.9 · Cited by 16
Li, H., Wang, J., Li, Z., Cecil, K. M., Altaye, M., Dillman, J. R., Parikh, N. A., & He, L. (2024) · NeuroImage · doi:10.1016/j.neuroimage.2024.120579 · Cited by 16
“The proposed SCL-GCN model also achieved a mean AUC of 0.75, outperformed Triplet-GCN (0.73, p 0.001) and GCN (0.70, p 0.001).”
InfluentialToward Interactive Sound Source Localization: Better Align Sight and Sound!
Senocak, A., Ryu, H., Kim, J., Oh, T.-H., Pfister, H., & Chung, J. S. (2025) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2025.3573994 · Cited by 16
“The most widely used approach for sound source localization is cross-modal attention [50], [51], [58] with contrastive loss [12], [25], [40].”
Metric Learning in Histopathological Image Classification: Opening the Black Box
Amato, D., Calderaro, S., Bosco, G. L., Rizzo, R., & Vella, F. (2023) · Sensors · doi:10.3390/s23136003 · Cited by 16
“In this field, the most-used architectures are the siamese networks [38] and the triplet networks [39].”
MethodDing, C., Wang, M., Zhou, Z., Huang, T. H., Wang, X., & Li, J. (2022) · Neural Computing and Applications · doi:10.1007/s00521-022-08092-6 · Cited by 16
“…loss of AP can be approximated by The objective function during optimization is denoted by Compared to the popular constructive loss-based CBRSIR system such as triplet loss [67, 68], Smooth-AP loss is able to approximate the standard AP, and thus, it can optimize the AP metric more effectively.”
BackgroundMethodHuman Identification with Dental Panoramic Images Based on Deep Learning
Wu, Q., Fan, F., Liao, P., Lai, Y., Ke, W., Du, W., Chen, H., Deng, Z., & Zhang, Y. (2021) · Sensing and Imaging · doi:10.1007/s11220-020-00326-y · Cited by 16
“Generally, softmax loss is the first choice due to its robustness to various kinds of classification or recognition tasks [39–45].”
BackgroundOverlap Suppression Clustering for Offline Multi-Camera People Tracking
Yoshida, R., Okubo, J., Fujii, J., Amakata, M., & Yamashita, T. (2024) · IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · doi:10.1109/cvprw63382.2024.00710 · Cited by 16
“Re-ID has traditionally been considered a challenging task; however, recent training methods, such as Triplet Loss [17], have established a technical foundation for models with high identification capabilities for individuals.”
MethodModeling Vocal Entrainment in Conversational Speech Using Deep Unsupervised Learning
Nasir, M., Baucom, B., Bryan, C. J., Narayanan, S. S., & Georgiou, P. (2020) · IEEE Transactions on Affective Computing · doi:10.1109/taffc.2020.3024972 · Cited by 16
“Triplet networks [49] have shown promising results in learning embeddings such that the distance in that embedding directly can be mapped into similarity (or dissimilarity in a variable of interest).”
BackgroundDeep Common Semantic Space Embedding for Sketch-Based 3D Model Retrieval
Bai, J., Wang, M., & Kong, D. (2019) · Entropy · doi:10.3390/e21040369 · Cited by 16
“Compared with the Siamese network with contrastive loss, the triplet network [30] learns a ranking function for retrieval, which has more relaxed constraints.”
BackgroundIncremental Embedding Learning With Disentangled Representation Translation
Wei, K., Chen, D., Li, Y., Yang, X., Deng, C. D., & Tao, D. (2022) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2022.3199816 · Cited by 16
“For the embedding network, the objective function is triplet loss, following [32], which is denoted as follows : After the training process of task t is complete, we employ an NCM classifier to conduct classification in the embedding space, which is also denoted as the classification space of task t .”
MethodAccelerating Ecological Sciences from Above: Spatial Contrastive Learning for Remote Sensing
Björck, J., Rappazzo, B., Shi, Q., Brown‐Lima, C. J., Dean, J. M., Fuller, A. K., & Gomes, C. P. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i17.17728 · Cited by 16
“Tile2Vec uses a triplet loss (Hoffer and Ailon 2015) to train a feature extracting network to push geographically nearby tiles close together in the extracted feature space.”
Few-shot and Zero-shot Approaches to Legal Text Classification: A Case Study in the Financial Sector
Sarkar, R., Ojha, A. K., Megaro, J., Mariano, J., Herard, V., & McCrae, J. P. (2021) · Natural Legal Language Processing Workshop (NLLP) · doi:10.18653/v1/2021.nllp-1.10 · Cited by 16
“Triplet loss (Hoffer and Ailon, 2015) has been used in few-shot classification methods.”
MethodAlgorithm-Dependent Generalization of AUPRC Optimization: Theory and Algorithm
Wen, P., Xu, Q., Yang, Z., He, Y., & Huang, Q. (2024) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2024.3361861 · Cited by 16
“Competitors: To validate the advantages of the proposed method over the state-of-the-art methods in image retrieval, we compare two types of competitors: 1) Pairwise Losses , including Contrastive Loss [33], Triplet Loss [38], Multi-Similarity (MS) Loss [84], Cross-Batch Memory (XBM) [86].”
MethodFew-shot Metric Learning: Online Adaptation of Embedding for Retrieval
Jung, D., Kang, D., Kwak, S., & Cho, M. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-26348-4_4 · Cited by 16
One-Shot Informed Robotic Visual Search in the Wild
Koreitem, K., Shkurti, F., Manderson, T., Chang, W.-D., Higuera, J. C. G., & Dudek, G. (2020) · IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros45743.2020.9340914 · Cited by 16
“3) Training and fine-tuning: We build a triplet network [56] using three instances of the ResNet18 [55] architecture neural network as the baseline encoding framework and share parameters across the instances.”
MethodMATWI: A Multimodal Automatic Tool Wear Inspection Dataset and Baseline Algorithms
Pauw, L. D., Jacobs, T., & Goedemé, T. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-44137-0_22 · Cited by 16
Large-Scale Metric Learning: A Voyage From Shallow to Deep
Faraki, M., Harandi, M. T., & Porikli, F. (2017) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2017.2761773 · Cited by 16
“Very recent works in deep metric learning include the work in [14] and [24], in which an LMNN-based triplet loss layer is used to direct CNN parameter learning.”
BackgroundEnhanced object detection in low-visibility haze conditions with YOLOv9s
Zhang, Y., Zhou, B., Zhao, X., & Song, X. (2025) · PLoS ONE · doi:10.1371/journal.pone.0317852 · Cited by 16
“In traditional self-supervised representation learning, contrastive learning is often applied to high-level vision tasks, inspired by the fundamental ideas of N-pair loss [35], noise-contrastive estimation [36], and triplet loss [37].”
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.