Skip to main content
QUICK REVIEW

[Paper Review] HAT: Hierarchical Aggregation Transformers for Person Re-identification

Guowen Zhang, Pingping Zhang|arXiv (Cornell University)|Jul 13, 2021
Video Surveillance and Tracking MethodsComputer Science60 references14 citations
TL;DR

HAT proposes a novel Hierarchical Aggregation Transformer for person re-identification by combining CNN-based multi-scale feature extraction with a Transformer-based Feature Calibration (TFC) module and a Deeply Supervised Aggregation (DSA) mechanism. The method achieves state-of-the-art performance on four large-scale Re-ID benchmarks by iteratively fusing hierarchical features with multi-granularity supervision and integrating low-level details as global priors for high-level semantics.

ABSTRACT

Recently, with the advance of deep Convolutional Neural Networks (CNNs), person Re-Identification (Re-ID) has witnessed great success in various applications. However, with limited receptive fields of CNNs, it is still challenging to extract discriminative representations in a global view for persons under non-overlapped cameras. Meanwhile, Transformers demonstrate strong abilities of modeling long-range dependencies for spatial and sequential data. In this work, we take advantages of both CNNs and Transformers, and propose a novel learning framework named Hierarchical Aggregation Transformer (HAT) for image-based person Re-ID with high performance. To achieve this goal, we first propose a Deeply Supervised Aggregation (DSA) to recurrently aggregate hierarchical features from CNN backbones. With multi-granularity supervisions, the DSA can enhance multi-scale features for person retrieval, which is very different from previous methods. Then, we introduce a Transformer-based Feature Calibration (TFC) to integrate low-level detail information as the global prior for high-level semantic information. The proposed TFC is inserted to each level of hierarchical features, resulting in great performance improvements. To our best knowledge, this work is the first to take advantages of both CNNs and Transformers for image-based person Re-ID. Comprehensive experiments on four large-scale Re-ID benchmarks demonstrate that our method shows better results than several state-of-the-art methods. The code is released at https://github.com/AI-Zhpp/HAT.

Motivation & Objective

  • To address the challenge of limited receptive fields in CNNs for person Re-ID under non-overlapping camera views.
  • To improve feature representation by effectively fusing multi-scale hierarchical features from CNN backbones.
  • To leverage the global modeling capability of Transformers to enhance semantic understanding while preserving low-level details.
  • To design a trainable framework that is independent of backbone choice and robust across diverse Re-ID scenarios.
  • To demonstrate the effectiveness of multi-granularity supervision and feature calibration in improving discriminative feature learning.

Proposed method

  • Proposes Deeply Supervised Aggregation (DSA) to iteratively aggregate hierarchical features from CNN backbones using multi-granularity supervisions.
  • Introduces a Transformer-based Feature Calibration (TFC) module that integrates low-level detail features as global priors for high-level semantic features at each level.
  • Employs a scaling module to resize multi-scale features to a consistent resolution (H/d, W/d) for effective cross-level interaction in TFC.
  • Applies auxiliary losses at multiple stages to enhance gradient flow, preserve semantic information, and provide regularization.
  • Uses neighborhood adjustment (NeA) to refine local feature representations and improve discriminative capacity.
  • Designs a hierarchical aggregation pipeline that processes features from shallow to deep layers, progressively refining representations.

Experimental results

Research questions

  • RQ1How can multi-scale features from CNN backbones be effectively aggregated to improve person Re-ID performance?
  • RQ2Can Transformer-based mechanisms enhance feature representation by integrating low-level details as global priors for high-level semantics?
  • RQ3What is the impact of multi-granularity supervision on feature learning and model generalization in hierarchical feature aggregation?
  • RQ4How does the scaling of feature resolution affect the performance of cross-level feature interaction in the TFC module?
  • RQ5To what extent does the proposed HAT framework outperform existing state-of-the-art methods on standard Re-ID benchmarks?

Key findings

  • HAT achieves state-of-the-art performance on four large-scale Re-ID benchmarks: Market1501 (mAP: 95.8%, Rank-1: 95.8%), DukeMTMC (mAP: 81.4%, Rank-1: 90.4%), CUHK03 (mAP: 88.9%, Rank-1: 95.5%), and MSMT1271 (mAP: 84.5%, Rank-1: 93.0%).
  • The ablation study shows that removing supervision for multi-scale feature extraction (MFE) causes a 4.9% drop in mAP and 2.2% in Rank-1, confirming the importance of deep supervision.
  • The auxiliary loss with λ = 0.5 achieves the best performance (81.4% mAP, 90.4% Rank-1 on DukeMTMC), outperforming both higher and lower λ values.
  • Scaling with d=16 yields better performance than d=8 or d=32, indicating that moderate resolution preserves relevant features without introducing noise.
  • Visualization results confirm that HAT captures more discriminative details—such as bag patterns and clothing textures—compared to baseline models.
  • The TFC module progressively enhances feature quality from shallow to deep layers, with averaged feature maps showing increased discriminative content at higher levels.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.