Parallel Training of Multiple RL Agents in same environment

6 vues (au cours des 30 derniers jours)
Federico Toso
Federico Toso le 18 Fév 2024
Commenté : Federico Toso le 23 Fév 2024
In the context of Reinforcement Learning Toolbox, it is possible to set "UseParallel" to "true" within "rlTrainingOptions" in order to run multiple simulations in parallel and improve the training speed for the agent.
However, if my goal is to train multiple agents in same environment I have to use "rlMultiAgentTrainingOptions" in order to specify my options. According to the documentation, this object does not have a "UseParallel" property. Does this mean that parallel training is currently not supported for multi-agent scenario? If this is the case, is there a known workaround for this?

Réponse acceptée

Emmanouil Tzorakoleftherakis
Parallel training is currently not supported for multi-agent reinforcement learning. One thing you could do is train the agents sequentially in parallel, but this will only work if the agents are "decoupled", i.e. they operate on different components on the environment and can thus be trained separately.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by