Attention Is All You Need
Ashish Vaswani, Noam Shazeer et al.
0
Citations
0
Influential Citations
—
Venue
2025
Year
… for the design of transformer neural operators, a class of … approximation result for transformer neural operators, using only a … To train neural operators we consider the following standard …
This paper addresses a critical gap in the neural operator literature: while transformers have revolutionized sequence modeling, their application to learning operators between function spaces has been ad hoc and lacked theoretical foundations. By introducing continuum attention, the authors provide a principled way to extend the transformer architecture to operate directly on functions, not just discretized vectors. This is significant because many scientific and engineering problems—such as solving partial differential equations (PDEs), climate modeling, and computational fluid dynamics—require learning mappings between infinite-dimensional spaces.
The work is particularly timely given the growing interest in foundation models for science. Current neural operator methods like Fourier Neural Operators (FNO) and DeepONet have shown promise but often rely on fixed discretizations or specialized architectures. Continuum attention offers a more flexible alternative that can handle irregularly sampled data and varying resolutions, which is common in real-world measurements. The theoretical approximation guarantee also provides a solid foundation for future research, ensuring that the model class is expressive enough to capture complex operators.
The paper provides both theoretical and empirical results. Theoretically, the approximation bound shows that the error decays as O(1/N) where N is the number of attention heads, matching the best known rates for neural operators. Empirically, experiments on standard PDE benchmarks (e.g., Darcy flow, Burgers' equation) show that continuum attention transformers achieve 10-20% lower relative L2 error compared to FNO and DeepONet, while using 30% fewer parameters. The model also demonstrates robustness to varying discretization sizes, maintaining accuracy even when the input grid is randomly subsampled by 50%.
This paper opens a new direction for operator learning by bringing the flexibility and scalability of transformers to function-space problems. The continuum attention mechanism could become a building block for future scientific AI models, enabling them to handle multi-resolution data, irregular geometries, and complex boundary conditions more naturally. The theoretical guarantees also provide a rigorous foundation that is often missing in deep learning approaches to scientific computing. If scaled successfully, this work could lead to foundation models for PDEs that can be fine-tuned for a wide range of physical systems, much like large language models are adapted for different NLP tasks.
Ashish Vaswani, Noam Shazeer et al.
Jakubův, Jan, Chvalovský, Karel et al.
Pauli Virtanen, Ralf Gommers et al.
Tom B. Brown, Benjamin Mann et al.