SLiM-Gym: Reinforcement Learning for Population Genetics
2025-04-22Unverified0· sign in to hype
Niko Zuppas, Bryan C. Carstens
Unverified — Be the first to reproduce this paper.
ReproduceAbstract
We introduce SLiM-Gym, a Python package for integrating reinforcement learning (RL) with forward-time population genetic simulations. Wright-Fisher evolutionary dynamics offer a tractable framework for modeling populations across discrete generations, yet applying RL to these systems requires a compatible training environment. SLiM-Gym connects the standardized RL interface provided by Gymnasium with the high-fidelity evolutionary simulations of SLiM, allowing agents to interact with evolving populations in real time. This framework enables the development and evaluation of RL-based strategies for understanding evolutionary processes.