NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bag of Tricks and A Strong Baseline for Deep Person Re-identification

Hao Luo, Youzhi Gu, Xingyu Liao, Shenqi Lai, Wei Jiang

Introduction

Person Re-identification (ReID) aims to identify individuals across non-overlapping camera views. While recent research has pivoted toward complex part-based models and auxiliary information like pose estimation, this paper argues that such complexity is often unnecessary. By systematically integrating simple training refinements—or "tricks"—into a standard ResNet50 backbone, the authors establish a powerful baseline that outperforms many state-of-the-art methods.

The "Bag of Tricks"

The authors identify six key refinements that, when combined, significantly boost ReID performance:

  1. Warmup Learning Rate: Gradually increases the learning rate at the start of training to stabilize the network.
  2. Random Erasing Augmentation (REA): A data augmentation technique that masks rectangular regions to help the model handle occlusions.
  3. Label Smoothing (LS): Modifies target distributions to prevent over-confidence and improve generalization.
  4. Last Stride Modification: Increases spatial resolution by setting the last stride of ResNet50 to 1 instead of 2.
  5. Center Loss: Minimizes the distance between features and their corresponding class centers to enhance intra-class compactness.
  6. BNNeck: A structural innovation to balance competing loss functions.
The proposed strong baseline architecture featuring BNNeck and Random Erasing.

BNNeck: Resolving Loss Conflicts

A primary contribution of this work is the BNNeck. The authors observed a fundamental conflict between Triplet Loss (optimizing Euclidean distance) and ID Loss (optimizing cosine distance via cross-entropy). Triplet loss tends to cluster features in a way that makes them difficult for a linear classifier to separate via hyperplanes.

The BNNeck introduces a Batch Normalization layer between the feature extractor and the classifier. By calculating Triplet loss before the BN layer and ID loss after it, the model can satisfy both optimization objectives in their respective feature spaces effectively.

Experimental Results

The "Strong Baseline" was evaluated on the Market1501 and DukeMTMC-reID benchmarks. Despite using only global features, the model achieved state-of-the-art results, significantly surpassing complex models from CVPR and ECCV 2018.

Comparison of the proposed baseline against state-of-the-art methods on Market1501 (top) and DukeMTMC-reID (bottom).

On Market1501, the baseline reached 94.5% Rank-1 accuracy and 85.9% mAP. On DukeMTMC-reID, it achieved 86.4% Rank-1 accuracy and 76.4% mAP. These results demonstrate that a well-optimized simple model can be more effective and efficient than complex multi-branch architectures.

Conclusion

This paper provides a much-needed benchmark for the ReID community. It highlights that many reported improvements in the literature may stem from training details rather than architectural novelty. By providing a transparent, high-performing baseline, the authors encourage more rigorous evaluation of future ReID research.

Summary updated

BibTeX
@inproceedings{luo2019bag,
  author = {Hao Luo and Youzhi Gu and Xingyu Liao and Shenqi Lai and Wei Jiang},
  title = {{Bag of Tricks and A Strong Baseline for Deep Person Re-identification}},
  booktitle = {Workshops @ CVPR},
  year = {2019},
  doi = {10.1109/cvprw.2019.00190},
}
Figure