frankhan91 / DeepBSDE

Deep BSDE solver in TensorFlow
MIT License
256 stars 128 forks source link
deep-learning partial-differential-equations

Deep BSDE Solver in TensorFlow (2.0)

Training

python main.py --config_path=configs/hjb_lq_d100.json

Command-line flags:

Problems

equation.py and config.py now support the following problems:

Three examples in ref [1]:

Four examples in ref [2]:

New problems can be added very easily. Inherit the class equation in equation.py and define the new problem. Note that the generator function and terminal function should be TensorFlow operations while the sample function can be python operation. A proper config is needed as well.

Dependencies

Note: an old version of the deep BSDE solver compatiable with TensorFlow 1.12 and Python 2 can be found in the commit 9d4e332.

Reference

[1] Han, J., Jentzen, A., and E, W. Overcoming the curse of dimensionality: Solving high-dimensional partial differential equations using deep learning, Proceedings of the National Academy of Sciences, 115(34), 8505-8510 (2018). [journal] [arXiv]
[2] E, W., Han, J., and Jentzen, A. Deep learning-based numerical methods for high-dimensional parabolic partial differential equations and backward stochastic differential equations, Communications in Mathematics and Statistics, 5, 349–380 (2017). [journal] [arXiv]