[Paper Review] Perceiver IO: A General Architecture for Structured Inputs & Outputs
Perceiver IO introduces a general-purpose neural network architecture that handles diverse structured inputs and outputs using a flexible attention-based querying mechanism, enabling linear scaling with input and output size. It achieves state-of-the-art performance on tasks including GLUE language understanding and Sintel optical flow estimation without task-specific architectural changes.
A central goal of machine learning is the development of systems that can solve many problems in as many data domains as possible. Current architectures, however, cannot be applied beyond a small set of stereotyped settings, as they bake in domain & task assumptions or scale poorly to large inputs or outputs. In this work, we propose Perceiver IO, a general-purpose architecture that handles data from arbitrary settings while scaling linearly with the size of inputs and outputs. Our model augments the Perceiver with a flexible querying mechanism that enables outputs of various sizes and semantics, doing away with the need for task-specific architecture engineering. The same architecture achieves strong results on tasks spanning natural language and visual understanding, multi-task and multi-modal reasoning, and StarCraft II. As highlights, Perceiver IO outperforms a Transformer-based BERT baseline on the GLUE language benchmark despite removing input tokenization and achieves state-of-the-art performance on Sintel optical flow estimation with no explicit mechanisms for multiscale correspondence.
Motivation & Objective
- Address the limitation of existing models that require task-specific architectures for different input and output types.
- Enable a single neural network to process arbitrary input modalities and generate structured outputs of varying sizes and semantics.
- Decouple the computational complexity of the model from the size and structure of inputs and outputs to improve scalability.
- Develop a unified framework that replaces multiple specialized models (e.g., BERT, AlphaStar) across diverse domains without architectural reengineering.
- Achieve strong performance across multimodal, dense, and multi-task learning settings with minimal architectural assumptions.
Proposed method
- Use a Perceiver-based encoder to map diverse inputs (e.g., text, images, audio) into a fixed-size latent space using self-attention mechanisms.
- Introduce a query-based decoder that generates outputs by attending to the latent space using modality-specific queries encoding task semantics.
- Construct queries using positional embeddings (Fourier or learned) and modality identifiers to specify output structure and semantics.
- Decouple input and output processing by maintaining a fixed-size latent representation, enabling linear scaling with input and output size.
- Use a read-process-write attentional architecture: inputs are read into latents, latents are processed via deep attention blocks, and outputs are written via query-based attention.
- Support multimodal autoencoding by jointly encoding video, audio, and labels into a shared latent space and decoding them via modality-specific queries and loss functions.
Experimental results
Research questions
- RQ1Can a single neural network architecture handle a wide range of input modalities and structured output types without architectural re-design?
- RQ2How can a model scale linearly with input and output size while maintaining high performance across diverse tasks?
- RQ3Can attention-based querying replace task-specific decoder heads in models like BERT and AlphaStar?
- RQ4To what extent can a unified architecture achieve state-of-the-art performance on dense prediction tasks like optical flow without explicit multiscale mechanisms?
- RQ5How effective is the query-based decoding mechanism in enabling generalization across multimodal, multi-task, and hybrid input-output settings?
Key findings
- Perceiver IO outperforms BERT on the GLUE benchmark despite removing input tokenization, demonstrating strong zero-shot and few-shot generalization.
- It achieves state-of-the-art performance on the Sintel optical flow benchmark without explicit multiscale correspondence mechanisms, highlighting its inductive bias for dense prediction.
- The model achieves strong results on ImageNet image classification, indicating strong transferability across vision tasks.
- In multimodal autoencoding on Kinetics700, Perceiver IO jointly reconstructs video, audio, and labels with high perceptual quality, despite coarse patching and high input dimensionality.
- The model maintains strong performance across diverse tasks—including StarCraft II, multi-task language understanding, and audio-video classification—demonstrating architectural generality.
- The query-based decoding mechanism enables flexible output generation with arbitrary shapes and semantics, while keeping the latent space agnostic to output structure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.