Abstract
Video-based person re-identification (Re-ID) requires capturing both fine-grained spatial details and long-range temporal dependencies. While Convolutional Neural Networks (CNNs) excel at local feature extraction, Vision Transformers (ViTs) are superior at modeling global relationships. This paper presents DCCT (Deeply-Coupled Convolution-Transformer), a framework that integrates these architectures through spatial and temporal complementary learning. By employing Complementary Content Attention (CCA) and Hierarchical Temporal Aggregation (HTA), DCCT enables mutual guidance between CNN and Transformer branches. Furthermore, a self-distillation strategy ensures high performance during inference without the overhead of the full coupled architecture. DCCT achieves state-of-the-art results on major benchmarks including MARS and DukeMTMC-VID.
Introduction: The Local-Global Trade-off
Person Re-identification (Re-ID) involves matching individuals across non-overlapping camera views. Video-based Re-ID adds complexity by requiring the model to handle dynamic appearance changes and motion patterns. Current deep learning approaches typically rely on either CNNs or Transformers, each with inherent limitations.
CNNs are highly effective at capturing local, salient features like clothing textures but often struggle with global context. Conversely, Transformers excel at modeling long-range dependencies across the entire image but may overlook subtle local cues. Previous attempts to combine them often resulted in high computational costs or suboptimal feature integration.
As shown in Figure 1, the attention maps of CNNs and Transformers focus on different regions. The goal of DCCT is to leverage these differences to learn more robust, complementary representations through a "mutual guidance" mechanism.
Proposed Method: DCCT Framework
The Deeply-Coupled Convolution-Transformer (DCCT) framework consists of parallel CNN and Transformer backbones coupled through specialized attention modules.
Complementary Content Attention (CCA)
The CCA module facilitates spatial interaction between the two branches. It uses Cross-attention Heads (CH) where the global features from one branch act as a query to guide the local feature extraction of the other. This mutual guidance allows the CNN to incorporate global context and the Transformer to refine its focus on discriminative local details.
Hierarchical Temporal Aggregation (HTA)
To model temporal dynamics, the HTA module progressively encodes relationships between frames. It utilizes a Gated Attention (GA) mechanism that adaptively weights temporal information based on its relevance to each branch. This ensures that motion cues are effectively synchronized across the coupled architecture, allowing the network to prioritize important frames and ignore occlusions.
Self-Distillation for Efficient Inference
To maintain inference efficiency, DCCT employs a self-distillation strategy. During training, the full coupled model acts as a "teacher," transferring complex spatial-temporal knowledge to the individual backbone "students." At inference time, the heavy CCA and HTA modules can be bypassed, allowing the backbones to produce high-quality features independently while retaining the wisdom learned during the coupling process.
Experimental Results
The DCCT framework was evaluated on four major Re-ID datasets: MARS, DukeMTMC-VID, iLIDS-VID, and PRID-2011. The model achieved state-of-the-art performance across these benchmarks.
- MARS: 87.5% mAP and 92.3% Rank-1 accuracy.
- DukeMTMC-VID: 97.6% mAP and 98.4% Rank-1 accuracy.
- iLIDS-VID & PRID-2011: 91.7% and 96.8% Rank-1 accuracy, respectively.
Ablation studies demonstrated that the coupling mechanism provides a significant performance boost. For instance, on the MARS dataset, the coupled approach improved mAP by approximately 2.6% compared to using standalone backbones.
Conclusion
DCCT successfully bridges the gap between CNNs and Transformers for video-based person Re-ID. By fostering mutual guidance through spatial and temporal attention, the model learns comprehensive features that capture both local details and global context. The inclusion of self-distillation further makes it a practical solution for real-world applications where inference speed is critical. Future work will focus on further optimizing the parameter efficiency of the coupling process and reducing information redundancy.
Summary updated