atlas

Research map / Architectures and efficiency / Attention and transformers

Gridded Transformer Neural Processes for Spatio-Temporal Data

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer neural operators for PDEs

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces gridded pseudo-token transformer neural processes that encode unstructured spatio-temporal data onto a grid so efficient attention (Swin/ViT) can be used, with translation-equivariant variants.

Problem

Transformer neural processes cannot scale to large spatio-temporal datasets because full attention is quadratic and efficient attention needs gridded inputs, while real data are often unstructured or multi-modal.

Approach

Encode unstructured context points onto a regular grid of pseudo-tokens via a nearest-neighbour cross-attention grid encoder, process the grid with Swin Transformer or ViT, and decode at arbitrary targets with nearest-neighbour cross-attention; add (approximate) translation equivariance via relative positional encodings on the grid.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use the pseudo-token grid encoder instead of kernel-interpolation grid encoding (ablation)gridded TNP · t2m station predictionlog-likelihood: 1.683 -> 1.819Helped
use the pseudo-token grid encoder instead of kernel-interpolation grid encoding (ablation)gridded TNP · multi-modal wind speedlog-likelihood: 7.603 -> 8.603Helped
use patch encoding before projecting onto the latent grid (ablation)ViTNP · t2m station predictionlog-likelihood: 1.628 -> 1.734Helped
use patch encoding before projecting onto the latent grid (ablation)ViTNP · multi-modal wind speedlog-likelihood: 5.371 -> 7.288Helped
use Swin Transformer processing instead of ViTNP processing (ablation)gridded TNP · t2m station predictionlog-likelihood: 1.808 -> 1.819Helped
use Swin Transformer processing instead of ViTNP processing (ablation)gridded TNP · multi-modal wind speedlog-likelihood: 7.288 -> 8.603Helped
use nearest-neighbour cross-attention instead of full cross-attention in the grid decoder (ablation)Swin-TNP PT-GE · t2m station predictionlog-likelihood: 1.636 -> 1.819Helped
use separate pseudo-token grids for each modality instead of one shared grid (ablation)Swin-TNP PT-GE · multi-modal wind speedlog-likelihood: 8.073 -> 8.603Helped
increase grid size from 64 × 128 to 192 × 384 (ablation)Swin-TNP PT-GE · t2m station predictionlog-likelihood: 1.819 -> 2.053Helped
increase grid size from 24 × 60 to 48 × 120 (ablation)Swin-TNP m-PT-GE · multi-modal wind speedlog-likelihood: 8.603 -> 9.383Helped
add strict translation equivariance (ablation)Swin-TNP · t2m station predictionlog-likelihood: 1.819 -> 1.895Helped
add approximate translation equivariance instead of strict translation equivariance (ablation)Swin-TNP (T) · t2m station predictionlog-likelihood: 1.895 -> 1.926Helped

Surprising findings

Limitations

Experimental setup

Datasets: ERA5 reanalysis synthetic Gaussian process datasets (SE kernel, SKI) EAGLE fluid dynamics dataset

Benchmarks: GP regression test log-likelihood ERA5 t2m station prediction ERA5 multi-modal wind speed interpolation

Metrics: test log-likelihood forward pass time

Baselines: CNP PT-TNP ConvCNP ViTNP Swin-TNP (T)

Builds on: transformer neural processes ConvCNP Perceiver pseudo-tokens Swin Transformer translation equivariant TNP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy