Methods › General › Attention Mechanisms › RGA

Relation-aware Global Attention

RGA

11 papers tagged archive 2025-07-28

Introduced by Zhizheng Zhang et al. in Relation-Aware Global Attention for Person Re-identification

archive 2025-07-28 Description, source and code snippet are the archive's method entry.

In relation-aware global attention (RGA) stresses the importance of global structural information provided by pairwise relations, and uses it to produce attention maps.

RGA comes in two forms, spatial RGA (RGA-S) and channel RGA (RGA-C). RGA-S first reshapes the input feature map X to C×(H×W) and the pairwise relation matrix R ∈ℝ^((H×W)×(H×W)) is computed using Q = δ(W^QX) K = δ(WᴷX) R = QᵀK The relation vector rᵢ at position i is defined by stacking pairwise relations at all positions: rᵢ = [R(i, :); R(:,i)] and the spatial relation-aware feature yᵢ can be written as Yᵢ = [gᶜ_(avg)(δ(W^φ xᵢ)); δ(W^ϕ rᵢ)] where gᶜ_(avg) denotes global average pooling in the channel domain. Finally, the spatial attention score at position i is given by aᵢ = σ(W₂δ(W₁yᵢ)) RGA-C has the same form as RGA-S, except for taking the input feature map as a set of H×W-dimensional features.

RGA uses global relations to generate the attention score for each feature node, so provides valuable structural information and significantly enhances the representational power. RGA-S and RGA-C are flexible enough to be used in any CNN network; Zhang et al. propose using them jointly in sequence to better capture both spatial and cross-channel relationships.

PaperSource

Papers archive 2025-07-28

11 shown of 11, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.

Tasks archive 2025-07-28

20 shown of 23 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.

TaskPapers
Image Classification2
Autonomous Driving1
Blocking1
Clustering1
Combinatorial Optimization1
Continual Learning1
Domain Adaptation1
Drug Design1
Drug Discovery1
Image Segmentation1
Object Detection1
Person Re-Identification1
Quantization1
Relation1
Scene Segmentation1
Segmentation1
Semantic Segmentation1
Structural Health Monitoring1
Time Series1
Time Series Prediction1

Usage over time archive 2025-07-28

Papers per year tagged with RGA: 2019 to 2025, peak 3 3 0 2019: 1 paper 2019 2020: 3 papers 2020 2021: 1 paper 2021 2022: 1 paper 2022 2023: 1 paper 2023 2024: 1 paper 2024 2025: 3 papers 2025
Papers per year the archive tags with this method, by the paper's archive date (11 dated). Bars are counts, not a trend claim.

Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).

Categories archive 2025-07-28

Attention Mechanisms

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections