Paper reading: An adaptive Deep Ritz framework for second-order fully nonlinear partial differential equations
Abstract. A close reading of the adaptive Deep Ritz framework of Caboussat, Leclercq and Peruso, which splits a fully nonlinear PDE into a pointwise nonlinear projection and a linear variational problem solved by Deep Ritz. We go through the method, its theoretical basis, every experiment with the reported numbers, and what the results do and do not show.
Keywords: PDE, Monge–Ampère, PINN
1 Introduction
The most direct way to solve the Monge–Ampère equation with a neural network is a PINN: put the residual
The preprint of Caboussat, Leclercq and Peruso [1] takes another route. It reuses the least-squares splitting from the finite element literature [2]: introduce a matrix field
The rest of this post is organized as follows. Section 2 states the problem and why it is hard. Section 3 describes every component of the method. Section 4 collects the theoretical facts the paper relies on. Section 5 gives the common experimental setup, and Sections 6 and 7 go through the Dirichlet and optimal transport experiments one by one. Section 8 discusses what the results show and what they do not. All numbers come from the paper (arXiv v2, 29 September 2026). All figures are our own and none is taken from the paper: three are drawn from the paper's formulas or tables, and one is our own illustration.
2 The problem and why it is hard
The paper considers second-order fully nonlinear equations: find
where
- the Monge–Ampère equation,
; - the Pucci equation,
with , whereand are the positive and negative eigenvalues; - the
equation, with ; - the Minkowski (prescribed Gauss curvature) equation,
with .
The authors name two difficulties. First, well-posedness is subtle: existence and uniqueness usually need extra structure, such as convexity of the solution or monotonicity of the operator. For Monge–Ampère, convexity is exactly what selects the solution (see the previous post). Second, these equations are in non-divergence form and have no weak formulation, so the variational methods used for linear and semilinear equations (finite elements, Deep Ritz) do not apply directly. A direct PINN avoids the second difficulty, since it only evaluates the strong residual at collocation points; but it asks the network to satisfy the full nonlinear equation at every point, and convexity still has to be handled separately.
3 Method
3.1 Least-squares splitting
Start with the Dirichlet problem
and then as a least-squares problem with a nonlinear constraint,
where
The two subproblems are of a very different nature. The first is nonlinear but local: at each point
In
The initial guess solves a Poisson problem,
The reason given is that in two dimensions, if the eigenvalues of
3.2 Equations that depend on the gradient
In the Gauss curvature equation and in optimal transport,
leaving the variational step unchanged. For the Gauss curvature problem
ellipticity requires
For optimal transport with quadratic cost, Brenier's theorem (Theorem 4.3) says that the optimal map is the gradient of a convex potential,
The right-hand side depends on
3.3 The Deep Ritz step and the networks
The variational step in
and
Two kinds of networks are used. Problems without a convexity requirement (Pucci) use a plain fully connected network. Problems with convex solutions use an ICNN [4],
where the
- unless stated otherwise,
hidden layers with neurons each; - for the ICNN, the softplus activation
, which is smooth, increasing and strictly convex; the paper says that, to guarantee , the weights are initialized by squaring them element-wise, and it does not say how nonnegativity is kept during training; - a two-stage optimizer: Adam for pre-training, then L-BFGS for refinement, with the settings in Table 1. Early outer iterations use up to
L-BFGS epochs, later ones as few as , on the grounds that the previous iterate is a good initialization for the next Deep Ritz solve.
| Setting | Value |
|---|---|
| Main optimizer | L-BFGS |
| Line search | strong Wolfe |
| L-BFGS history size | 25 |
| Max iterations per call | 20 |
| Gradient tolerance (L-BFGS) | |
| Batch size | full batch |
3.4 Adaptive sampling
The accuracy of Deep Ritz also depends on how well Monte Carlo approximates the integral, and uniform sampling is wasteful when the integrand is concentrated. The paper starts from importance sampling: for any strictly positive probability density
so the estimator built from independent samples of
- draw
random seeds , which split into Voronoi cells by nearest-neighbor assignment; - sample
points uniformly in cell ; - approximate the PDE term by the weighted sum
where the cell volumes
3.5 Transport boundary condition
For optimal transport, the Dirichlet penalty is replaced by a penalty on the transport boundary condition, following the earlier convex PINN work of two of the authors [7]. It uses
where
and the total loss is
3.6 The algorithm in short
Put together, one solve goes as follows.
- Train the initial guess by Deep Ritz on the Poisson problem
(the Pucci equation uses the same problem, which the paper says corresponds to , ; for optimal transport, take to be the identity map). - For
: solve the projection pointwise at the collocation points to get ; starting from the previous network, minimize the Deep Ritz loss with Adam and then L-BFGS to get , resampling the collocation points with the Voronoi rule during training. - At the end of each outer iteration, compute the
, and errors against the exact solution (this is how the error curves in the experiments are produced).
4 What the theory says
This is a methods-and-experiments paper, and it contains no new theorem. The mathematical facts it relies on can be listed as follows, with the hypotheses as the paper states them.
Proposition 4.1 (Consistency of the splitting). ([1, Sec. 2]) If
This goes in one direction only. Whether the iteration
Proposition 4.2 (Well-posedness of the variational step). ([1, Sec. 4.2]) The variational step
The paper does not state what it needs on
Theorem 4.3 (Brenier). (As stated in [1, Sec. 3].) Let
Strictly speaking, this combines two results. Brenier's theorem itself [8, Theorem 4.22] gives (i) and
Proposition 4.4 (Importance sampling). ([1, Sec. 4.3]) For a strictly positive probability density
The Voronoi estimator
Finally, ICNN convexity (Section 3.3) holds for every parameter value with
5 Experimental setup
All experiments are two-dimensional and implemented in PyTorch. Error curves in the paper are averages over
| Paper sec. | Equation | Domain | Exact solution or data | Network | Interior / boundary points |
|---|---|---|---|---|---|
| 6.1 | Monge–Ampère | ICNN | 3000 / 300 | ||
| 6.2 | Monge–Ampère | ICNN | 3000 / 300 | ||
| 6.3 | Monge–Ampère | unit disk | ICNN | 3000 / 300 | |
| 6.4 | Pucci | fully connected (softplus) | 3000 / 300 | ||
| 6.5 | Gauss curvature | ICNN | 3000 / 300 | ||
| 7.1 | optimal transport | disk | uniform densities, | ICNN | 1000 / 1000 |
| 7.2 | optimal transport | three Gaussian-type densities | ICNN | not reported |
The boundary penalty weight is
6 Dirichlet experiments
6.1 Exponential solution
The first test is Monge–Ampère on
The results are as follows.
- For
, the paper says that the PINN converges faster and Deep Ritz varies less (Figure 3 of the paper). Judging from that figure, on this test the final and error curves of the PINN lie below those of Deep Ritz without adaptive sampling, while the PINN loss shows clear recurring spikes. With adaptive sampling, the Deep Ritz errors decrease faster and end lower; the curves for seeds nearly coincide, from which the authors conclude that more seeds beyond moderate values bring little (Figure 4 of the paper). The pointwise error plots show the error dropping faster with adaptive sampling (Figure 5 of the paper). - For
, the authors report that the PINN becomes considerably less robust while Deep Ritz stays stable (Figure 7 of the paper). Judging from that figure, the PINN error band is wide and its mean error curves lie more than an order of magnitude above those of Deep Ritz (read from the plot, order of magnitude only). The gain from adaptive sampling is larger than for (Figures 8 and 9 of the paper), and the collocation points gather near , where the solution and its derivatives vary fastest (Figure 10 of the paper).
The only quantitative comparison in the paper is Table 3: each method is run
| Method | Successes | Mean time (min) | Speed-up vs. Deep Ritz | |
|---|---|---|---|---|
| Deep Ritz | 1 | 10/10 | 6.01 | 1.00× |
| PINN | 1 | 10/10 | 1.61 | 3.72× |
| Adaptive Deep Ritz, | 1 | 10/10 | 2.22 | 2.71× |
| Adaptive Deep Ritz, | 1 | 10/10 | 2.11 | 2.84× |
| Adaptive Deep Ritz, | 1 | 10/10 | 2.32 | 2.59× |
| Deep Ritz | 4 | 6/10 | 9.21 | 1.00× |
| PINN | 4 | 2/10 | 9.39 | 0.98× |
| Adaptive Deep Ritz, | 4 | 10/10 | 3.58 | 2.57× |
| Adaptive Deep Ritz, | 4 | 10/10 | 3.94 | 2.33× |
| Adaptive Deep Ritz, | 4 | 9/10 | 4.12 | 2.24× |
The table says two things. For
6.2 A solution with sharp gradients
The second test has the exact solution
for which we compute
6.3 The unit disk
The third test takes
6.4 The Pucci equation
For the Pucci equation the projection uses the solver of [10]. Since convexity is not required, the network is a plain fully connected network with softplus activation, and
A short computation, not in the paper, explains the setup. With
6.5 The Gauss curvature equation
The last Dirichlet test is the Minkowski problem (in two dimensions the exponent is
with boundary data
7 Optimal transport experiments
7.1 Disk to ellipse
The source is the unit disk
with
7.2 Gaussian-type densities
The second group of tests lives on
- a Gaussian source
, , , to the uniform target; - an anisotropic bimodal source
with modes at and , , , to the uniform target; - the same bimodal source
to a Gaussian target centred at with .
All densities are truncated to
8 What the results show
First, what they do show. On the exponential test, Table 3 gives fairly clear evidence about robustness: on the easy problem the direct PINN is fastest, on the hard one its success rate drops to
Then, what they do not show. The authors state that in the harder transport configurations, localized inaccuracies may persist despite more outer iterations, and they list higher dimensions and other nonlinearities as future work. Beyond that, we note the following.
- All experiments are two-dimensional, and the
equation listed in the paper is never tested. - There are few quantitative results. Apart from Table 3, the paper reports no final error numbers, only error curves and pointwise error plots, and the relative Hessian error is not defined. Our descriptions of the paper's figures are therefore mostly qualitative.
- The PINN takes part only in Sections 6.1 and 6.2, and the timing comparison covers only the exponential test. The PINN architecture, whether it uses a convex network, its loss weights and its optimizer settings are not reported, so we cannot judge how much the
depends on the baseline implementation. - The conclusion says that Deep Ritz solves the linear variational problems more efficiently than traditional finite elements, but the paper contains no finite element timing or accuracy comparison. The timings also come without hardware or cap.
- Convergence of the splitting rests on the cited finite element literature. Which branch of
the projection lands on is not stated; convexity is guaranteed only by the ICNN, and how is kept during training is not stated either. An ICNN gives convexity but not uniform convexity. - Details of the adaptive sampling are missing: the rounding of
, the treatment of empty cells, and the update frequency are not stated in the text (Figures 6 and 10 of the paper show the resampled points every epochs).
9 Summary
The paper carries the least-squares splitting from finite elements over to neural networks: the nonlinearity appears only in a pointwise projection, the network solves only a linear Deep Ritz problem, convexity comes from an ICNN, and collocation points are redistributed over Voronoi cells. On the exponential Monge–Ampère test, this is slightly slower than a PINN in the easy case and succeeds much more often in the hard case, and adaptive sampling cuts the time to threshold to less than half that of standard Deep Ritz. The same framework also handles the Pucci equation, the Gauss curvature equation and optimal transport with a transport boundary condition. All experiments are two-dimensional, however, the quantitative comparison is a single table, the PINN baseline is underspecified, and there is no convergence proof. How the method behaves in three or more dimensions, how it compares with a stronger PINN baseline and with finite elements, and whether the splitting provably converges are the questions we would most like answered after reading it.
References
- Caboussat, Alexandre, Leclercq, Martin T., and Peruso, Anna, An adaptive Deep Ritz framework for second-order fully nonlinear partial differential equations, 2026.
- Caboussat, Alexandre, Glowinski, Roland, and Sorensen, Danny C., A least-squares method for the numerical solution of the Dirichlet problem for the elliptic Monge–Ampère equation in dimension two, ESAIM: Control, Optimisation and Calculus of Variations 19 no. 3 (2013) 780–810.
- E, Weinan, and Yu, Bing, The Deep Ritz method: a deep learning-based numerical algorithm for solving variational problems, Communications in Mathematics and Statistics 6 no. 1 (2018) 1–12.
- Amos, Brandon, Xu, Lei, and Kolter, J. Zico, Input Convex Neural Networks, in Proceedings of the 34th International Conference on Machine Learning, pp. 146–155.
- Liu, Hao, Leung, Shingyu, and Qian, Jianliang, Operator-splitting/finite element methods for the Minkowski problem, SIAM Journal on Scientific Computing 46 no. 5 (2024) A3230–A3257.
- Nabian, Mohammad Amin, Gladstone, Rini Jasmine, and Meidani, Hadi, Efficient training of physics-informed neural networks via importance sampling, Computer-Aided Civil and Infrastructure Engineering 36 no. 8 (2021) 962–977.
- Caboussat, Alexandre, and Peruso, Anna, Convex physics-informed neural networks for the Monge–Ampère optimal transport problem, Engineering Computations 43 no. 8 (2025) 3151–3170.
- Figalli, Alessio, The Monge–Ampère Equation and Its Applications, Zurich Lectures in Advanced Mathematics, European Mathematical Society, Zürich, 2017.
- Nyström, Kaj, and Vestberg, Matias, Solving the Dirichlet problem for the Monge–Ampère equation using neural networks, Journal of Computational Mathematics and Data Science 8 (2023) 100080.
- Caboussat, Alexandre, Least-squares/relaxation method for the numerical solution of a 2D Pucci’s equation, Methods and Applications of Analysis 26 no. 2 (2019) 113–132.
Cite this post
Chengrui Zhang. Paper reading: An adaptive Deep Ritz framework for second-order fully nonlinear partial differential equations. 2026. https://chengrui.dev/en/posts/nn-mae-deep-ritz/
@misc{zhang2026nn-mae-deep-ritz,
author = {Zhang, Chengrui},
title = {{Paper reading: An adaptive Deep Ritz framework for second-order fully nonlinear partial differential equations}},
year = {2026},
url = {https://chengrui.dev/en/posts/nn-mae-deep-ritz/},
note = {Blog post},
}