
MGN-ReID
Detection and tracking395 ops70.4M params
A ResNet-50 split into one global and two striped part branches for person re-identification.
Detection and tracking · 395 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
The Multiple Granularity Network, MGN, is a person re-identification model that pairs whole-body features with features from body parts. The authors design it as a multi-branch deep network architecture consisting of one branch for global feature representations and two branches for local feature representations. Rather than locating body parts with predefined semantics, the local branches uniformly partition the images into several stripes, and the number of parts differs between the two local branches so that the local features come at multiple granularities.
The backbone is a ResNet-50, split into three branches after the res_conv4_1 residual block: a Global Branch, a Part-2 Branch and a Part-3 Branch. In the global branch a global max-pooling operation and a 1 × 1 convolution layer reduce the 2048-dim features to 256-dim. The part branches drop the down-sampling in res_conv5_1 to preserve receptive field for local features, and split their feature maps into horizontal stripes. During testing, all the reduced features are concatenated together into the final descriptor. Training uses softmax loss for classification and triplet loss for metric learning, specifically the batch-hard triplet loss.
On Market-1501 in single query mode, MGN reaches Rank-1/mAP=95.7%/86.9% without re-ranking, which the paper reports as 1.9% better in Rank-1 and 5.3% better in mAP than the previous best published result. After re-ranking the result improves to Rank-1/mAP=96.6%/94.2%. Both captured members are built from the same public PyTorch reproduction of the paper, share one configuration with 256-dim reduced features, and emit the concatenated embedding alongside the per-branch features and classification outputs. That reproduction trains on Market1501 and reports a final mAP of 93.83 and rank1 of 95.78.
Key idea. A three-branch ResNet-50 for person re-identification that learns one global descriptor and two sets of uniformly striped part descriptors at different granularities, trained with softmax and triplet losses.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{wang2018learningdiscriminativefeaturesmultiple,
title={Learning Discriminative Features with Multiple Granularities for Person Re-Identification},
author={Guanshuo Wang and Yufeng Yuan and Xiong Chen and Jiwei Li and Xi Zhou},
year={2018},
eprint={1804.01438},
archivePrefix={arXiv},
primaryClass={cs.CV},
doi={https://doi.org/10.1145/3240508.3240552},
url={https://arxiv.org/abs/1804.01438},
}