Opened 5 years ago
Last modified 4 years ago
#5548 closed enhancement
Remote Interface for Reinforcement Learning — at Version 1
Reported by: | Brian Broll | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 24 |
Component: | Core engine | Keywords: | |
Cc: | Itms | Patch: |
Description (last modified by )
It would be great if 0 AD provided an interface which enabled experimentation with RL for the built-in AI (similar to OpenAI gym). This would allow people to train their own RL/ML agents and could be useful for non-ML agents as they could be prototyped in Python, if desired. This could be useful both for using 0 AD as a research sandbox to explore challenging RL/ML problems as well as benefit 0 AD by facilitating experimentation with new techniques for the built-in AI.
There are also a number of related posts on the forum that seem like they would benefit from this (or are talking about this directly):
- https://wildfiregames.com/forum/index.php?/topic/25691-trying-to-improve-petra-bot/&tab=comments#comment-373060
- https://wildfiregames.com/forum/index.php?/topic/26307-vfs-error-while-trying-to-read-a-file-javascript
- https://wildfiregames.com/forum/index.php?/topic/21449-openai/
I have implemented such an interface and would love to contribute it back to the community but wanted to open a ticket for related discussion! (I will be doing a little bit of remaining clean up and then submitting the patch here!)