Abstract
Person Re-Identification (ReID) requires comparing two images of a person captured under different conditions. Existing work based on neural networks often computes the similarity of feature maps from one single convolutional layer. In this work, we propose an efficient, end-to-end fully convolutional Siamese network that computes the similarities at multiple levels. We demonstrate that multi-level similarity can improve the accuracy considerably using low-complexity network structures in ReID problem. Specifically, first, we use several convolutional layers to extract the features of two input images. Then, we propose Convolution Similarity Network to compute the similarity score maps for the inputs. We use spatial transformer networks (STNs) to determine spatial attention. We propose to apply efficient depth-wise convolution to compute the similarity. The proposed Convolution Similarity Networks can be inserted into different convolutional layers to extract visual similarities at different levels. Furthermore, we use an improved ranking loss to further improve the performance. Our work is the first to propose to compute visual similarities at low, middle and high levels for ReID. With extensive experiments and analysis, we demonstrate that our system, compact yet effective, can achieve competitive results with much smaller model size and computational complexity.
Introduction
Person Re-Identification (ReID) is the critical task of recognizing the same individual across different, non-overlapping camera views. This "needle in a haystack" problem is significantly complicated by variations in lighting, camera angles, person pose, and frequent occlusions.
Traditional deep learning approaches to ReID often suffer from two major limitations. First, they typically focus on a single-level similarity, computing matches based on the final convolutional layer. This ignores the fact that ReID often requires a mix of low-level cues (e.g., the color of clothing) and high-level semantic cues (e.g., the presence of a specific accessory). Second, many high-performing models are computationally heavy, featuring massive parameter counts that hinder real-time deployment in surveillance systems.
This paper introduces a highly efficient, fully convolutional Siamese network that addresses these gaps by identifying matches through multi-level abstraction.
Proposed Architecture
The core of the proposed method is a Siamese network designed to aggregate similarity scores from low-level textures to high-level body parts. Unlike standard architectures, this model inserts specialized modules at different depths to capture a holistic view of person similarity.
The network extracts features using several initial convolutional layers. Following these, Convolution Similarity Network (CSN) modules are inserted (specifically after the second and third layers, denoted as CSN-2 and CSN-3). These modules generate similarity score maps that are then processed through a ranking network and a classification head. The model is trained using a hybrid loss function: a binary classification loss to determine if a pair is a match, and an improved ranking loss to ensure that matching pairs are closer in the embedding space than non-matching ones.
Convolution Similarity Network (CSN)
The CSN is the primary innovation of this work. Instead of comparing global feature vectors, which can be sensitive to spatial shifts, the CSN treats local parts of one image as "filters" and performs a depth-wise convolution against the feature maps of the second image.
To handle background clutter and pose variations, the CSN incorporates Spatial Transformer Networks (STNs). These STNs provide spatial attention by automatically cropping and aligning three horizontal regions (upper, middle, and bottom body parts). By using depth-wise convolution for the similarity computation, the authors keep the parameter count remarkably low while making the model robust to large spatial translations.
Experimental Results
The model was evaluated on standard ReID benchmarks, including CUHK03, CUHK01, and VIPeR.
- Accuracy: On the CUHK03 (detected) dataset, the best model achieved an 86.45% Rank-1 accuracy, significantly outperforming then-current state-of-the-art methods such as DeepAlign (81.60%) and MuDeep (75.64%).
- Efficiency: The "extended" model uses only 0.8 million parameters, while the base version (Ours-L2, L3) contains just 0.5M parameters and requires 0.96 GFLOPs. This makes it one of the most lightweight high-performance ReID models available.
- Speed: The model demonstrates high inference speed, processing 1,250 image pairs in approximately 1.6 seconds on a single NVIDIA TitanX GPU.
Discussion and Conclusion
The success of this approach stems from the integration of multi-level features: low-level features distinguish people with different clothing colors, while high-level features are essential for cases where clothing is similar but accessories differ. By combining these levels through an efficient CSN module, the authors achieve robustness without the computational cost of "heavy" models.
While the STNs provide flexible attention, the authors noted that they require specific prior constraints to prevent unstable learning (e.g., negative scaling). Future work could involve integrating the CSN into even deeper architectures like ResNet to further push the boundaries of ReID performance.
Summary updated