Person re-identification (ReID) aims to retrieve images of the same pedestrian across different cameras. However, the non-overlapping identities between training and testing sets, together with large intra-class variation, make it challenging to learn generalizable pedestrian representations. Most existing ReID loss functions mainly focus on intra-class compactness and inter-class separation, which may overlook useful intra-class differences. To address these issues, we propose a novel Intra-Class Diversity (ICD) loss that aims to maximize intra-class differences in classification-irrelevant directions. To the best of our knowledge, we are the first to introduce this class-weight-orthogonal diversity learning objective for person ReID. Specifically, based on the geometric relationship between the learned representation and its corresponding class-weight vector, we decompose each representation into the component along the class-weight direction and its orthogonal component. This decomposition provides a clear and interpretable geometric basis for modeling intra-class diversity. ICD then encour- ages larger differences among the orthogonal components of samples belonging to the same identity, while the classification loss maintains identity discrimination. The proposed ICD loss can be incorporated into existing ReID frameworks as an additional regularization term without modifying the feature extraction network. Extensive experiments on three widely used ReID datasets demonstrate the effectiveness of ICD and its complementarity with existing metric learning losses.
Figures & tables
Figure 1: Two specific challenges in person ReID and the motivation of the proposed ICD loss. (a) Non-overlapping identities between the training and testing sets. (b) Large intra-class variation among images of the same pedestrian. (c) Illustration of increasing intra-class differences in class-orthogonal directions, where x1 , x2 , and x3 represent different images of the same identity, and W denotes the corresponding class-weight vector.
Figure 2: The overall framework of the proposed ICD loss for person ReID. First, The feature learning network is used to extract the pedestrian representation Z from the input image. Next, the pedestrian representation Z is projected onto a unit hypersphere together with the class weight vector Wj in the linear classifier. Finally, the ICD loss and the CE loss are calculated to guide the training of the network together.
Figure 3: The training pipeline of identity classification for person ReID. The feature learning network extracts the pedestrian representation, which is then fed into a linear classifier to calculate identity classification scores and the cross-entropy loss.
Figure 4: Geometric interpretation of the classification problem. After L2 normalization, the representation vector and class-weight vector lie on a unit hypersphere. Their cosine similarity is determined by the angle between them.
Figure 5: Geometric interpretation of the proposed ICD loss. The overall view shows the relationship between the representation vector and its corresponding class-weight vector. The side view illustrates the decomposition of the representation vector, while the top view shows the differences among the orthogonal components of different images belonging to the same identity.
Market1501
DukeMTMC-reID
MSMT17
Methods
R-1
mAP
R-1
mAP
R-1
mAP
Baseline (cross-entropy only)
93.3
83.1
84.3
72.9
71.4
47.1
Baseline + ICD
94.2
84.5
84.8
74.1
72.6
48.2
Baseline + Triplet
94.7
86.8
88.8
79.3
81.8
61.0
Baseline + Triplet + ICD
95.6
87.2
89.3
80.4
82.7
63.8
Baseline + AdaSP
94.3
87.0
89.0
80.0
82.0
62.2
Table 1: Ablation study of the proposed ICD loss and its complementarity with Triplet and AdaSP losses on three person ReID datasets. All experiments use ViT as the backbone. Rank-1 and mAP are reported.
Market1501
DukeMTMC-reID
MSMT17
Methods
R-1
mAP
R-1
mAP
R-1
mAP
OSNet [ 30 ]
94.8
84.9
88.6
73.5
78.7
52.9
SCSN [ 31 ]
95.7
88.5
91.0
79.0
83.8
58.5
HAT [ 32 ]
95.6
89.5
90.4
81.4
82.3
61.2
AAformer [ 33 ]
95.4
87.7
90.1
80.0
83.6
63.2
DCAL [ 34 ]
94.7
87.5
89.0
80.1
83.1
64.0
Table 2: Comparison with representative state-of-the-art person ReID methods on Market1501, DukeMTMC-reID, and MSMT17. Rank-1 and mAP are reported. Published results are reported under the corresponding experimental settings.
Figure 6: t-SNE visualization of the learned representations of six randomly selected training identities from Market1501, with 16 images per identity. Different colors denote different identities, and the blue stars represent their corresponding class-weight vectors. The left and right figures show the feature distributions learned with CE loss and CE + ICD loss, respectively.
As a fundamental image processing task, object Re-Identification (ReID) aims to retrieve objects across non-overlapping cameras. Recently, with the development of deep learning, significant advancements have been made in object ReID. However, most existing methods suffer from generalization due to the limited size and diversity of ReID datasets. Meanwhile, current models tend to focus on extracting semantic patterns rather than learning identity-aware feature distributions. To address these issues, we propose a novel feature learning framework named DiffReID for object ReID. It leverages a discriminative diffusion model to gradually learn identity-aware distributions and generate identity-invariant features. More specifically, with the Contrastive Language-Image Pre-training (CLIP) model, we first obtain identity-aware text features by prompt tuning. Then, we propose a Vision-guided Noise Generator (VNG) to initialize probabilistic noises and gradually corrupt identity-aware text features. Afterwards, we take visual features as conditions and propose a Light Weight Denoiser (LWD) to denoise the corrupted text features step-by-step for identity-aware distribution learning. To obtain discriminative features, we further generate identity-invariant guided features from randomly sampling visual-guided noises. Finally, we propose a Mutual Enhancement Constraint (MEC) to facilitate mutual learning between visual features and guided features to enhance the representation robustness and discrimination. Extensive experiments on five object ReID benchmarks demonstrate that our method shows better results than most state-of-the-art methods. The source code is available at https://github.com/AWangYQ/DiffReID.
Yingquan Wang, Pingping Zhang, Dong Wang +1
School of Information and Communication Engineering, Dalian University of Technology · School of Future Technology, Dalian University of Technology
Learning identity-discriminative representations with multi-scene generality has become a critical objective in person re-identification (ReID). However, mainstream perception-driven paradigms tend to identify fitting from massive annotated data rather than identity-causal cues understanding, which presents a fragile representation against multiple disruptions. In this work, ReID-R is proposed as a novel reasoning-driven paradigm that achieves explicit identity understanding and reasoning by incorporating chain-of-thought into the ReID pipeline. Specifically, ReID-R consists of a two-stage contribution: (i) Discriminative reasoning warm-up, where a model is trained in a CoT label-free manner to acquire identity-aware feature understanding; and (ii) Efficient reinforcement learning, which proposes a non-trivial sampling to construct scene-generalizable data. On this basis, ReID-R leverages high-quality reward signals to guide the model toward focusing on ID-related cues, achieving accurate reasoning and correct responses. Extensive experiments on multiple ReID benchmarks demonstrate that ReID-R achieves competitive identity discrimination as superior methods using only 14.3K non-trivial data (20.9% of the existing data scale). Furthermore, benefit from inherent reasoning, ReID-R can provide high-quality interpretation for results.
Visible-infrared person re-identification (VI-ReID) suffers from cross-modal discrepancies and limited discriminative capabilities, leading to suboptimal recognition performance. Current approaches exhibit limitations in semantic mining, cross-modal fusion and feature constraints. To tackle these challenges, we propose MDCRNet, a Multi-scale Decomposed Convolution Refinement Network that enhances cross-modal feature learning and discriminative metric learning. Specifically, we introduce a Hierarchical Learning Module (HLM) containing four Hierarchical Decomposed Convolution Attention (HDCA) modules, each equipped with lightweight channel attention and multi-scale spatial perception blocks to capture multi-scale spatial dependencies. Moreover, we develop a Joint Discriminative Metric Loss (JDML) incorporating a novel Granularity Discriminative Loss (GDL) that simultaneously optimizes intra-identity compactness and inter-identity separability across modalities. Extensive experiments on SYSU-MM01 and RegDB datasets demonstrate that MDCRNet achieves state-of-the-art performance on both benchmarks. Code is available at https://github.com/Kevin-zms/MDCRNet.
Mingsheng Zheng, Zirui Jiang, Bo Liu +3
School of Computer Science and Technology, Xinjiang University, Urumqi, Xinjiang 830046, China · Joint International Research Laboratory of Silk Road Multilingual Cognitive Computing, Xinjiang University, Urumqi, Xinjiang 830046, China