[Paper Review] ADCME: Learning Spatially-varying Physical Fields using Deep Neural Networks
ADCME proposes a physics-informed deep learning framework that formulates inverse problems involving spatially-varying physical fields as PDE-constrained optimization problems. By expressing both numerical solvers and deep neural networks as computational graphs, ADCME enables efficient gradient computation via reverse-mode automatic differentiation and physics-constrained learning, achieving superior accuracy over traditional discretization methods in small-data regimes for linear and nonlinear PDEs including Stokes, hyperelasticity, and Burgers’ equations.
ADCME is a novel computational framework to solve inverse problems involving physical simulations and deep neural networks (DNNs). This paper benchmarks its capability to learn spatially-varying physical fields using DNNs. We demonstrate that our approach has superior accuracy compared to the discretization approach on a variety of problems, linear or nonlinear, static or dynamic. Technically, we formulate our inverse problem as a PDE-constrained optimization problem. We express both the numerical simulations and DNNs using computational graphs and therefore, we can calculate the gradients using reverse-mode automatic differentiation. We apply a physics constrained learning algorithm (PCL) to efficiently back-propagate gradients through iterative solvers for nonlinear equations. The open-source software which accompanies the present paper can be found at https://github.com/kailaix/ADCME.jl.
Motivation & Objective
- To address the ill-posedness and low accuracy of traditional discretization methods in learning spatially-varying physical fields from limited observational data.
- To develop a unified computational framework that integrates deep neural networks with physics-based numerical solvers for inverse problems.
- To enable gradient-based optimization through automatic differentiation by representing both PDE solvers and DNNs as computational graphs.
- To demonstrate the effectiveness of deep neural networks as expressive, regularized function approximators for physical fields in small-data settings.
- To provide an open-source software framework (ADCME.jl) for scalable, differentiable physics simulations with deep learning integration.
Proposed method
- Formulate the inverse problem as a PDE-constrained optimization: minimize a loss function J(u) subject to F(u, Nθ) = 0, where Nθ is a DNN approximating the spatially-varying physical field.
- Represent both finite element solvers and deep neural networks as computational graphs to enable end-to-end automatic differentiation using reverse-mode AD.
- Implement physics-constrained learning (PCL) to back-propagate gradients through iterative nonlinear solvers such as Newton-Raphson, using adjoint methods with checkpointing for memory efficiency.
- Use tensor-level operations and high-level finite element assembly in the computational graph to balance performance and development overhead.
- Apply the framework to various PDEs including Stokes flow, hyperelasticity, and time-dependent Burgers’ equation with spatially-varying parameters.
- Leverage the open-source ADCME.jl library to implement and benchmark the method on benchmark inverse problems with controlled data regimes.
Experimental results
Research questions
- RQ1Can deep neural networks outperform traditional grid-based discretization in learning spatially-varying physical fields when data is scarce?
- RQ2How can gradients be efficiently back-propagated through nonlinear PDE solvers during end-to-end training of a DNN-embedded physics model?
- RQ3To what extent does the use of a DNN as a parameterization of physical fields improve smoothness and accuracy compared to piecewise-constant or nodal discretization?
- RQ4Can the proposed framework handle both static and dynamic, linear and nonlinear PDEs with consistent performance and scalability?
- RQ5How does the choice of optimization and regularization via DNN architecture affect convergence and accuracy in ill-posed inverse problems?
Key findings
- In the Stokes problem, the DNN-based approach achieved significantly lower pointwise absolute error than the discretization method, even with limited data.
- For the hyperelasticity problem, the DNN learned a smoother and more accurate spatially-varying Young’s modulus field compared to the piecewise-constant discretization, with a lower maximum pointwise error.
- In the Burgers’ equation case, the discretization method failed to converge from a constant initial guess due to ill-posedness, while the DNN approach converged successfully in 60 iterations.
- The DNN-based method showed faster decay of the loss function and better generalization in the small-data regime, particularly for problems with low spatial correlation in the unknown field.
- The physics-constrained learning approach enabled stable back-propagation through nonlinear solvers like Newton-Raphson, making end-to-end training feasible.
- The open-source ADCME.jl framework successfully integrated finite element solvers and deep learning, enabling efficient gradient computation via computational graphs and checkpointing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.