Computational code for https://arxiv.org/abs/2210.06274.
Hybrid MARL is an extension over the EPyMARL library (https://github.com/uoe-agents/epymarl).
- Pedro P. Santos (@PPSantos)
- Diogo Carvalho (@carvalhomm88)
- Miguel Vasco (@miguelsvasco)
To install the codebase, run (tested with python 3.8.10):
./install.sh
After installation, you can use the script run.sh to run experiments, where:
ENV
variable selects the environment to use:SimpleSpreadXY-v0
- SpreadXY-2SimpleSpreadXY4-v0
- SpreadXY-4;SimpleSpreadBlind-v0
- SpreadBlindfold;SimpleBlindDeaf-v0
- HearSee;SimpleSpread-v0
- SimpleSpread;SimpleSpeakerListener-v0
- SimpleSpeakerListener;Foraging-2s-15x15-2p-2f-coop-v2
- LBF environment (modified);
ALGO
variable selects the RL algorithm to use (iql_ns
,qmix_ns
,ippo_ns
, ormappo_ns
for MPE environments;iql_ns_lbf
,qmix_ns_lbf
,ippo_ns_lbf
, ormappo_ns_lbf
for LBF environments).PERCEPTION
variable selects the perceptual model to use:obs
- Obs.joint_obs
- Oracle;joint_obs_drop_test
- Masked joint obs.;ablation_no_pred
- MD baseline;ablation_no_pred_masks
- MD w/ masks baseline;maro_no_training
- MARO;maro
- MARO w/ dropout;
TIME_LIMIT
variable: 25 for MPE environments; 30 for LBF environments.