[1810.00825] Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networks
Many machine learning tasks such as multiple instance learning, 3D shape recognition, and few-shot image classification are defined on sets of instances. Since solutions to such problems do not depend on the order of elements of the set, models used to address them should be permutation invariant. We present an attention-based neural network module, the Set Transformer, specifically designed to model interactions among elements in the input set. The model consists of an encoder and a decoder, both of which rely on attention mechanisms. In an effort to reduce computational complexity, we introduce an attention scheme inspired by inducing point methods from sparse Gaussian process literature. It reduces the computation time of self-attention from quadratic to linear in the number of elements in the set. We show that our model is theoretically attractive and we evaluate it on a range of tasks, demonstrating the state-of-the-art performance compared to recent methods for set-structured data.
Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networks Juho Lee 1 2 Yoonho Lee 3 Jungtaek Kim 4 Adam R. Kosiorek 1 5 Seungjin Choi 4 Yee Whye Teh 1 Abstract 1997; Maron & Lozano-Pérez, 1998) is an example of such a set-input…
saved by
related reading
- Set Transformer: A Framework for Attention-basedPermutation-Invariant Neural Networksarxiv.org
- Paper Review: Set Transformersmedium.com
- Aman's AI Journal • Primers • Ilya Sutskever's Top 30aman.ai
- transformer_attention.pdfarxiv.org
- The Illustrated Transformer – Jay Alammar – Visualizing machine learning one concept at a time.jalammar.github.io
- A Mathematical Framework for Transformer Circuitstransformer-circuits.pub
- 1706.03762arxiv.org
- Transformers from Scratche2eml.school
- The Sensory Neuron as a Transformer: Permutation-Invariant Neural Networks for Reinforcement Learningattentionneuron.github.io
- The Annotated Transformernlp.seas.harvard.edu
- Transformers from scratch | peterbloem.nlpeterbloem.nl
- A Introduction to Transformersarxiv.org