Skip to content

DaveHudiny/rl_synthesis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,447 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAYNT + DRL

This toolkit implements the PAYNT-DRL loop. The implementation contains the modified version of the PAYNT project and our DRL extension containing SOTA methods for POMDP planning using LSTM networks.

Installation

The installation was tried on PC with Ubuntu 24.04. Before the installation, please install python3.10 (https://askubuntu.com/questions/682869/how-do-i-install-a-different-python-version-using-apt-get), since the official version of TensorFlow Agents currently does not support newer versions of Python. Then run ./install.sh script. Or build a new docker image using our integrated Dockerfile. Furthermore, if you create your own environemnt, you can install through pip install . using the pyproject.toml file.

Usage and the Expected Output

If you want to run RL for purely single POMDP setting (without the family of size 1), run the simple_rl.py script.

If you want to experiment with our robust RL loop, please use the robust_pomdps_rl.py script.

Structure

  • models -- set of all models we tried to experiment with.
  • VecStorm -- implementation of our vectorized simulator.
  • rl_src -- main implementations of the reinforcement learning part.
  • paynt -- extended PAYNT implementation.
  • robust_rl -- core parts of our robust training loop.

Framework and Sources

The implementation is primarily based on PAYNT with Stormpy, TensorFlow Agents framework, which implements many important blocks of this project as reinforcement learning algorithms, and the AALpy Automata learning library (https://github.com/DES-Lab/AALpy). We also took some inspiration and in case of .rl_src/environment/pomdp_builder, we took the code from repository: Shielding.

Credits

About

No description, website, or topics provided.

Resources

License

Stars

5 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 46.5%
  • Python 46.2%
  • templ 6.7%
  • CMake 0.3%
  • Shell 0.2%
  • C 0.1%