[D] Is attention just a type of belief propagation?

Discussion

Attention is mostly discussed in the context of sequences, but I was thinking about what it meant in the context of message passing. Clearly when a certain word has "attention" it is relaying long-distance information, but is that synonymous with something like belief propagation?

Posted Aug 8, 2019, 5:09 PM UTC

33
FutureIsMine•

Attention is closer related to dynamic pooling where we enable a network to learn how much of a given member of a sequence should be represented and then collects a weighted sum of the all the time steps so you got a layer thats dynamically pooled based on the overarching context

3
njdt•

I see it more like a dynamic method of context selection. So in a belief propagation perspective I can see that, but the graph is dynamic and data dependent.

I'm being very loose here, but conceptually I think this is the big idea.

2
ChuckSeven•

Why is the fully connected part upscaling the hidden representation? Why 512-2048-512? I never saw this properly motivated anywhere.

1