Skip to main content
QUICK REVIEW

[Paper Review] How to Train Triplet Networks with 100K Identities?

Chong Wang, Xue Zhang|arXiv (Cornell University)|Sep 9, 2017
Face recognition and analysisComputer Science11 references19 citations
TL;DR

This paper proposes a subspace learning approach to train triplet networks with 100K identities by dividing identities into subspaces of similar identities, enabling more effective hard triplet mining via batch online hard negative mining (OHNM). The method achieves state-of-the-art performance on the MS-Celeb-1M Challenge1, attaining 99.48% LFW accuracy and 75% recall on the random set—matching the theoretical upper limit without external data.

ABSTRACT

Training triplet networks with large-scale data is challenging in face recognition. Due to the number of possible triplets explodes with the number of samples, previous studies adopt the online hard negative mining(OHNM) to handle it. However, as the number of identities becomes extremely large, the training will suffer from bad local minima because effective hard triplets are difficult to be found. To solve the problem, in this paper, we propose training triplet networks with subspace learning, which splits the space of all identities into subspaces consisting of only similar identities. Combined with the batch OHNM, hard triplets can be found much easier. Experiments on the large-scale MS-Celeb-1M challenge with 100K identities demonstrate that the proposed method can largely improve the performance. In addition, to deal with heavy noise and large-scale retrieval, we also make some efforts on robust noise removing and efficient image retrieval, which are used jointly with the subspace learning to obtain the state-of-the-art performance on the MS-Celeb-1M competition (without external data in Challenge1).

Motivation & Objective

  • Address the challenge of training triplet networks at scale (100K identities), where standard online hard negative mining fails due to sparse hard triplets.
  • Overcome the difficulty of finding effective hard triplets in large-scale face recognition by structuring identities into subspaces of similar identities.
  • Improve training efficiency and model robustness by integrating noise removal and hierarchical retrieval techniques for large-scale, noisy datasets.
  • Achieve state-of-the-art performance on the MS-Celeb-1M Challenge1 without using external data, particularly in the hard set where recall is significantly improved.

Proposed method

  • Split the entire identity space into subspaces using clustering based on identity representations, ensuring each subspace contains only similar identities.
  • Apply batch online hard negative mining (OHNM) within each subspace to efficiently discover hard triplets that are semantically meaningful and effective for training.
  • Introduce a three-step noise removal method that identifies and removes noisy face images by leveraging a pre-trained classification model, improving data quality.
  • Implement a two-layer hierarchical retrieval strategy that reduces search space from 5.04M to ~100K + 50 candidates per query, drastically accelerating inference.
  • Use GPU-accelerated matrix multiplication in the retrieval pipeline to achieve sub-0.1s per-image inference time.
  • Combine subspace learning, noise removal, and hierarchical retrieval into an end-to-end pipeline for large-scale face recognition.

Experimental results

Research questions

  • RQ1How can effective hard triplets be reliably mined in triplet networks trained on 100K identities, where the probability of sampling similar identities is extremely low?
  • RQ2Can subspace clustering of identities improve the quality and discoverability of hard triplets during training?
  • RQ3How does noise in large-scale datasets like MS-Celeb-1M affect triplet network performance, and what strategies can effectively clean such data?
  • RQ4What retrieval strategy enables efficient and accurate face identification at scale (5M images) without sacrificing precision?
  • RQ5Can a single triplet network trained with subspace learning and data cleaning achieve state-of-the-art performance on MS-Celeb-1M without external data?

Key findings

  • The proposed subspace learning with batch OHNM achieves 99.48% LFW accuracy, outperforming standard triplet training and approaching FaceNet’s 99.63% with 8M identities.
  • On the MS-Celeb-1M Challenge1 without external data, the method achieves 75% recall on the random set—reaching the theoretical upper limit.
  • The hard set recall reaches 60.6%, significantly improving upon prior methods (e.g., 53.4% by CIGIT_NLPR), demonstrating robustness to hard samples.
  • The noise removal method achieves 99.36% LFW accuracy, outperforming both the original data and the fixed-ratio baseline, indicating superior noise handling.
  • The two-layer hierarchical retrieval with GPU acceleration reduces per-image retrieval time to 0.052 seconds, achieving full inference on 50K test images in about one hour.
  • The method achieves competitive performance compared to teams using external data, with 60.6% hard set recall—surpassing teams like SmileLab (61%) and Panasonic-NUS (79.1%) in precision-optimized recall.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.