Abstract
Person re-identification (Re-ID) requires a delicate balance between capturing fine-grained local details and modeling global structural context. While Convolutional Neural Networks (CNNs) excel at local feature extraction, they often struggle with long-range dependencies. Conversely, Vision Transformers (ViTs) provide excellent global modeling but can overlook subtle local cues and demand high computational resources. This paper presents the Convolutional Multi-level Transformer (CMT) framework, a hybrid architecture designed to bridge this gap. By utilizing a recursive, part-aware transformer structure guided by global semantics, CMT achieves state-of-the-art accuracy across major benchmarks while maintaining better efficiency than pure transformer-based architectures.
Introduction
Person re-identification is the task of identifying the same individual across different, non-overlapping camera views. This task is notoriously difficult due to environmental factors such as background clutter, illumination changes, and significant pose variations.
Historically, researchers relied on CNNs for their ability to capture local patterns, such as the specific texture of a garment. However, CNNs are limited by their local receptive fields. Recently, Transformers have emerged as a powerful alternative due to their global attention mechanisms. However, pure Transformers often ignore fine-grained local details essential for distinguishing between similar-looking individuals. The CMT framework aims to synthesize the best of both worlds: using a CNN backbone for initial feature extraction and a hierarchical transformer for global-to-local semantic refinement.
Proposed Methodology
The CMT framework integrates three novel components with a standard ResNet-50 backbone to create a robust feature representation:
- Scale-aware Feature Enhancement (SFE): Positioned immediately after the CNN backbone, this module employs dilated convolutions with varying rates. This allows the model to extract features at multiple scales simultaneously, ensuring that both small details (like a logo) and larger patterns (like a backpack) are preserved.
- Part-aware Transformer Encoder (PTE): The core innovation of CMT is its recursive, hierarchical structure. Instead of a flat transformer, the PTE iteratively divides image features into 2, 4, and 8 horizontal parts. Crucially, the global information (class token) from one stage is passed to the next, providing semantic guidance that helps the model "discover" discriminative local parts rather than relying on blind spatial stripping.
- Deeply-supervised Learning (DSL): To ensure effective learning across all levels of the hierarchy, the authors apply simultaneous supervision—using both triplet loss and cross-entropy loss—at multiple branches of the network.
Key Insights and Comparative Analysis
A significant advancement of the CMT framework is the move away from static part-based models. Traditional models like the Part-based Convolutional Baseline (PCB) use simple horizontal division, which can be brittle if the person is not perfectly aligned. In contrast, CMT's recursive PTE uses global features to guide the extraction of part-level features, making the model more resilient to pose variations.
Furthermore, CMT addresses the efficiency concerns of pure Vision Transformers. By using a CNN for initial feature extraction and a lightweight, multi-level transformer for refinement, CMT achieves higher accuracy with fewer floating-point operations (FLOPs) than pure ViT models like TransReID.
Experimental Results
The authors evaluated CMT on four standard, large-scale Re-ID benchmarks: Market1501, DukeMTMC-ReID, CUHK03-NP, and MSMT17. The results demonstrate consistent state-of-the-art (SOTA) performance:
- Market1501: CMT achieved 89.9% mAP, outperforming the popular MGN model by 3.0%.
- MSMT17: On this large-scale and complex dataset, the model reached 63.5% mAP.
- Efficiency: Compared to the pure transformer model HAT, CMT achieved superior mAP on Market1501 (89.9% vs 89.5%) while utilizing significantly fewer parameters within the transformer blocks.
Qualitative analysis via heatmaps confirmed that CMT successfully spreads its attention across the entire body, identifying discriminative items like bags and clothing patterns that baseline models often miss.
Conclusion and Future Work
The Convolutional Multi-level Transformer framework effectively combines the local discriminative power of CNNs with the global modeling capabilities of Transformers. While CMT is more efficient than pure ViTs, its total parameter count (286.54M) remains high compared to basic CNN models. Future research will focus on reducing this computational complexity and optimizing the part-aware transformers for real-time deployment on edge devices.
Summary updated