General-purpose, long-context autoregressive modeling with Perceiver AR
Curtis Hawthorne Affiliation: Google Research, Brain Team Correspondence to: Andrew Jaegle Affiliation: DeepMind Correspondence to: Cătălina Cangea Affiliation: DeepMind Sebastian Borgeaud Affiliation: DeepMind Charlie Nash Affiliation: DeepMind Mateusz Malinowski Affiliation: DeepMind Sander Dieleman Affiliation: DeepMind Oriol Vinyals Affiliation: DeepMind Matthew Botvinick Affiliation: DeepMind Ian Simon Affiliation: Google Research, Brain Team Hannah Sheahan Affiliation: DeepMind Neil Zeghidour Affiliation: Google Research, Brain Team Jean-Baptiste Alayrac Affiliation: DeepMind João Carreira Affiliation: DeepMind Jesse Engel Affiliation: Google Research, Brain Team
Abstract
Real-world data is high-dimensional: a book, image, or musical performance can easily contain hundreds of thousands of elements even after compression. However, the most commonly used autoregressive models, Transformers, are prohibitively expensive to scale to the number of inputs and layers needed to capture this long-range structure. We develop Perceiver AR, an autoregressive, modality-agnostic architecture which uses cross-attention to map long-range inputs to a small number of latents while also maintaining end-to-end causal masking. Perceiver AR can directly attend to over a hundred thousand tokens, enabling practical long-context density estimation without the need for hand-crafted sparsity patterns or memory mechanisms. When trained on images or music, Perceiver AR generates outputs with clear long-term coherence and structure. Our architecture also obtains state-of-the-art likelihood on long-sequence benchmarks, including 64 $\times$ 64 ImageNet images and PG-19 books.
原文 arXiv:2202.07765;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2202.07765v2