Skip to content

Official code repository for "I Don't Think So": Summarizing Policy Disagreements for Agent Comparison. Published in AAAI-2022.

License

Notifications You must be signed in to change notification settings

yotamitai/Agent-Disagreements

Repository files navigation

"I Don't Think So": Summarizing Policy Disagreements for Agent Comparison

Official code repository for "I Don't Think So": Summarizing Policy Disagreements for Agent Comparison (AAAI-2022).

Disagreement

A demo of the visual summary generated by the DISAGREEMENTS algorithm. The summary portrays the diffrence in behavior of two agents strating from the same state denoted by the text "Disagreement". The summary allows for a visual contrastive comparison between agent behaviors.

Installation

The project is based on Python 3.7. All the necessary packages are in requirements.txt. Create a virtual environment and install the requirements using:

pip install -r requirements.txt

Required repositories

The Highway domain implementation of the algorithm requires the following repositories:

https://github.com/eleurent/highway-env V1.4

https://github.com/eleurent/rl-agents

Adding a new domain

The code works by accesing an interface for each domain. Adding a new domain requires a relevant interface and configuration file to be added to disagreements/Interfaces and disagreements/configs respectively.

Running

The configuration_dict dictionary in run_comparison.py should be updated for any new agents or domains you wish to compare.

python run_comparison.py -a1 ClearLane -a2 FastRight

About

Official code repository for "I Don't Think So": Summarizing Policy Disagreements for Agent Comparison. Published in AAAI-2022.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages