What is: Embedded Gaussian Affinity?
Source | Non-local Neural Networks |
Year | 2000 |
Data Source | CC BY-SA - https://paperswithcode.com |
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:
Here and 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 , becomes the softmax computation along the dimension . So we have , 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.