about
Convolution Is Outer Product (arxiv.org)
2 points by adamnemecek on Nov 23, 2020 | hide | past | pdf | discuss on HN

In plain words: A single framework describes convolution layers as one operation: each output mixes nearby inputs through a fixed pattern of connections, keeping parameter counts small even for complex structures. Attention is the same operation with the connection pattern learned instead of fixed.

Abstract · Convolution, attention and structure embedding

Deep neural networks are composed of layers of parametrised linear operations intertwined with non linear activations. In basic models, such as the multi-layer perceptron, a linear layer operates on a simple input vector embedding of the instance being processed, and produces an output vector embedding by straight multiplication by a matrix parameter. In more complex models, the input and output are structured and their embeddings are higher order tensors. The parameter of each linear operation must then be controlled so as not to explode with the complexity of the structures involved. This is essentially the role of convolution models, which exist in many flavours dependent on the type of structure they deal with (grids, networks, time series etc.). We present here a unified framework which aims at capturing the essence of these diverse models, allowing a systematic analysis of their properties and their mutual enrichment. We also show that attention models naturally fit in the same framework: attention is convolution in which the structure itself is adaptive, and learnt, instead of being given a priori.

Jean-Marc Andreoli
arXiv:1905.01289 · cs.LG, stat.ML · submitted May 3, 2019 · updated Mar 5, 2020
abstract · pdf · html · Published in NeurIPS 2019 workshop on Graph Representation Learning, Dec 13, 2019, Vancouver, BC, Canada

add comment on HN
Also discussed: May 2019 (1 point, 0 comments)