Skip to content
/ sc2rl Public

A reinforcement learning project on micro in StarCraft II

Notifications You must be signed in to change notification settings

rsun0/sc2rl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environmental Curriculum Learning for Efficiently Achieving Superhuman Play in Games

By Ray Sun, Michael McGuire, and David Long

This research project applies reinforcement learning to the real-time strategy game StarCraft II through the PySC2 environment. We are currently focusing on micro and the minigames included in PySC2, specifically DefeatRoaches and BuildMarines. We experimented with PPO and graph convolutions for DefeatRoaches, and our own technique "environmental curriculum learning" for BuildMarines. Our work in the latter resulted in a thesis, "Environmental Curriculum Learning for Efficiently Achieving Superhuman Play in Games" (thesis.pdf).

Directories

  • old - The first version of our experiment code, using TensorFlow and modified state and action spaces
  • PPO - The second version of our experiment code, running PPO with LSTMs. Switched from TensorFlow to PyTorch.
  • interface - A general training framework that allows models and environments to be changed easily, allowing experiments to iterate faster.
  • experiments - The third and current version of our experiment code, using the framework in interface.
    • agent_ppo uses PPO with graph convolutional layers in the network to play DefeatRoaches.
    • build_marines uses REINFORCE, residual blocks, and environmental curriculum training to play BuildMarines.
  • pommerman - Our experiments in the game Pommerman, also using the framework in interface.

Acknowledgements

Thanks to our advisor, Prof. Jian Peng.

Libraries

This work utilizes resources supported by the National Science Foundation’s Major Research Instrumentation program, grant #1725729, as well as the University of Illinois at Urbana-Champaign.

About

A reinforcement learning project on micro in StarCraft II

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •