# Beyond Triplet Loss: Person Re-identification with Fine-grained Difference-aware Pairwise Loss

arXiv: https://arxiv.org/abs/2009.10295 · HTML: https://mlsanity.com/paper/2009.10295/

## Key facts

- Cited by 32 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 22 Sep 2020.

## Built on by (most cited first, 30 of 32)

- [CLIP-ReID: Exploiting Vision-Language Model for Image Re-Identification without Concrete Text Labels](https://mlsanity.com/paper/2211.13977/) (2022)
- [Dual Cross-Attention Learning for Fine-Grained Visual Categorization and Object Re-Identification](https://mlsanity.com/paper/2205.02151/) (2022)
- [WildlifeDatasets: An open-source toolkit for animal re-identification](https://mlsanity.com/paper/2311.09118/) (2023)
- [Deep Frequency Filtering for Domain Generalization](https://mlsanity.com/paper/2203.12198/) (2022)
- [Modality Unifying Network for Visible-Infrared Person Re-Identification](https://mlsanity.com/paper/2309.06262/) (2023)
- [Deep Learning-based 3D Point Cloud Classification: A Systematic Survey and Outlook](https://mlsanity.com/paper/2311.02608/) (2023)
- [Deep learning-based person re-identification methods: A survey and outlook of recent works](https://mlsanity.com/paper/2110.04764/) (2021)
- [Quality-aware Part Models for Occluded Person Re-identification](https://mlsanity.com/paper/2201.00107/) (2022)
- [CMTR: Cross-modality Transformer for Visible-infrared Person Re-identification](https://mlsanity.com/paper/2110.08994/) (2021)
- [MSINet: Twins Contrastive Search of Multi-Scale Interaction for Object ReID](https://mlsanity.com/paper/2303.07065/) (2023)
- [Uncertainty-aware Clustering for Unsupervised Domain Adaptive Object Re-identification](https://mlsanity.com/paper/2108.09682/) (2021)
- [Graph Convolution Based Efficient Re-Ranking for Visual Retrieval](https://mlsanity.com/paper/2306.08792/) (2023)
- [Dual-Tuning: Joint Prototype Transfer and Structure Regularization for Compatible Feature Learning](https://mlsanity.com/paper/2108.02959/) (2021)
- [Style Interleaved Learning for Generalizable Person Re-identification](https://mlsanity.com/paper/2207.03132/) (2022)
- [Video Person Re-identification using Attribute-enhanced Features](https://mlsanity.com/paper/2108.06946/) (2021)
- [CLIP-DFGS: A Hard Sample Mining Method for CLIP in Generalizable Person Re-Identification](https://mlsanity.com/paper/2410.11255/) (2024)
- [Color Prompting for Data-Free Continual Unsupervised Domain Adaptive Person Re-Identification](https://mlsanity.com/paper/2308.10716/) (2023)
- [PersonMAE: Person Re-Identification Pre-Training with Masked AutoEncoders](https://mlsanity.com/paper/2311.04496/) (2023)
- [Enhancing person re-identification via Uncertainty Feature Fusion Method and Auto-weighted Measure Combination](https://mlsanity.com/paper/2405.01101/) (2024)
- [ProtoHPE: Prototype-guided High-frequency Patch Enhancement for Visible-Infrared Person Re-identification](https://mlsanity.com/paper/2310.07552/) (2023)
- [Making Person Search Enjoy the Merits of Person Re-identification](https://mlsanity.com/paper/2108.10536/) (2021)
- [Point-LN: A Lightweight Framework for Efficient Point Cloud Classification Using Non-Parametric Positional Encoding](https://mlsanity.com/paper/2501.14238/) (2025)
- [Graph Diffusion Network for Drug-Gene Prediction](https://mlsanity.com/paper/2502.09335/) (2025)
- [Rejoining fragmented ancient bamboo slips with physics-driven deep learning](https://mlsanity.com/paper/2505.08601/) (2025)
- [Feature Diversity Learning with Sample Dropout for Unsupervised Domain Adaptive Person Re-identification](https://mlsanity.com/paper/2201.10212/) (2022)
- [Generative Modeling in Structural-Hankel Domain for Color Image Inpainting](https://mlsanity.com/paper/2211.13857/) (2022)
- [DaliID: Distortion-Adaptive Learned Invariance for Identification Models](https://mlsanity.com/paper/2302.05753/) (2023)
- [Vision-based Vehicle Re-identification in Bridge Scenario using Flock Similarity](https://mlsanity.com/paper/2403.07752/) (2024)
- [DDRN:a Data Distribution Reconstruction Network for Occluded Person Re-Identification](https://mlsanity.com/paper/2410.06600/) (2024)
- [Outliers resistant image classification by anomaly detection](https://mlsanity.com/paper/2411.10150/) (2024)

## Abstract (arXiv)

Person Re-IDentification (ReID) aims at re-identifying persons from different viewpoints across multiple cameras. Capturing the fine-grained appearance differences is often the key to accurate person ReID, because many identities can be differentiated only when looking into these fine-grained differences. However, most state-of-the-art person ReID approaches, typically driven by a triplet loss, fail to effectively learn the fine-grained features as they are focused more on differentiating large appearance differences. To address this issue, we introduce a novel pairwise loss function that enables ReID models to learn the fine-grained features by adaptively enforcing an exponential penalization on the images of small differences and a bounded penalization on the images of large differences. The proposed loss is generic and can be used as a plugin to replace the triplet loss to significantly enhance different types of state-of-the-art approaches. Experimental results on four benchmark datasets show that the proposed loss substantially outperforms a number of popular loss functions by large margins; and it also enables significantly improved data efficiency.
