Lune

ICML2025Top-tier venue

Gridded Transformer Neural Processes for Spatio-Temporal Data

Matthew Ashman, Cristiana Diaconu, Eric Langezaal, Adrian Weller, Richard E. Turner

Abstract

Effective modelling of large-scale spatio-temporal datasets is essential for many domains, yet existing approaches often impose rigid constraints on the input data, such as requiring them to lie on fixed-resolution grids. With the rise of foundation models, the ability to process diverse, heterogeneous data structures is becoming increasingly important. Neural processes (NPs), particularly transformer neural processes (TNPs), offer a promising framework for such tasks, but struggle to scale to large spatio-temporal datasets due to the lack of an efficient attention mechanism. To address this, we introduce gridded pseudo-token TNPs which employ specialised encoders and decoders to handle unstructured data and utilise a processor comprising gridded pseudo-tokens with efficient attention mechanisms. Furthermore, we develop equivariant gridded TNPs for applications where exact or approximate translation equivariance is a useful inductive bias, improving accuracy and training efficiency. Our method consistently outperforms a range of strong baselines in various synthetic and real-world regression tasks involving large-scale data, while maintaining competitive computational efficiency. Experiments with weather data highlight the potential of gridded TNPs and serve as just one example of a domain where they can have a significant impact.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Generative Neural Operators through Diffusion Last Layer cites Spectral Convolutional Conditional Neural Processes
  • Incremental Transformer Neural Processes cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Revisiting Neural Processes via Fourier Transform and Volterra Series cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Revisiting Neural Processes via Fourier Transform and Volterra Series cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Revisiting Neural Processes via Fourier Transform and Volterra Series cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • Revisiting Neural Processes via Fourier Transform and Volterra Series cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Revisiting Neural Processes via Fourier Transform and Volterra Series cites Spectral Convolutional Conditional Neural Processes
  • Spectral Convolutional Conditional Neural Processes cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Voxel Transformer for 3D Object Detection cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Spectral Convolutional Conditional Neural ProcessesPeiman Mohseni, Nick DuffieldNeurIPS 2025 · 10 citations
  2. Generative Neural Operators through Diffusion Last LayerSungwon Park, Anthony Zhou, Hongjoong Kim, Amir Barati FarimaniICML 2026 · 1 citation
  3. Incremental Transformer Neural ProcessesPhilip Mortimer, Cristiana Diaconu, Tommy Rochussen, Bruno Mlodozeniec et al.ICML 2026
  4. Revisiting Neural Processes via Fourier Transform and Volterra SeriesPeiman Mohseni, Nick Duffield, Raymond K WongICML 2026

Builds on19

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
  4. FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 citations
  5. Voxel Transformer for 3D Object DetectionJiageng Mao, Yujing Xue, Minzhe Niu, Haoyue Bai et al.ICCV 2021 · 535 citations

Related papers

  1. Translation Equivariant Transformer Neural ProcessesMatthew Ashman, Cristiana Diaconu, Junhyuck Kim, Lakee Sivaraya et al.ICML 2024 · 10 citations
  2. Approximately Equivariant Neural ProcessesMatthew Ashman, Cristiana Diaconu, Adrian Weller, Wessel P. Bruinsma et al.NeurIPS 2024 · 11 citations
  3. Inducing Point Operator Transformer: A Flexible and Scalable Architecture for Solving PDEsSeungjun Lee, Taeil OhAAAI 2024 · 22 citations
  4. BaRISTA: Brain Scale Informed Spatiotemporal Representation of Human Intracranial Neural ActivityLucine L. Oganesian, Saba Hashemi, Maryam M. ShanechiNeurIPS 2025 · 7 citations
  5. Meta-Learning Stationary Stochastic Process Prediction with Convolutional Neural ProcessesAndrew Y. K. Foong, Wessel P. Bruinsma, Jonathan Gordon, Yann Dubois et al.NeurIPS 2020 · 96 citations
Dusk over the sea between two cliffs drawn in fine vertical lines