Kernel Partial Least Squares for Person Re-Identification


Source code used in the Kernel Partial Least Squares for Person Re- Identification (AVSS 2016). In this paper, we approach the supervised and unsupervised person re-identification (Re-ID) problem in two widely used datasets (VIPER and PRID450S) using Kernel Partial Least Squares.

Regarding supervised Re-ID, we present a common subspace learning method, which we coined Kernel PLS Mode A, and a cross-view discriminative regression model, X-KPLS. Experimental results demonstrate that both methods are sucessful for person Re-ID with results comparable to the best performing methods in the literature. X-KPLS has a better recognition rate, but it depends on the number of subjects. Differently, Kernel PLS Mode A works in a latent subspace of reduced dimensionality and can be employed in real world scenarios.

In the unsupervised Re-ID problem, we show that Kernel PLS (a nonlinear regression model) presents outperforming results in PRID450S. For instance, we obtained ~41.5% for rank-1, while the best performing method in literature reaches ~39.5%. In the following paragraphs, we present these results and a link to download our code.

Contact: Raphael Prates (


This code obtained the following results in the VIPeR and the PRID450S datasets. We used a common procedure in the literature to achieve more stable results in VIPeR and PRID450S, which consists in randomly partitioning the dataset in training and testing subsets of equal sizes (these partitions are available with the code). In the testing subset, images from one camera are considered as gallery and images from the other camera are considered as probe. The results are reported using Cumulated Matching Characteristic (CMC) curves showing the average of results obtained from 10 trials. The following CMC curves presents the results for PRID450S (first row) and VIPER (second row) using unsupervised (first column) and unsupervised (second column) protocols.

AVSS2016 unsupervised prid450s

AVSS2016 supervised prid450s

AVSS2016 unsupervised viper
AVSS2016 supervised viper

* Notice that the reported results are different from those presented in the paper (Tables from 1 to 4). This occurred because we only recently tested a different feature descriptor (CNN features for VIPER, descibed in reference [26] from the paper) obtaining better results. To obtain the results reported in the original paper, you should use the feature descriptor as described there.

Click here for a comprehensive list with results for several person re-identification datasets.


You should cite the following paper if you use this software in your work.

Sorry, no publications matched your criteria.