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
- George Em Karniadakis (ORCID: https://orcid.org/0000-0002-9713-7120)
- Zhiwei Gao
- Liu Yang
Institutions
- National University of Singapore (SG)
- Brown University (US)
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
- National Research Foundation Singapore
- Defense Advanced Research Projects Agency
- Office of Naval Research