Skip to main content
QUICK REVIEW

[Paper Review] OH-Former: Omni-Relational High-Order Transformer for Person Re-Identification

Xianing Chen, Xu, Chunlin|arXiv (Cornell University)|Sep 23, 2021
Video Surveillance and Tracking MethodsComputer Science44 references18 citations
TL;DR

This paper proposes OH-Former, a novel Transformer-based model for person re-identification that captures omni-relational high-order features by integrating local relation perception and a prior mixing attention sharing mechanism. It achieves state-of-the-art performance on Market-1501, DukeMTMC, MSMT17, and Occluded-Duke, with 82.8% mAP on DukeMTMC-reID and 60.8% mAP on Occluded-Duke.

ABSTRACT

Transformers have shown preferable performance on many vision tasks. However, for the task of person re-identification (ReID), vanilla transformers leave the rich contexts on high-order feature relations under-exploited and deteriorate local feature details, which are insufficient due to the dramatic variations of pedestrians. In this work, we propose an Omni-Relational High-Order Transformer (OH-Former) to model omni-relational features for ReID. First, to strengthen the capacity of visual representation, instead of obtaining the attention matrix based on pairs of queries and isolated keys at each spatial location, we take a step further to model high-order statistics information for the non-local mechanism. We share the attention weights in the corresponding layer of each order with a prior mixing mechanism to reduce the computation cost. Then, a convolution-based local relation perception module is proposed to extract the local relations and 2D position information. The experimental results of our model are superior promising, which show state-of-the-art performance on Market-1501, DukeMTMC, MSMT17 and Occluded-Duke datasets.

Motivation & Objective

  • Address the limitations of vanilla Transformers in person ReID, such as underutilized high-order feature relations and degraded local details.
  • Overcome the computational cost of high-order self-attention by introducing a prior mixing attention sharing mechanism.
  • Integrate inductive biases from convolutional operations to enhance local feature representation without sacrificing global context.
  • Improve robustness to pedestrian variations, including occlusion and pose changes, through unified modeling of local and non-local relations.
  • Achieve state-of-the-art performance across multiple ReID benchmarks, including challenging occluded datasets.

Proposed method

  • Propose a high-order transformer module that models non-local relations across all tokens using self-attention, capturing long-range dependencies beyond pairwise queries and keys.
  • Introduce a Local Relation Perception (LRP) module using deformable and depth-wise convolutions to extract fine-grained local relations and 2D spatial position information.
  • Design a Prior Mixing Attention Sharing Mechanism to share attention weights across different orders of high-order statistics, reducing $O(n^2)$ computation cost.
  • Construct omni-relational high-order features by fusing local relations (from LRP) and first-order non-local relations (from self-attention), enabling joint modeling of local detail and global context.
  • Train the model end-to-end with cross-entropy and triplet loss to optimize identity discrimination in the feature space.
  • Use a multi-stage training strategy with progressive head design to stabilize learning and improve generalization.

Experimental results

Research questions

  • RQ1Can high-order feature relations significantly improve person ReID performance when explicitly modeled beyond standard self-attention?
  • RQ2How does the integration of local convolutional inductive biases affect the representation capacity of Vision Transformers in ReID?
  • RQ3To what extent can attention weight sharing across high-order statistics reduce computational cost without sacrificing performance?
  • RQ4Does the proposed omni-relational feature learning mechanism generalize better to occluded and challenging ReID scenarios?
  • RQ5What is the optimal trade-off between computational efficiency and performance when modeling high-order relations in ReID Transformers?

Key findings

  • OH-Former achieves 82.8% mAP and 91.0% R-1 on DukeMTMC-reID, outperforming all prior methods by a significant margin.
  • On the Occluded-Duke dataset, OH-Former achieves 60.8% mAP, surpassing the previous SOTA by 23.5 percentage points.
  • The ablation study confirms that the LRP module contributes 5.34% mAP improvement over the baseline, demonstrating its critical role in local detail learning.
  • The Prior Mixing Attention Sharing mechanism enables comparable performance to the full model while reducing computation, validating its efficiency.
  • The model with both LRP and high-order attention layers achieves the best performance, showing complementary benefits between local and global relational modeling.
  • The ablation shows that order higher than three provides negligible gain, justifying the choice of $[H_{2}^{2,8}, H_{3}^{4,6}]$ as the optimal configuration.

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.