masac

Jax and Torch Multi-Agent SAC on PettingZoo API

https://github.com/ffelten/masac

Science Score: 31.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary

Keywords

multi-agent-reinforcement-learning pettingzoo reinforcement-learning
Last synced: 10 months ago · JSON representation ·

Repository

Jax and Torch Multi-Agent SAC on PettingZoo API

Basic Info
  • Host: GitHub
  • Owner: ffelten
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 237 KB
Statistics
  • Stars: 81
  • Watchers: 1
  • Forks: 7
  • Open Issues: 0
  • Releases: 0
Topics
multi-agent-reinforcement-learning pettingzoo reinforcement-learning
Created over 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

License pre-commit Code style: black

MASAC

:warning: Work in progress, I did not extensively test the algorithms (especially the jax version).:warning:

Simple, yet useful Jax and Torch Multi-Agent SAC for Parallel PettingZoo environments. It is assumed that the agents are homogeneous (actions and observations) and all have the same global reward.

The implementation is based on the SAC implementation from the excellent cleanRL repo.

Multi-Agent features

Shared parameters: * Shared critic between all agents; * Shared actor (conditioned on agent ID).

Install & run

shell poetry install poetry run python masac/masac.py

Citation

If you use this code for your research, please cite this using:

bibtex @misc{masac, author = {Florian Felten}, title = {MASAC: A Multi-Agent Soft-Actor-Critic implementation for PettingZoo}, year = {2023}, publisher = {GitHub}, journal = {GitHub repository}, howpublished = {\url{https://github.com/ffelten/MASAC}}, }

Owner

  • Name: Florian Felten
  • Login: ffelten
  • Kind: user
  • Location: Belgium
  • Company: University of Luxemburg

I do MORL stuffs @Farama-Foundation & PhD stuffs @uni-lu

Citation (CITATION.bib)

@misc{masac,
    author = {Florian Felten},
    title = {MASAC: A Multi-Agent Soft-Actor-Critic implementation for PettingZoo},
    year = {2023},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/ffelten/MASAC}},
}

GitHub Events

Total
  • Issues event: 2
  • Watch event: 28
  • Issue comment event: 2
  • Push event: 2
Last Year
  • Issues event: 2
  • Watch event: 28
  • Issue comment event: 2
  • Push event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 30
  • Total Committers: 1
  • Avg Commits per committer: 30.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Florian Felten f****n@u****u 30
Committer Domains (Top 20 + Academic)
uni.lu: 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: 3 days
  • Average time to close pull requests: N/A
  • Total issue authors: 3
  • Total pull request authors: 0
  • Average comments per issue: 2.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: about 24 hours
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 2.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • wagh311 (1)
  • saiyuhang123 (1)
  • lhw0719 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels