In-Context Operator Networks: A Guide to the ICON Family
Published:
Liu Yang, Siting Liu, Tingwei Meng, Stanley J. Osher
Read the paper (PDF)
From functions to operators
A function maps an input to a value: \(u(x)\) might give temperature at position \(x\). An operator maps an entire function to another function. A heat-evolution operator takes an initial temperature profile and returns the profile after a specified duration:
\[\mathcal{G}_{\kappa,\tau}:u_0(\cdot)\mapsto u(\tau,\cdot).\]Changing the initial temperature changes the input. Changing diffusivity \(\kappa\) or the prediction interval \(\tau\) changes the operator. This distinction is the starting point for reading every paper in this book.
An in-context model receives a prompt
\[\mathcal{D}_{\mathcal{G}}=\{(u_i,v_i):v_i=\mathcal{G}(u_i)\}_{i=1}^{m}\]and a query \(u_*\). Its output is \(\widehat v_*=F_\theta(\mathcal{D}_{\mathcal{G}},u_*)\). Learning at deployment means changing the activations through the context, while \(\theta\) remains fixed. This is the formulation introduced by Yang, Liu, Meng, and Osher in ICON (PNAS, 2023).
A small example you can solve exactly
Consider the family \(\mathcal{G}_a[u](x)=a\,u(x)\). The value of \(a\) is hidden. If an example is \(u_1=[1,2]\) and \(v_1=[3,6]\), the implied multiplier is three. For \(u_*=[2,-1]\), the answer is \([6,-3]\).
The same query paired with the demonstration \([1,2]\mapsto[5,10]\) instead asks for \([10,-5]\). The query alone does not determine the answer. A model that ignores context must fail on at least one of these tasks.
This is an illustrative identification problem, not a description of ICON’s internal algorithm. Real differential operators need richer examples, and a finite prompt can leave several candidate operators indistinguishable.
Reading path
| Chapter | Question to carry into the paper |
|---|---|
| ICON | How can examples specify an unfamiliar function-to-function mapping? |
| ICON-LM | How do captions and a leakage-safe prediction mask change training? |
| PDE generalization | Does success survive a change in the equation’s flux? |
| VICON | How do image patches make dense 2D prompts tractable? |
| GICON | How do we represent irregular sensor networks and longer contexts? |
| Chain of Operators | What can numerical transformations add around a frozen network? |
| UNICON | Can one context interface support different scientific disciplines? |
| Linear propagators | What changes when an optimizer uses the inferred operator? |
| VICX | How can visual demonstrations ground a robot’s motion? |
These are a curated route through the core papers and major extensions, rather than a claim to cover every paper using the acronym. The authors’ publication list is a useful index for further reading. Paper chapters identify the versions they discuss; preprints are labelled separately from journal publications.
How to read a generalization claim
Keep four axes separate: new input functions, new operator parameters, new equation families, and new domains or disciplines. A model can succeed on one and fail on another. Also distinguish generalization to new sampling locations from generalization to more demonstrations: these stress different parts of a model.
A useful evaluation starts with a context budget. Hold out the query target, choose demonstrations whose outputs were actually available at prediction time, and compare against the same model with missing or mismatched context. Then compare with a suitably trained specialist under a stated training and inference budget. A frozen model can still consume substantial data and compute through retrieval or repeated calls.
For time evolution, measure both one-step error and rollout error. If a one-step approximation has error at most \(\varepsilon\) and the true update is \(L\)-Lipschitz in the relevant norm, a simple bound is
\[e_{k+1}\leq L e_k+\varepsilon.\]Even a modest one-step error can accumulate. A visually plausible prediction is also not automatically conservative, stable, or correct at a shock.
Prerequisites and connections
The Transformers book explains attention; the Graph Neural Networks book provides background for graph representations. This book develops the operator-specific notation as it goes. The worked examples are explanatory constructions, and the reported experiments are attributed to the corresponding papers.
