Skip to main content

Probability-Surrogate-Learning

This is a comprehensive machine learning library, specifically tailored for surrogate learning and active learning. Our objective is to provide a robust platform that empowers researchers and developers to seamlessly implement and experiment with these advanced machine learning techniques.

You can directly install our library by running:

pip install Probability-Surrogate-Learning==1.0

Active Learning Techniques

Deep Multi-fidelity Active Learning (DMFAL)

To run the code:

cd Active-Learning/Deep-Multi-fidelity-Active-Learning
bash run-Poisson2-pdv.sh

Please cite our work if you would like to use the code

@misc{li2021deep,
      title={Deep Multi-Fidelity Active Learning of High-dimensional Outputs}, 
      author={Shibo Li and Zheng Wang and Robert M. Kirby and Shandian Zhe},
      year={2021},
      eprint={2012.00901},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

Batch Multifidelity Active Learning with Budget Constraints (BMFAL-BC)

To run the code:

cd Active-Learning/Batch-Multifidelity-Active-Learning-with-Budget-Constraints
bash experiment.sh

Please cite our work if you would like to use the code

@article{li2021multi,
  title={Batch Multi-Fidelity Bayesian Optimization with Deep Auto-Regressive Networks},
  author={Li, Shibo and Kirby, Robert and Zhe, Shandian},
  journal={Advances in Neural Information Processing Systems},
  year={2021}
}

Single-Fidelity Techniques

Scalable GP Regression Network (SGPRN)

To run the code:

cd Single-Fidelity/Scalable-GP-Regression-Network
python sgprn.py

Please cite our work if you would like to use the code

@inproceedings{ijcai2020-340,
  title     = {Scalable Gaussian Process Regression Networks},
  author    = {Li, Shibo and Xing, Wei and Kirby, Robert M. and Zhe, Shandian},
  booktitle = {Proceedings of the Twenty-Ninth International Joint Conference on
               Artificial Intelligence, {IJCAI-20}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},             
  editor    = {Christian Bessiere},	
  pages     = {2456--2462},
  year      = {2020},
  month     = {7},
  note      = {Main track}
  doi       = {10.24963/ijcai.2020/340},
  url       = {https://doi.org/10.24963/ijcai.2020/340},
}

High-Order Gaussian Process (HOGP)

This project represents one of the high-order version of Scalable-GPRN, exhibiting certain dependencies within the Scalable-GPRN framework. We provide a visualization notebook as a reference for users:

cd Single-Fidelity/High-Order-Gaussian-Process
jupyter notebook Dev-HoGP-v1.ipynb

Please cite the paper if you find this code useful.

@inproceedings{ijcai2020-340,
  title     = {Scalable Gaussian Process Regression Networks},
  author    = {Li, Shibo and Xing, Wei and Kirby, Robert M. and Zhe, Shandian},
  booktitle = {Proceedings of the Twenty-Ninth International Joint Conference on
               Artificial Intelligence, {IJCAI-20}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},             
  editor    = {Christian Bessiere},	
  pages     = {2456--2462},
  year      = {2020},
  month     = {7},
  note      = {Main track}
  doi       = {10.24963/ijcai.2020/340},
  url       = {https://doi.org/10.24963/ijcai.2020/340},
}

Multi-Fidelity

Deep Residual Coregionalization (DRC)

To run the code:

cd Multi-Fidelity/Deep-Residual-Coregionalization
python run-baselines.py -domain=Heat -method=dc -rank=5 -fold=1

If you need more data(e.g. different domain(Burgers, Poisson, NS), different method, different fold), you can get from IFC(Infinite-Fidelity-Coregionalization) project by running

cd Infinite-or-Continuous-Fidelity/Infinite-Fidelity-Coregionalization
python process-data-drc.py

Therefore, you can copy the data from DRC-pde-data folder to exp_data_dc in Deep-Coregionalization.

Please cite the paper if you find this code useful.

@article{
XING2021109984, 
title = {Deep coregionalization for the emulation of simulation-based spatial-temporal fields}, 
journal = {Journal of Computational Physics}, 
volume = {428}, 
pages = {109984}, 
year = {2021}, 
issn = {0021-9991}, 
doi = {https://doi.org/10.1016/j.jcp.2020.109984}, 
url = {https://www.sciencedirect.com/science/article/pii/S0021999120307580}, 
author = {Wei W. Xing and Robert M. Kirby and Shandian Zhe}, 
keywords = {Surrogate model, Gaussian process, Emulation, Spatial-temporal field, Multifidelity model}}

Multi-Fidelity HOGP (MF-HOGP)

To run the code:

cd Multi-Fidelity/Multi-Fidelity-HOGP/DGP_hd
python test.py

If you find this useful, or if you use it in your work, please cite:

  @article{wang2020multi,
    title={Multi-Fidelity High-Order Gaussian Processes for Physical Simulation},
    author={Wang, Zheng and Xing, Wei and Kirby, Robert and Zhe, Shandian},
    journal={arXiv preprint arXiv:2006.04972}, 
    year={2020}
  }

Deep Multi-Fidelity (DMF)

To run the code:

cd Multi-Fidelity/Deep-Multi-Fidelity
python test_script.py

Please cite the paper if you find this code useful.

TBD

Infinite/Continuous-Fidelity

Infinite-Fidelity-Coregionalization(IFC)

To run the code:

cd Infinite-Or-Continuous-Fidelity/Infinite-Fidelity-Coregionalization
bash test-ODE.sh/test-GPT.sh Heat 5 500 cuda:0 0 10

Please cite our paper if you find it helpful :)

@inproceedings{
li2022infinitefidelity,
title={Infinite-Fidelity Coregionalization  for Physical Simulation},
author={Shibo Li and Zheng Wang and Robert Kirby and Shandian Zhe},
booktitle={Advances in Neural Information Processing Systems},
editor={Alice H. Oh and Alekh Agarwal and Danielle Belgrave and Kyunghyun Cho},
year={2022},
url={https://openreview.net/forum?id=dUYLikScE-}
}

Infinite-Fidelity HOGP (IFHOGP)

First of all, you need to download our data for testing and copy them into a folder named pde_data.

To run the code:

cd Infinite-Or-Continuous-Fidelity/Infinite-fidelity-HOGP
python test_script.py

Please cite our paper if you find it helpful :)

TBD

Data-Generator

You can generate the solutions of the Heat, Poisson, Burgers, NavierStockURec by running the following command:

cd Data-Generator
python generate.py -domain=(Heat, Poisson, Burgers, TopOpt, NavierStockPRec/URec/VRec)

More information and instructions are in Data-Generator README.md.


Projects visualization

We have also made the result or loss visualization in all the projects. You are welcome to play with them by running jupyter notebook.


License

IFC is released under the MIT License, please refer the LICENSE for details.


Getting Involved

Feel free to submit Github issues or pull requests. Welcome to contribute to our library!

To contact us, never hestitate to send an email to u1327012@umail.utah.edu or liwen0160@gmail.com

Release files for Probability-Surrogate-Learning 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Probability-Surrogate-Learning 1.1
File Size Uploaded
Probability-Surrogate-Learning-1.1.tar.gz 14.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Probability-Surrogate-Learning 1.1
File Interpreter ABI Platform
Probability_Surrogate_Learning-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 31.2 kB

Release files / Probability-Surrogate-Learning-1.1.tar.gz

Download URL Probability-Surrogate-Learning-1.1.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e1b32cfb7892cd7f4663088ed58c61da7649560c4b25eee7ef5a1063c2e79514
BLAKE2b-256 checksum
How to use checksums
5314265f178a18bcf63c8fe3b488f7cbc33b4db8a883a2d113b41fe4c3ba4106
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / Probability_Surrogate_Learning-1.1-py3-none-any.whl

Download URL Probability_Surrogate_Learning-1.1-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68d111f61fd716618b8a39d4fa1f15e81777dc9c82ff6dc1cc4030c4cd6ca067
BLAKE2b-256 checksum
How to use checksums
4fd1a1c50fc504d7f19a4becb495250bbd0ea99cc77ef9f0abd9a788f59ae524
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page