Methods › General › Affinity Functions › Embedded Gaussian Affinity
Embedded Gaussian Affinity
Introduced by Xiaolong Wang et al. in Non-local Neural Networks
archive 2025-07-28 Description, source and code snippet are the archive's method entry.
Embedded Gaussian Affinity is a type of affinity or self-similarity function between two points 𝐱ᵢ and 𝐱ⱼ that uses a Gaussian function in an embedding space:
f(𝐱ᵢ, 𝐱ⱼ) = e^(θ(𝐱ᵢ)ᵀϕ(𝐱ⱼ))
Here θ(xᵢ) = W_θxᵢ and ϕ(xⱼ) = Wᵩxⱼ are two embeddings.
Note that the self-attention module used in the original Transformer model is a special case of non-local operations in the embedded Gaussian version. This can be seen from the fact that for a given i, 1/(𝒞(𝐱))∑_(∀j)f(𝐱ᵢ, 𝐱ⱼ)g(𝐱ⱼ) becomes the softmax computation along the dimension j. So we have 𝐲 = softmax(𝐱ᵀWᵀ_θW_ϕ𝐱)g(𝐱), which is the self-attention form in the Transformer model. This shows how we can relate this recent self-attention model to the classic computer vision method of non-local means.
Papers archive 2025-07-28
8 shown of 8, 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.
-
Enhancing Tree Type Detection in Forest Fire Risk Assessment: Multi-Stage Approach and Color Encoding with Forest Fire Risk Evaluation Framework for UAV Imagery 27 Jul 2024 · 0 repositories · arXiv:2407.19184
-
Vision-based Food Nutrition Estimation via RGB-D Fusion Network 25 Oct 2023 · 1 repository
-
Fracture Detection in Wrist X-ray Images Using Deep Learning-Based Object Detection Models 14 Nov 2021 · 0 repositories · arXiv:2111.07355
-
Towards Balanced Learning for Instance Recognition 23 Aug 2021 · 0 repositories · arXiv:2108.10175
-
FoodLogoDet-1500: A Dataset for Large-Scale Food Logo Detection via Multi-Scale Feature Decoupling Network 10 Aug 2021 · 1 repository · arXiv:2108.04644
-
PBRnet: Pyramidal Bounding Box Refinement to Improve Object Localization Accuracy 10 Mar 2020 · 0 repositories · arXiv:2003.04541
-
Libra R-CNN: Towards Balanced Learning for Object Detection 4 Apr 2019 · 6 repositories · arXiv:1904.02701
-
Non-local Neural Networks 21 Nov 2017 · 32 repositories · arXiv:1711.07971Syntology ran 3 of 4 samples · 1 unverified · 4 pointer-only (licence)
Tasks archive 2025-07-28
19 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.
Usage over time archive 2025-07-28
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
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