Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Tackling the Curse of Dimensionality with Physics-Informed Neural Networks

  • Problem PINN training on high-dimensional PDEs runs out of GPU memory because the residual gradient needs a second-order derivative term for every dimension.
  • Method SDGD splits the residual-loss gradient into one piece per PDE dimension and updates the PINN with a randomly sampled subset of those pieces, rescaled so the expected update equals the full gradient.
  • Results Reached a relative L2 error of 2.175E-3 on the Poisson equation at 100,000 dimensions, where vanilla PINN runs out of memory above 5,000 dimensions.

Table 1: Relative L2 error, time, and memory costs for vanilla PINNs [54] and SDGD (Ours) across different PDEs
under various high dimensions. Vanilla PINNs [5…

Table 1 : Relative L2 error, time, and memory costs for vanilla PINNs [54] and SDGD (Ours) across different PDEs under various high dimensions. Vanilla PINNs [54] run out-of-memory for an A100 GPU with 81252MB memory in more than 5,000 D, while SDGD scales up to 100,000 D. SDGD’s errors are similar to those of vanilla PINNs in relatively lower dimensions (100 D, 1,000 D, and 5,000 D) while being much faster and more memory-efficient.

Original paper · CC BY 4.0 · Zheyuan Hu, Khemraj Shukla, George Em Karniadakis, Kenji Kawaguchi · Tackling the Curse of Dimensionality with Physics-Informed Neural Networks · Original paper figure · Extracted the figure area from page 15 of the original PDF.

Where the memory goes in high-dimensional PINNs

A PINN represents the PDE solution with a neural network and trains it on the PDE residual and boundary conditions evaluated at sampled points. For a Poisson-type equation the operator is a sum of one second-order derivative per coordinate, so the operator itself grows with the dimension d. The memory cost grows quadratically with d, because the first layer of the network grows with d and the number of second-order derivatives grows with d as well.

Shrinking the batch of collocation points does not remove this cost, since a single point already requires backpropagation through all d second-order terms. The input layer also scales with d, so the network itself adds memory on top of the derivative terms. The authors therefore locate the bottleneck in the backward pass over the per-dimension terms rather than in the number of points.

Earlier high-dimensional solvers [1, 21, 52] avoid this cost through Monte Carlo simulation of stochastic processes. According to the authors, those methods predict the solution at a single test point per training run and are tied to particular parabolic PDE types, which motivates a PINN-based route.

Splitting the residual gradient by dimension

For the Poisson-type residual, the gradient of the squared residual loss can be written as a residual factor multiplied by a sum over dimensions of the parameter gradients of the second derivatives. \[ \mathrm{grad}(\theta)=\Big(\sum_{i=1}^{d}\partial^2_{x_i}u_\theta(x)-R(x)\Big)\sum_{i=1}^{d}\frac{\partial}{\partial\theta}\partial^2_{x_i}u_\theta(x) \] The residual factor is a scalar, so it can be computed and detached from the graph, which leaves the sum over dimensions as the part that needs backpropagation.

Each iteration draws a random index set I of dimensions and computes all second-derivative terms in the forward pass, but keeps the graph only for the indices in I. The sampled gradient is rescaled by d divided by the size of I, so that it matches the full gradient in expectation. \[ \mathrm{grad}_I(\theta)=\frac{d}{|I|}\Big(\sum_{i=1}^{d}\partial^2_{x_i}u_\theta(x)-R(x)\Big)\sum_{i\in I}\frac{\partial}{\partial\theta}\partial^2_{x_i}u_\theta(x) \] Because the estimator is unbiased, standard optimizers such as Adam can be used on top of it.

Plain SGD over collocation points has a smallest unit of one point with all d dimensions backpropagated, while SDGD can use one point with one dimension as its smallest unit.

A full-batch gradient can also be built by accumulating gradients over non-overlapping index sets that cover all dimensions. This is memory-efficient but slow, because the loop over index sets runs one set at a time and cannot be parallelized.

Sampling the forward pass as well

Sampling only the backward pass still computes every second-derivative term in the forward pass, which becomes the bottleneck when the dimension is in the thousands. Algorithm 2 therefore draws a second, independent index set J for the forward pass, computes only the sampled forward terms, and combines both sets in one update. \[ \mathrm{grad}_{I,J}(\theta)=\frac{N_L}{|I|}\Big(\frac{N_L}{|J|}\sum_{j\in J}\mathcal{L}_j u_\theta(x)-R(x)\Big)\sum_{i\in I}\frac{\partial}{\partial\theta}\mathcal{L}_i u_\theta(x) \] Since I and J are chosen independently, this estimator is unbiased.

The bias shrinks as the dimension batch size |I| grows, so the method keeps its behavior when |I| is not too small. The authors accept the extra randomness in exchange for speed, arguing that early in training an imprecise gradient is enough to lower the loss quickly.

Unbiasedness and the batch-size trade-off

The loss is normalized by the number of residual points N_r and the number of PDE terms N_L, because the residual scale otherwise grows with dimension. The proof is given in the appendix, which is not part of this excerpt.

The theorem holds at the current parameters, so it describes the variance of the next update, and the variance tends to decrease as either batch size grows.

At a fixed budget of |B| times |I|, there is a particular split that minimizes the variance, according to the authors. In the extreme case where the PDE terms have no variance, the authors pick 100 points with a single term for a budget of 100, and the reverse split is preferred when the points carry no variance. Real problems have both sources of variance, so the choice of batch sizes is a trade-off between them.

Sine and cosine activations satisfy this assumption. The convergence proof itself is not in this excerpt, so the claims supported here are unbiasedness, the variance form and the stated assumptions.

Scaling to 100,000 dimensions on three elliptic PDEs

The three elliptic equations, Poisson, Allen-Cahn and Sine-Gordon, are posed on the unit ball with zero boundary values, and their exact solution is a sum of sines of coupled coordinates with random coefficients. The model is a 4-layer MLP with 128 hidden units trained with Adam for 10K epochs, starting at a learning rate of 1e-3. SDGD uses Algorithm 3 with 100 residual points and 100 sampled dimensions per epoch, while vanilla PINN uses the full dimensionality as its batch size.

Each setting is repeated five times with independent random seeds.

At 100,000 dimensions SDGD reaches relative L2 errors of 2.175E-3 for Poisson, 2.178E-3 for Allen-Cahn and 2.177E-3 for Sine-Gordon, with 32777 MB of memory. Vanilla PINN runs out of the A100 memory above 5,000 dimensions, with memory listed as more than 81252 MB at 10,000 and 100,000 dimensions. Below that, the errors are close: at 5,000 dimensions the Poisson error is 1.758E-3 for SDGD and 1.768E-3 for vanilla PINN, while vanilla PINN takes 30.54 hours and SDGD takes 1.18 hours.

The authors report that memory and time grow about linearly with dimension, and that moving from 10K to 100K dimensions raises both by less than a factor of 10. The authors attribute the gap with vanilla PINN to computing the entire second-order Laplacian in every step, which makes its cost grow quadratically with the dimension. At 100 dimensions the sampled batch of 100 dimensions covers all terms, so SDGD and vanilla PINN are the same algorithm.

Batch sizes for residual points and dimensions at a fixed budget

The ablation uses the time-dependent Sine-Gordon equation in 100,000 dimensions, with an initial condition and one test point, sampled along stochastic trajectories. The default run uses Algorithm 2 with |I| = |J| = 10, a 4-layer MLP with 1024 hidden units, and 100 random SDE trajectories per epoch, and Table 2 varies the two batch sizes.

The first column of Table 2 reports 12.08 hours, which belongs to this time-dependent setting and differs from the 12 hours in the elliptic experiment.

Their memory stays between 32163 MB and 33056 MB, while their time ranges from 8.92 hours to 155.92 hours. The configuration with 1 sampled dimension and 10,000 points has no error entry (N.A.) and took 1518.22 hours.

At smaller products, memory falls to between 1849 MB and 5965 MB. The smallest product, 10 points with 10 terms, gives the largest error in the table at 2.794E-3, so lower memory comes with higher error here. The authors present these results as a guideline for choosing the batch sizes of PDE terms and residual points.

Adversarial training for HJB equations

Adversarial training alternates between minimizing the residual loss over network parameters and maximizing it over residual point coordinates, which approximates an L-infinity loss. The authors describe this procedure as slow, and state that the prior work by Wang et al. and He et al. scaled it only to 250 dimensions. The authors use the exact HJB-LQG solution, given through a Gaussian integral, to benchmark PINN performance.

The network form \( u_\theta(x,t)(1-t)+g(x) \) satisfies the terminal condition automatically, so only the residual loss is trained. SDGD uses Algorithm 3 with 100 dimension terms for the gradient-descent step and 10 dimension terms for the adversarial step. Testing uses 20K points, with reference values from a Monte Carlo simulation of 1e5 samples, and each experiment is repeated five times.

In 250-dimensional HJB-LQG, reaching a relative L2 error of 1e-2 with the method of Wang et al. takes one day, while the authors' approach reaches a better error in 3.5 hours. In 1000 dimensions, full-batch adversarial training takes over 5 days, while the SDGD version reaches a relative L2 error of 5.852E-3 in 217 minutes. At 10,000 and 100,000 dimensions the reported relative L2 errors are about 5E-2.

On the HJB-Log benchmark the authors report that SDGD outperforms earlier methods, including the PINN-based approaches of He et al. and Wang et al. On HJB-Rosenbrock the authors report that their method is consistently better than the others.

Gradient accumulation on the CQHO eigenvalue problem

The CQHO potential couples neighboring coordinates, and the domain is truncated to [-5, 5]^d. The metric is the relative L1 error of the minimum eigenvalue, written as \( |\lambda_{true}-\lambda_{approx}|/|\lambda_{true}| \). Gradient accumulation sums gradients over batches of dimension indices, which the authors say matches full-batch gradient descent in theory while saving memory.

Figure 2 covers 100, 1000, 10000 and 20000 dimensions, with dimension batches of 50, 500, 5000 and 2500. Across these dimensions the relative error stays below 1e-6.

The authors attribute the quick early drop to the large gradients that appear when the randomly initialized parameters are far from the solution. No numerical comparison with full-batch gradient descent is given, since the authors treat the two as theoretically equal.

Limits of the sampling scheme

In extremely high dimensions SDGD needs a comparatively large dimension batch, since a too-small batch raises the stochastic gradient variance and slows convergence.

For the Schrödinger equation the residual points cannot be sampled, because the integral term in the denominator would make the sampled gradient biased. In that problem the network uses a separate network for each dimension, which costs memory even without differential terms. The authors leave an unbiased stochastic gradient for such problems as an open question.

The authors' description of earlier methods as limited to parabolic PDEs is their own characterization and was not tested here.

Paper info

Authors
Zheyuan Hu, Khemraj Shukla, George Em Karniadakis, Kenji Kawaguchi
Venue
arXiv · Preprint
First published
2023-7-23
Added
2026-11-6
Updated
2024-5-17
Version
v6
arXiv
2307.12306
DOI
10.1016/j.neunet.2024.106369
Category
cs.LG · cs.AI · math.DS · math.NA · stat.ML
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

The curse-of-dimensionality taxes computational resources heavily with exponentially increasing computational cost as the dimension increases. This poses great challenges in solving high-dimensional PDEs, as Richard E. Bellman first pointed out over 60 years ago. While there has been some recent success in solving numerically partial differential equations (PDEs) in high dimensions, such computations are prohibitively expensive, and true scaling of general nonlinear PDEs to high dimensions has never been achieved. We develop a new method of scaling up physics-informed neural networks (PINNs) to solve arbitrary high-dimensional PDEs. The new method, called Stochastic Dimension Gradient Descent (SDGD), decomposes a gradient of PDEs into pieces corresponding to different dimensions and randomly samples a subset of these dimensional pieces in each iteration of training PINNs. We prove theoretically the convergence and other desired properties of the proposed method. We demonstrate in various diverse tests that the proposed method can solve many notoriously hard high-dimensional PDEs, including the Hamilton-Jacobi-Bellman (HJB) and the Schrödinger equations in tens of thousands of dimensions very fast on a single GPU using the PINNs mesh-free approach. Notably, we solve nonlinear PDEs with nontrivial, anisotropic, and inseparable solutions in 100,000 effective dimensions in 12 hours on a single GPU using SDGD with PINNs. Since SDGD is a general training methodology of PINNs, it can be applied to any current and future variants of PINNs to scale them up for arbitrary high-dimensional PDEs.

Quote from the paper

Zheyuan Hu, Khemraj Shukla, George Em Karniadakis, Kenji Kawaguchi (2023). Tackling the Curse of Dimensionality with Physics-Informed Neural Networks. arXiv:2307.12306v6. https://doi.org/10.1016/j.neunet.2024.106369

BibTeX
@article{hu2023tackling,
  title = {{Tackling the Curse of Dimensionality with Physics-Informed Neural Networks}},
  author = {Zheyuan Hu and Khemraj Shukla and George Em Karniadakis and Kenji Kawaguchi},
  year = {2023},
  eprint = {2307.12306},
  archivePrefix = {arXiv},
  doi = {10.1016/j.neunet.2024.106369},
  url = {https://arxiv.org/abs/2307.12306v6}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up