question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How is multi-agent handled ?

See original GitHub issue

Hello there, I was wondering how you handle multi-agent learning. Let’s take as an example the supported kaggle hungry-geese environment. There is a function in the environment class :

rule_based_action()

If it exists, does it mean that the trained policy represents 1 player and the three others are rule based with this function ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ikki407commented, Feb 26, 2021

And if you want to train against different agents in self-play, you can set for specific opponents of self-play by re-writing generation.py (worker.py). (ref. gfootball example) Multi-agent learning and self play against specific opponents are not supported yet as a default function in HandyRL.

Multi-agent learning must consider the handling of GPU… Further consideration required.

1reaction
ikki407commented, Feb 26, 2021

Hi, thank you for your consideration. You are right about self-play.

rule_based_action() is used in RuleBasedAgent class in evaluation.py. This agent is only used for evaluation of trained models (e.g. in the evaluation during python main.py --train, python main.py --eval.) However, RuleBasedAgent is not set as default agent in the current setting. If you want to evaluate the win-rate against rule-based agent during training, you need to change this line. And change this line if you want to change the opponent in model evaluation (python main.py --eval).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Multiagent Systems?
For instance, a domain that is easily broken into components--several independent tasks that can be handled by separate agents--could benefit from MAS.
Read more >
Multi-Agent Systems - Introduction to CIS - Google Sites
A Multi-agent system is a system in within an environment can be composed of intelligent agents. These multi-agent systems can help solve problems....
Read more >
Multiagents - an overview | ScienceDirect Topics
Multiagent systems can deal with complex situations by cooperation and have been shown to be successfully applied to complex monitoring and maintenance decision ......
Read more >
Multiagent Systems for 3D Reconstruction Applications
The chapter explains how data acquisition step can be handled using a multiagent system. The explanation is provided by literature reviews ...
Read more >
Multi-agent reinforcement learning: An overview
tive selection of Multi-Agent Reinforcement Learning (MARL) algorithms for fully ... In resource management, while the resources could be managed by.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found