Cross-Correlated Attention Networks for Person Re-Identification

Jieming Zhou, Soumava Kumar Roy, Pengfei Fang, Mehrtash Harandi, Lars Petersson · DOI

Abstract

Person Re-Identification (Re-ID) is a critical computer vision task involving the matching of individuals across non-overlapping camera views. Despite advancements in deep learning and attention mechanisms, existing models often fail to capture the complex spatial inter-dependencies between different body parts and global features. This paper introduces the Cross-Correlated Attention (CCA) module, which maximizes information gain by modeling relationships between distinct feature maps. We incorporate this module into a dual-branch Cross-Correlated Attention Network (CCAN) that effectively aligns global appearance with local part-based features. Experimental results on four major benchmarks—Market-1501, DukeMTMC-reID, CUHK03, and MSMT17—demonstrate that CCAN achieves state-of-the-art performance, highlighting the importance of cross-talk between attention blocks.

Introduction

The primary challenge in Person Re-Identification (Re-ID) stems from significant visual deformations caused by variations in lighting, background clutter, occlusions, and shifts in human pose. While attention mechanisms have been widely adopted to focus on discriminative regions, they typically operate on feature maps in isolation. This lack of interaction between different attention blocks limits the model's ability to filter noise and leverage the contextual relationships between various body parts. To address this, we propose a mechanism that explicitly correlates features across different scales and spatial locations.

Methods

The CCA Module

The core innovation of this work is the Cross-Correlated Attention (CCA) module (Figure 1). Unlike standard self-attention mechanisms (Figure 2) that process a single input $Q$, the CCA module is designed to accept two different inputs, $Q$ and $Q'$.

The Cross-Correlated Attention (CCA) module architecture, which correlates two distinct feature maps Q and Q' to capture spatial inter-dependencies.

By calculating a symmetric cross-correlation between these inputs—multiplying transformed features, concatenating the result with its transpose, and applying a gating function—the model identifies spatial locations in both maps that are highly related. This correlation acts as a gate to highlight features consistent across different views or scales, ensuring that the most discriminative information is preserved.

Standard self-attention mechanism operating on a single input Q.

CCAN Architecture

The CCAN architecture utilizes a dual-branch structure consisting of a Global Branch for holistic appearance and a Local Branch that slices the feature map into horizontal patches representing body parts. CCA modules are strategically placed to share information between these branches. Local sub-branches use CCA to correlate their specific part-patches with the broader global features, allowing the model to learn local details within the context of the whole body. The network is optimized using a combination of Label-Smoothing Regularized Cross-Entropy and Semi-hard Triplet Loss.

Experimental Results

We evaluated the CCAN model on four prominent Re-ID datasets. CCAN consistently outperformed previous state-of-the-art (SOTA) models, including OSNet and DGNet.

  • Market-1501: CCAN achieved a mean Average Precision (mAP) of 87.0% and a Rank-1 accuracy of 94.6%.
  • MSMT17: On this large-scale dataset, CCAN reached 53.6% mAP, surpassing the previous best of 52.9%.
  • CUHK03: The model showed superior performance on both labeled and detected versions of the dataset.

Ablation studies confirmed that the integration of the CCA module is vital; removing it or relying on a single-branch architecture led to significant performance degradation.

Conclusion

The Cross-Correlated Attention Network (CCAN) addresses the limitations of isolated attention mechanisms in Person Re-ID. By introducing the CCA module, we enable the model to capture essential spatial inter-dependencies between global and local features. Future work will explore more flexible part detection and attention diversity losses to further enhance feature discrimination in complex scenarios.

Summary updated

BibTeX
@article{zhou2020cross,
  author = {Jieming Zhou and Soumava Kumar Roy and Pengfei Fang and Mehrtash Harandi and Lars Petersson},
  title = {{Cross-Correlated Attention Networks for Person Re-Identification}},
  journal = {Image and Vision Computing},
  year = {2020},
  doi = {10.1016/j.imavis.2020.103931},
}
Figure