In-Context Operator Learning with Data Prompts for Differential Equation Problems
About
This paper introduces a new neural-network-based approach, namely In-Context Operator Networks (ICON), to simultaneously learn operators from the prompted data and apply it to new questions during the inference stage, without any weight update. Existing methods are limited to using a neural network to approximate a specific equation solution or a specific operator, requiring retraining when switching to a new problem with different equations. By training a single neural network as an operator learner, we can not only get rid of retraining (even fine-tuning) the neural network for new problems, but also leverage the commonalities shared across operators so that only a few demos in the prompt are needed when learning a new operator. Our numerical results show the neural network's capability as a few-shot operator learner for a diversified type of differential equation problems, including forward and inverse problems of ordinary differential equations (ODEs), partial differential equations (PDEs), and mean-field control (MFC) problems, and also show that it can generalize its learning capability to operators beyond the training distribution.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Operator learning | MFC g-parameter family (OOD) | Mean relative L2 Error0.0281 | 18 | |
| Operator learning | MFC rho-parameter family (OOD) | Mean Relative L2 Error0.004 | 12 | |
| Example-count generalization | 1D conservation law 2,000 steps k=5 examples standardized (train) | MAE0.485 | 7 | |
| Example-count generalization | 1D conservation law 10,000 steps k=5 examples (standardized retraining) | MAE0.48 | 7 | |
| Conservation-law prediction | sin-cos out-of-distribution flux function | Relative L2 Error0.0451 | 2 | |
| Conservation-law prediction | tanh out-of-distribution flux function | Relative L2 Error4.75 | 2 | |
| Conservation-law prediction | Buckley-Leverett out-of-distribution flux function | Relative L2 Error14.18 | 2 |