Abstract
Full attention, which generates an attention value per element of the input feature maps, has been successfully demonstrated to be beneficial in visual tasks. In this work, we propose a fully attentional network, termed channel recurrent attention network, for the task of video pedestrian retrieval. The main attention unit, channel recurrent attention, identifies attention maps at the frame level by jointly leveraging spatial and channel patterns via a recurrent neural network. This channel recurrent attention is designed to build a global receptive field by recurrently receiving and learning the spatial vectors. Then, a set aggregation cell is employed to generate a compact video representation. Empirical experimental results demonstrate the superior performance of the proposed deep network, outperforming current state-of-the-art results across standard video person retrieval benchmarks, and a thorough ablation study shows the effectiveness of the proposed units.
Introduction
Pedestrian retrieval, or person re-identification (re-ID), involves identifying a specific individual across a network of non-overlapping cameras. While image-based re-ID is common, video-based re-ID offers richer temporal cues but introduces challenges such as motion blur, varying poses, and spatial misalignment.
A critical limitation in current deep learning approaches for re-ID is the restricted receptive field of standard convolutional layers. Most existing attention mechanisms utilize small kernels (e.g., $1 \times 1$ or $3 \times 3$) to determine feature importance, resulting in a "narrow" view that struggles to correlate distant spatial patterns or complex channel relationships. Furthermore, aggregating multiple video frames into a single representative vector often relies on simple average or max pooling, which can discard discriminative details.
Methods
The proposed Channel Recurrent Attention Network (CRAN) introduces two primary innovations to address these issues: the Channel Recurrent Attention (CRA) module and the Set Aggregation (SA) cell. The entire system is built on a ResNet-50 backbone and trained using a combination of Triplet Loss and Cross-Entropy Loss.
Channel Recurrent Attention (CRA)
Instead of using standard convolutions, the CRA module treats a frame's feature map as a sequence of spatial vectors and feeds them into a Long Short-Term Memory (LSTM) network. The internal fully connected layers of the LSTM provide a global receptive field, allowing every spatial location in the feature map to interact with every other location. This process generates a "full" attention map ($C \times H \times W$), re-weighting every single element in the feature tensor based on both spatial and channel context.
Set Aggregation (SA) Cell
To transform a sequence of frames into a single "clip" representation, the authors argue that video frames should be treated as an order-less set rather than a strict sequence, as a person's identity is invariant to frame order. The SA cell combines Global Average Pooling (GAP) and Global Max Pooling (GMP). It applies non-shared "self-gating" layers—similar to Squeeze-and-Excitation blocks—to these pooled features to highlight the most informative frames before final fusion. This combination allows the model to capture both global context and salient local features, such as a unique logo or accessory.
Results
The CRAN model was evaluated on four major video pedestrian benchmarks: MARS, DukeMTMC-VideoReID, PRID-2011, and iLIDS-VID. The model outperformed previous state-of-the-art (SOTA) methods across the board:
- MARS: Achieved 87.9% mAP, significantly improving upon previous benchmarks.
- DukeMTMC-VideoReID: Reached 95.5% mAP and 96.3% Rank-1 accuracy.
Qualitative visualizations of feature maps show that while baseline models are often distracted by background clutter, the CRAN model consistently "locks on" to the human body and distinctive clothing features.
Conclusion
The Channel Recurrent Attention Network demonstrates the power of "full" attention and set-based aggregation for video person re-identification. By using LSTMs to process spatial information within frames, the model bypasses the locality constraints of traditional CNNs. While the computational complexity is higher due to the recurrent units, the significant gains in discriminative power establish a new benchmark for the field. Future research may explore integrating these full attention concepts into Transformer-based backbones to further enhance performance.
Summary updated