Re:Permutation-Invariant Neural Networks for Reinforcement L...
by Buttons840 on Saturday November 27, 2021 @11:07PM
(#29366089)
Is this "hard" permutation-invariant? For example, does shuffling the order of the inputs really have zero effect on the output? Or is it just "soft" permutation-invariant? Looking at their architecture diagram, the "attention" network receives input from the "sensory neurons" in a certain order, right? If so, I suspect order does matter, although they attempt to minimize the importance of the order.
[ Parent
| on HN ]
Re:Permutation-Invariant Neural Networks for Reinforcement L...
by bjornsing on Sunday November 28, 2021 @01:52AM
(#29366775)
I haven’t read the article in depth, but transformer style self-attention is usually permutation equivariant, meaning that if you change the order of inputs then you get the same change in order of outputs, but the outputs themselves stay the same.
As I understand it all outputs are then added together / averaged into one vector. That should make the model ”hard” permutation invariant.
Re:Permutation-Invariant Neural Networks for Reinforcement L...
by sdenton4 on Sunday November 28, 2021 @02:17AM
(#29366869)
Most actual implementations use a position encoding, though, which breaks permutation invariance. This is a good inductive bias... word order matters, for example.
Re:Permutation-Invariant Neural Networks for Reinforcement L...
by bjornsing on Sunday November 28, 2021 @02:51AM
(#29367031)
Sure. But it would be very weird to use a position embedding here, when the whole point is permutation invariance.
Re:Permutation-Invariant Neural Networks for Reinforcement L...
by Buttons840 on Sunday November 28, 2021 @12:21PM
(#29370734)
I must not understand what transformers are. I thought they were a type of RNN where order of input matters?
Any suggestions on how to learn about transformers? Or a few sentences to get me started on the right path?