Skip to main content
QUICK REVIEW

[Paper Review] Graph In-Context Operator Networks for Generalizable Spatiotemporal Prediction

Chenghan Wu, Zongmin Yu|arXiv (Cornell University)|Mar 13, 2026
Advanced Graph Neural NetworksComputer Science0 citations
TL;DR

GICON combines graph neural networks with in-context operator learning to infer and apply multiple spatiotemporal operators from contextual examples, enabling generalization across irregular geometries and varying example counts without weight updates.

ABSTRACT

In-context operator learning enables neural networks to infer solution operators from contextual examples without weight updates. While prior work has demonstrated the effectiveness of this paradigm in leveraging vast datasets, a systematic comparison against single-operator learning using identical training data has been absent. We address this gap through controlled experiments comparing in-context operator learning against classical operator learning (single-operator models trained without contextual examples), under the same training steps and dataset. To enable this investigation on real-world spatiotemporal systems, we propose GICON (Graph In-Context Operator Network), combining graph message passing for geometric generalization with example-aware positional encoding for cardinality generalization. Experiments on air quality prediction across two Chinese regions show that in-context operator learning outperforms classical operator learning on complex tasks, generalizing across spatial domains and scaling robustly from few training examples to 100 at inference.

Motivation & Objective

  • Motivate fair, controlled comparison between in-context operator learning and classical single-operator learning under identical training data and steps.
  • Develop GICON to handle irregular spatial domains via graph-based representations.
  • Enable robust cardinality generalization so models leverage varying numbers of in-context examples at inference.
  • Demonstrate geometric generalization and cross-domain transfer for real-world spatiotemporal data.
  • Show that operator diversity improves performance on complex tasks and extrapolation capabilities.

Proposed method

  • Represent the spatial domain as a graph to handle irregular geometries.
  • Use graph message passing for spatial updates and per-node transformers for in-context learning across example sequences.
  • Introduce example-aware positional encoding to distinguish between examples and keys/values, enabling cardinality generalization.
  • Incorporate a retrieval step (FAISS) to select contextually relevant historical examples from a pool.
  • Train with multiple operators (Δt values) and assess performance using zero- to many-context scenarios in a single forward pass.
  • Provide a causal attention mask to enable efficient training across varying numbers of contextual examples.

Experimental results

Research questions

  • RQ1Can in-context operator learning outperform classical single-operator learning when trained on the same data and steps?
  • RQ2Do graph-based in-context operators generalize across different spatial geometries and regions with irregular sampling?
  • RQ3How well does example cardinality generalize from few (0–5) to many (up to 100) contextual examples at inference?
  • RQ4Does operator diversity improve extrapolation and robustness to unseen operators compared to single-operator models?
  • RQ5What is the impact of cross-region transfer on in-context operator learning for real-world spatiotemporal tasks?

Key findings

  • In-context operator learning with operator diversity outperforms classical single-operator learning on complex tasks under the same training protocol.
  • Models trained on one region generalize to another region with different graph structures, indicating geometric generalization.
  • Example cardinality generalizes robustly: models with up to 5 examples still perform well when evaluated with up to 100 examples.
  • ICON with operator diversity improves extrapolation to unseen operators (e.g., Δt=48 h) compared to single-operator baselines.
  • Single-operator models can benefit from in-context examples, but gains are limited and rely on operator diversity for robust performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.