# 神经算子

神经算子是一种神经网络架构，它学习的是无穷维函数空间之间的映射，而不是有限维向量之间的映射，因此一组固定参数就表示一个作用于函数的算子。<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup> 该框架由分别任职于英伟达（Nvidia）和加州理工学院（Caltech）的研究者尼古拉·科瓦奇基（Nikola Kovachki）与李宗毅（Zongyi Li）及其合作者在2023年《机器学习研究杂志》（*Journal of Machine Learning Research*）论文中形式化，建立在陆路（Lu Lu）和[布朗大学](https://www.edgepedia.org/zh/brown-university)（Brown University）应用数学教授乔治·埃姆·卡尼亚达基斯（George Em Karniadakis）此前的DeepONet，以及加州理工学院课题组的傅里叶神经算子（Fourier Neural Operator）之上。<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup><sup> • </sup><sup>[2](https://doi.org/10.1038/s42256-021-00302-5)</sup><sup> • </sup><sup>[3](https://arxiv.org/abs/2010.08895)</sup> 其主要应用是为偏微分方程（PDE）的解算子学习代理映射；训练好的算子能以比传统数值求解器快若干数量级的速度为新输入求取解。<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup><sup> • </sup><sup>[4](https://www.nature.com/articles/s42254-024-00712-5)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 神经网络的一种推广，在无穷维函数空间之间进行映射，被表述为线性积分算子与非线性激活函数的复合<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup> |
| 定义性性质 | 离散化不变性：同一组模型参数在底层函数空间的不同离散化之间共享<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup> |
| 理论 | 巴拿赫空间之间连续非线性算子的通用逼近，已对一般框架和傅里叶神经算子得到证明<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup><sup> • </sup><sup>[5](https://jmlr.org/papers/volume22/21-0806/21-0806.pdf)</sup> |
| 主要架构 | DeepONet（分支网络与主干网络）、积分核算子（图神经算子与傅里叶神经算子），以及基于Transformer的神经算子<sup>[2](https://doi.org/10.1038/s42256-021-00302-5)</sup><sup> • </sup><sup>[6](https://www.sciencedirect.com/science/article/pii/S0925231225011907)</sup> |
| 速度 | 在计算流体力学、天气预报和材料建模中，据报道比数值模拟器快四到五个数量级<sup>[4](https://www.nature.com/articles/s42254-024-00712-5)</sup> |
| 基准偏微分方程 | 伯格斯方程、达西地下流和纳维-斯托克斯方程，性能优于此前的机器学习方法<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup> |
| 已知弱点 | 在训练中未见的边界条件、离散化和系数分布发生偏移时，泛化性能下降<sup>[7](https://openreview.net/pdf?id=zp8ILnE0Or)</sup><sup> • </sup><sup>[8](https://openreview.net/pdf?id=0S1LWZHQYn)</sup> |

## 定义与表述

经典神经网络学习有限维欧几里得空间或有限集之间的映射。神经算子则学习函数空间 \(\mathcal{A}\) 与 \(\mathcal{U}\) 之间的映射 \( \Gamma^{\dagger} : \mathcal{A} \to \mathcal{U} \)，例如从定义在某个域上的偏微分方程系数场到相应的解场。<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup> 在一般表述中，网络是若干层的复合，每一层将一个逐点仿射映射与形式如下的线性积分算子结合

\[ (\mathcal{K}(a;\theta)v)(x) = \int_{D} \kappa_{\theta}(x, y; a(x), a(y))\, v(y) \, dy, \]

随后逐分量施加非线性激活 \(\sigma\)；核 \(\kappa_{\theta}\) 本身是由 \(\theta\) 参数化的神经网络。<sup>[5](https://jmlr.org/papers/volume22/21-0806/21-0806.pdf)</sup> 提升映射将输入函数转换为更高维的通道表示，投影映射将输出返回到目标空间。<sup>[5](https://jmlr.org/papers/volume22/21-0806/21-0806.pdf)</sup>

实际动机是[离散化](https://www.edgepedia.org/zh/discretization)不变性。使用单一固定参数集，模型必须处理所给输入函数的任意离散化，允许在输出域中的任意位置求值，并在离散化变细时逼近连续统上的算子。<sup>[9](https://az9713.github.io/neural-operator-tutorial/course/01_functions_in_functions_out.html)</sup> 由于参数描述的是函数空间映射而非固定网格上的值，输出可以在任意坐标处查询，并在不同输入离散化之间保持一致，误差至多是一个随离散化细化而消失的离散化误差。<sup>[10](https://www.nature.com/articles/s42256-026-01267-z)</sup> 这使神经算子区别于应用于网格数据的普通卷积网络；后者会学到特定于网格的伪影，并因结构性原因而不具备这一性质。<sup>[9](https://az9713.github.io/neural-operator-tutorial/course/01_functions_in_functions_out.html)</sup>

## 主要架构

**DeepONet。** 深度算子网络于2019年提出，2021年发表于《自然·机器智能》（*Nature Machine Intelligence*），建立在算子通用逼近定理之上；该定理指出，具有单个隐藏层的神经网络可以逼近任何非线性连续算子。<sup>[2](https://doi.org/10.1038/s42256-021-00302-5)</sup> DeepONet由两个子网络组成：分支网络在固定的一组传感器位置上编码输入函数，主干网络编码查询输出函数时所处的坐标。<sup>[2](https://doi.org/10.1038/s42256-021-00302-5)</sup> 由于主干网络在任意查询点处求取输出，DeepONet风格模型即使在固定网格上训练，也能在推理时保持网格灵活性。<sup>[11](https://www.sciencedirect.com/org/science/article/pii/S1546221826006569)</sup>

**傅里叶神经算子。** FNO发表于ICLR 2021，它将积分核限制为平移不变形式 \( \kappa_{\theta}(x-y) \)，从而使积分成为卷积，并直接在傅里叶空间中参数化核。<sup>[3](https://arxiv.org/abs/2010.08895)</sup><sup> • </sup><sup>[5](https://jmlr.org/papers/volume22/21-0806/21-0806.pdf)</sup> 在周期域上，该层的形式为

\[ (\mathcal{K}(\theta)v)(x) = \mathcal{F}^{-1}\!\left( P_{\theta}(k) \cdot \mathcal{F}(v)(k) \right)(x), \]

其中 \( P_{\theta}(k) \) 是按频率索引的可学习复矩阵，因此每一层中的离散傅里叶变换都可以用快速[傅里叶变换](https://www.edgepedia.org/zh/fourier-transform)高效计算。<sup>[5](https://jmlr.org/papers/volume22/21-0806/21-0806.pdf)</sup> 原始FNO假设具有均匀网格的矩形域，因为它依赖FFT；Geo-FNO通过学习将不规则物理域变形到具有均匀网格的潜空间的映射来扩展该方法，可接受点云、网格和设计参数作为输入，据报道，在包括弹性、塑性、欧拉方程和纳维-斯托克斯方程等问题上，比标准数值求解器快 \(10^{5}\) 倍。<sup>[12](https://www.jmlr.org/papers/v24/23-0064.html)</sup>

**其他族类。** 2023年JMLR框架引入了四种高效参数化：图神经算子、多极图神经算子、低秩神经算子和傅里叶神经算子。<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup> 一篇比较综述将该领域分为深度算子网络、积分核算子和基于Transformer的神经算子，例如伽辽金Transformer和通用神经算子Transformer（GNOT）。<sup>[6](https://www.sciencedirect.com/science/article/pii/S0925231225011907)</sup> 注意力机制也被赋予函数空间表述：加州理工学院数学研究人员卡尔韦洛（Calvello）、科瓦奇基、莱文（Levine）和斯图尔特（Stuart）证明了Transformer神经算子的首个通用逼近结果，并表明实际注意力是连续注意力算子的[蒙特卡洛](https://www.edgepedia.org/zh/monte-carlo)近似或有限差分近似。<sup>[13](https://www.jmlr.org/papers/v26/24-0879.html)</sup>

## 理论

JMLR 2023论文证明，神经算子是作用于[巴拿赫空间](https://www.edgepedia.org/zh/banach-space)之间的连续算子的通用逼近器：定义在巴拿赫空间紧子集上的任何连续算子都可以被一致逼近。<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup> 具体到傅里叶神经算子，科瓦奇基、兰塔勒（Lanthaler）和米什拉（Mishra）证明，对于索伯列夫空间之间的任何连续算子和输入空间的任何紧子集，都存在一个FNO能以任意精度一致逼近它。<sup>[5](https://jmlr.org/papers/volume22/21-0806/21-0806.pdf)</sup> 从统计学角度看，算子学习是一个函数到函数的回归问题，这一设定此前已在函数数据分析文献中研究过；当前形式的神经算子模型由李宗毅及其同事于2020年提出，并由科瓦奇基及其同事于2023年发展。<sup>[14](https://doi.org/10.1146/annurev-statistics-042424-070908)</sup>

## 应用

主要用途是为偏微分方程提供快速代理建模。在伯格斯、达西地下流和纳维-斯托克斯方程上，神经算子优于此前的机器学习方法，同时运行速度比传统偏微分方程求解器快若干数量级。<sup>[1](https://www.jmlr.org/beta/papers/v24/21-1524.html)</sup> 《自然综述：物理学》（*Nature Reviews Physics*）2024年的一篇展望文章报告，在计算流体力学、天气预报和材料建模等应用中实现了四到五个数量级的加速，并指出由于神经算子可微，它们可以直接为逆向设计优化参数。<sup>[4](https://www.nature.com/articles/s42254-024-00712-5)</sup>

地球系统建模是一个活跃领域。球面傅里叶神经算子已被用于构建集合天气预报系统，以机器学习回算取代传统数值模拟。<sup>[15](https://arxiv.org/abs/2408.03100)</sup> 在海洋预测中，一种名为FNOtD的变体在空间和时间上联合参数化积分核，使模型内化色散关系，在高频设定下相对于标准FNO提高了长期预测稳定性，同时以更低计算成本保持与最先进数值海洋模型相当的竞争力。<sup>[16](https://arxiv.org/abs/2510.09792)</sup> 除偏微分方程外，算子学习还被应用于超分辨率；超分辨率神经算子将低分辨率和高分辨率图像对视为连续函数，并学习相应函数空间之间的映射。<sup>[6](https://www.sciencedirect.com/science/article/pii/S0925231225011907)</sup>

## 局限性与鲁棒性

**分布外泛化。** 神经算子的分布外泛化能力较差，传统上改进依赖使用额外模拟数据进行微调。<sup>[17](https://openreview.net/pdf?id=MuPlJ9fT4b)</sup> 2026年，一项压力测试研究评估了FNO、一个DeepONet风格模型和卷积神经算子，覆盖五个偏微分方程族的750多个已训练模型——非线性薛定谔、泊松、纳维-斯托克斯、布莱克-斯科尔斯和仓本-西瓦辛斯基系统——同时改变系数、边界条件、离散化和推演时域。研究表明，训练分布内的高精度并不是鲁棒性的可靠指标，模型如何失效同时受架构和偏微分方程族影响。<sup>[8](https://openreview.net/pdf?id=0S1LWZHQYn)</sup>

**边界条件与离散化。** 在周期边界上训练的模型在伯格斯和泊松问题上取得1%至3%的低分布内误差，但在狄利克雷和诺伊曼条件下误差超过40%，且分布外误差集中在域边界附近。<sup>[7](https://openreview.net/pdf?id=zp8ILnE0Or)</sup> 实际中的离散化不变性也取决于架构：在基准比较中，降基神经算子ReBaNO表现出严格的离散化不变性，而当网格尺寸偏离训练网格时，FNO和CNO（卷积神经算子）的精度显著下降。<sup>[18](https://www.researchgate.net/publication/395418609_ReBaNO_Reduced_Basis_Neural_Operator_Mitigating_Generalization_Gaps_and_Achieving_Discretization_Invariance)</sup> 一项关于离散化的理论分析进一步表明，具有足够宽卷积模板的CNN可以在其训练分辨率下很好地学习给定算子，因此架构之间的比较并未单独考察感受野的影响，而容量解释也同样能拟合这些数字。<sup>[9](https://az9713.github.io/neural-operator-tutorial/course/01_functions_in_functions_out.html)</sup>

**混合使用。** 由于神经网络存在谱偏置，难以处理高频分量，而松弛方法能处理高频分量但在中低频停滞，HINTS等混合求解器将DeepONet与标准松弛方法结合，在本征模态谱上平衡收敛性，并在离散化、计算域和边界条件方面保持灵活。<sup>[19](https://www.nature.com/articles/s42256-024-00910-x)</sup>

## 软件

NeuralOperator库是PyTorch官方生态系统的一部分，是一个开源Python包，提供在各种离散化下训练和部署神经算子模型的工具；其作者包括最初的加州理工学院和英伟达团队。<sup>[20](https://www.jmlr.org/papers/v27/26-0434.html)</sup>

## References

1. [Kovachki, N., Li, Z., Liu, B., Azizzadenesheli, K., Bhattacharya, K., Stuart, A., Anandkumar, A. (2023). Neural Operator: Learning Maps Between Function Spaces With Applications to PDEs. Journal of Machine Learning Research 24(89):1-97.](https://www.jmlr.org/beta/papers/v24/21-1524.html)
2. [Lu, L., Jin, P., Pang, G., Zhang, Z., Karniadakis, G. E. (2021). Learning nonlinear operators via DeepONet based on the universal approximation theorem of operators. Nature Machine Intelligence.](https://doi.org/10.1038/s42256-021-00302-5)
3. [Li, Z. et al. (2020). Fourier Neural Operator for Parametric Partial Differential Equations. arXiv.](https://arxiv.org/abs/2010.08895)
4. [Azizzadenesheli, K., Kovachki, N., Li, Z., Liu-Schiaffini, M., Kossaifi, J., Anandkumar, A. (2024). Neural operators for accelerating scientific simulations and design. Nature Reviews Physics 6:320-328.](https://www.nature.com/articles/s42254-024-00712-5)
5. [Kovachki, N., Lanthaler, S., Mishra, S. (2022). On Universal Approximation and Error Bounds for Fourier Neural Operators. Journal of Machine Learning Research 22(290).](https://jmlr.org/papers/volume22/21-0806/21-0806.pdf)
6. [Architectures, variants, and performance of neural operators: A comparative review. Neurocomputing (2025).](https://www.sciencedirect.com/science/article/pii/S0925231225011907)
7. [Roy, M., Roy, S. (2026). Neural Operators Fail to Generalize Across Boundary Condition Families. ICLR 2026.](https://openreview.net/pdf?id=zp8ILnE0Or)
8. [Shikhman, L. J. (2026). Diagnosing Failure Modes of Neural Operators Across Diverse PDE Families. Transactions on Machine Learning Research.](https://openreview.net/pdf?id=0S1LWZHQYn)
9. [Module 1: Functions in, functions out: discretization invariance. Neural operator tutorial.](https://az9713.github.io/neural-operator-tutorial/course/01_functions_in_functions_out.html)
10. [Principled approaches for extending neural architectures to function spaces for operator learning. Nature Machine Intelligence (2026).](https://www.nature.com/articles/s42256-026-01267-z)
11. [Neural Operators with Adaptive Spectral and Low-Rank Representations. ScienceDirect (2026).](https://www.sciencedirect.com/org/science/article/pii/S1546221826006569)
12. [Li, Z., Huang, D. Z., Liu, B., Anandkumar, A. (2023). Fourier Neural Operator with Learned Deformations for PDEs on General Geometries. Journal of Machine Learning Research 24(388):1-26.](https://www.jmlr.org/papers/v24/23-0064.html)
13. [Calvello, E., Kovachki, N. B., Levine, M. E., Stuart, A. M. (2025). Continuum Attention for Neural Operators. Journal of Machine Learning Research 26(300):1-52.](https://www.jmlr.org/papers/v26/24-0879.html)
14. [Subedi, U., Tewari, A. (2026). Operator Learning: A Statistical Perspective. Annual Review of Statistics and Its Application 13:123-148.](https://doi.org/10.1146/annurev-statistics-042424-070908)
15. [Huge Ensembles Part I: Design of Ensemble Weather Forecasts using Spherical Fourier Neural Operators. arXiv (2024).](https://arxiv.org/abs/2408.03100)
16. [Jahanmard, V., Ramezani-Kebrya, A., Hordoir, R. (2025). Principled Operator Learning in Ocean Dynamics: The Role of Temporal Structure. arXiv.](https://arxiv.org/abs/2510.09792)
17. [Improving OOD generalization of neural operators with test-time in-context examples. OpenReview.](https://openreview.net/pdf?id=MuPlJ9fT4b)
18. [ReBaNO: Reduced Basis Neural Operator Mitigating Generalization Gaps and Achieving Discretization Invariance.](https://www.researchgate.net/publication/395418609_ReBaNO_Reduced_Basis_Neural_Operator_Mitigating_Generalization_Gaps_and_Achieving_Discretization_Invariance)
19. [Zhang, E., Kahana, A., Kopaničáková, A., et al. (2024). Blending neural operators and relaxation methods in PDE numerical solvers. Nature Machine Intelligence 6:1303-1313.](https://www.nature.com/articles/s42256-024-00910-x)
20. [Kossaifi, J., Kovachki, N., Li, Z., et al. (2026). A Library for Learning Neural Operators. Journal of Machine Learning Research 27(205):1-6.](https://www.jmlr.org/papers/v27/26-0434.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › 机器学习与神经计算 › 神经网络与深度学习 › 神经网络架构 › 超维与新兴计算范式

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/neural-operators

English original: https://www.edgepedia.org/neural-operators
