Fourier-Enhanced In-Context Transformers for Generalizable PDE Operator Learning
Surrogate models for parametric PDEs require generalization across varying conditions. In-context operator networks (ICON) achieve this via prompting. However, standard ICON tokenizes raw spatial samples, leading to quadratic self-attention costs and weak inductive biases for spectral decay and long-range physics. We propose F-ICON, a Fourier-enhanced Transformer that injects a global spectral prior into PDE operator learning. It replaces standard tokenization with a lightweight Fourier Neural Operator (FNO), producing globally informed features. These features are processed by an ICON encoder with residual spectral fusion and decoded via cross-attention to predict solutions at arbitrary coordinates. Tested under matched conditions on the 1D viscous Burgers equation, 2D Darcy flow, and regularized cavity flow, F-ICON significantly improves accuracy and stability. Compared with standard ICON, F-ICON reduces the mean relative $L^2$ error by 59.2%, 74.9%, and 11.6% on the Burgers, Darcy-flow, and regularized cavity-flow benchmarks, respectively. In the three-seed cavity-flow study, F-ICON consistently lowers the seed-level mean, 90th percentile, and maximum joint velocity errors, indicating more stable average and high-error performance across random initializations. Results demonstrate that Fourier-preconditioned context encoding provides a robust path to more accurate and generalizable in-context PDE operator learning.
Authors
- Jiancheng Hu
- Xinyi Wang
Institutions
- Chengdu University of Information Technology (CN)
Publication Details
- Journal
- Communications in Computational Physics
- Published
- 2026-11-25
- DOI
- https://doi.org/10.4208/cicp.oa-2026-0066
- Primary Topic
- Model Reduction and Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00