GithubHelp home page GithubHelp logo

sbtm's Introduction

Score-Based Transport Modeling

This repository provides an efficient implementation in jax of the score-based transport modeling algorithm for solving the Fokker-Planck equation in high dimension. This method may also find applications in flow-based solutions of other high-dimensional partial differential equations using machine learning.

Above is a beautiful phase portrait for a two-dimensional active swimmer produced with the algorithm.

Installation

The implementation is built on Google's jax package for accelerated linear algebra and DeepMind's haiku package for neural networks. Both can be installed by following the guidelines at the linked repositories.

Usage

Experiments from the paper can be reproduced by running the files contained in the experiments directory.

The main implementation of the algorithm can be found in sbtm_sequential.py, while analysis routines used for the results in the publication can be found in sbtm_analysis.py.

Other systems can be implemented by adding the needed dynamics to drifts.py.

Referencing

If you found this repository useful, please consider citing

[1] N. M. Boffi and Eric Vanden-Eijnden. “Probability flow solution of the Fokker-Planck equation,” Machine Learning: Science and Technology (2023).

@misc{boffi2023probability,
      title={Probability flow solution of the Fokker-Planck equation}, 
      author={Nicholas M. Boffi and Eric Vanden-Eijnden},
      year={2023},
      eprint={2206.04642},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

sbtm's People

Contributors

nmboffi avatar

Stargazers

Zhenyu Huang avatar Yan Huang avatar  avatar Vasily Ilin avatar Barton Rhodes avatar Daniel Dodd avatar  avatar Tijin Yan avatar

Watchers

 avatar Vasily Ilin avatar

Forkers

hv1000 cliu687

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.