Skip to content

A webgame for disaster resource management and algorithms for solving it.

License

Notifications You must be signed in to change notification settings

Hither1/disaster-resource-allocation-game

Repository files navigation

Status: Stable release

This repo contains the following two main parts: a disaster resource allocation game and a collection of algorithms to solve this game.

Algorithms

Heuristic-based

on supply chain management: base-stock policy

References (some quite old literature):

Optimal policies for a multi-echelon inventory problem

Lower bounds for multi-echelon stochastic inventory systems

Stock positioning and performance estimation in serial production-transportation systems.

Newsvendor bounds and heuristic for optimal policies in serial supply chains.

Model-free multi-agent

We experiment with 2 variants:

  • A2C
  • DQN
    • Double DQN
    • Dueling DQN
    • DQN with Prioritized Experience Replay
  • PPO

References:

TOM2C: TARGET-ORIENTED MULTI-AGENT COMMUNICATION AND COOPERATION WITH THEORY OF MIND

Model-based multi-agent

References:

Model-based Multi-agent Policy Optimization with Adaptive Opponent-wise Rollouts

Trade-off:

  • Rollouts too short → accurate opponent models not fully utilized → low sample efficiency.
  • Rollouts too long → inaccurate opponent models depart the rollouts from the real trajectory distribution heavily → degraded performance in the environment and low sample efficiency.

AORPO

Implementaion Details

Language multi-agent

References:

CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Society

Camel Multi-Agent Role-Playing Framework

Disaster resource allocation game

UI based on Crafter: Open world survival game for evaluating a wide range of agent abilities within a single environment.

Overview

  • Research challenges:

  • Meaningful evaluation:

Play Yourself

python3 -m pip install crafter  # Install Crafter
python3 -m pip install pygame   # Needed for human interface
python3 -m crafter.run_gui      # Start the game

Interface

To install Crafter, refer to the description in their repo.

Evaluation

Agents are allowed a budget of 1M environmnent steps and are evaluated by their success rates of the 22 achievements and by their geometric mean score. Example scripts for computing these are included in the analysis directory of the repository.

  • Reward: The sparse reward is +1 for unlocking an achievement during the episode and -0.1 or +0.1 for lost or regenerated health points. Results should be reported not as reward but as success rates and score.

  • Success rates: The success rates of the 22 achievemnts are computed as the percentage across all training episodes in which the achievement was unlocked, allowing insights into the ability spectrum of an agent.

  • Crafter score: The score is the geometric mean of success rates, so that improvements on difficult achievements contribute more than improvements on achievements with already high success rates.

Scoreboards

Please create a pull request if you would like to add your or another algorithm to the scoreboards. For the reinforcement learning and unsupervised agents categories, the interaction budget is 1M. The external knowledge category is defined more broadly.

Reinforcement Learning

Unsupervised Agents

External Knowledge

Baselines

Join this project

Please fill in this google form.

Questions

Please [open an issue][issues] on Github.

[issues]:

About

A webgame for disaster resource management and algorithms for solving it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published