Skip to main content

Multi-agent auction simulations using DRL

Project description

Deep Reinforcement Learning in Auction Theory

Multiagent auction simulation using deep reinforcement learning algorithms

INF - PhD Conclusion Project

Conclusion project of postgraduate program at the Department of Informatics of PUC-Rio.

Installation and Execution

Installing in Anaconda environment

We can use Anaconda to set an environment.

conda create -n <environment_name> python=3.7.6
conda activate <environment_name>

Install the dependencies of the project through the command

Then, locate the project's root directory and use pip to install the requirements (requirements.txt).

pip install -r requirements.txt

To execute the program, just type the following line on the root directory

python src/run.py -a <type of auction> -d <load trained models> -e <number of episodes> -n <number of players> -r <aversion coefficient> -t <use transfer learning> -x <number of extra players>

where the arguments are:

where the arguments may be passed after the __main.py__ call, as described above, otherwise the default parameters will be selected.

## Some results

Here are some results for different auction settings after 30000 training episodes.

| First Price Auction | Second Price Auction |
|--------------------------|--------------------------|
| ![Figure 1](results/examples/first_price_30k_r1.png) | ![Figure 2](results/examples/second_price_30k_r1.png) |
| <p align="center">1st price auction, risk aversion=1</p> | <p align="center">2nd price auction, risk aversion=1</p> |
| ![Figure 1](results/examples/first_price_30k_r0.5.png) | ![Figure 2](results/examples/second_price_30k_r0.5.png) |
| <p align="center">1st price auction, risk aversion=0.5</p> | <p align="center">2nd price auction, risk aversion=0.5</p> |



## Acknowledgement

This algorithm development is based on the OpenAI's DDPG algorithm. The code is inherit by [DDPG](https://github.com/openai/baselines/blob/master/baselines/ddpg/ddpg.py).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multiagent_auction-0.1.1.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multiagent_auction-0.1.1-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file multiagent_auction-0.1.1.tar.gz.

File metadata

  • Download URL: multiagent_auction-0.1.1.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for multiagent_auction-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4f9895f93f4e9f0089d2eb6132decf4ab45a494df437d78de2530f08640cc419
MD5 0a8336235df1d8b06bed358cd313ece9
BLAKE2b-256 1caffb8800316d7ea1f84bd8f684c85cd4d5c9dcf070824c508129b1538f8b1a

See more details on using hashes here.

File details

Details for the file multiagent_auction-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for multiagent_auction-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1615daa19627a9fc5cf04eaf32f7e2f1f5722ee39a600eb967432428120050f
MD5 2cf9d5b4b25688a16b26b33b8d89889b
BLAKE2b-256 0b18c2e373f6b79239e6ae331f1bd2e17e621ece57f323550108cf1a1229f291

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page