## Adversarial Camera Alignment Network for Unsupervised Cross-camera Person Re-identification

Lei Qi, Lei Wang, Jing Huo, Yinghuan Shi, Xin Geng , Yang Gao ∗

Abstract -In person re-identification (Re-ID), supervised methods usually need a large amount of expensive label information, while unsupervised ones are still unable to deliver satisfactory identification performance. In this paper, we introduce a novel person Re-ID task called unsupervised cross-camera person ReID, which only needs the within-camera (intra-camera) label information but not cross-camera (inter-camera) labels which are more expensive to obtain. In real-world applications, the intracamera label information can be easily captured by tracking algorithms and few manual annotations. In this situation, the main challenge becomes the distribution discrepancy across different camera views, caused by the various body pose, occlusion, image resolution, illumination conditions, and background noises in different cameras. To address this situation, we propose a novel Adversarial Camera Alignment Network (ACAN) for unsupervised cross-camera person Re-ID. It consists of the camera-alignment task and the supervised within-camera learning task. To achieve the camera alignment, we develop a Multi-Camera Adversarial Learning (MCAL) to map images of different cameras into a shared subspace. Particularly, we investigate two different schemes, including the existing GRL (i.e., gradient reversal layer) scheme and the proposed scheme called 'other camera equiprobability' (OCE), to conduct the multi-camera adversarial task. Based on this shared subspace, we then leverage the withincamera labels to train the network. Extensive experiments on five large-scale datasets demonstrate the superiority of ACAN over multiple state-of-the-art unsupervised methods that take advantage of labeled source domains and generated images by GAN-based models. In particular, we verify that the proposed multi-camera adversarial task does contribute to the significant improvement.

Index Terms -adversarial camera alignment network, unsupervised cross-camera person re-identification.

## I. INTRODUCTION

P ERSON re-identification (Re-ID) is to match images of the same individual captured by different cameras with non-overlapping camera views [1]. Broadly, person Re-ID can be treated as a special case of the image retrieval problem with

This work was supported by the National Key Research and Development Plan of China (No. 2017YFB1002801), Project funded by China Postdoctoral Science Foundation (2021M690609), the National Science Foundation of China (62076063, 61806092) and the Jiangsu Natural Science Foundation (BK2018032). (Corresponding author: Xin Geng.)

Lei Qi and Xin Geng are with the School of Computer Science and Engineering, and the Key Lab of Computer Network and Information Integration (Ministry of Education), Southeast University, Nanjing, China, 211189 (email: qilei@seu.edu.cn; xgeng@seu.edu.cn).

Lei Wang is School of Computing and Information Technology, University of Wollongong, Wollongong, Australia (e-mail: leiw@uow.edu.au).

Jing Huo, Yinghuan Shi and Yang Gao are with the State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China, 210023 (e-mail: huojing@nju.edu.cn; syh@nju.edu.cn; gaoy@nju.edu.cn).

Part of this work was done when Lei Qi stayed at the State Key Laboratory for Novel Software Technology, Nanjing University.

Fig. 1. The setting of unsupervised 'cross-camera' person Re-ID. Note that we only show two cameras in this figure. As seen, we know the relationship of any two images from the same camera, while we do not have the label information of any two images from different cameras.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-ac2ca93a-297e-4634-a963-7064ae15ae41.jpg)

the goal of querying from a large-scale gallery set to quickly and accurately find the images that match a probe image [2][3]. In recent years, person Re-ID has drawn an increasing interest in both academia and industry due to its great potentials in video surveillance applications [4], [5].

Currently, most existing work for person Re-ID mainly focuses on the supervised [6], [7], [8], [9], [10], [11] and unsupervised [12], [13], [14], [15], [16] cases. Although the supervised person Re-ID methods can achieve good performance in many public datasets, they need a large-scale labeled dataset to train models, especially for the deep-learning-based methods. However, labeling data incurs a significant cost, especially when the identities across different camera views need to be matched. Therefore, supervised methods usually do not scale well in real-world applications. On the other hand, for the unsupervised Re-ID methods, due to the complete lack of label information to train sufficiently good models, they still have a big performance gap with their supervised counterparts.

In this paper, instead of purely focusing on either supervised or unsupervised setting, we propose an U nsupervised ' C rossCamera' person Re-ID task ( UCC Re-ID task), which only has the intra-camera (within-camera) labels but no inter-camera (cross-camera) label information, as illustrated in Fig. 1. Note that in practice, it is much easier to obtain the within-camera label information by employing tracking algorithms [17], [18] and conducting a small amount of manual labeling. Therefore, this work aims to well exploit this new person Re-ID setting. In other words, we aim to utilize the intra-camera labeled data to effectively improve the performance of person Re-ID, thus substantially reducing the gap between the unsupervised ReID and the supervised ones.

For this proposed UCC person Re-ID setting, the main issue is the lack of cross-camera label information. This could

result in poor generalization ability across camera views if merely using the within-camera labeled data to train models. In the literature, to deal with this problem, several unsupervised person Re-ID methods [12], [13], [14], [15], [16] generate pseudo-labels for unlabeled data. Moreover, in [19], [20], [21], other labeled datasets (e.g., source domains) are utilized to enhance the generalization ability of models in the target domain. Differently, in our UCC Re-ID case, we do not need any other labeled datasets to help to train the model. Instead, we focus on exploring the underlying information within the data via advanced techniques such as adversarial learning.

In real-world scenarios, a person's appearance often varies greatly across camera views due to changes in body pose, view angle, occlusion, image resolution, illumination conditions, and background noises, as shown in Fig. 2. These variations lead to the data distribution discrepancy across cameras. To better illustrate this situation, we use the ResNet50 [22] pretrained on ImageNet [23] to extract features from raw images and employ the t-SNE [24] to visualize the data distribution on the benchmark datasets of Market1501 and DukeMTMCreID in Fig. 3. As seen, samples of different cameras usually reside in different regions, i.e., the involved cameras do not align with each other in this feature space. This is the key challenge to deal with in the proposed UCC person Re-ID task. Particularly, if all samples from different camera views could conform to the same data distribution in a shared feature space, we will obtain sufficiently good performance by simply using the within-camera label information to train models.

To deal with the above distribution discrepancy across camera views, we propose a novel Adversarial Camera Alignment Network (ACAN) for the proposed UCC person reidentification task. Specifically, we develop a Multi-Camera Adversarial Learning (MCAL) method to project all data from different cameras into a common feature space. Then we utilize the intra-camera label information to conduct the discrimination task that aims to make the same identities closer and different identities farther. To carry out the multi-camera adversarial learning, we develop two different schemes to maximize the loss function of the discriminator (i.e., a classifier to discriminate data from different cameras) in the ACAN framework including the widely used gradient reversal layer (GRL) and a new one called 'other camera equiprobability' (OCE) proposed by this work. In particular, we also give the theoretical analysis to show that cameras can be completely aligned when the discriminator predicts an equal probability for each camera class. Extensive experiments on five largescale datasets including three image datasets and two video datasets well validate the superiority of the proposed work when compared with the state-of-the-art unsupervised Re-ID methods utilizing the labeled source domains and generated images by the GAN-based models. Furthermore, the experimental study shows that aligning the distributions of different cameras can indeed bring a significant improvement in the proposed framework.

In summary, the main contributions of this paper are fourfold. Firstly, we propose a new person Re-ID setting named Unsupervised Cross-Camera (UCC) person Re-ID which only needs the within-camera labels but not the cross-camera label

(a) Market1501

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-10621d62-f2db-4b68-b32b-8751335a5084.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-30996eb7-8fb5-4edc-a07e-495d9f1b741c.jpg)

(b) DukeMTMC-reID

Fig. 2. Images from Market1501 and DukeMTMC-reID. (a) Six different cameras on Market1501; (b) Eight different cameras on DukeMTMC-reID. In the figure, C i represents the i -th camera. As seen in this figure, there are varying view angle, occlusion, backgrounds, etc. in different cameras.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-d8562b27-13a8-471e-99af-9ccc8741ae5a.jpg)

(a) Market1501

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-2944b771-e993-4870-b60e-51ec21bfbd90.jpg)

(b) DukeMTMC-reID

Fig. 3. Visualization of the distributions of two datasets via t-SNE [24]. The features of all images are extracted by the ResNet50 [22] pre-trained on ImageNet [23]. Different colors denote the images from different cameras. In detail, (a) shows six different cameras on Market1501; (b) shows eight different cameras on DukeMTMC-reID. Best viewed in color.

information that is more expensive to collect. Secondly, we develop an adversarial camera alignment network for the proposed task, which deals with the cross-camera unlabeled case from the perspective of reducing the cross-camera data distribution discrepancy. Thirdly, to achieve the multi-camera adversarial learning, we utilize the existing gradient reversal layer (GRL) and also propose a new scheme called 'other camera equiprobability' (OCE), with theoretical analysis provided for the latter. Lastly, the experimental results on multiple benchmark datasets show that the proposed method outperforms the state-of-the-art unsupervised methods in the UCC setting. Also, the efficacy of the proposed multi-camera adversarial learning method is well confirmed.

The rest of this paper is organized as follows. The related work is reviewed in Section II. The ACAN framework is proposed and discussed in Section III. Experimental results and analysis are presented in Section IV, and the conclusion is drawn in Section V.

## II. RELATED WORK

## A. Unsupervised Person Re-ID

In the early years, most methods for person Re-ID mainly focus on designing the discriminative hand-crafted features containing the color and structure information, such as LOMO [25] and BoW [26], which can be directly applied to person Re-ID without using any label information. Besides, some domain adaptation methods [27], [28], [29], [30], [31] based on hand-crafted features are developed to transfer the discriminative information from a labeled source domain to an unlabeled target domain by learning a shared subspace or dictionary between source and target domains. However, these

methods are not based on deep learning and thus do not fully explore the high-level semantics in images.

With the introduction of deep learning into the computer vision community, many methods based on deep learning have been developed for Re-ID. Since deep networks need the label information to train, many methods generate pseudo labels for unlabeled samples [12], [13], [14], [15], [16]. In [12], clustering methods are utilized to assign pseudo-labels to unlabeled samples. Lv et al. [16] leverage spatio-temporal patterns of pedestrians to obtain robust pseudo-labels. In [15], an approach is proposed to simultaneously learn an attributesemantic and identity-discriminative feature representation by producing the pseudo-attribute-labels in target domain. However, generating pseudo-labels for unlabeled data is complex, and they may not be necessarily consistent with true labels.

In addition, deep domain adaptation methods are developed to reduce the discrepancy between source and target domains from the perspective of feature representation [19], [20], [21]. Lin et al. [19] develop a novel unsupervised Multi-task Midlevel Feature Alignment (MMFA) network, which uses the Maximum Mean Discrepancy (MMD) to reduce the domain discrepancy. Delorme et al. [20] introduce an adversarial framework in which the discrepancy across cameras is relieved by fooling a camera discriminator. Considering the presence of camera-level sub-domains in person Re-ID, Qi et al. [21] develop a camera-aware domain adaptation to reduce the discrepancy not only between source and target domains but also across these sub-domains (i.e., cameras).

Recently, generating extra training images for target domain has become popular [32], [33], [13], [14]. Wei et al. [32] impose constraints to maintain the identity in image generation. The approach in [33] enforces the self-similarity of an image before and after translation and the domain-dissimilarity of a translated source image and a target image. Zhong et al. [13] propose to seek camera-invariance by using unlabeled target images and their camera-style transferred counterparts as positive match pairs. Besides, it views the source and target images as negative pairs for the domain connectedness. In [34], the camera-invariance is introduced into the model, which requires that each real image and its style-transferred counterparts share the same identity.

Besides the aforementioned image-based unsupervised methods, several video-based unsupervised methods for Re-ID have also been seen in recent years [35], [36], [37], [38], [39]. To generate robust cross-camera labels, Ye et al. [39] construct a graph for the samples in each camera, and then introduce a graph matching scheme for the cross-camera label association. Chen et al. [40] learn a deep Re-ID matching model by jointly optimizing two margin-based association losses in an end-toend manner, which effectively constrains the association of each frame to the best-matched intra-camera representation and cross-camera representation. Li et al. [41] jointly learn within-camera tracklet association and cross-camera tracklet correlation by maximizing the discovery of most likely tracklet relationships across camera views. Moreover, its extension is capable of incrementally discovering and exploiting the underlying Re-ID discriminative information from automatically generated person tracklet data end-to-end [42].

Different from all of the above methods, the proposed method in this work does not use any additional data, such as generated images from GANs or labeled source domains. Also, we do not need any complex pseudo-label schemes to generate the association across cameras.

## B. Unsupervised Domain Adaptation

Unsupervised domain adaptation is also related to our work. It is a more general technique to reduce the distribution discrepancy between source and target domains. In the literature, most unsupervised domain adaptation methods learn a common mapping between source and target distributions. Several methods based on the Maximum Mean Discrepancy (MMD) have been proposed [43], [44], [45], [46]. Long et al. [43] introduce a new deep adaptation network, where the hidden representations of all task-specific layers are embedded in a Reproducing Kernel Hilbert space. To transfer a classifier from the source domain to the target domain, the work in [44] jointly learns adaptive classifiers between the two domains by a residual function. In [47], [48], autoencode-based methods are investigated to explore the discriminative information in target domain. Recently, adversarial learning [49], [50], [51] has been applied to domain adaptation. Ganin et al. [49] propose the gradient reversal layer (GRL) to pursue the same distribution between source and target domains. Inspired by generative adversarial networks (GANs), Tzeng et al. [51] leverage a GAN loss to match the data distributions of source and target domains. Nevertheless, different from the typical unsupervised domain adaptation case which only has two domains (i.e., one source domain and one target domain), our UCC person Re-ID task usually faces the distribution discrepancy across multiple domains (i.e., cameras).

In recent years, some multi-domain adversarial methods have been developed to solve multi-source domain adaptation [52], [53], [54]. In [52], [53], adversarial learning is employed in each pair of the source domain and the target domain to map all domains into a common feature space. Sebag et al. [54] utilize the gradient reversal layer (GRL) to map multiple domains into the same space. However, the above methods deal with the adversarial task in the setting of 'one to many' (i.e., one target domain and multiple source domains). Differently, the UCC Re-ID in this work needs to handle the adversarial task in the setting of 'many to many' (i.e., multiple cameras to multiple cameras), which is more complicated and needs a new method.

## III. ADVERSARIAL CAMERA ALIGNMENT NETWORK

This section puts forward a novel Adversarial Camera Alignment Network (ACAN) for the unsupervised crosscamera (UCC) person Re-ID task focused in this paper. It only needs the within-camera (intra-camera) label information but no cross-camera (inter-camera) labels 1 . We illustrate the proposed method in Fig. 4, which mainly consists of the camera alignment task and the discrimination learning task.

1 The proposed unsupervised cross-camera person Re-ID task is also called UCC person Re-ID in this paper.

Fig. 4. An illustration of the proposed adversarial camera alignment network. It is an end-to-end framework. In detail, a) is the input images from different cameras, which only has intra-camera labels but not inter-camera label information; b) is the feature extractor to obtain the feature representation of each input image from the deep network; c) shows the camera-alignment task by adversarial learning to map all images of different cameras into a shared feature space; d) denotes the supervised intra-camera discrimination task with only using the intra-camera label information in this shared feature space, which aims to pull the images of the same identity closer and push the images of different identities farther. Best viewed in color.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-8b69c786-ca24-4ffc-b23f-4472dd0b5295.jpg)

In this paper, we develop a multi-camera adversarial learning method to align all cameras, with two different adversarial schemes to achieve this goal. For learning the discrimination information from the intra-camera labeled data, we simply employ the commonly used triplet loss with the hard-samplemining scheme [55]. In the following part, we describe the camera alignment module and the discrimination learning module in Section III-A and Section III-B, respectively. After that, the optimization of the objective function in the proposed ACAN is presented in Section III-C.

## A. Camera Alignment by Multi-camera Adversarial Learning

In unsupervised cross-camera person Re-ID, we only have the within-camera label information and thus cannot directly explore the relationship between cross-camera images. Due to the variation of body pose, occlusion, image resolution, illumination conditions, and background noises, there exists significant data discrepancy across cameras, as shown in Fig. 3. If we merely use the within-camera labels to train models, the data distribution discrepancy across cameras cannot be removed. Different from most existing unsupervised person Re-ID methods [12], [13], [14], [15], [16] which generate pseudo-labels for unlabeled data, we address this problem from the perspective of reducing data distribution. In other words, we reduce the distribution discrepancy by aligning all cameras with adversarial learning. To achieve the goal, we develop a Multi-Camera Adversarial Learning (MCAL) to map images of different cameras into a common feature space.

Let X = [ X ,..., X 1 C ] be the set of training images, where X c denotes the set of images from the c -th camera and C is the total number of cameras. Y = [ Y , ..., Y 1 C ] is the corresponding set of within-camera person labels. The set of camera IDs (i.e., the label of each camera class) of the images in X is denoted by Z , i.e., each element in Z represents the camera ID of each image. Adversarial learning involves the optimization of discriminator and generator [56]. As usual, the discriminator (i.e., a classifier to distinguish the images from different cameras) in this work is optimized by a cross-entropy loss defined on the C camera classes as

$$\Phi _ { \Phi } \quad \text{www.w3.com/en-us-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-S-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-sb-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-b-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-sl-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-ss-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s- s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-n-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-a-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-g-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-ns-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-ls-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-l-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-x-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-m-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-gs-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-s-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-l-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-rr-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-$$

where x denotes an image, z is the true camera class label of x , and δ ( ) · represents the Dirac delta function, i.e. , it is equal to 1 if k = z , otherwise 0. F denotes the backbone network (i.e., the feature extractor module in Fig. 4), and F x ( ) is the feature representation of x . D indicates the discriminator and D F x ,k ( ( ) ) is the prediction score (i.e., probability) for x with respect to the k -th camera class.

To train the feature extractor F , we conduct the adversarial task so that the discriminator cannot effectively predict the camera ID of each image. Intuitively, to carry out the multicamera adversarial task, we can directly optimize the feature extractor F by maximizing the discriminator loss as

$$\text{erate} & \quad \min _ { F } \mathcal { L } _ { \text{MCAL} - F } ( X, Z, D ) \overset { \hat { \varrho } } { = } \max _ { F } \mathcal { L } _ { \text{MCAL} - D } ( X, Z, D ) \\ \text{ords}, & \quad = \min _ { F } \left [ \mathbb { E } _ { ( x, z ) \sim ( X, Z ) } \sum _ { k = 1 } ^ { C } \delta ( z - k ) \log D ( F ( x ), k ) \right ], \\ & \quad \text{--} \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \end{$$

where for consistency it is written as minimizing the negative discriminator loss.

Following the literature, we first investigate the gradient reversal layer (GRL) technique [49] to solve Eq. (2). After that, we point out its limitations for the multiple-camera adversarial task and develop a new simple but effective criterion 'other camera equiprobability' (OCE) for our task.

1) GRL-based adversarial scheme: The gradient reversal layer (GRL) [49] is commonly used to reduce the distribution

discrepancy of two domains. It is equal to maximizing the domain discrimination loss. From the perspective of our work, GRL can be viewed as maximizing the camera discrimination loss (i.e., Eq. (2)). Therefore, we can utilize it to solve the multi-camera adversarial task. Note that because our case deals with multiple (camera) classes, a loss will be counted as long as an image is not classified into its true camera class.

To train the feature extractor F with Eq. (2), we insert GRL between F and D as in the literature [49]. During forward propagation, GRL is simply an identity transform. During backpropagation, GRL reverses (i.e., multiplying by a negative constant) the gradients of the camera discriminator loss with respect to the network parameters in feature extraction layers and pass them backward. This GRL-based adversarial scheme can somehow work to reduce distribution discrepancy across different cameras (i.e., domains), as will be experimentally demonstrated shortly.

However, we observe that this scheme has a drawback. Maximizing the discriminator loss by GRL only enforces an image 'not to be classified into its true camera class'. It will appear to be 'equivalently good' for this optimization as long as an image is classified into any wrong camera classes. As a result, this scheme may be trapped into a 'local' camera assignment (i.e., the images from a certain camera are only misclassified into a few cameras but not any other cameras). In the extreme case, this could lead to a 'many to one' assignment (i.e., all images are misclassified into a single camera class, as shown in Fig. 10), especially when the dataset is collected from many cameras. This adversely affects the reduction of data distribution discrepancy. The disadvantage of GRL will be further verified in Section IV-E.

2) OCE-based adversarial scheme: To overcome the above issue, we explicitly assign camera class labels to each training image. To find a good scheme of the camera label assignment to train the feature extractor F , we give the following theoretical analysis.

Proposition 1. Given any image x , we explicitly assign it, with equal probability, all the C camera class labels. Training the feature extractor F with this condition makes the data distribution of all cameras aligned as

$$K L ( p ( x | \mathcal { C } _ { 1 } ) \, \| \, p ( x ) ) = \dots = K L ( p ( x | \mathcal { C } _ { C } ) \, \| \, p ( x ) ) = 0, \quad b i l i t _ { \cdot }$$

where p x ( |C i ) is the class-conditional probability density function of the i -th camera class, p x ( ) denotes the probability density function of the images. KL p x ( ( |C i ) ‖ p x ( )) is the Kullback-Leibler divergence between p x ( |C i ) and p x ( ) .

Proof. Given an image x , its posteriori probability with respect to the i -th camera class (denoted by C i ( i = 1 , · · · , C ) ) can be expressed via the Bayes' rule as

$$P ( \mathcal { C } _ { i } | x ) = \frac { p ( x | \mathcal { C } _ { i } ) P ( \mathcal { C } _ { i } ) } { p ( x ) }, \ \ i = 1, \cdots, C, \quad ( 3 ) \quad \text{$\text{$all ca}$} \\ \quad \text{$schema$}$$

where p x ( |C i ) indicates the class-conditional probability density function of the i -th camera class, p x ( ) is the probability density function of the images, and P ( C i ) is the priori probability of the i -th camera class. Note that P ( C | i x ) is just D F x ,i ( ( ) ) . For clarity, D F x ,i ( ( ) ) is compactly denoted by D i .

For an image x , if we assign the equal label (i.e., 1 /C ) to all camera classes to train the feature extractor F , we can get the loss function as

$$\min _ { \{ D _ { 1 }, \cdots, D _ { C } \} } \left ( - \frac { 1 } { C } \sum _ { i = 1 } ^ { C } \log D _ { i } \right ) \quad \quad ( 4 )$$

with the constraints of D i ≥ 0 and ∑ C i =1 D i = 1 . Due to the symmetry of the objective function with respect to the probabilities D , 1 · · · , D C , it is not difficult to see that the optimal value of D i is 1 /C for i = 1 , · · · , C . A rigorous proof can be readily obtained by applying the Karush-KuhnTucker conditions [57] to this optimization. This indicates that P ( C | i x ) will equal 1 /C when Eq. (4) is minimized for this given image x .

We turn to Eq. (3) and rewrite it as

$$p ( x | \mathcal { C } _ { i } ) = \frac { P ( \mathcal { C } _ { i } | x ) } { P ( \mathcal { C } _ { i } ) } p ( x ), \ \ i = 1, \cdots, C. \quad \ ( 5 )$$

Without loss of generality, equal priori probability can be set for the C camera classes, that is, P ( C i ) is constant 1 /C . Further, note that by optimizing D i in Eq. (4) above, it can be known that

$$P ( \mathcal { C } _ { i } | x ) = \frac { 1 } { \mathcal { C } }, \ \ i = 1, \cdots, C. \quad \quad \quad ( 6 )$$

Combining the above results, Eq. (5) becomes

$$p ( x | \mathcal { C } _ { i } ) = \frac { 1 / C } { 1 / C } p ( x ) = p ( x ), \ \ i = 1, \cdots, C. \quad ( 7 )$$

This indicates that p x ( |C i ) = p x ( ) when Eq. (4) is minimized for this given image x ∈ X . Thus, it can be easily obtained that,

$$& \mathfrak { g } \\ \vdash & \quad K L ( p ( x | \mathcal { C } _ { i } ) \, \| \ p ( x ) ) = \\ & \mathfrak { g } \\ & \quad \sum _ { x \in X } p ( x | \mathcal { C } _ { i } ) \log ( \frac { p ( x | \mathcal { C } _ { i } ) } { p ( x ) } ) = 0, \quad i = 1, \cdots, C. \\ & \quad t,$$

glyph[squaresolid]

Based on the above result, we can readily infer the following corollary.

Corollary 1. If the discriminator predicts the equal probability for any given image x with respect to all camera classes, the data distributions of all cameras can be aligned as

$$\underset {. \nu } { \nu } \, \sum K L ( p ( x | \mathcal { C } _ { 1 } ) \, \| \, p ( x ) ) = \dots = K L ( p ( x | \mathcal { C } _ { C } ) \, \| \, p ( x ) ) = 0.$$

According to Proposition 1 , a straightforward way may be to simply require an image from any camera classes to be equiprobably classified into all of the C camera classes (i.e., 'all camera equiprobability', ACE in short), which is similar to the method in the literature [20]. However, such an ACE scheme cannot produce satisfactory performance as expected, which will be sufficiently validated by our experiments.

This can be explained as follows. First, the objective function in Eq. (4) is a complicated composite function of network parameters in the feature extractor F . As a result, the optimization can hardly achieve the global minimum. That's to say, the result of Proposition 1 will not be exactly achieved

in practice, and in turn this will not guarantee the expected reduction on the data distribution discrepancy.

Second, a more subtle issue is that the result of Proposition 1 (i.e., predicting the equal probability for all camera classes) is the goal set for the discriminator after the equilibrium is achieved through adversarial learning . It shall not be simply used as the requirement to design the discriminator loss during adversarial learning . As evidence, in order to make the final discriminator to predict equal probability (i.e., 1 / 2 ) for both true and fake classes, the original GANs assign the class label '1' explicitly (rather than with a probability of 1 2 / ) to any sample from the fake class to design the discriminator loss used to train the generator [56]. Applying the same rule to our case, it means that we shall not follow the ACE scheme to design the discriminator loss in Eq. (4).

To better reflect this situation, we develop a more precise scheme to achieve the multi-camera adversarial learning. In this new scheme, we require that with the learned feature representation, the discriminator shall classify an image into all camera classes with equal probability except the camera class which the image originally belongs to (i.e., zero probability for this class). This is where the name 'other camera equiprobability' (OCE) comes from. This scheme can effectively avoid the effect of 'local camera assignment', which is unfavorably done in the GRL-based scheme and make better efforts to align all cameras together, as demonstrated in the experiments. Furthermore, note that the proposed OCEbased scheme does not conflict with the result of Proposition 1 , as analyzed above. As to be confirmed by Fig. 10 in Section IV-E, the discriminator obtained by our scheme indeed has a clearer trend than the GRL-based scheme to predict the equal probability for all camera classes (i.e., Corollary 1 ).

Formally, the proposed OCE scheme on an image x k in the k -th camera can be expressed as glyph[negationslash]

$$\mathcal { L } _ { \text{OCE} } ( x ^ { k } ) = - \frac { 1 } { C - 1 } \sum _ { \stackrel { i = 1 } { i \neq k } } ^ { C } \log ( D ( F ( x ^ { k } ), i ) ), \quad ( 9 ) \quad \ B. \ D i s$$

where D F x ( ( k ) , i ) denotes the predicted probability that x k belongs to the i -th camera class. In this way, the optimization for training the extractor feature F (backbone network) is defined as

$$\min _ { F } \mathcal { L } _ { \text{MCAL-F} } ( X, D ) = \min _ { F } \mathbb { E } _ { x \sim X } \mathcal { L } _ { \text{OCE} } ( x ). \quad ( 1 0 ) \quad \min _ { \text{MCAL-F} } \mathbb { \Phi } _ { x \sim \mathcal { C } _ { \text{C} } }.$$

Note that the traditional two-domain adversarial learning methods [49], [51] are just a special case of this OCE-based scheme when there are exactly two camera classes on a dataset.

Discussion. a) Comparison among different adversarial learnings . To show the difference between the proposed multicamera adversarial leaning and other adversarial learning in the literature, we illustrate them in Fig. 5. The conventional adversarial learning (AL) methods [49], [50], [51], [58] conduct adversarial task between two domains (source and target domains or two different camera views). Multi-domain adversarial learning (MDAL) [52], [53], [54], [59] deals with multi-source domain adaptation, which aligns one target domain and multiple source domains (i.e., 'one to many').

Fig. 5. Comparison among different adversarial schemes. (a) is adversarial learning (AL) in the conventional domain adaptation. (b) denotes the multidomain adversarial learning (MDAL) for multi-source domain adaptation. (c) represents multi-camera adversarial learning (MCAL) for our camera alignment task. In this figure, T, S and C denote target domain, source domain and camera, respectively.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-62813bd4-782a-4526-aa0c-789a2146e6b8.jpg)

In contrast, the proposed multi-camera adversarial learning (MCAL) is specially designed for the camera alignment task, which conducts the camera adversarial task with each other (i.e., 'many to many').

b) A caution on reducing distribution discrepancy. As aforementioned, the OCE scheme can better reduce the distribution discrepancy among cameras than the GRL scheme, which is experimentally validated in Section IV-E.

Reducing data distribution discrepancy has been widely regarded as an effective means to mitigate the domain gap in computer vision. This also a key motivation of this work. Nevertheless, we would like to point out that this data discrepancy reduction approach may need to be used cautiously, for example, in the person Re-ID task. We observe that although the proposed OCE scheme is clearly better than the GRL scheme on distribution discrepancy reduction, its ReID performance could be less competitive than the latter. In other words, the relationship between discrepancy reduction and performance improvement may not be in a linear form. In some cases, single-minded pursuit of camera alignment could damage the intrinsic structure of the data distribution from each camera class, and this in turn adversely affects the final Re-ID performance. In Section IV-D and Section IV-E, we will further discuss this issue by analyzing the results of two different adversarial schemes.

## B. Discrimination Learning with Intra-camera Labels

We utilize multi-camera adversarial learning to project all images of different cameras into a common feature space. Based on this shared space, we learn discriminative information by using the available within-camera label information. In this paper, we employ the triplet loss with the hard-samplemining scheme [55]. It selects the hardest positive sample (i.e., the farthest positive sample) and the hardest negative sample (i.e., the closest negative sample) for an anchor to generate the triplet. This scheme can well optimize the embedding space such that data points with the same identity become closer to each other than those with different identities [55]. With the available within-camera label information, we only choose training data within each camera class to generate triplets. In each batch, we randomly select P persons and each person has K images, i.e., N = P × K . For the c -th camera, the triplet loss with hard sample mining can be described as

$$\text{leals} \quad \min _ { F } \mathcal { L } _ { \text{Triplet} } ( X _ { c }, Y _ { c } ) = \mathbb { E } _ { ( x, y ) \sim ( X _ { c }, Y _ { c } ) } [ m + l ( x ) ] _ { + }. \quad ( 1 1 )$$

For an anchor sample x i a from the i -th person,

glyph[negationslash]

$$l ( x _ { a } ^ { i } ) = \overbrace { \max _ { p = 1 \dots K } d ( F ( x _ { a } ^ { i } ), F ( x _ { p } ^ { i } ) ) } - \overbrace { \min _ { \substack { j = 1 \dots P \\ j \neq i } } d ( F ( x _ { a } ^ { i } ), F ( x _ { n } ^ { j } ) ) } ^ { \text{ hardest negative} } } ^ { \text{ hardest negative} } \quad & \overbrace { \text{ 2: $\theta_{F}$} \, \cdot$} \\ \quad & \text{3: $\theta_{D}$} \, \cdot$} \\ \text{and $m$ denotes the margin. $F(x_{x}^{i})$ is the feature of the sample} \quad & \text{$\varepsilon$} \quad a$}$$

and m denotes the margin. F x ( i a ) is the feature of the sample x i a and d ( · , · ) is Euclidean distance of two feature vectors.

## C. Optimization

The loss function of the proposed ACAN framework is finally expressed as

$$& \min _ { D } \mathcal { L } _ { \text{MCAL-D} } ( X, Z, F ), & & \text{1.2} \\ & \min _ { F } \left [ \mathcal { L } _ { \text{Triplet} } ( X _ { c }, Y _ { c } ) + \lambda \mathcal { L } _ { \text{MCAL-F} } ( X, D ) \right ], c \in \left \{ 1, \dots, C \right \}, & \frac { 1 4 \colon end } { ( 1 3 ) } \\ & \text{share } \, \cup \, \text{is the normal to trade off the camera alignment}$$

where λ is the parameter to trade off the camera alignment task and the discrimination learning task.

Let θ F and θ D be the learnable parameters of feature extractor F and discriminator D , respectively. For the GRLbased adversarial scheme, we can use the following stochastic updates as

$$\theta _ { D } & = \theta _ { D } - \mu \frac {$$

Since the GRL-based scheme employs the gradient reversal method, we directly use the reversal gradient of the discriminator to update the feature extractor F , as shown in Eq. (14).

For the OCE-based adversarial scheme, we can update the feature extractor F and discriminator D as

$$\theta _ { D } & = \theta _ { D } - \mu \frac {$$

where L MCAL -F is defined in Eq. (10). In the optimizing process, since the discriminator needs to calculate two different losses (i.e., the cross-entropy loss for updating the parameters of discriminator and the OCE loss for updating the parameters of feature extractor), we employ the alternate way to update the discriminator D and the feature extractor F , which is similar to the typical GANs methods [56], [60]. The pseudo-code of the whole optimization process is shown in Algorithm 1.

## IV. EXPERIMENTS

In this part, we first introduce the experimental datasets and settings in Section IV-A. Then, we compare the proposed method with the state-of-the-art unsupervised Re-ID methods and some methods with the UCC setting in Sections IV-B and IV-C, respectively. To validate the effectiveness of various components in the proposed framework, we conduct ablation study in Section IV-D. Lastly, we further analyze the property of the proposed network in Section IV-E.

- 1: procedure ACAN (Training examples X , labels Y Intra )
- 2: θ F ← Initialize by ResNet-50 pre-trained on ImageNet.
- 3: θ D ← Initialize by random number.
- 4: for epoch ∈ [1 , ..., T ] do
- 5: // Fix feature extractor θ F , and update discriminator θ D .
- 6: θ D = θ D -µ MCAL -D ∂θ D
- .
- ∂ L
- 7: // Fix discriminator θ D , and update feature extractor θ F
- 8: if using GRL scheme then

$$\begin{array} {$$

$$9 \colon \quad \theta _ { F } & = \theta _ { F }$$

- 12: end if
- 13: end for
- 14: end procedure

## A. Datasets and Experiment Settings

We evaluate our approach on three large-scale image datasets: Market1501 [26], DukeMTMC-reID [61], and MSMT17 [32]. Market1501 contains 1,501 persons with 32,668 images from six cameras. Among them, 12 936 , images of 751 identities are used as a training set. For evaluation, there are 3 368 , and 19 732 , images in the query set and the gallery set, respectively. DukeMTMC-reID has 1 404 , persons from eight cameras, with 16 522 , training images, 2 228 , queries, and 17 661 , gallery images. MSMT17 2 is collected from a 15camera network deployed on campus. The training set contains 32 621 , images of 1 041 , identities. For evaluation, 11 659 , and 82 161 , images are used as query and gallery images, respectively. For all datasets, we employ CMC (i.e., Cumulative Match Characteristic) accuracy and mAP (i.e., mean Average Precision) for Re-ID evaluation [26]. On Market1501, there are single- and multi-query evaluation protocols. We use the more challenging single-query protocol in our experiments.

In addition, we also evaluate the proposed method on two large-scale video datasets including MARS [62] and DukeMTMC-SI-Tracklet [42]. MARS has a total of 20 478 , tracklets of 1 261 , persons captured from a 6-camera network on a university campus. All the tracklets were automatically generated by the DPM detector [63] and the GMMCP tracker [17]. This dataset splits 626 and 635 identities into training and testing sets, respectively. DukeMTMCSI-Tracklet is from DukeMTMC. It consists of 19 135 , person tracklets and 1 788 , persons from 8 cameras. In this dataset, 702 and 1 086 , identities are used to train and evaluate models, respectively. On the video datasets, we also employ CMC accuracy and mAP for Re-ID evaluation [26].

For training the multi-camera adversarial learning task, we randomly select the same number (i.e., ⌊ 64 C ⌋ , where C is the number of cameras and glyph[floorleft]·glyph[floorright] denotes the round down operation) of images per camera in a batch. To generate triplets, we set

2 On MSMT17, the second camera includes 15 identities with 193 images. In each training batch, since 32 identities are chosen from each camera, we do not select data from the camera in all experiments. Therefore, we use the data of 14 cameras to train our model on this dataset.

P (i.e., number of persons) and K (i.e., number of images per person) as 32 and 4 in each training batch, which is the same with the literature [55]. The margin of triplet loss, m , is 0 3 . according to the literature [55]. λ in Eq. (13) is set as 1 . We use a fully connected layer to implement the discriminator D , whose dimension is set as 128 . The initial learning rates of the fine-tuned parameters (those in the pre-trained ResNet-50 on ImageNet [23]) and the new parameters (those in the newly added layers) are 0 1 . and 0 01 . , respectively. The proposed model is trained with the SGD optimizer in a total of 300 epochs. When the number of epochs reaches 100 and 200 , we decrease the learning rates by a factor of 0 1 . . The size of the input image is 256 × 128 . Particularly, all experiments on all datasets utilize the same experimental settings.

## B. Comparison with Unsupervised Methods

We compare our method with the state-of-the-art unsupervised image-based person Re-ID methods. Among them, there are five non-deep-learning-based methods (LOMO [25], BoW [26], UJSDL [30], UMDL [27] and CAMEL [31]), and multiple deep-learning-based methods. The latter includes three recent pseudo-label-generation-based methods (PUL [12], TFusion [16] and TJ-AIDL [15]), three distribution-alignment-based methods (MMFA [19], CAT [20] and CAL-CCE [21]) and five recent image-generation-based approaches (PTGAN [32], SPGAN [33], HHL [13], UTA [64], ECN [34] and CSGLP [65]). Particularly, although there is no label information for the target domain in these unsupervised methods, most of them utilize the labeled source domains or generated images by the GAN-based models. Differently, our method does not utilize such information. The experimental results on Market1501, DukeMTMC-reID and MSMT17 are reported in Table I. As seen, the results consistently show the superiority of our proposed method over the aforementioned methods. For example, the proposed method significantly outperforms the recent pseudo-label-generation-based methods, such as PUL and CAMEL. This is contributed to the available intra-camera label information and the multi-camera adversarial learning method which can effectively align the distributions from different cameras. Particularly, compared with the recent ECN [13], the state-of-the-art by utilizing both the labeled source domain and generated images from the GAN-based model, our ACAN-OCE still gains 4 7% . ( 47 7 . vs. 43 0 . ), 4 7% . ( 45 1 . vs. 40 4 . ) and 2 4% . ( 12 6 . vs. 10 2 . ) in mAP on Market1501, DukeMTMC-reID and MSMT17, respectively. In particular, the proposed method does not use any other extra data, such as labeled source domains or generated images by the GAN-based methods [32], [33].

Moreover, we also compare our method with the state-ofthe-art unsupervised video-based Re-ID approaches on MARS and DukeMTMC-SI-Tracklet, which include GRDL [35], UnKISS [36], RACE [37], Stepwise [38], DGM+MLAPG [39], DGM+IDE [39], DAL [40], TAUDL [41] and UTAL [42]. Among them, except for GRDL and UnKISS, all other methods are based on deep features. The results are reported in Table II. Compared with the recent UTAL, which has shown the superiority in the unsupervised video-based ReID task, our method (ACAN-GRL or ACAN-OCE) achieves a significant improvement in mAP and CMC accuracy. In particular, ACAN-GRL outperforms UTAL by 13 9% . ( 49 1 . vs. 35 2 . ) and 9 3% . ( 59 2 . vs. 49 9 . ) in mAP and Rank-1 accuracy on MARS, respectively. This further validates the effectiveness of our proposed methods.

## C. Comparison with Methods in UCC Setting

In this section, we compare our method with the unsupervised video-based person Re-ID methods working in the UCC setting (i.e., given the intra-camera label information). Both TAUDL [41] and UTAL [42] consist of intra-camera tracklet discrimination learning and cross-camera tracklet association learning. In the UCC setting, they construct the connection of different cameras by self-discovering the cross-camera positive matching pairs. Different from both TAUDL [41] and UTAL [42], we address the cross-camera problem from the data-distribution alignment perspective. We show the experimental results in Tables III and IV. As seen, on all image datasets (Table III), the proposed method has a better performance with TAUDL and UTAL. For example, the Rank-1 accuracy of ACAN-OCE gains 3 0% . ( 72 2 . vs. 69 2 . ), 5 3% . ( 67 6 . vs. 62 3 . ) and 1 6% . ( 33 0 . vs. 31 4 . ) over UTAL on Market1501, DukeMTMC-reID and MSMT17, respectively. Besides, on video datasets, the proposed method can also achieve competitive performance. Although the results are slightly worse when compared with UTAL on MARS, the proposed method still obtains a large improvement on DukeMTMC-SI-Tracklet. As seen, on DukeMTMC-SI-Tracklet, ACAN-GRL can improve 4 0% . ( 43 0 . vs. 39 0 . ) and 5 6% . ( 52 0 . vs. 46 4 . ) over UTAL in mAP and Rank-1 accuracy, respectively. Particularly, we also further demonstrate the effectiveness of multi-camera adversarial learning on all datasets in Section IV-D.

## D. Effectiveness of Different Components in ACAN

To sufficiently validate the efficacy of different components in the proposed adversarial camera alignment network, we conduct experiments on five large-scale datasets. The experimental results are reported in Table V. Firstly, on all datasets, using multi-camera adversarial learning to align all cameras can significantly improve the performance of the model conducting the only intra-camera discrimination task (i.e., 'only L Triplet ' in Table V). For example, ACAN-GRL can improve 14 8% . ( 49 1 . vs. 34 3 . ) and 12 3% . ( 43 0 . vs. 30 7 . ) in mAP on MARS and DukeMTMC-SI-Tracklet. Also, the Rank-1 accuracy can be improved by 13 7% . ( 59 2 . vs. 45 5 . ) and 13 6% . ( 52 0 . vs. 38 4 . ). This demonstrates the effectiveness of the proposed MCAL. Secondly, compared with results of PUL [12], TFusion [16] and TJ-AIDL [15] in Table I, which are based on pseudo-label-generation, 'only L Triplet ' still has the competitive performance. For example, 'only L Triplet ' improves 7 9% . ( 34 4 . vs. 26 5 . ) and 18 7% . ( 41 7 . vs. 23 0 . ) over TJ-AIDL in mAP on Market1501 and DukeMTMCreID, respectively. This shows using intra-camera labels indeed contributes to our task. Lastly, the OCE-based scheme is better than the GRL-based scheme on MSMT17 collected from 15 cameras, due to the limitation of GRL (i.e., maximize Eq. (2) by freely assigning camera labels), as analyzed in

TABLE I

COMPARISON WITH THE STATE-OF-THE-ART UNSUPERVISED METHODS ON THREE IMAGE DATASETS INCLUDING MARKET1501, DUKEMTMC-REID AND MSMT17. '-' DENOTES THAT THE RESULT IS NOT PROVIDED. WE REPORT MAP AND THE RANK-1, 5, 10 ACCURACIES OF CMC. THE BEST PERFORMANCE IS SHOWN IN BOLD .

TABLE II

| Method          | Market1501   | Market1501   | Market1501   | Market1501   | DukeMTMC-reID   | DukeMTMC-reID   | DukeMTMC-reID   | DukeMTMC-reID   | MSMT17   | MSMT17   | MSMT17   | MSMT17   |
|-----------------|--------------|--------------|--------------|--------------|-----------------|-----------------|-----------------|-----------------|----------|----------|----------|----------|
| Method          | mAP          | Rank-1       | Rank-5       | Rank-10      | mAP             | Rank-1          | Rank-5          | Rank-10         | mAP      | Rank-1   | Rank-5   | Rank-10  |
| LOMO [25]       | 8.0          | 27.2         | 41.6         | 49.1         | 4.8             | 12.3            | 21.3            | 26.6            | -        | -        | -        | -        |
| BoW [26]        | 14.8         | 35.8         | 52.4         | 60.3         | 8.3             | 17.1            | 28.8            | 34.9            | -        | -        | -        | -        |
| UJSDL [30]      | -            | 50.9         | -            | -            | -               | 32.2            | -               | -               | -        | -        | -        | -        |
| UMDL [27]       | 12.4         | 34.5         | -            | -            | 7.3             | 18.5            | -               | -               | -        | -        | -        | -        |
| CAMEL [31]      | 26.3         | 54.5         | -            | -            | -               | -               | -               | -               | -        | -        | -        | -        |
| PUL [12]        | 20.5         | 45.5         | 60.7         | 66.7         | 16.4            | 30.0            | 43.4            | 48.5            | -        | -        | -        | -        |
| Tfusion [16]    | -            | 60.8         | -            | -            | -               | -               | -               | -               | -        | -        | -        | -        |
| TJ-AIDL [15]    | 26.5         | 58.2         | 74.8         | 81.1         | 23.0            | 44.3            | 59.6            | 65.0            | -        | -        | -        | -        |
| MMFA [19]       | 27.4         | 56.7         | 75.0         | 81.8         | 24.7            | 45.3            | 59.8            | 66.3            | -        | -        | -        | -        |
| CAT [20]        | 27.8         | 57.8         | -            | -            | 28.7            | 50.9            | -               | -               | -        | -        | -        | -        |
| CAL-CCE [21]    | 34.5         | 64.3         | -            | -            | 36.7            | 55.4            | -               | -               | -        | -        | -        | -        |
| PTGAN [32]      | -            | 38.6         | -            | -            | -               | 27.2            | -               | -               | 3.3      | 11.8     | -        | 27.4     |
| SPGAN [33]      | 22.8         | 51.5         | 70.1         | 76.8         | 22.3            | 41.1            | 56.6            | 63.0            | -        | -        | -        | -        |
| SPGAN+LMP [33]  | 26.7         | 57.7         | 75.8         | 82.4         | 26.2            | 46.4            | 62.3            | 68.0            | -        | -        | -        | -        |
| HHL [13]        | 31.4         | 62.2         | 78.8         | 84.0         | 27.2            | 46.9            | 61.0            | 66.7            | -        | -        | -        | -        |
| UTA [64]        | 40.1         | 72.4         | 87.4         | 91.4         | 31.8            | 55.6            | 68.3            | 72.4            | -        | -        | -        | -        |
| ECN [34]        | 43.0         | 75.1         | 87.6         | 91.6         | 40.4            | 63.3            | 75.8            | 80.4            | 10.2     | 30.2     | 41.5     | 46.8     |
| CSGLP [65]      | 31.5         | 61.2         | 77.5         | 83.2         | 27.1            | 47.8            | 62.3            | 68.3            | -        | -        | -        | -        |
| ACAN-GRL (ours) | 50.6         | 73.3         | 87.6         | 91.8         | 46.6            | 65.1            | 80.6            | 85.1            | 11.2     | 27.1     | 40.9     | 47.3     |
| ACAN-OCE (ours) | 47.7         | 72.2         | 86.3         | 90.4         | 45.1            | 67.6            | 81.2            | 85.2            | 12.6     | 33.0     | 48.0     | 54.7     |

COMPARISON WITH THE STATE-OF-THE-ART UNSUPERVISED METHODS ON TWO VIDEO DATASETS INCLUDING MARS AND DUKEMTMC-SI-TRACKLET (DUKE-T).

TABLE III

| Method                                                                                   |   mAP |   Rank-1 |   Rank-5 |   Rank-20 |
|------------------------------------------------------------------------------------------|-------|----------|----------|-----------|
| GRDL [35] UnKISS [36] RACE [37] Stepwise [38] DGM+IDE [39] DAL [40] TAUDL [41] UTAL [42] |   9.6 |     19.3 |     33.2 |      46.5 |
|                                                                                          |  10.6 |     22.3 |     37.4 |      53.6 |
|                                                                                          |  24.5 |     43.2 |     57.1 |      67.6 |
|                                                                                          |  10.5 |     23.6 |     35.8 |      44.9 |
| DGM+MLAPG [39]                                                                           |  11.8 |     24.6 |     42.6 |      57.2 |
|                                                                                          |  21.3 |     36.8 |     54   |      68.5 |
|                                                                                          |  21.4 |     46.8 |     63.9 |      77.5 |
|                                                                                          |  29.1 |     43.8 |     59.9 |      72.8 |
|                                                                                          |  35.2 |     49.9 |     66.4 |      77.8 |
| ACAN-GRL (ours)                                                                          |  49.1 |     59.2 |     77.1 |      86.7 |
| ACAN-OCE (ours)                                                                          |  47.5 |     57.7 |     75.1 |      84   |
| TAUDL [41]                                                                               |  20.8 |     26.1 |     42   |      57.2 |
| UTAL [42]                                                                                |  36.6 |     43.8 |     62.8 |      76.5 |
| ACAN-GRL (ours)                                                                          |  43   |     52   |     71   |      82   |
| ACAN-OCE (ours)                                                                          |  40.3 |     50.4 |     68   |      81.2 |

COMPARISON WITH TAUDL AND UTAL IN THE UCC SETTING ON MARKET1501, DUKEMTMC-REID (DUKE) AND MSMT17. THE BEST PERFORMANCE IS SHOWN IN BOLD .

TABLE IV

|                 | Market1501   | Market1501   | Duke   | Duke   | MSMT17   | MSMT17   |
|-----------------|--------------|--------------|--------|--------|----------|----------|
| Method          | mAP          | Rank-1       | mAP    | Rank-1 | mAP      | Rank-1   |
| TAUDL [41]      | 41.2         | 63.7         | 43.5   | 61.7   | 12.5     | 28.4     |
| UTAL [42]       | 46.2         | 69.2         | 44.6   | 62.3   | 13.1     | 31.4     |
| ACAN-GRL (ours) | 50.6         | 73.3         | 46.6   | 65.1   | 11.2     | 27.1     |
| ACAN-OCE (ours) | 47.7         | 72.2         | 45.1   | 67.6   | 12.6     | 33.0     |

COMPARISON WITH UTAL IN THE UCC SETTING ON MARS AND DUKEMTMC-SI-TRACKLET (DUKE-T).

|                 | MARS   | MARS   | Duke-T   | Duke-T   |
|-----------------|--------|--------|----------|----------|
| Method          | mAP    | Rank-1 | mAP      | Rank-1   |
| UTAL [42]       | 51.7   | 59.5   | 39.0     | 46.4     |
| ACAN-GRL (ours) | 49.1   | 59.2   | 43.0     | 52.0     |
| ACAN-OCE (ours) | 47.5   | 57.7   | 40.3     | 50.4     |

Section III-A. However, for the datasets with few cameras, the OCE scheme may slightly damage the original intrinsic structure of data distribution due to the strict label-assignment strategy. We will further discuss the OCE and GRL schemes in Section IV-E.

## TABLE V

EVALUATION OF DIFFERENT COMPONENTS OF THE PROPOSED ACAN ON THREE IMAGE DATASETS (I.E., MARKET1501, DUKEMTMC-REID AND MSMT17) AND TWO VIDEO DATASETS (I.E., DUKEMTMC-SI-TRACKLET (DUKE-T) AND MARS). THE BEST PERFORMANCE IS SHOWN IN BOLD .

| Dataset    | Method          |   mAP |   Rank-1 |   Rank-5 |
|------------|-----------------|-------|----------|----------|
|            | Only L Triplet  |  34.4 |     58.1 |     72.5 |
| Market1501 | ACAN-GRL (ours) |  50.6 |     73.3 |     87.6 |
|            | ACAN-OCE (ours) |  47.7 |     72.2 |     86.3 |
|            | Only L Triplet  |  41.7 |     60.1 |     75.1 |
| Duke       | ACAN-GRL (ours) |  46.6 |     65.1 |     80.6 |
|            | ACAN-OCE (ours) |  45.1 |     67.6 |     81.2 |
|            | Only L Triplet  |  10   |     24.8 |     38.1 |
| MSMT17     | ACAN-GRL (ours) |  11.2 |     27.1 |     40.9 |
|            | ACAN-OCE (ours) |  12.6 |     33   |     48   |
|            | Only L Triplet  |  34.3 |     45.5 |     61   |
| MARS       | ACAN-GRL (ours) |  49.1 |     59.2 |     77.1 |
|            | ACAN-OCE (ours) |  47.5 |     57.7 |     75.1 |
|            | Only L Triplet  |  30.7 |     38.4 |     55.5 |
| Duke-T     | ACAN-GRL (ours) |  43   |     52   |     71   |
|            | ACAN-OCE (ours) |  40.3 |     50.4 |     68   |

## E. Further Analysis

Algorithm Convergence. To investigate the convergence of our algorithm, we record the mAP and Rank-1 accuracy of ACAN-GRL and ACAN-OCE during training on a validated set of DukeMTMC-reID in Fig. 8. As seen, our methods can almost converge after 200 epochs.

Running Time. For the feature extracting stage, each image needs to take 2.73 ms on GPU (NVIDIA 1080ti), which means each second can conduct about 366 person images. Besides, on the Market1501 dataset, which includes 3369 query images and 19733 gallery images, the matching process of all images merely needs 0.98 s. Therefore, our method can be deployed in a real-world scenario.

Parameter Sensitivity. To study the sensitivity of λ in Eq. (13), which is the parameter to trade off the cameraalignment task and the intra-camera discrimination task, we sample the values in { 0 0 . , 0 5 . , 1 0 . , 1 5 . , 2 0 . , 2 5 . , 3 0 . } , and perform the experiments by ACAN-OCE on DukeMTMC-reID. All the results are shown in Fig 6, and we find that the Rank-1 accuracy first increases and then decreases. Finally, we set λ = 1 in all experiments for all datasets. Also, to analyze the sensitivity of the dimension of the discriminator in our network, we sample the values in { 64 128 256 512 , , , } , and perform the experiments by ACAN-OCE on DukeMTMCreID. Fig. 7 shows the experimental results. As seen, we can obtain good performance when setting the dimension as 128. Consequently, we utilize a 128-dimensional discriminator (i.e., FC layer) in all experiments for all datasets.

OCE VS. ACE. As analyzed in Section III-A2, we prefer the OCE-based scheme rather than the ACE-based scheme. In this part, we conduct a comparison between ACE and OCE in Table VI. As shown, the OCE-based scheme outperforms the ACE-based scheme on all datasets. This is consistent with our previous analysis. For example, compared with the ACE scheme, the OCE scheme increases 7 9% . ( 47 7 . vs. 39 8 . ) and 8 2% . ( 72 2 . vs. 64 0 . ) in mAP and Rank-1 on Market1501, respectively. It indicates that during reducing camera-level discrepancy because i) it is difficult to achieve the ideal minimization in Eq. (4); ii) Since the ACE-based scheme does not follow the rule of the typical GANs [56] to design the discriminator loss, it cannot effectively achieve the multicamera adversarial task. The concrete analysis is given in Section III-A2.

Distribution Visualization. We examine the inter-camera (cross-camera) discrepancy to validate the effectiveness of GRL and OCE. In this experiment, to measure the inter-camera discrepancy, we use d inter -camera = 1 C ∑ C c =1 ∥ ∥ X c -X ∥ ∥ 2 , where X c is the sample mean of the c -th camera class and X denotes the mean of all samples. C is the total number of cameras. These distances are calculated in Table VII, where Baseline denotes 'Only L Triplet ' in Eq. (13). Firstly, for the inter-camera discrepancy, both the GRL-based and OCE-based schemes achieve smaller distances than Baseline because Baseline does not attempt to reduce the cross-camera discrepancy. This demonstrates that the proposed MCAL can make each camera aligned as much as possible. Besides, this experiment also shows that the OCE-based scheme achieves the smallest distance, showing its best capability in reducing the discrepancy across cameras on Market1501, DukeMTMCreID and MSMT17. This is attributed to the proposed special camera-label assigning scheme. Additionally, we visualize the data distributions obtained by the feature representation from Baseline, ACAN-GRL and ACAN-OCE in Fig. 9. The result further illustrates the efficacy of the camera-alignment module in the proposed framework. As seen, compared with the baseline method, our method makes samples closer in the feature space (Fig. 9 (a) vs. Fig. 9 (e) and Fig. 9 (b) vs. Fig. 9 (f)), i.e. , there are more unoccupied regions in Fig. 9 (e) and Fig. 9 (f) than Fig. 9 (a) and Fig. 9(b), respectively. This smaller feature space illustrates that the datadistribution discrepancy across different cameras is smaller

( i.e. , d inter -camera is a smaller value). Besides, on MSMT17, the blue dots have a high concentration in a small region in Fig. 9 (b) ( i.e. , baseline), which means samples from this camera could form a specific sub-region of the feature space. Differently, these blue dots in Fig. 9 (f) ( i.e. , our method) are well scattered in the feature space, which shows our method can achieve better alignment of the samples from different cameras than the baseline. Based on the above results and analysis, we can also observe that the OCE scheme can well achieve camera alignment over the GRL scheme, while this does not mean that using OCE can obtain better performance than the GRL scheme in our unsupervised cross-camera person Re-ID. For example, on Market1501, although using the OCE scheme can better reduce the data distribution discrepancy than the GRL scheme in Table VII, the latter can obtain better ReID performance than the former in Table V. The main reason has been discussed in Section III-A2.

Camera Confusion Matrix. To further compare the difference between the GRL-based and OCE-based schemes, we visualize the camera confusion matrices of GRL and OCE on Market1501 (Market), DukeMTMC-reID (Duke) and MSMT17 (MSMT), as shown in Fig. 10. As seen, the OCEbased scheme approximately confuses across multiple cameras, while the GRL-based scheme could mix local cameras, especially for these datasets with more cameras, such as DukeMTMC-reID collected from 8 cameras and MSMT17 captured from 15 cameras. This main reason is that maximizing the discriminator by GRL is approximate to freely assigning the camera label of an image except for the camera which this image belongs to. In addition, the confusion matrices of the OCE-based scheme are consistent with the analysis in Corollary 1 of Section III-A2, i.e., if the discriminator outputs equal probability for all cameras, all images can be mapped into a shared space. Compared with GRL, the confusion matrices of OCE in Fig. 10 tend to achieve this goal. As seen in Fig. 10, on Duke, the OCE scheme is more balanced to output the predicted probability for each camera class, while the GRL scheme almost assigns all images into one camera. This further confirms the efficacy of the OCE scheme.

## TABLE VI

EVALUATION OF THE ACE SCHEME AND THE OCE SCHEME ON THREE IMAGE DATASETS (I.E., MARKET1501, DUKEMTMC-REID AND MSMT17) AND TWO VIDEO DATASETS (I.E., DUKEMTMC-SI-TRACKLET (DUKE-T) AND MARS). THE BEST PERFORMANCE IS SHOWN IN BOLD .

| Dataset    | Method     |   mAP |   Rank-1 |   Rank-5 |   Rank-10 |
|------------|------------|-------|----------|----------|-----------|
| Market1501 | ACE        |  39.8 |     64   |     80.6 |      86.2 |
| Market1501 | OCE (ours) |  47.7 |     72.2 |     86.3 |      90.4 |
| Duke       | ACE        |  16   |     37.3 |     52   |      59.4 |
| Duke       | OCE (ours) |  45.1 |     67.6 |     81.2 |      85.2 |
| MSMT17     | ACE        |   3.9 |     13   |     23.3 |      29.1 |
| MSMT17     | OCE (ours) |  12.6 |     33   |     48   |      54.7 |
| MARS       | ACE        |  40.9 |     53.9 |     71.4 |      77.1 |
|            | OCE (ours) |  47.5 |     57.7 |     75.1 |      79.9 |
| Duke-T     | ACE        |  26.5 |     38.7 |     53.8 |      60   |
| Duke-T     | OCE (ours) |  40.3 |     50.4 |     68   |      74.1 |

Visual Examples. We add some visual examples from successful and failure cases, as shown in Fig. 11. As seen, our multi-camera adversarial learning can effectively mitigate

Fig. 6. Evaluation for different λ in Eq. (13) on DukeMTMC-reID. different Note that this result is reported on the test set.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-ba0dae0d-34e0-41b2-93ba-889c05e60c0f.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-90d4bef8-b84e-4513-b295-eb80e904099d.jpg)

Fig. 7. Experimental results of dimensional discriminators (i.e., different dimensional FC layers) on DukeMTMC-reID.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-578d7f25-594e-4e87-a99e-c8a98e0e924b.jpg)

Fig. 8. Convergence curves of ACAN-GRL and ACAN-OCE on DukeMTMC-reID.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-dfe6c03b-422a-464c-a520-6987d7fc1fff.jpg)

the issue of the pose difference. However, since our method cannot introduce some discriminative information ( e.g. , pseudo labels), it could fail when these persons in query images and gallery images have the same color cloth yet different identities. For this problem, we will further propose a new solution in future work.

Comparison with Fully Unsupervised Methods. Both our method and the fully unsupervised methods are the target-only Re-ID methods [66], while there are two differences between them as follows: 1) compared with the fully unsupervised methods, our method uses the intra-camera labels gained readily by tracking algorithms and few annotations, thus it can help our method to achieve better performance on the large-scale datasets; 2) Our method and fully unsupervised methods adopt different techniques to handle the unlabeled case. Specifically, these existing fully unsupervised SOTA methods mine discriminative information to train the model, while our method resorts to mitigate the discrepancy of data distribution across cameras, which is a simple yet effective scheme. To further confirm the advantage of our setting and method, we take two fully unsupervised SOTA methods ( i.e. , BUC [67] and AE [66]) to compare with our method, as reported in Table VIII. Specifically, BUC [67] is a bottomup clustering approach to jointly optimize a convolutional neural network (CNN) and the relationship among the indi-

TABLE VII

THE DISCREPANCY OF DATA DISTRIBUTION ACROSS DIFFERENT CAMERAS ON MARKET1501, DUKEMTMC-REID AND MSMT17. NOTE THAT A SMALLER VALUE INDICATES BETTER PERFORMANCE IN THIS TABLE. THE BEST PERFORMANCE IS SHOWN IN BOLD

| Method              |   Market1501 |   Duke |   MSMT17 |
|---------------------|--------------|--------|----------|
| Baseline ( × 100)   |         9.69 |   8.33 |    10.85 |
| GRL ( × 100)        |         3.54 |   6.21 |     8.59 |
| OCE (ours) ( × 100) |         2.36 |   2.45 |     2.16 |

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-65e1d5e1-b315-410f-8c97-65aa906e1f3d.jpg)

(a) Duke (Baseline)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-605d214e-ba16-450d-9642-534b6d9c8b24.jpg)

(c) Duke (ACAN-GRL)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-580602f4-b15b-4d7d-933e-a638d6edc587.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-70243f37-f062-420d-afe6-1914b8ed4cfe.jpg)

(b) MSMT (Baseline)

(d) MSMT (ACAN-GRL)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-12fc4e2a-ffa5-40c9-8e62-d5b8f02a88d2.jpg)

(e) Duke (ACAN-OCE)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-6d4c42d1-db5c-4c8e-865c-20f027a55946.jpg)

(f) MSMT (ACAN-OCE)

Fig. 9. Visualization of the distributions of two datasets via t-SNE [24]. The features of images are extracted by Baseline ((a) and (b)), ACAN-GRL ((c) and (d)) and ACAN-OCE ((e) and (f)). Different colors denote the images from different cameras. In detail, (a) (c) and (e) are eight different cameras on DukeMTMC-reID; (b) (d) and (f) are fourteen different cameras on MSMT17. Note that Baseline denotes 'Only L Triplet ' in Eq. (13). Particularly, the visualization corresponds to Table VII. Best viewed by vertical contrast.

vidual samples. AE [66] is an adaptive exploration method to address the domain-shift problem for Re-ID in an unsupervised manner, which can maximize distances between all person images and minimize distances between similar person images. Compare to these methods, our method can obtain significantly better performance on large-scale datasets, such as Duke and MSMT17, which is attributed to the proposed camera adversarial learning scheme and our setting. As shown in Fig. 12, Duke and MSMT17 include more cameras and images than Market1501, which can better reveal the superiority of our method. In addition, because more cameras bring an increased number of different data distributions, a dataset with fewer cameras is usually easier to handle than a dataset with more cameras. For the pseudo-label-based method ( e.g. , AE [66]), when there are only a small number of cameras for a dataset ( e.g. , Market1501), producing accurate pseudolabels will become easier. In this case, the pseudo-label-based method ( e.g. , AE [66]) can achieve better performance than our method.

The Robustness of Our Method. To further demonstrate the robustness of our method, we conduct a new experiment by only retaining the images under one camera for 25% or 50% identities, i.e. , 25% or 50% persons will only appear under one (but could be different) camera.

Meanwhile, the above step will only retain a part of the

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-aa39882b-da57-424b-a499-64b98e26d624.jpg)

Predicted label

(a) Market (ACAN-GRL)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-2b84f198-af34-4d1f-8247-1c67fd1016b3.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-63a60677-ebe5-4271-a307-12beb4eb0fd5.jpg)

(c) Duke (ACAN-GRL)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-34b0474b-f327-422c-8633-62d9c7825b9b.jpg)

True label

(b) Market (ACAN-OCE)

(d) Duke (ACAN-OCE)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-a107718d-e296-4f8d-923b-bbac8aada381.jpg)

True label

(e) MSMT (ACAN-GRL)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-89dc5c8d-ddcf-4e28-a0fd-ac07c2b823f8.jpg)

(f) MSMT (ACAN-OCE)

Fig. 10. Visualization of the camera confusion matrices on Market1501 (Market), DukeMTMC-reID (Duke) and MSMT17 (MSMT). In detail, (a) and (b) are six different cameras on Market1501; (c) and (d) are eight different cameras on DukeMTMC-reID. (e) and (f) are fourteen different cameras on MSMT17. Best viewed by horizontal contrast.

Successful cases

Successful cases

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-7660d699-bc8c-4dbd-83eb-c503220549e3.jpg)

(a) Market1501

(b) DukeMTMC-reID

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-2b10c170-09bc-434c-a571-ad4596723db3.jpg)

Fig. 11. The visual results of successful cases and failure cases.

original images in the training set and this will certainly lead to an unfair comparison with the baseline, which is obtained with all of the 12936 training images on Market1501. As shown in Table IX, 'single-25/50' denotes the case in which 25/50% persons will only appear under a single camera. We can see that the corresponding number of training samples decreases from the original 12936 to 10436 and 7895, respectively.

To avoid such an unfair comparison, we have to remove the

TABLE VIII

COMPARISON TO FULLY UNSUPERVISED SOTA RE-ID METHODS.

| Method          | Duke   | Duke   | MSMT17   | MSMT17   | Market1501   | Market1501   |
|-----------------|--------|--------|----------|----------|--------------|--------------|
| Method          | mAP    | Rank-1 | mAP      | Rank-1   | mAP          | Rank-1       |
| BUC [67]        | 27.5   | 47.4   | 3.4      | 11.5     | 38.3         | 66.2         |
| AE [66]         | 39.0   | 63.2   | 8.5      | 26.6     | 54.0         | 77.5         |
| ACAN-GRL (ours) | 46.6   | 65.1   | 11.2     | 27.1     | 50.6         | 73.3         |
| ACAN-OCE (ours) | 45.1   | 67.6   | 12.6     | 33.0     | 47.7         | 72.2         |

effect caused by the different number of training images. Therefore, we recreate the original training set to ensure it has almost the same number of training images in each case as follows:

-For 'single-25/50' in Table IX, we randomly select 25% or 50% persons from the 751 persons. For each selected person, we randomly choose one camera to retain all images of this person from it and remove all images of this person from the rest cameras.

-For each corresponding 'multiple-all' 3 in Table IX, we randomly select one person from the 751 persons. If the chosen person appears under three or more cameras (i.e., #camera ≥ 3), we will randomly select one camera to remove all images of this person from it. We iteratively conduct the above two steps until the number of retained images is almost equal to the number of training images obtained in the above 'single-25/50' cases. In doing so, we can largely remove the effect caused by the different number of training images when conducting comparison. The statistics of the created training set in each case are reported in Tables IX and X. As seen, 1) the 'single-25/50' setting and the corresponding 'multiple-all' have almost the same number of training images in Tables IX; 2) In Table X, the 'single-25/50' setting includes multiple persons that only appear under one camera, while in the corresponding 'multiple-all' setting, all persons are captured by multiple cameras ( i.e. , #camera ≥ 2).

To accumulate statistics, we repeat the above process to create five training sets and report the results averaged on them in Table IX. As seen, the proposed method works better in the setting of 'single-25/50' than 'multiple-all' in most cases . This result demonstrates the robustness of the proposed 4 method when a considerable number of persons only have images under a single camera.

More Discussion. Since GRL is developed to align two different domains, for two more domains, if using GRL could not effectively reduce the domain shift, which has been analyzed in Section III-A of our paper. From this perspective, we put forward the OCE scheme to address this issue, thus the proposed OCE can achieve better alignment for multiple domains. However, as seen in the experimental results, despite the OCE scheme can better mitigate the domain shift when compared with GRL as shown in Table VII of our paper, the performance of OCE cannot consistently outperform GRL on all datasets. It is worth noting that our method can work well on a large dataset MSMT17, which includes more cameras

3 'multiple-all' means that all persons appear under multiple cameras (i.e., #camera ≥ 2).

4 At the same time, it can be well expected that the proposed method in these settings cannot compete with the original setting in which the number of training images is much larger.

TABLE IX

COMPARISON BETWEEN BASELINE AND THE PROPOSED METHOD IN THE CASES OF KEEPING IMAGES OF ONLY ONE CAMERA FOR 25% AND 50% IDENTITIES. NOTE 'SINGLE-25' DENOTES 25% PERSONS APPEAR UNDER ONE CAMERA ONLY. 'MULTIPLE-ALL' MEANS THAT ALL PERSONS APPEAR UNDER MULTIPLE CAMERAS (I.E., #CAMERA ≥ 2). 'ORIGINAL' INDICATES THE BASELINE USING THE ORIGINAL TRAINING SETTING ON MARKET1501.

TABLE X

|              |                 | #training ID   | ACAN-GRL   | ACAN-GRL   | ACAN-OCE   | ACAN-OCE   |
|--------------|-----------------|----------------|------------|------------|------------|------------|
| Setting      | #training image |                | mAP        | Rank-1     | mAP        | Rank-1     |
| singel-25    | 10436           | 751            | 37.3       | 57.9       | 38.4       | 62.6       |
| mulitple-all | 10395           | 751            | 34.5       | 56.1       | 38.1       | 62.0       |
| singel-50    | 7895            | 751            | 32.5       | 53.3       | 35.5       | 59.9       |
| mulitple-all | 7894            | 751            | 32.2       | 53.2       | 35.9       | 59.4       |
| original     | 12936           | 751            | 50.6       | 73.3       | 47.7       | 72.2       |

THE STATISTICS OF THE CONSTRUCTED TRAINING SET IN EACH CASE. #ID-2CAM DENOTES THE NUMBER OF PERSONS WHO APPEAR UNDER 2 CAMERAS. NOTE THAT THE AVERAGED VALUE OVER THE FIVE CONSTITUTED TRAINING SETS ARE GIVEN IN THIS TABLE.

| Setting      |   #ID-1CAM |   #ID-2CAM |   #ID-3CAM |   #ID-4CAM |   #ID-5CAM |   #ID-6CAM |
|--------------|------------|------------|------------|------------|------------|------------|
| single-25    |        188 |       36.4 |       81.2 |      156.2 |      226.6 |       62.6 |
| multiple-all |          0 |      189   |      196.6 |      212.4 |      126.6 |       26.4 |
| single-50    |        376 |       25   |       50.8 |      106.6 |      153   |       39.6 |
| multiple-all |          0 |      396   |      238.6 |       95   |       19.4 |        2   |

and images than Duke and MSMT17 as shown in Fig. 12 5 . Therefore, in our research, we got an observation that the OCE scheme can well achieve camera alignment over the GRL scheme, while this does not mean that using OCE can obtain better performance than the GRL scheme in Re-ID on the 'small-scale' dataset with a few cameras. Therefore, in Re-ID research, we cannot only pursue to reduce the data-distribution discrepancy, but also consider the relationship of original data space for the small-scale dataset, thus it brings us a reminder in the further research.

Fig. 12. The numbers of cameras and images on three benchmark datasets.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-b0235dea-427b-48c1-b011-1b9b4bff50b5.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00862v2-figure-1bfddd0a-c338-4d7f-83e5-6a7a8d5a635f.jpg)

## V. CONCLUSION

In this paper, we focus on a new person re-identification task named unsupervised cross-camera person Re-ID. It only assumes the availability of label information within the images from the same camera but no inter-camera label information is provided. Based on the perspective of reducing the crosscamera data distribution, we propose a novel adversarial camera alignment network (ACAN) for the proposed person Re-ID task, which can map all images from different cameras into a shared subspace. To realize the camera alignment task, we put forward a multi-camera adversarial learning method which is achieved by two strategies including the GRL-based and OCE-based schemes and give the corresponding theoretical analysis. Extensive experiments show the superiority of our proposed ACAN and confirm the efficacy of all components

5 Video datasets (including MARS and DukeMTMC-SI-Tracklet) and image datasets (including Market1501 and Duke) are from the same scenario, thus they have the same number of cameras ( i.e. , 6 cameras and 8 cameras)

in ACAN. Particularly, to deal with the proposed task, a more intuitive strategy is generating pseudo-labels to explore the relationship between cross-camera samples. In future work, we will integrate the pseudo-label-based methods to further enhance the generalization ability of person Re-ID with the within-camera labeled information in real-world applications.

## REFERENCES

- [1] K. Chen, C. Lai, P. Lee, C. Chen, and Y. Hung, 'Adaptive learning for target tracking and true linking discovering across multiple nonoverlapping cameras,' IEEE Trans. Multimedia (TMM) , vol. 13, no. 4, pp. 625-638, 2011.
- [2] R. Zhang, L. Lin, R. Zhang, W. Zuo, and L. Zhang, 'Bit-scalable deep hashing with regularized similarity learning for image retrieval and person re-identification,' IEEE Trans. Image Processing (TIP) , vol. 24, no. 12, pp. 4766-4779, 2015.
- [3] X. Wang, T. Zhang, D. Tretter, and Q. Lin, 'Personal clothing retrieval on photo collections by color and attributes,' IEEE Trans. Multimedia (TMM) , vol. 15, no. 8, pp. 2035-2045, 2013.
- [4] F. Ma, X. Jing, X. Zhu, Z. Tang, and Z. Peng, 'True-color and grayscale video person re-identification,' IEEE Trans. Information Forensics and Security (TIFS) , vol. 15, pp. 115-129, 2020.
- [5] M. Ye, X. Lan, Z. Wang, and P. C. Yuen, 'Bi-directional centerconstrained top-ranking for visible thermal person re-identification,' IEEE Trans. Information Forensics and Security (TIFS) , vol. 15, pp. 407-419, 2020.
- [6] T. Xiao, H. Li, W. Ouyang, and X. Wang, 'Learning deep feature representations with domain guided dropout for person re-identification,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2016, pp. 1249-1258.
- [7] W. Chen, X. Chen, J. Zhang, and K. Huang, 'A multi-task deep network for person re-identification,' in Proceedings of the Thirty-First Conference on Artificial Intelligence (AAAI) , 2017, pp. 3988-3994.
- [8] Y. Sun, L. Zheng, Y. Yang, Q. Tian, and S. Wang, 'Beyond part models: Person retrieval with refined part pooling (and a strong convolutional baseline),' in European Conference on Computer Vision (ECCV) , 2018, pp. 501-518.
- [9] M. Zheng, S. Karanam, Z. Wu, and R. J. Radke, 'Re-identification with consistent attentive siamese networks,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2019, pp. 5735-5744.
- [10] L. Zheng, Y. Huang, H. Lu, and Y. Yang, 'Pose invariant embedding for deep person re-identification,' IEEE Trans. on Image Processing (TIP) , vol. 28, no. 9, pp. 4500-4509, 2019.
- [11] L. Wu, R. Hong, Y. Wang, and M. Wang, 'Cross-entropy adversarial view adaptation for person re-identification,' IEEE Trans. on Circuits and Systems for Video Technology (TCSVT) , vol. 30, no. 7, pp. 20812092, 2019.

- [12] H. Fan, L. Zheng, C. Yan, and Y. Yang, 'Unsupervised person reidentification: clustering and fine-tuning,' ACM Trans. on Multimedia Computing, Communications, and Applications (TOMM) , vol. 14, no. 4, pp. 83:1-83:18, 2018.
- [13] Z. Zhong, L. Zheng, S. Li, and Y. Yang, 'Generalizing a person retrieval model hetero-and homogeneously,' in European Conference on Computer Vision (ECCV) , 2018, pp. 176-192.
- [14] S. Bak, P. Carr, and J.-F. Lalonde, 'Domain adaptation through synthesis for unsupervised person re-identification,' in European Conference on Computer Vision (ECCV) , 2018, pp. 193-209.
- [15] J. Wang, X. Zhu, S. Gong, and W. Li, 'Transferable joint attributeidentity deep learning for unsupervised person re-identification,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2018, pp. 2275-2284.
- [16] J. Lv, W. Chen, Q. Li, and C. Yang, 'Unsupervised cross-dataset person re-identification by transfer learning of spatial-temporal patterns,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2018, pp. 7948-7956.
- [17] A. Dehghan, S. Modiri Assari, and M. Shah, 'Gmmcp tracker: Globally optimal generalized maximum multi clique problem for multiple object tracking,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2015, pp. 4091-4099.
- [18] A. Maksai, X. Wang, F. Fleuret, and P. Fua, 'Non-markovian globally consistent multi-object tracking,' in International Conference on Computer Vision (ICCV) , 2017, pp. 2563-2573.
- [19] S. Lin, H. Li, C. Li, and A. C. Kot, 'Multi-task mid-level feature alignment network for unsupervised cross-dataset person re-identification,' in British Machine Vision Conference (BMVC) , 2018.
- [20] G. Delorme, X. Alameda-Pineda, S. Lathuili` ere, and R. Horaud, 'Camera adversarial transfer for unsupervised person re-identification,' arXiv , 2019.
- [21] L. Qi, L. Wang, J. Huo, L. Zhou, Y. Shi, and Y. Gao, 'A novel unsupervised camera-aware domain adaptation framework for person reidentification,' in International Conference on Computer Vision (ICCV) , 2019, pp. 8079-8088.
- [22] K. He, X. Zhang, S. Ren, and J. Sun, 'Deep residual learning for image recognition,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2016, pp. 770-778.
- [23] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and F. Li, 'Imagenet: A largescale hierarchical image database,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2009, pp. 248-255.
- [24] L. v. d. Maaten and G. Hinton, 'Visualizing data using t-sne,' Journal of Machine Learning Research (JMLR) , vol. 9, no. 11, 2008.
- [25] S. Liao, Y. Hu, X. Zhu, and S. Z. Li, 'Person re-identification by local maximal occurrence representation and metric learning,' in IEEE conference on computer vision and pattern recognition (CVPR) , 2015, pp. 2197-2206.
- [26] L. Zheng, L. Shen, L. Tian, S. Wang, J. Wang, and Q. Tian, 'Scalable person re-identification: A benchmark,' in International Conference on Computer Vision (ICCV) , 2015, pp. 1116-1124.
- [27] P. Peng, T. Xiang, Y. Wang, M. Pontil, S. Gong, T. Huang, and Y. Tian, 'Unsupervised cross-dataset transfer learning for person reidentification,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2016, pp. 1306-1315.
- [28] X. Wang, W. Zheng, X. Li, and J. Zhang, 'Cross-scenario transfer person re-identification,' IEEE Trans. Circuits Syst. Video Techn. (TCSVT) , vol. 26, no. 8, pp. 1447-1460, 2016.
- [29] A. J. Ma, J. Li, P. C. Yuen, and P. Li, 'Cross-domain person reidentification using domain adaptation ranking svms,' IEEE Trans. Image Processing (TIP) , vol. 24, no. 5, pp. 1599-1613, 2015.
- [30] L. Qi, J. Huo, X. Fan, Y. Shi, and Y. Gao, 'Unsupervised joint subspace and dictionary learning for enhanced cross-domain person reidentification,' IEEE Journal of Selected Topics in Signal Processing (JSTSP) , vol. 12, no. 6, pp. 1263-1275, 2018.
- [31] H. Yu, A. Wu, and W. Zheng, 'Cross-view asymmetric metric learning for unsupervised person re-identification,' in International Conference on Computer Vision (ICCV) , 2017, pp. 994-1002.
- [32] L. Wei, S. Zhang, W. Gao, and Q. Tian, 'Person transfer gan to bridge domain gap for person re-identification,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2018, pp. 79-88.
- [33] W. Deng, L. Zheng, G. Kang, Y. Yang, Q. Ye, and J. Jiao, 'Imageimage domain adaptation with preserved self-similarity and domaindissimilarity for person reidentification,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2018, pp. 994-1003.
- [34] Z. Zhong, L. Zheng, Z. Luo, S. Li, and Y. Yang, 'Invariance matters: Exemplar memory for domain adaptive person re-identification,' in IEEE
- Conference on Computer Vision and Pattern Recognition (CVPR) , 2019, pp. 598-607.
- [35] E. Kodirov, T. Xiang, Z. Fu, and S. Gong, 'Person re-identification by unsupervised l 1 graph learning,' in European Conference on Computer Vision (ECCV) , 2016, pp. 178-195.
- [36] F. M. Khan and F. Bremond, 'Unsupervised data association for metric learning in the context of multi-shot person re-identification,' in International Conference on Advanced Video and Signal Based Surveillance (AVSS) , 2016, pp. 256-262.
- [37] M. Ye, X. Lan, and P. C. Yuen, 'Robust anchor embedding for unsupervised video person re-identification in the wild,' in European Conference on Computer Vision (ECCV) , 2018, pp. 176-193.
- [38] Z. Liu, D. Wang, and H. Lu, 'Stepwise metric promotion for unsupervised video person re-identification,' in International Conference on Computer Vision (ICCV) , 2017, pp. 2448-2457.
- [39] M. Ye, A. J. Ma, L. Zheng, J. Li, and P. C. Yuen, 'Dynamic label graph matching for unsupervised video re-identification,' in International Conference on Computer Vision (ICCV) , 2017, pp. 5152-5160.
- [40] Y. Chen, X. Zhu, and S. Gong, 'Deep association learning for unsupervised video person re-identification,' in British Machine Vision Conference (BMVC) , 2018, p. 48.
- [41] M. Li, X. Zhu, and S. Gong, 'Unsupervised person re-identification by deep learning tracklet association,' in European Conference on Computer Vision (ECCV) , 2018, pp. 772-788.
- [42] M. Li, X. Zhu, S. Gong, and S. Gong, 'Unsupervised tracklet person re-identification,' IEEE Trans. on Pattern Analysis and Machine Intelligence (TPAMI) , vol. 42, no. 7, pp. 1770-1782, 2020.
- [43] M. Long, Y. Cao, J. Wang, and M. I. Jordan, 'Learning transferable features with deep adaptation networks,' in International Conference on Machine Learning (ICML) , 2015, pp. 97-105.
- [44] M. Long, H. Zhu, J. Wang, and M. I. Jordan, 'Unsupervised domain adaptation with residual transfer networks,' in Advances in Neural Information Processing Systems (NIPS) , 2016, pp. 136-144.
- [45] X. Zhang, F. X. Yu, S. Chang, and S. Wang, 'Deep transfer network: Unsupervised domain adaptation,' arXiv , 2015.
- [46] E. Tzeng, J. Hoffman, N. Zhang, K. Saenko, and T. Darrell, 'Deep domain confusion: Maximizing for domain invariance,' arXiv , 2014.
- [47] M. Ghifary, W. B. Kleijn, M. Zhang, D. Balduzzi, and W. Li, 'Deep reconstruction-classification networks for unsupervised domain adaptation,' in European Conference on Computer Vision (ECCV) , 2016, pp. 597-613.
- [48] K. Bousmalis, G. Trigeorgis, N. Silberman, D. Krishnan, and D. Erhan, 'Domain separation networks,' in Advances in Neural Information Processing Systems (NIPS) , 2016, pp. 343-351.
- [49] Y. Ganin and V. S. Lempitsky, 'Unsupervised domain adaptation by backpropagation,' in International Conference on Machine Learning (ICML) , 2015, pp. 1180-1189.
- [50] J. Zhang, Z. Ding, W. Li, and P. Ogunbona, in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2018, pp. 81568164.
- [51] E. Tzeng, J. Hoffman, K. Saenko, and T. Darrell, 'Adversarial discriminative domain adaptation,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2017.
- [52] H. Zhao, S. Zhang, G. Wu, J. M. Moura, J. P. Costeira, and G. J. Gordon, 'Adversarial multiple source domain adaptation,' in Advances in Neural Information Processing Systems (NIPS) , 2018, pp. 8568-8579.
- [53] R. Xu, Z. Chen, W. Zuo, J. Yan, and L. Lin, 'Deep cocktail network: Multi-source unsupervised domain adaptation with category shift,' in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , 2018, pp. 3964-3973.
- [54] A. Schoenauer-Sebag, L. Heinrich, M. Schoenauer, M. Sebag, L. Wu, and S. Altschuler, 'Multi-domain adversarial learning,' in International Conference on Learning Representations (ICLR) , 2019.
- [55] A. Hermans, L. Beyer, and B. Leibe, 'In defense of the triplet loss for person re-identification,' arXiv , 2017.
- [56] I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio, 'Generative adversarial nets,' in Advances in neural information processing systems (NIPS) , 2014, pp. 2672-2680.
- [57] S. Boyd and L. Vandenberghe, Convex optimization . Cambridge university press, 2004.
- [58] L. Wu, Y. Wang, H. Yin, M. Wang, and L. Shao, 'Few-shot deep adversarial learning for video-based person re-identification,' IEEE Trans. on Image Processing (TIP) , vol. 29, pp. 1233-1245, 2019.
- [59] A. Ghosh, V. Kulharia, V. P. Namboodiri, P. H. Torr, and P. K. Dokania, 'Multi-agent diverse generative adversarial networks,' in IEEE

Conference on Computer Vision and Pattern Recognition (CVPR) , 2018, pp. 8513-8521.

- [60] J. Zhu, T. Park, P. Isola, and A. A. Efros, 'Unpaired image-to-image translation using cycle-consistent adversarial networks,' in International Conference on Computer Vision (ICCV) , 2017, pp. 2242-2251.
- [61] Z. Zheng, L. Zheng, and Y. Yang, 'Unlabeled samples generated by GAN improve the person re-identification baseline in vitro,' in International Conference on Computer Vision (ICCV) , 2017, pp. 37743782.
- [62] 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 European Conference on Computer Vision (ECCV) , 2016, pp. 868-884.
- [63] P. F. Felzenszwalb, R. B. Girshick, D. McAllester, and D. Ramanan, 'Object detection with discriminatively trained part-based models,' IEEE Trans. on pattern analysis and machine intelligence (TPAMI) , vol. 32, no. 9, pp. 1627-1645, 2010.
- [64] J. Tian, Z. Teng, R. Li, Y. Li, B. Zhang, and J. Fan, 'Imitating targets from all sides: An unsupervised transfer learning method for person re-identification,' arXiv , 2019.
- [65] C. Ren, B. Liang, P. Ge, Y. Zhai, and Z. Lei, 'Domain adaptive person re-identification via camera style generation and label propagation,' IEEE Trans. Information Forensics and Security (TIFS) , vol. 15, pp. 1290-1302, 2020.
- [66] Y. Ding, H. Fan, M. Xu, and Y. Yang, 'Adaptive exploration for unsupervised person re-identification,' ACM Trans. on Multimedia Computing, Communications, and Applications (TOMM) , vol. 16, no. 1, pp. 1-19, 2020.
- [67] Y. Lin, X. Dong, L. Zheng, Y. Yan, and Y. Yang, 'A bottom-up clustering approach to unsupervised person re-identification,' in AAAI Conference on Artificial Intelligence (AAAI) , 2019, pp. 8738-8745.
Lei Qi Lei Wang Jing Huo Yinghuan Shi Xin Geng Yang Gao
Adversarial Camera Alignment Network for Unsupervised Cross-camera Person Re-identification
In person re-identification (Re-ID), supervised methods usually need a large
amount of expensive label information, while unsupervised ones are still unable
to deliver satisfactory identification performance. In this paper, we introduce
a novel person Re-ID task called unsupervised cross-camera person Re-ID, which
only needs the within-camera (intra-camera) label information but not
cross-camera (inter-camera) labels which are more expensive to obtain. In
real-world applications, the intra-camera label information can be easily
captured by tracking algorithms or few manual annotations. In this situation,
the main challenge becomes the distribution discrepancy across different camera
views, caused by the various body pose, occlusion, image resolution,
illumination conditions, and background noises in different cameras. To address
this situation, we propose a novel Adversarial Camera Alignment Network (ACAN)
for unsupervised cross-camera person Re-ID. It consists of the camera-alignment
task and the supervised within-camera learning task. To achieve the camera
alignment, we develop a Multi-Camera Adversarial Learning (MCAL) to map images
of different cameras into a shared subspace. Particularly, we investigate two
different schemes, including the existing GRL (i.e., gradient reversal layer)
scheme and the proposed scheme called "other camera equiprobability" (OCE), to
conduct the multi-camera adversarial task. Based on this shared subspace, we
then leverage the within-camera labels to train the network. Extensive
experiments on five large-scale datasets demonstrate the superiority of ACAN
over multiple state-of-the-art unsupervised methods that take advantage of
labeled source domains and generated images by GAN-based models. In particular,
we verify that the proposed multi-camera adversarial task does contribute to
the significant improvement.