Skip to content

bw-park/MSBM

Repository files navigation

Multi-Marginal Schrödinger Bridge Matching (MSBM)

Byoungwoo Park1·Juho Lee1
1KAIST

In Multi-Marginal Schrödinger Bridge Matching (MSBM), we extend IMF algorithm into multi-marginal case and efficient (temporally parallel) learning algorithm.

Examples

Tasks (--problem-name) Results
Petal (Petal)

drawing

RNA sequence (RNAsc)

drawing

Installation

This code is developed with Python3 and Pytorch. To set up an environment with the required packages,

  1. Create a virtual environment, for example:
conda create -n MSBM python=3.10
conda activate MSBM
  1. Install Pytorch according to the official instructions.
  2. Install the requirements:
pip install -r requirements.txt

Training and Evaluation

  • To train and evaluate an MSBM, use the command below
python main.py --problem_name <PROBLEM_NAME>
  • with PROBLEM_NAME is the tasks such as semicircle, Petal, hesc, RNA5dim.
  • For Leave-one-out experiment including cite5, multi5, cite100, multi100, RNAsc, use the command below
python main.py --problem_name <PROBLEM_NAME> --LOO 1
python main.py --problem_name <PROBLEM_NAME> --LOO 2

You can find more details about other configurations in options.py, and default settings for each task are available in configs.

Acknowledgements

Our code builds upon an outstanding open source projects and papers:

About

Pytorch Implmentation of Multi-Marginal Schrödinger Bridge Matching (MSBM)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages