Neural Spectral Methods: Self-supervised learning in the spectral domain (2312.05225v2)
Abstract: We present Neural Spectral Methods, a technique to solve parametric Partial Differential Equations (PDEs), grounded in classical spectral methods. Our method uses orthogonal bases to learn PDE solutions as mappings between spectral coefficients. In contrast to current machine learning approaches which enforce PDE constraints by minimizing the numerical quadrature of the residuals in the spatiotemporal domain, we leverage Parseval's identity and introduce a new training strategy through a \textit{spectral loss}. Our spectral loss enables more efficient differentiation through the neural network, and substantially reduces training complexity. At inference time, the computational cost of our method remains constant, regardless of the spatiotemporal resolution of the domain. Our experimental results demonstrate that our method significantly outperforms previous machine learning approaches in terms of speed and accuracy by one to two orders of magnitude on multiple different problems. When compared to numerical solvers of the same accuracy, our method demonstrates a $10\times$ increase in performance speed.
- Galerkin neural networks: A framework for approximating variational equations with error control. SIAM Journal on Scientific Computing, 43(4):A2474–A2501, 2021.
- John P Boyd. Chebyshev and Fourier spectral methods. Courier Corporation, 2001.
- JAX: composable transformations of Python+NumPy programs, 2018. URL http://github.com/google/jax.
- Neural galerkin scheme with active learning for high-dimensional evolution equations. arXiv preprint arXiv:2203.01360, 2022.
- Learning to correct spectral methods for simulating turbulent flows. arXiv preprint arXiv:2207.00556, 2022.
- Lawrence C Evans. Partial differential equations, volume 19. American Mathematical Society, 2022.
- Spectral neural operators. arXiv preprint arXiv:2205.10573, 2022.
- Avner Friedman. Partial differential equations of parabolic type. Courier Dover Publications, 2008.
- Physics-informed neural operators. arXiv preprint arXiv:2207.05748, 2022.
- Numerical analysis of spectral methods: theory and applications. SIAM, 1977.
- Multiwavelet-based operator learning for differential equations. Advances in neural information processing systems, 34:24048–24062, 2021.
- Solving high-dimensional partial differential equations using deep learning. Proceedings of the National Academy of Sciences, 115(34):8505–8510, 2018.
- Relu deep neural networks and linear finite elements. arXiv preprint arXiv:1807.03973, 2018.
- Machine learning–accelerated computational fluid dynamics. Proceedings of the National Academy of Sciences, 118(21):e2101784118, 2021.
- Neural operator: Learning maps between function spaces. arXiv preprint arXiv:2108.08481, 2021.
- Characterizing possible failure modes in physics-informed neural networks. Advances in Neural Information Processing Systems, 34:26548–26560, 2021.
- Fourcastnet: Accelerating global high-resolution weather forecasting using adaptive fourier neural operators. In Proceedings of the Platform for Advanced Scientific Computing Conference, pages 1–11, 2023.
- From fourier to koopman: Spectral methods for long-term time series prediction. The Journal of Machine Learning Research, 22(1):1881–1918, 2021.
- Fourier neural operator for parametric partial differential equations. arXiv preprint arXiv:2010.08895, 2020.
- Physics-informed neural operator for learning partial differential equations. arXiv preprint arXiv:2111.03794, 2021.
- Deepxde: A deep learning library for solving differential equations. SIAM review, 63(1):208–228, 2021.
- Spectral pinns: Fast uncertainty propagation with physics-informed neural networks. In The Symbiosis of Deep Learning and Differential Equations, 2021.
- Chebyshev polynomials. CRC press, 2002.
- Machine-learning-based spectral methods for partial differential equations. Scientific Reports, 13(1):1739, 2023.
- Hybrid fem-nn models: Combining artificial neural networks with the finite element method. Journal of Computational Physics, 446:110651, 2021.
- Roger Peyret. Spectral methods for incompressible viscous flow, volume 148. Springer, 2002.
- Transform once: Efficient operator learning in frequency domain. Advances in Neural Information Processing Systems, 35:7947–7959, 2022.
- Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational physics, 378:686–707, 2019.
- Applications of physics informed neural operators. Machine Learning: Science and Technology, 4(2):025022, 2023.
- Accelerated training of physics-informed neural networks (pinns) using meshless discretizations. Advances in Neural Information Processing Systems, 35:1034–1046, 2022.
- Characterizing and minimizing the operator split error for fisher’s equation. Applied mathematics letters, 19(7):604–612, 2006.
- Dgm: A deep learning algorithm for solving partial differential equations. Journal of computational physics, 375:1339–1364, 2018.
- Roger Temam. Navier-Stokes equations: theory and numerical analysis, volume 343. American Mathematical Soc., 2001.
- Physics informed wno. arXiv preprint arXiv:2302.05925, 2023.
- Nicolaas Godfried Van Kampen. Stochastic processes in physics and chemistry, volume 1. Elsevier, 1992.
- Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM Journal on Scientific Computing, 43(5):A3055–A3081, 2021a.
- On the eigenvector bias of fourier feature networks: From regression to solving multi-scale pdes with physics-informed neural networks. Computer Methods in Applied Mechanics and Engineering, 384:113938, 2021b.
- Spectrally adapted physics-informed neural networks for solving unbounded domain problems. Machine Learning: Science and Technology, 4(2):025024, 2023.
- Bing Yu et al. The deep ritz method: a deep learning-based numerical algorithm for solving variational problems. Communications in Mathematics and Statistics, 6(1):1–12, 2018.
- Fourier neural operator for solving subsurface oil/water two-phase flow partial differential equation. SPE Journal, 27(03):1815–1830, 2022.