Perceive Where to Focus: Learning Visibility-aware Part-level Features for Partial Person Re-identification

04/01/2019 ∙ by Yifan Sun, et al. ∙ Megvii Technology Limited Tsinghua University 0

This paper considers a realistic problem in person re-identification (re-ID) task, i.e., partial re-ID. Under partial re-ID scenario, the images may contain a partial observation of a pedestrian. If we directly compare a partial pedestrian image with a holistic one, the extreme spatial misalignment significantly compromises the discriminative ability of the learned representation. We propose a Visibility-aware Part Model (VPM), which learns to perceive the visibility of regions through self-supervision. The visibility awareness allows VPM to extract region-level features and compare two images with focus on their shared regions (which are visible on both images). VPM gains two-fold benefit toward higher accuracy for partial re-ID. On the one hand, compared with learning a global feature, VPM learns region-level features and benefits from fine-grained information. On the other hand, with visibility awareness, VPM is capable to estimate the shared regions between two images and thus suppresses the spatial misalignment. Experimental results confirm that our method significantly improves the learned representation and the achieved accuracy is on par with the state of the art.



There are no comments yet.


page 1

page 8

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

Person re-identification (re-ID) aims to spot the appearances of same person in different observations by measuring the similarity between the query image and the gallery images (i.e., the database). In spite that the re-ID research community has achieved significant progress during the past few years, re-ID systems are still faced with a series of realistic difficulties. A prominent challenge is the partial re-ID problem [36, 7, 35], which requires accurate retrieval with partial observation of the pedestrian. More concretely, in realistic re-ID systems, a pedestrian may happen to be partially occluded or be walking out of the field of camera view, and the camera fails to capture the holistic pedestrian.

Figure 1: Two challenges related to partial-re-ID and our solution with the proposed VPM. (a) aggravation of spatial misalignment, (b) distracting noises from unshared regions (the blue region on the left image) and (c) VPM locates visible regions on a given image and extracts region-level features. With visibility-awareness, VPM compares two images by focusing on their shared regions.

Intuitively, partial re-ID increases the difficulty to make correct retrieval. Analytically, we find that partial re-ID raises two more unique challenges, compared with the holistic person re-ID, as illustrated in Fig. 1.

  • First, partial re-ID aggravates the spatial misalignment between probe and gallery images. Under holistic re-ID setting, the spatial misalignment mainly originates from the articulate movement of pedestrian and the viewpoint variation. Under partial re-ID setting, even when two pedestrian with same pose are captured from same viewpoints, there still exists severe spatial misalignment between the two images (Fig. 1 (a)).

  • Second, when we directly compare a partial pedestrian against a holistic one, the unshared body regions in the holistic pedestrian become distracting noises, rather than discriminative clues. We note that the same situation also happens when any two compared images contain different proportion of the holistic pedestrian (Fig. 1 (b)).

We propose the Visibility-aware Part Model (VPM) for partial re-ID. VPM avoids or alleviates the two unique difficulties related to partial re-ID by focusing on their shared regions, as shown in Fig. 1 (c). More specifically, we first define a set of regions on the holistic person image. During training, given partial pedestrian images, VPM learns to locate all the pre-defined regions on convolutional feature maps. After locating each region, VPM perceives which regions are visible and learns region-level features. During testing, given two images to be compared, VPM first calculates the local distances between their shared regions and then concludes the overall distance.

VPM gains two-fold benefit toward higher accuracy for partial re-ID. On the one hand, compared with learning a global feature, VPM learns region-level features and thus benefits from fine-grained information, which is similar to the situation in holistic person re-ID [23, 12]. On the other hand, with visibility-awareness, VPM is capable to estimate the shared regions between two images and thus suppresses the spatial misalignment as well as the noises originated from unshared regions. Experimental results confirm that VPM achieves significant improvement on partial re-ID accuracy, compared with a global feature learning baseline [34], as well as a strong part-based convolutional baseline [23]. The achieved performance are on par with the state of the art.

Moreover, VPM is featured for employing self-supervision for learning the region visibility awareness. We randomly crop partial pedestrian images from the holistic ones and automatically generate region labels, yielding the so-called self-supervision. Self-supervision enables VPM to learn locating pre-defined regions. It also helps VPM to focus on visible regions during feature learning, which is critical to the discriminative ability of the learned features, as to be accessed in Section 4.4.

The main contributions of this paper are summarized as follows:

  • We propose a visibility-aware part model (VPM) for partial re-ID task. VPM learns to locate the visible regions on pedestrian images through self-supervision. Given two images to be compared, VPM conducts a region-to-region comparison within their shared regions, and thus significantly suppresses the spatial misalignment as well as the distracting noises originated from unshared regions.

  • We conduct extensive partial re-ID experiments on both synthetic datasets and realistic datasets and validate the effectiveness of VPM. On two realistic dataset, Partial-iLIDs and Partial-ReID, VPM achieves performance on par with the state of the art. So far as we know, few previous works on partial re-ID reported the performance on synthetic large-scale datasets e.g., Market-1501 or DukeMTMC-ReID. We experimentally validate that VPM can be easily scaled up to large-scale (synthetic) partial re-ID datasets, due to its fast matching capacity.

2 Related Works

2.1 Deeply-learned part features for re-ID

Deep learning methods currently dominate the re-ID research community with significant superiority on retrieval accuracy [34]. Recent works [23, 12, 26, 31, 22, 28, 16]

further advance the state of the art on holistic person re-ID, through learning part-level deep features. For example, Wei

et al. [26], Kalayeh et al. [12] and Sun et al. [23] extract several region parts, with pose estimation [17, 27, 10, 18, 1], human parsing [2, 5] and uniform partitioning, respectively. Then they learn a respective feature for each part and assemble the part-level features to form the final descriptor. These progresses motivate us to extend learning part-level features to the specified problem of partial re-ID.

However, learning part-level features does not naturally improve partial re-ID. We find that PCB [23], which maintains the latest state of the art on holistic person re-ID, encounters a substantial performance decrease when applied in partial re-ID scenario. The achieved retrieval accuracy even drops below the global feature learning baseline (to be accessed in Sec. 4.2). Arguably, it is because part models rely on precisely locating each part and are inherently more sensitive to the severe spatial misalignment problem in partial re-ID.

Our method is similar to PCB in that both methods perform uniform division instead of semantic body parts for part extraction. Moreover, similar to SPReID [12]

, our method also uses probability maps to extract each part during inference. However, while SPReID requires an extra human parser and human parsing dataset (strong supervision) for learning part extraction, our method relies on self-supervision. During matching stage, both PCB and SPReID adopt the common strategy of concatenating part features. In contrast, VPM first measures the region-to-region distance and then conclude the overall distance by dynamically crediting the local distances with high visibility confidence.

Figure 2: The structure of VPM. We first define (

in the figure for instance) densely aligned rectangle regions on the holistic pedestrian. VPM resizes a partial pedestrian image to fixed size, inputs it into a stack of convolutional layers (“conv”) and transforms it into a 3D tensor

. Upon , VPM appends a region locator to discover each regions through pixel-wise classification. By predicting a probability of belonging to each region for every pixel , the region locator generates probability maps to infer the location of each region. It also generates visibility scores through “” operation over each probability map. Given the predicted probability maps, the feature extractor extracts a respective feature for each pre-defined region through weighted pooling (“WP”). VPM, as a whole, outputs region-level features and visibility scores for inference.

2.2 Self-supervised learning

Self-supervision learning is a specified unsupervised learning approach. It explores the visual information to automatically generate surrogate supervision signal for feature learning

[19, 25, 13, 3, 14]. Larsson et al. [13]

train the deep model to predict per-pixel color histograms and consequentially facilitate automatic colorization. Doersch

et al. [3] and Noroozi et al. [19] propose to predict the relative position of image patches. Gidaris et al. train the deep model to recognize the rotation applied to original images.

Self-supervision is an elemental tool in our work. We employ self-supervision to learn visibility awareness. VPM is especially close to [3] and [19] in that all the three methods employ the position information of patches for self-supervision. However, VPM significantly differs from them in the following aspects.

Self-supervision signal. [3] randomly samples a patch and one of its eight possible neighbors, and then trains the deep model to recognize the spatial configuration. Similarly, [19] encodes the neighborhood relationship into a jigsaw puzzle. Different from [3] and [19], VPM does not explore the spatial relationship between multiple images or patches. VPM pre-defines a division on the holistic pedestrian image and then assigns an independent label to each region. Then VPM learns to directly predict which regions are visible on a partial pedestrian image, without comparing it against the holistic one.

Usage of the self-supervision. Both [3] and [19] transfer the model trained through self-supervision to the object detection or classification task. In comparison, VPM utilizes self-supervision in a more explicit manner: with the visibility awareness gained from self-supervision, VPM decides which regions to focus when comparing two images.

3 Proposed Method

3.1 Structure of VPM

VPM is designed as a fully convolutional network, as illustrated in Fig. 2. It takes a pedestrian image as the input and outputs a constant number of region-level features, as well as a set of visibility scores indicating which regions are visible on the input image.

We first define densely aligned rectangle regions on the holistic pedestrian image through uniform division. Given a partial pedestrian image, we resize it to a fixed size, i.e., and input it into VPM. Through a stack of convolutional layers (“conv” in Fig. 2, which uses all the convolutional layers in ResNet-50 [6]), VPM transfers the input image into a 3D tensor . The size of is (which are the number of channels, height and width, respectively), and we view the vector as a pixel on . On tensor , VPM appends a region locator and a region feature extractor. The region locator discovers regions on tensor . Then the region feature extractor generates a respective feature for each region.

A region locator perceives which regions are visible and predicts their locations on tensor . To this end, the region locator employs a

convolutional layer and a following Softmax function to classify each pixel

on into the pre-defined regions, which in formulated by,


where is the predicted probability of belonging to , is the learnable weight matrix of the convolutional layer, is the total number of pre-defined regions.

By sliding over every pixel on , the region locator predicts as belonging to all the pre-defined regions with corresponding probabilities, and thus gets probability maps (one map for each region), as shown in Fig. 2. Each probability map indicates the location of a corresponding region on

, which allows region feature extraction.

The region locator also predicts the visibility score for each region, by accumulating over all the on , which is formulated by,


Eq. 2 is natural in that if considerable pixels on belongs to (with large probability), it indicates that is visible on the input image and is assigned with a relatively large . In contrast, if a region is actually invisible, the region locator will still return a probability map (with all the values approximating 0). In this case, will be very small, indicating possibly-invisible region. The visibility score is important for calculating the distance between two images, as to be detailed in Section 3.2.

A region feature extractor generates a respective feature for a region by weighted pooling, which is formulated by,


where the division of is to maintain the norm invariance against the size of the region.

The region locator returns a probability map for each region, even if the region is actually invisible on the input image. Correspondingly, we can see from Eq. 3 that the region feature extractor always generates a constant number (i.e., ) of region features for any input image.

3.2 Employing VPM

Given two images to be compared, i.e., and , VPM extracts their region features and predicts the region visibility scores through Eq. 3 and Eq. 2, respectively. With region features and region visibility scores , , VPM first calculates region-to-region euclidean distances . Then VPM concludes the overall distance from the local distances by,


In Eq. 4, the visible regions are with relative large visibility scores. The local distances between shared regions are highly credited by VPM and thus dominate the overall distance . In contrast, if a region is invisible in any one of the compared images, its region feature is considered as unreliable and the corresponding local distance contributes little to .

Employing VPM adds very light computational cost, compared with popular part-based deep learning methods [23, 31, 12]. While some prior partial re-ID methods require pairwise comparison before feature extraction and may have efficiency problems, VPM presents high scalability, which allows experiments on large re-ID datasets such as Market-1501 [33] and DukeMTMC-reID [37], as to be accessed in Section 4.2.

3.3 Training VPM

Training VPM consists of training the region classifier and training the region feature extractor. The region classifier and the region feature extractor share the convolutional layers before tensor , and are trained end to end in a multi-task training manner. Training VPM is also featured for employing auxiliary self-supervision.

Self-supervision is critical to VPM. It supervises VPM to learn region visibility awareness, as well as to focus on visible regions during feature learning. Specifically, given a holistic pedestrian image, we randomly crop a patch and resize it to . The random crop operation excludes several pre-defined regions and the remaining regions are reshaped during the resizing. Then, we project the regions on the input image to tensor through ROI projection [11, 20]. To be concrete, let us assume a region with its up-left corner located at and its bottom-right corner located at on the input image. Then the ROI projection defines a corresponding region on tensor with its up-left corner located at and its right-bottom corner located at , in which the denotes the rounding and is the down-sampling rate from input image to . Finally, we assign every pixel on with a region label to indicate which region belongs to. We also record all the visible regions in a set . As we will see, self-supervision contributes to training VPM in the following three aspects:

  • First, self-supervision generates the ground truth of region labels for training the region locator.

  • Second, self-supervision enables VPM to focus on visible regions when learning feature through classification loss (cross-entropy loss).

  • Finally, self-supervision enables VPM to focus on the shared regions when learning features through triplet loss.

Without the auxiliary self-supervision, VPM encounters dramatic performance decrease, as to be accessed in Section 4.4.

The region locator is trained through cross-entropy loss with the self-supervision signal as the ground truth, which is formulated by,


where returns 1 only when equals the ground truth region label and returns 0 in any other cases.

Figure 3: VPM learns region-level features with auxiliary self-supervision. Only features corresponding to visible regions contribute to the cross-entropy loss. Only features corresponding to shared regions contribute to the deducing of triplet loss.

The region feature extractor is trained with the combination of cross-entropy loss and triplet loss, as illustrated in 3. Recall that the region feature extractor always generates region features for any input image. It leads to a nontrivial problem during feature learning: only features of visible regions should be allowed to contribute to the training losses. With self-supervision signals , we dynamically select the visible regions for feature learning.

The cross-entropy loss is commonly used in learning features for pedestrian under the IDE [32] mode. We append a respective identity classifier i.e., upon each region feature , to predict the identity of training images. The identity classifier consists of two sequential fully-connected layers and a Softmax function. The first fully-connected layers reduces the dimension of the input region feature, and the second one transforms the feature dimension to ( is the total identities of training images). Then the cross-entropy loss is formulated by,


where is the predicted identity and is the ground truth label. With Eq. 6, self-supervision enforces focus on visible regions for learning region features through cross-entropy loss.

The triplet loss pushes the features from a same pedestrian close to each other and pulls the features from different pedestrians far away. Given a triplet of images, i.e., an anchor image , a positive image and a negative image , we define a region-selective triplet loss derived from the canonical one by,


where , and are the region features from anchor image, positive image and negative image, respectively. , and are the visible region sets for anchor image, positive image and negative image, respectively. denotes the operation of counting the elements of a set, i.e., the number of shared regions in the two compared images. is the margin for training triplet, and is set to in our implementation.

With Eq. 7, self-supervision enforces focus on the shared regions when calculating the distances of two images.

The overall training loss is the sum of region prediction loss, the identity classification loss and the region-selective triplet loss, which is formulated by,


We also note that Eq. 4 and Eq. 7 share a similar pattern. Training with the modified triplet loss (Eq. 7) mimics the matching strategy (Eq. 4) and is thus specially beneficial (to be detailed in Table 3). The difference is that, during training, the focus is enforced through “hard” visibility labels, while during testing, the focus is regularized through predicted “soft” visibility scores.

Dataset baseline PCB VPM
R-1 R-5 R-10 mAP R-1 R-5 R-10 mAP R-1 R-5 R-10 mAP

0.5 64.5 82.2 88.1 44.4 0.9 3.2 5.6 1.7 70.9 86.5 92.1 48.8
0.6 79.0 91.4 94.3 57.9 8.1 16.5 23.2 6.6 84.4 94.3 96.1 62.5
Market-1501 0.7 83.9 93.9 95.9 63.7 36.5 58.9 67.4 26.8 88.2 95.8 97.2 71.7
0.8 85.7 94.3 96.4 66.1 71.9 87.3 91.4 56.8 90.1 95.8 97.7 74.7
0.9 87.1 95.5 97.4 67.8 88.8 95.8 97.1 77.2 91.7 96.6 98.0 78.7
1.0 86.8 95.3 97.4 67.7 93.4 97.8 98.4 83.0 93.0 97.8 98.8 80.8
0.5 65.0 81.1 86.7 47.2 5.0 10.1 13.6 4.0 69.5 83.1 87.9 52.2
0.6 76.2 87.3 90.4 55.4 13.1 25.6 33.5 10.5 78.2 89.0 91.3 60.9
DukeMTMC-reID 0.7 76.3 87.3 90.6 90.6 35.9 57.0 65.4 28.4 80.3 89.5 92.0 63.1
0.8 76.3 88.3 91.9 58.8 64.0 82.6 87.7 52.3 80.3 89.3 92.4 63.5
0.9 77.0 88.1 91.7 59.0 81.6 90.4 93.0 70.3 81.7 90.9 93.1 70.7
1.0 76.2 87.3 91.2 58.6 84.1 92.4 94.5 73.2 83.6 91.7 94.2 72.6

Table 1: Comparison between VPM, baseline and PCB. For VPM, we use pre-defined regions. For PCB, we adopt the code released by the authors and append an extra triplet loss, for fair comparison with VPM. On Market-1501, the extra triplet loss enables PCB to gain +5.6% mAP over the original 77.4% reported by the authors [23].

4 Experiment

4.1 Settings

Datasets. We use four datasets, i.e., Market-1501 [33], DukeMTMC-reID [21, 37], Partial-REID and Partial-iLIDS, to evaluate our method. Market-1501 and DukeMTMC-reID are two large scale holistic re-ID dataset. The Market-1501 dataset contains 1,501 identities observed from 6 camera viewpoints, 19,732 gallery images and 12,936 training images detected by DPM [4]. The DukeMTMC-reID dataset contains 1,404 identities, 16,522 training images, 2,228 queries, and 17,661 gallery images. We crop certain patches from the query images during testing stage to imitate the partial re-ID scenario and get a comprehensive evaluation of our method on large-scale (synthetic) partial re-ID datasets. We note that few prior works on partial re-ID evaluated their methods on large-scale dataset, mainly because of low computing efficiency. Partial-REID [36] and Partial-iLIDS [35] are two commonly-used datasets for partial re-ID. Partial-REID contains 600 images and 60 identities, every one of which has 5 holistic images and 5 partial images. Partial-iLIDS is derived from iLIDS [24], which is collected in an airport and the lower-body of a pedestrian is frequently occluded by the luggage. Partial-iLIDS crops the non-occluded region from these images and get 238 images from 119 identities. Both Partial-REID and Partial-iLIDS offer only testing images. When evaluating our method on these two public datasets, we train VPM on the training set of Market-1501, for fair comparison with other competitive methods, including MTRC [15], AMC+SWM [36], DSR [7], and SFR [8].

Implementation Details. Training VPM relies on the assumption that the original training images all contain holistic pedestrian and the pedestrian are tightly bounded by bounding boxes. On two holistic re-ID datasets, Market-1501 and DukeMTMC-reID, there do exist some images which contain either partial pedestrian or oversized bounding boxes. We consider these images as tolerable noises.

To generate the partial image for training VPM, we crop a patch from the holistic image with random area ratio . We set

to be uniformly distributed between

and . VPM is not necessarily bounded with any specified crop strategy and we may consider the prior knowledge for optimization. We argue that choosing the detailed crop strategy according to the realistic condition is reasonable because partial re-ID is a realistic challenge, and the occlusion fashion is usually predictable. We also experimentally validate that choosing an appropriate crop strategy to imitate the confronted partial re-ID condition benefits the retrieval accuracy, as to be detailed in Section 4.3. That being said, VPM is still general in that it may adopt any crop strategy to conduct self-supervision.

VPM is trained with the combination of cross-entropy loss and triplet loss. We pre-train the model for 50 epochs with single cross-entropy loss because it helps VPM to converge faster and better. Then we append the triplet loss and fine-tune the model for another 80 epochs. In both the pre-training and the fine-tuning stages, we use standard Stochastic Gradient Descent (SGD) optimization strategy, initialize the learning rate as 0.1 and decay it to 0.01 after 30 epochs. During the fine-tuning stage, we construct each mini-batch with 64 images from 8 identities (8 images per identity) and use the hard mining strategy

[9] for deducing the triplet loss.

4.2 Evaluation on large-scale partial re-ID datasets

We evaluate the effectiveness of VPM with experiment on the synthetic partial datasets derived from two large-scale re-ID datasets, Market-1501 and DukeMTMC-reID. We differ the ratio of the cropped patches from 0.5 to 1.0 during testing. For comparison with VPM, we implement a baseline which learns global feature through the combination of cross-entropy loss and triplet loss. We also implement a part-based feature learning method PCB [23]. For fair comparison, we enhance PCB with an extra triplet loss during training, and achieve slightly higher performance than [23]. The results are summarized in Table 1.

VPM significantly improves partial re-ID performance over the baseline. On Market-1501, VPM surpasses the baseline by +6.4%, +5.4%, +4.3%, +4.4%, +4.6% +6.2% rank-1 accuracy and +4.4%, +4.6%, +8.0%, + 8.6%, +10.9%, +13.1% mAP when is set from 0.5 to 1, respectively. The superiority of VPM against the baseline, which learns a global feature representation, is derived from two-fold benefit. On the one hand, VPM learns region-level features and benefits from fine-grained information. On the other hand, with visibility awareness, VPM conducts a region-level alignment and eliminates the distracting noises originated from unshared regions.

VPM increases the robustness of part features under partial re-ID scenario. Comparing VPM with PCB, a state-of-the-art part feature learning method for holistic person re-ID task, we observe that as decreases, the retrieval accuracy achieved by PCB dramatically drops (e.g., 0.9% rank-1 accuracy at ), implying that PCB is extremely vulnerable to the spatial misalignment in partial re-ID. By contrast, the retrieval accuracy achieved by VPM decreases much slower as decreases. We infer that VPM facilitates region-to-region comparison within shared regions of two images and thus gains strong robustness.

We also notice that under , i.e., the holistic person re-ID scenario, VPM achieves comparable retrieval accuracy with PCB.

Figure 4: Impact of on the partial-reID accuracy. We set to 2,3,4,6 and 8, respectively. We use Market-1501 for training and differ the crop ratio during testing.

In Table 1, we use 6 pre-defined parts to construct VPM. Moreover, we analyze the impact of the part numbers on Market-1501, with results shown in Fig. 4. Under all settings of and , VPM consistently surpasses the baseline, which further confirms the superiority of VPM. We also observe that larger generally brings higher (rank-1) retrieval accuracy. Larger allows VPM to learn the region-level features in finer granularity and thus benefits the discriminative ability, which is consistent with the observation in holistic person re-ID works [31, 23]. Larger also allows more accurate region alignment when comparing a partial person image against a holistic one. We suggest choosing with the joint consideration of retrieval accuracy and computing efficiency, and set in most of our experiments (if not specially mentioned).

4.3 Comparison with the state of the art

We compare VPM with the state-of-the-art methods on two public datasets, i.e., Partial-REID and Partial-iLIDS. We train three different versions of VPM with different crop strategies for preparing training patches, i.e., top crop (the top regions are always visible), bottom crop (the bottom regions are always visible) and bilateral crop (top crop + bottom crop). The results are presented in Table 2, from which two observations are drawn.

First, comparing three editions of VPM against each other, we find that the crop strategy matters to VPM. On Partial-iLIDS, all query images of which are cropped from the top side of holistic pedestrian images, VPM (Top) achieves the highest retrieval accuracy. On Partial-REID, which contains images cropped from different directions, VPM (Bilateral) achieves the highest retrieval accuracy. VPM (Bottom) always performs the worst due to two reasons. First, retaining the bottom regions severely deviates from the testing condition. Second, the bottom regions (mainly containing legs) inherently offers relatively weak discriminative clues. We note that when solving the problem of partial-reID, the realistic partial condition is usually estimable. We recommend analyzing the partial condition and choosing a similar crop strategy for training VPM. That being said, VPM is general in that it is able to cooperate with various crop strategies.

Methods Partial-REID Partial-iLIDS
R-1 R-3 R-1 R-3
MTRC [15] 23.7 27.3 17.7 26.1
AMC+SWM [36] 37.3 46.0 21.0 32.8
DSR [7] 50.7 70.0 58.8 67.2
SFR [8] 56.9 78.5 63.9 74.8
VPM (Bottom) 53.2 73.2 53.6 62.3
VPM (Top) 64.3 83.6 67.2 76.5
VPM (Bilateral) 67.7 81.9 65.5 74.8

Table 2: Evaluation of VPM on Partial-REID and Partial-iLIDS. Three VPMs trained with different crop strategies are evaluated.

Second, given appropriate crop strategies, VPM achieves very competitive performance compared with the state of the art. On Partial-REID, VPM (Bilateral) surpasses the strongest competing method SFR by +10.6% Rank-1 accuracy. On Partial-iLIDS, VPM (Top) surpasses SFR by +3.3% Rank-1 accuracy. Even with no prior knowledge of partial condition on testing set, we may eclectically choose VPM (Bilateral), which considers both top and down occlusions and thus maintains stronger robustness.

4.4 The importance of self-supervision

We conduct ablation study to analyze the impact of self-supervision on VPM. We train four Malfunctioned VPM for comparison:

  • MVPM-1 is trained as a normal VPM, but abandons the visibility awareness during testing, i.e., MVPM-1 concludes the overall distance with all region-level features, even if some regions are invisible.

  • MVPM-2 abandons self-supervision on triplet loss during training, i.e., all region features equally contribute to deducing the triplet loss .

  • MVPM-3 abandons self-supervision on identification loss during training, i.e., all region features are supervised by the training identity label through .

  • MVPM-4 abandons self-supervision on both triplet loss and identification loss.

Moreover, we also analyze the impact of two types of losses (cross-entropy loss and triplet loss) in training VPM. The results are summarized in Table 3, from which we draw three observations.

Methods Partial-iLIDS Market-1501
R-1 R-3 R-5 R-1 R-5 mAP

67.2 76.5 82.4 93.0 97.8 80.8
VPM (no triplet) 57.1 73.9 79.0 91.3 97.0 77.8
MVPM-1 63.0 74.8 82.4 93.0 96.3 79.7
MVPM-2 61.3 73.1 79.0 92.8 97.4 80.1
MVPM-3 58.8 74.8 82.4 91.4 96.5 75.5
MVPM-4 59.7 74.8 78.2 90.4 96.6 75.7

Table 3: Ablation study on VPM. “VPM (no triplet)” is trained with no triplet loss. On Market-1501, we only analyze the holistic person re-ID mode.

First, appending an extra triplet loss enhances the discriminative ability of the learned features, under both partial re-ID scenario (Partial-iLIDS) and holistic person re-ID scenario (Market-1501). This observation is consistent with prior works [9, 38, 30, 29] on holistic person re-ID task.

Second, comparing “MVPM-1” with “VPM”, we observe a dramatic performance decrease on Partial-iLIDS. Both models are trained in exactly the same procedure. The difference is that “MPVM-1” employs all the region features to conclude the overall distance, while VPM focuses on the shared regions between two images. On Market-1501, all the regions are visible and two models achieves very close retrieval accuracy. We thus infer that the visibility awareness is critical for VPM under partial re-ID scenario.

Third, comparing last three editions of MVPM with “VPM” as well as “MVPM-1”, we observe further performance decreases on Partial-iLIDS. The last three editions abandon self-supervision to regularize the learning of region-level features (either on the cross-entropy loss or triplet loss or both). Learning features from invisible regions brings about larger sample noises. Consequentially, the learned region features are significantly compromised. We thus conclude that enforcing VPM to focus on visible regions through self-supervision is critical for learning region features.

4.5 Visualization of discovered regions

Figure 5: Region visualization. We train VPM with pre-defined regions. For each image, VPM discovers 6 regions with 6 probability maps, as detailed in Section 3.1. For better visualization, we assign each pixel to its closest region and achieve the partitioning effect. Images on the first and the second row are from (synthetic) Market-1501 and Partial-REID, respectively.

We visualize the regions discovered by VPM (the region locator, in particular) in Fig. 5. We use pre-defined regions to facilitate both horizontal and vertical visibility awareness. It is observed that VPM conducts adaptive partition with visibility awareness. Given holistic images (the first column), VPM successfully discovers all the regions. Given partial pedestrian images with horizontal occlusion (the second column), VPM favors the dominating regions (left regions in Fig. 5). Given partial pedestrian images with lower-body occluded (the last two columns), VPM roughly discovers 4 visible regions, and perceives that the bottom 2 regions are invisible. These observations confirm that VPM gains robust region-level visibility awareness and is capable to locate the visible regions through self-supervised learning.

5 Conclusion

In this paper, we propose a region-based feature learning method, VPM for partial re-ID task. Given a set of pre-defined regions on the holistic pedestrian image, VPM learns to perceive which regions are visible on a partial image through self-supervision. VPM locates each region on the convolutional feature maps and then extracts region-level features. With visibility awareness, VPM compares two pedestrian images with focus on their shared regions and correspondingly suppresses the severe spatial misalignment in partial re-ID. Experimental results confirm that VPM surpasses both the global feature learning baseline and part-based convolutional methods, and the achieved performance is on par with the state of the art.


  • [1] Z. Cao, T. Simon, S. E. Wei, and Y. Sheikh. Realtime multi-person 2d pose estimation using part affinity fields. In CVPR, 2017.
  • [2] L. C. Chen, G. Papandreou, I. Kokkinos, K. Murphy, and A. L. Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE Trans. Pattern Anal. Mach. Intell., 40(4):834–848, 2018.
  • [3] C. Doersch, A. Gupta, and A. A. Efros. Unsupervised visual representation learning by context prediction. In

    IEEE International Conference on Computer Vision

    , pages 1422–1430, 2015.
  • [4] P. Felzenszwalb, D. McAllester, and D. Ramanan. A discriminatively trained, multiscale, deformable part model. In CVPR, 2008.
  • [5] K. Gong, X. Liang, D. Zhang, X. Shen, and L. Lin. Look into person: Self-supervised structure-sensitive learning and a new benchmark for human parsing. In

    2017 IEEE Conference on Computer Vision and Pattern Recognition

    , 2017.
  • [6] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In CVPR, 2016.
  • [7] L. He, J. Liang, H. Li, and Z. Sun. Deep spatial feature reconstruction for partial person re-identification: Alignment-free approach. CoRR, abs/1801.00881, 2018.
  • [8] L. He, Z. Sun, Y. Zhu, and Y. Wang. Recognizing partial biometric patterns. CoRR, abs/1810.07399, 2018.
  • [9] A. Hermans, L. Beyer, and B. Leibe. In defense of the triplet loss for person re-identification. arXiv preprint arXiv: 1703.07737, 2017.
  • [10] E. Insafutdinov, L. Pishchulin, B. Andres, M. Andriluka, and B. Schiele. Deepercut: A deeper, stronger, and faster multi-person pose estimation model. In ECCV, 2016.
  • [11] H. Kaiming, Z. Xiangyu, R. Shaoqing, and J. Sun. Spatial pyramid pooling in deep convolutional networks for visual recognition. In European Conference on Computer Vision, 2014.
  • [12] M. M. Kalayeh, E. Basaran, M. Gokmen, M. E. Kamasak, and M. Shah. Human semantic parsing for person re-identification. In CVPR, 2018.
  • [13] G. Larsson, M. Maire, and G. Shakhnarovich. Learning representations for automatic colorization. In Computer Vision - ECCV 2016 - 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part IV, pages 577–593, 2016.
  • [14] Q. V. Le, M. Ranzato, R. Monga, M. Devin, G. Corrado, K. Chen, J. Dean, and A. Y. Ng. Building high-level features using large scale unsupervised learning. In ICML, 2012.
  • [15] S. Liao, A. K. Jain, and S. Z. Li.

    Partial face recognition: Alignment-free approach.

    IEEE Trans. Pattern Anal. Mach. Intell., 35(5):1193–1205, 2013.
  • [16] X. Liu, H. Zhao, M. Tian, L. Sheng, J. Shao, S. Yi, J. Yan, and X. Wang. Hydraplus-net: Attentive deep features for pedestrian analysis. In ICCV, 2017.
  • [17] J. Long, E. Shelhamer, and T. Darrell. Fully convolutional networks for semantic segmentation. In CVPR, 2015.
  • [18] A. Newell, K. Yang, and J. Deng. Stacked hourglass networks for human pose estimation. In ECCV, 2016.
  • [19] M. Noroozi and P. Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In IEEE International Conference on Computer Vision, pages 69–84, 2016.
  • [20] S. Ren, K. He, R. Girshick, and J. Sun. Faster r-cnn: towards real-time object detection with region proposal networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, pages 1137–1149, 2017.
  • [21] E. Ristani, F. Solera, R. Zou, R. Cucchiara, and C. Tomasi. Performance measures and a data set for multi-target, multi-camera tracking. In European Conference on Computer Vision workshop on Benchmarking Multi-Target Tracking, 2016.
  • [22] C. Su, J. Li, S. Zhang, J. Xing, W. Gao, and Q. Tian. Pose-driven deep convolutional model for person re-identification. In ICCV, 2017.
  • [23] Y. Sun, L. Zheng, Y. Yang, Q. Tian, and S. Wang. Beyond part models: Person retrieval with refined part pooling. In ECCV, 2018.
  • [24] T. Wang, S. Gong, X. Zhu, and S. Wang. Person re-identification by video ranking. In Computer Vision - ECCV 2014 - 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part IV, 2014.
  • [25] X. Wang, K. He, and A. Gupta. Transitive invariance for self-supervised visual representation learning. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017, 2017.
  • [26] L. Wei, S. Zhang, H. Yao, W. Gao, and Q. Tian. GLAD: Global-local-alignment descriptor for pedestrian retrieval. ACM Multimedia, 2017.
  • [27] S. E. Wei, V. Ramakrishna, T. Kanade, and Y. Sheikh. Convolutional pose machines. In CVPR, 2016.
  • [28] H. Yao, S. Zhang, Y. Zhang, J. Li, and Q. Tian. Deep representation learning with part loss for person re-identification. arXiv preprint arXiv:1707.00798, 2017.
  • [29] R. Yu, Z. Dou, S. Bai, Z. Zhang, Y. Xu, and X. Bai. Hard-aware point-to-set deep metric for person re-identification. In ECCV, 2018.
  • [30] X. Zhang, H. Luo, X. Fan, W. Xiang, Y. Sun, Q. Xiao, W. Jiang, C. Zhang, and J. Sun. Alignedreid: Surpassing human-level performance in person re-identification. arXiv preprint arXiv:1711.08184, 2017.
  • [31] L. Zhao, X. Li, J. Wang, and Y. Zhuang. Deeply-learned part-aligned representations for person re-identification. In ICCV, 2017.
  • [32] L. Zheng, Z. Bie, Y. Sun, J. Wang, C. Su, S. Wang, and Q. Tian. Mars: A video benchmark for large-scale person re-identification. In ECCV, 2016.
  • [33] L. Zheng, L. Shen, L. Tian, S. Wang, J. Wang, and Q. Tian. Scalable person re-identification: A benchmark. In ICCV, 2015.
  • [34] L. Zheng, Y. Yang, and A. G. Hauptmann. Person re-identification: Past, present and future. arXiv preprint arXiv:1610.02984, 2016.
  • [35] W. Zheng, S. Gong, and T. Xiang. Person re-identification by probabilistic relative distance comparison. In The 24th IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2011, Colorado Springs, CO, USA, 20-25 June 2011, 2011.
  • [36] W. Zheng, X. Li, T. Xiang, S. Liao, J. Lai, and S. Gong. Partial person re-identification. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, Santiago, Chile, December 7-13, 2015, 2015.
  • [37] Z. Zheng, L. Zheng, and Y. Yang. Unlabeled samples generated by gan improve the person re-identification baseline in vitro. In ICCV, 2017.
  • [38] Z. Zhong, L. Zheng, S. Li, and Y. Yang. Generalizing a person retrieval model hetero- and homogeneously. In European Conference on Computer Vision, 2018.