# Tackling the Curse of Dimensionality with Physics-Informed Neural Networks

物理情報ニューラルネットワークによる次元の呪いへの対処

Zheyuan Hu, Khemraj Shukla, George Em Karniadakis, Kenji Kawaguchi · arXiv · 2023年7月23日

- **課題** 高次元のPDEをPINNで解く場合、残差勾配の次元ごとの項によってメモリと計算コストが急増する問題を扱います。
- **手法** 残差勾配を次元ごとの成分に分け、各反復で一部の次元だけを逆伝播に含める確率的次元勾配降下法を提案します。
- **結果** 100,000次元のSine-Gordon実験では、SDGDは約12時間と32777MBで、相対L2誤差2.175E-3を報告しています。バニラPINNは高次元でメモリの限界を超えます。

## 高次元PDEにおけるPINNの限界

高次元の偏微分方程式では、次元が増えるほど計算コストが指数関数的に大きくなる次元の呪いが問題になります。PINNは、ニューラルネットワークでPDEの解を近似し、残差損失を最小化します。そのため、メッシュを使わずに領域全体を予測できるという利点があります。一方で、次元が非常に高くなると、残差に含まれる2階微分の項が増え、その勾配を計算するコストとメモリが大きくなります。論文では、次元dが大きくなると、最初の入力層と2階微分の項の数のためにメモリが二乗に近い勢いで増えると説明されています。さらに、コロケーション点が1つだけでもメモリ不足が起こりうると述べられています。したがって、この論文の問いは、残差損失の勾配全体を計算しなくても、PINNの学習を高次元へ拡張できるかどうかです。

## 次元成分のサンプリングで勾配を減らすSDGD

提案手法のSDGDは、PDEの残差損失の勾配を次元ごとの成分に分け、各反復で次元インデックスの部分集合Iだけを選んで逆伝播に含めます。選ばれなかった次元の項はGPUの計算グラフから切り離され、逆伝播のコストはかかりません。論文の式(6)では、選んだ次元の勾配の和にd/\|I\|の係数を掛けて、全体の勾配の推定量を作っています。この係数は、次元の成分を一様にサンプリングしたときに期待値が全体の勾配と一致するようにするための正規化です。論文は、この推定量が全バッチの勾配に対する不偏推定量であることを証明しており、その証明は期待値の計算において勾配の成分の和が全体の和と等しくなることに基づいています。その結果、SDGDのメモリコストは全次元dではなく、選んだ次元数\|I\|に主に依存します。

## 順伝播のサンプリングと1回だけのサンプリングによる変形

SDGDは、逆伝播の次元だけを減らすAlgorithm 1から出発し、論文では順伝播の次元Jも独立にサンプリングするAlgorithm 2へと拡張しています。Algorithm 2は、IとJを互いに独立に選ぶことで、勾配の期待値が全体の勾配と一致するように設計されています。Algorithm 3は、同じインデックス集合Iを順伝播と逆伝播で1回だけ使い、計算をさらに減らします。論文では、この場合に2つのサンプルが相関し、勾配が偏る可能性があると述べられています。また、偏りの大きさは次元のバッチサイズ\|I\|が小さいほど大きくなるとしています。それでも実験では、\|I\|が小さすぎなければ収束が速く進むと報告されています。

この変形は速度と偏りのトレードオフとして捉えるべきで、偏りのないAlgorithm 2と同じ性質を持つとは見なせません。

## 高次元PDEにおけるバニラPINNとの比較

高次元での検証では、Poisson、Allen-Cahn、Sine-Gordonの3つのPDEについて、100次元から100,000次元までの設定を用意し、相対L2誤差、学習時間、メモリをバニラPINNと比べています。SDGDでは、\|I\|=100の次元バッチと\|B\|=100の残差点を使い、各設定は5個の独立したランダムシードで繰り返されました。論文の表1では、100次元から5,000次元までは両手法の誤差が同程度で、SDGDは同じ範囲でメモリと時間をより小さく記録しています。Sine-Gordonの100,000次元におけるSDGDの結果は、相対L2誤差2.175E-3、約12時間、32777MBです。

バニラPINNは10,000次元以上でN.A.と表示され、メモリの値は81252MBを超えたと記録されています。本文では5,000次元を超えるとメモリの限界に達すると書かれていますが、表の5,000次元の値は56563MBなので、メモリ限界の正確な条件は表の値で確認する必要があります。

![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…](https://refivu.com/papers/06c237e9-b634-4450-8252-7fb4dd712d2e/figures/figure-ecd8bf57f25f9f4c0b1eae4c01c7da7c.png?thumb=512)

**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.

[出典](https://arxiv.org/abs/2307.12306v6) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zheyuan Hu, Khemraj Shukla, George Em Karniadakis, Kenji Kawaguchi · Tackling the Curse of Dimensionality with Physics-Informed Neural Networks · 論文の図を引用 · 元のPDFの15ページ目から図の部分を抽出しています。

## Algorithm 1、2、3の速度と精度の差

同じSine-Gordonの設定で、論文は\|B\|=\|I\|=\|J\|=100に固定し、Algorithm 1、2、3を比べています。メモリは3つの方法で同じ値が記録されていますが、これはメモリを決める\|B\|と\|I\|が同じだからです。速度では、Algorithm 3がAlgorithm 2より速く、Algorithm 1はすべての次元の順伝播を計算するため、高次元で最も遅くなります。誤差では、Algorithm 1が最も良く、Algorithm 2が次に続き、Algorithm 3がわずかに低いと報告されています。たとえば100,000次元では、Algorithm 2は約14.4時間と2.039E-3、Algorithm 3は約12時間と2.177E-3です。

したがって、Algorithm 3の利点は、精度の低下を受け入れた上での速度向上と捉えるべきです。

![Table 3: Comparisons between Algorithms 1, 2, and 3 on the Sine-Gordon equations in various dimensions](https://refivu.com/papers/06c237e9-b634-4450-8252-7fb4dd712d2e/figures/figure-90ddf94951faae7bc3d70c3d890ddb81.png?thumb=512)

**Table 3** : Comparisons between Algorithms 1, 2, and 3 on the Sine-Gordon equations in various dimensions.

[出典](https://arxiv.org/abs/2307.12306v6) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zheyuan Hu, Khemraj Shukla, George Em Karniadakis, Kenji Kawaguchi · Tackling the Curse of Dimensionality with Physics-Informed Neural Networks · 論文の図を引用 · 元のPDFの18ページ目から図の部分を抽出しています。

## バッチサイズと適用範囲の限界

論文では、SDGDは極高次元のPDEで、次元バッチサイズを十分に大きく取る必要があると述べられています。バッチが小さすぎると、確率的勾配の分散が大きくなり、収束が遅くなることがあります。また、Schrödinger方程式のように、境界と残差の形式に従わない問題では、メモリのボトルネックが次元サンプリングで減らせる対象ではない場合があります。論文は、このような場合にはSDGDで得られる最小メモリが次元とともにさらに速く増える可能性があると記しています。さらに、Schrödingerの実験では、積分項が分母にあるため積分点をサンプリングすると勾配が偏ると指摘されており、この問題に対する改良された不偏勾配は未解決の課題として残されています。

![Table 2: SDGD results for the 100,000-dimensional Sine-Gordon equation with anisotropic solutions under various batch sizes](https://refivu.com/papers/06c237e9-b634-4450-8252-7fb4dd712d2e/figures/figure-9b2663982eb287dbd9fd3795bdb72ef1.png?thumb=512)

**Table 2** : SDGD results for the 100,000-dimensional Sine-Gordon equation with anisotropic solutions under various batch sizes.

[出典](https://arxiv.org/abs/2307.12306v6) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zheyuan Hu, Khemraj Shukla, George Em Karniadakis, Kenji Kawaguchi · Tackling the Curse of Dimensionality with Physics-Informed Neural Networks · 論文の図を引用 · 元のPDFの17ページ目から図の部分を抽出しています。

## 論文情報

- **著者**: Zheyuan Hu, Khemraj Shukla, George Em Karniadakis, Kenji Kawaguchi
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2023年7月23日
- **登録日**: 2026年11月6日
- **更新日**: 2024年5月17日
- **バージョン**: v6
- **arXiv**: 2307.12306
- **DOI**: 10.1016/j.neunet.2024.106369
- **カテゴリ**: cs.LG · cs.AI · math.DS · math.NA · stat.ML
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2307.12306v6) · [PDF ↗](https://arxiv.org/pdf/2307.12306v6)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

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.

## この論文を引用

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}
}
```

## この論文の用語

- [Algorithm 1](https://refivu.com/ja/terms/1aeb14acf435-algorithm-1)
- [gradient accumulation](https://refivu.com/ja/terms/5b4a9a1970de-gradient-accumulation)
- [relative L2 error](https://refivu.com/ja/terms/b8a2f84c03b5-relative-l2-error)

## ほかの論文解説

- [Continuous online sequence learning with an unsupervised neural network model](https://refivu.com/ja/papers/2850b462-149b-4637-8186-0e3a02a69df4-continuous-online-sequence-learning-with-an-unsupervised.md)
- [A Cost-Sensitive Deep Belief Network for Imbalanced Classification](https://refivu.com/ja/papers/140fac18-43ea-4f02-a761-0549f84a0de3-a-cost-sensitive-deep-belief-network-for-imbalanced.md)
- [OnionNet: a multiple-layer inter-molecular contact based convolutional neural network for protein-ligand binding affinity prediction](https://refivu.com/ja/papers/d363670e-b76b-46a2-bc53-1b22fb49dd68-onionnet-a-multiple-layer-inter-molecular-contact-based.md)
- [Avoiding Overfitting: A Survey on Regularization Methods for Convolutional Neural Networks](https://refivu.com/ja/papers/726fc9f2-ea0b-4f5f-b42e-cc0c9f6e4c3a-avoiding-overfitting-a-survey-on-regularization-methods-for.md)
- [Weakly-Supervised Convolutional Neural Networks for Multimodal Image Registration](https://refivu.com/ja/papers/bfc7dfd6-1596-4541-9723-c26ab0c5a3f5-weakly-supervised-convolutional-neural-networks-for.md)
- [The Heidelberg spiking datasets for the systematic evaluation of spiking neural networks](https://refivu.com/ja/papers/7d72dab0-39a2-41ec-8bd7-e822a01c939b-the-heidelberg-spiking-datasets-for-the-systematic.md)
- [A Dependable Hybrid Machine Learning Model for Network Intrusion Detection](https://refivu.com/ja/papers/ed6bed44-96ef-4320-bbfe-461ed585a922-a-dependable-hybrid-machine-learning-model-for-network.md)
- [A Survey of Graph Neural Networks for Social Recommender Systems](https://refivu.com/ja/papers/c1848045-eac7-443a-a4b7-d8a38a3de17b-a-survey-of-graph-neural-networks-for-social.md)
- [EDiffSR: An Efficient Diffusion Probabilistic Model for Remote Sensing Image Super-Resolution](https://refivu.com/ja/papers/76f50706-1489-43e9-9b29-6e7734ea5128-ediffsr-an-efficient-diffusion-probabilistic-model-for.md)
- [A Survey: Deep Learning for Hyperspectral Image Classification with Few Labeled Samples](https://refivu.com/ja/papers/797230a9-25ac-40b5-ad87-781a92baceee-a-survey-deep-learning-for-hyperspectral-image.md)
- [FastComposer: Tuning-Free Multi-Subject Image Generation with Localized Attention](https://refivu.com/ja/papers/da96ee97-6c27-4d11-88b7-679762995493-fastcomposer-tuning-free-multi-subject-image-generation-with.md)
- [Interpretable and Explainable Machine Learning for Materials Science and Chemistry](https://refivu.com/ja/papers/77f32892-bb87-467e-b149-940994557a38-interpretable-and-explainable-machine-learning-for-materials.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/06c237e9-b634-4450-8252-7fb4dd712d2e-tackling-the-curse-of-dimensionality-with-physics-informed)
