Coder Social home page Coder Social logo

mdsunivie / deep_kolmogorov Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juliusberner/deep_kolmogorov

6.0 0.0 0.0 692.21 MB

Numerically Solving Parametric Families of High-Dimensional Kolmogorov Partial Differential Equations via Deep Learning

Home Page: https://arxiv.org/abs/2011.04602

License: MIT License

Dockerfile 0.41% Python 92.67% Jupyter Notebook 6.92%

deep_kolmogorov's Introduction

Numerically Solving Parametric Families of High-Dimensional Kolmogorov Partial Differential Equations via Deep Learning

Accompanying code for NeurIPS 2020 paper (Poster). Deep Learning based algorithm for solving a parametrized family of high-dimensional Kolmogorov PDEs. Implemented in PyTorch and Tune.

Illustration of the algorithm

Reproducing the Experiments

To run the experiments and visualize the results open the jupyter notebook experiments.ipynb. For reproducibility we recommend to use the docker container defined by Dockerfile (see Docker Tutorial).

Our setup:

  • DGX-1 server
  • Ubuntu 18.04.3, Python 3.6.9, Torch 1.5 (as given by the NVIDIA-Docker with base image nvcr.io/nvidia/pytorch:20.03-py3)
  • additional requirements as specified by requirements.txt

Run experiments:

Experiment (and reference in the paper) Command (adapt --gpus if necessary)
Black-Scholes model (Table 1, Fig. 3,4,5,6,7,8) python main.py --mode=avg_bs --gpus=2
Heat-equation with paraboloid initial condition (Table 3) python main.py --mode=avg_heat_paraboloid --gpus=2
Heat-equation with Gaussian initial condition (Table 4) python main.py --mode=avg_heat_gaussian --gpus=2
Basket put option (Table 2) python main.py --mode=avg_basket --gpus=4
Cost vs. input dimension (Fig. 9) python main.py --mode=dims_heat_paraboloid --gpus=2
Ablation study Black-Scholes model (Table 7) python main.py --mode=compare_nets_bs --gpus=2
Ablation study heat-equation (Table 8) python main.py --mode=compare_nets_heat --gpus=2
Hyperparameter search (Table 6) python main.py --mode=optimize_bs --gpus=2

Visualize results:

  1. Jupyter notebook: Open the notebook experiments.ipynb and run section Analyze experiments
  2. Tensorboard: Run tensorboard --logdir exp or tensorboard --logdir exp/experiment_xyz

deep_kolmogorov's People

Contributors

juliusberner avatar

Stargazers

 avatar Asif Ahmad avatar  avatar PINAKI BHATTACHARYYA avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.