Image Credit: CS231n Convolutional Neural Networks for Visual RecognitionPixel 1
Pixel 2
Pixel N
Non-Linearity
Weights
Biases
Invariant
Equivariant
All learnable functions
All learnable functions constrained by your data
All Equivariant functions
More data efficient!
Image Credit: Irhum Shakfat "Intuitively Understanding Convolutions for Deep Learning" Edge:
Node:
Message
Node features
{Galaxy Luminosity}
Edge features
{Distance}
Edge Predictions
{Force of j on i}
Node embeddings
Aggregator
{Max, Mean, Variance...}
Permutation Invariant
Node Predictions
{Galaxy Peculiar Velocity}
Graph Predictions
{Cosmological Parameters}
"The dog chased the cat because it was playful."
But, we decide to break permutation invariance!
"Dog bites man" !=
"Man bites dog"
Unique encoding per position (regardless of sequence length)
Easty to compute "distances": pos -> pos + diff
Generalizes to longer sequences than used for training
Wish List for Encoding Positions:
The biggest lesson that can be read from 70 years of AI research is that general methods that leverage computation are ultimately the most effective, and by a large margin. [...]
methods that continue to scale with increased computation even as the available computation becomes very great. [...]
We want AI agents that can discover like we can, not which contain what we have discovered.