Is it possible to carry out multi agent reinforcement learning in MATLAB ?

18 views (last 30 days)
I wish to train multiple agents(2 agents to 10 agents) in a grid map environment with same reward function.
Is it possible ? If so, suggest me some articles or books to start with !!!
I am comfortable with single agent training.
Thanks in advance !!!

Accepted Answer

Harsha Priya Daggubati
Harsha Priya Daggubati on 26 Mar 2020
I understand you are looking for a way to simulate a multi-agent Reinforcement Learning environment. Unfortunately, the Reinforcement Learning Toolbox currently does not support multi-agent scenario. You would need to write your custom environment and training algorithms for such scenario.
Due to large amounts of request on this feature, the development team is actively working on the multi-agent feature now and it will be available in a future release. If you decide to write your own environment and training algorithm, the following documentation would be a good place to start:
  1 Comment
Magnify
Magnify on 18 Jul 2020
I had the same idea to be implemented as him, so I hope you can check out the link to help those out who have the same requirement as me

Sign in to comment.

More Answers (1)

Emmanouil Tzorakoleftherakis
As of R2020b release, Reinforcement Learning Toolbox lets you train multiple agents simultaneously in Simulink. Please see following examples for reference:
  1. Train Multiple Agents for Path Following Control
  2. Train Multiple Agents for Area Coverage
  3. Train Multiple Agents to Perform Collaborative Task
Hope that helps
  8 Comments
Elena Maria Campanaro
Elena Maria Campanaro on 19 Jun 2023
Hello, I've got the same issue on multiple-agent. Did you find any solution for that?
Thank you very much, I'll appreciate your reply.
Best regards

Sign in to comment.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!