Spectral audit of in-context operator networks

Existing evaluations of neural operators and in-context operator learning rely mainly on prediction error, but accurate predictions do not necessarily imply a correct local operator response. A model may match solution values while responding incorrectly to small input perturbations. We introduce a Jacobian-based spectral audit for in-context operator learning. For a fixed context, we differentiate the network output with respect to the query function and treat the resulting Jacobian as the local tangent map learned by the model. We then project this Jacobian onto a Fourier basis to examine modal response, phase structure, and cross-mode coupling. The audit complements prediction error by comparing the local responses of the learned and reference PDE operators. Across the three benchmarks, it captures phase transport in advection, viscosity-dependent damping and base-state-dependent cross-mode response in Burgers, and local reaction–diffusion behavior in Allen–Cahn. It also reveals high-frequency degradation and phase errors that are not fully described by prediction error alone. A controlled Burgers experiment with mismatched demonstration and query operators during training further shows how inconsistent training prompts can distort the learned tangent response under clean evaluation. These results show that prediction accuracy and local operator fidelity provide different information about model behavior.

Authors

Institutions

Publication Details

Journal
npj Artificial Intelligence
Published
2026-12-02
DOI
https://doi.org/10.1038/s44387-026-00176-1
Citations
3
Primary Topic
Model Reduction and Neural Networks
Type
article
Field-Weighted Citation Impact
3.07

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Spectral audit of in-context operator networks

George Em Karniadakis, Zhiwei Gao, Liu Yang
3 citations
npj Artificial Intelligence
Model Reduction and Neural Networks
3.07
article

Spectral audit of in-context operator networks

George Em Karniadakis, Zhiwei Gao, Liu Yang
article en
3 citations

Abstract

Existing evaluations of neural operators and in-context operator learning rely mainly on prediction error, but accurate predictions do not necessarily imply a correct local operator response. A model may match solution values while responding incorrectly to small input perturbations. We introduce a Jacobian-based spectral audit for in-context operator learning. For a fixed context, we differentiate the network output with respect to the query function and treat the resulting Jacobian as the local tangent map learned by the model. We then project this Jacobian onto a Fourier basis to examine modal response, phase structure, and cross-mode coupling. The audit complements prediction error by comparing the local responses of the learned and reference PDE operators. Across the three benchmarks, it captures phase transport in advection, viscosity-dependent damping and base-state-dependent cross-mode response in Burgers, and local reaction–diffusion behavior in Allen–Cahn. It also reveals high-frequency degradation and phase errors that are not fully described by prediction error alone. A controlled Burgers experiment with mismatched demonstration and query operators during training further shows how inconsistent training prompts can distort the learned tangent response under clean evaluation. These results show that prediction accuracy and local operator fidelity provide different information about model behavior.

npj Artificial Intelligence
National University of Singapore (SG), Brown University (US)
National Research Foundation Singapore, Defense Advanced Research Projects Agency, Office of Naval Research
Openalex Percentile: Top 11%
Model Reduction and Neural Networks
3.07
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon