JOURNAL ARTICLE

A Balanced Triplet Loss for Person Re-Identification

Zhenyu LuYonggang Lu

Year: 2022 Journal:   International Journal of Pattern Recognition and Artificial Intelligence Vol: 37 (01)   Publisher: World Scientific

Abstract

Compared to cross-entropy in deep learning, triplet loss is less affected by the biased label information and widely used in fine-grained visual tasks. Especially in person re-identification (re-ID), triplet loss is improved with batch-hard sampling which only selects the hardest samples during the training process to reduce invalid triplets involved in the loss computation. The hardest samples’ loss computation can provide a more intense gradient descent than raw samples. However, the batch-hard triplet loss discards multiple samples with important information, which can negatively impact feature learning. Besides, the hardest samples cause loss stuck problems frequently in training. In this work, we propose a balanced triplet loss for comprehensive feature learning and stable model convergence. The balanced triplet loss only mines the hardest negative samples of each category within a mini-batch. Compared with batch-hard triplet loss, it preserves the features of all the negative categories rather than one negative category with the hardest negative sample. It achieves a balance between triplet selection and information loss. The experiments show that our method can produce competitive results in re-ID tasks. In addition, we analyze the correlation between the intensity of data mining and the granularity of feature learning and further adapt the balanced triplet loss to general fine-grained image classification. The experiments prove the adapted balanced triplet loss also outperforms cross-entropy in multiple datasets of different scales.

Keywords:
Computer science Cross entropy Granularity Computation Feature (linguistics) Information loss Pattern recognition (psychology) Entropy (arrow of time) Artificial intelligence Machine learning Algorithm Physics

Metrics

2
Cited By
0.12
FWCI (Field Weighted Citation Impact)
15
Refs
0.40
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Video Surveillance and Tracking Methods
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Human Pose and Action Recognition
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Gait Recognition and Analysis
Physical Sciences →  Engineering →  Biomedical Engineering

Related Documents

JOURNAL ARTICLE

Person Re-Identification With Triplet Focal Loss

Shizhou ZhangQi ZhangXing WeiYanning ZhangYong Xia

Journal:   IEEE Access Year: 2018 Vol: 6 Pages: 78092-78099
BOOK-CHAPTER

Triplet Ratio Loss for Robust Person Re-identification

Shuping HuKan WangJun ChengHuan TanJianxin Pang

Lecture notes in computer science Year: 2022 Pages: 42-54
JOURNAL ARTICLE

Modified centroid triplet loss for person re-identification

Alaa AlnissanyYazan Dayoub

Journal:   Journal Of Big Data Year: 2023 Vol: 10 (1)
© 2026 ScienceGate Book Chapters — All rights reserved.