Skip to main content
QUICK REVIEW

[Paper Review] In Defense of the Triplet Loss Again: Learning Robust Person Re-Identification with Fast Approximated Triplet Loss and Label Distillation

Ye Yuan, Wuyang Chen|arXiv (Cornell University)|Dec 17, 2019
Video Surveillance and Tracking MethodsComputer Science46 references9 citations
TL;DR

This paper proposes Fast-Approximated Triplet (FAT) loss, a linear-complexity alternative to standard triplet loss for person re-identification, by replacing point-to-point with point-to-set distances and enforcing cluster compactness. It further introduces label distillation using soft pseudo-labels to improve robustness to noisy labels, achieving state-of-the-art accuracy and direct transfer performance on Market-1501, DukeMTMC-reID, and MSMT17.

ABSTRACT

The comparative losses (typically, triplet loss) are appealing choices for learning person re-identification (ReID) features. However, the triplet loss is computationally much more expensive than the (practically more popular) classification loss, limiting their wider usage in massive datasets. Moreover, the abundance of label noise and outliers in ReID datasets may also put the margin-based loss in jeopardy. This work addresses the above two shortcomings of triplet loss, extending its effectiveness to large-scale ReID datasets with potentially noisy labels. We propose a fast-approximated triplet (FAT) loss, which provably converts the point-wise triplet loss into its upper bound form, consisting of a point-to-set loss term plus cluster compactness regularization. It preserves the effectiveness of triplet loss, while leading to linear complexity to the training set size. A label distillation strategy is further designed to learn refined soft-labels in place of the potentially noisy labels, from only an identified subset of confident examples, through teacher-student networks. We conduct extensive experiments on three most popular ReID benchmarks (Market-1501, DukeMTMC-reID, and MSMT17), and demonstrate that FAT loss with distilled labels lead to ReID features with remarkable accuracy, efficiency, robustness, and direct transferability to unseen datasets.

Motivation & Objective

  • Address the high computational cost of standard triplet loss in large-scale person re-identification.
  • Improve robustness to label noise and outliers in real-world ReID datasets.
  • Enable efficient, scalable training without hard sample mining while preserving the effectiveness of margin-based losses.
  • Demonstrate direct transferability of features to unseen datasets using distilled soft labels.

Proposed method

  • Derive FAT loss as a rigorous upper bound of standard triplet loss, replacing point-to-point distances with point-to-cluster centroid distances.
  • Introduce a cluster compactness regularization term to enforce tightness of identity clusters, improving generalization.
  • Design a distillation network to generate soft pseudo-labels from confident examples, reducing the impact of noisy hard labels.
  • Use teacher-student training: the teacher network generates soft labels on a subset of confident samples, which are then used to train the student network.
  • Replace one-hot labels in both cross-entropy and FAT loss with soft labels, reweighting gradients by label confidence.
  • Train with batchNeg or ctrdAll sampling strategies to further improve performance and generalization.

Experimental results

Research questions

  • RQ1Can a computationally efficient alternative to triplet loss be derived that maintains its ranking-based learning objective?
  • RQ2Does replacing point-to-point with point-to-set distance computation reduce training complexity while preserving performance?
  • RQ3Can label distillation with soft pseudo-labels mitigate the negative impact of noisy labels in large-scale ReID datasets?
  • RQ4Does the combination of FAT loss and label distillation improve both in-domain accuracy and zero-shot transfer performance?
  • RQ5Is the proposed method robust across diverse ReID benchmarks with varying levels of label noise?

Key findings

  • FAT loss achieves linear complexity with respect to training set size, significantly reducing training time compared to standard triplet loss.
  • On Market-1501, CE-FAT with batchNeg outperforms all prior state-of-the-art losses trained with ResNet50.
  • With DenseNet161, CE-FAT achieves state-of-the-art performance on Market-1501 and surpasses Cycle-GAN domain adaptation on direct transfer to DukeMTMC-reID.
  • On MSMT17, CE-FAT with batchNeg surpasses the previously reported SOTA performance, even without domain adaptation.
  • Label distillation using soft percentage method yields superior transfer performance, outperforming both hard methods and full-dataset training.
  • CE-FAT-distillation achieves state-of-the-art direct transfer performance from MSMT17 to DukeMTMC-reID, exceeding even HHL domain adaptation without target domain fine-tuning.

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.