Skip to main content

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).

Metadata

Release files for multiagent-auction 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multiagent-auction 0.1.1
File Size Uploaded Provenance
multiagent_auction-0.1.1.tar.gz 22.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for multiagent-auction 0.1.1
File Interpreter ABI Platform
multiagent_auction-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 47.6 kB

Release files / multiagent_auction-0.1.1.tar.gz

Download URL multiagent_auction-0.1.1.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4f9895f93f4e9f0089d2eb6132decf4ab45a494df437d78de2530f08640cc419
BLAKE2b-256 checksum
How to use checksums
1caffb8800316d7ea1f84bd8f684c85cd4d5c9dcf070824c508129b1538f8b1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.7

Release files / multiagent_auction-0.1.1-py3-none-any.whl

Download URL multiagent_auction-0.1.1-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1615daa19627a9fc5cf04eaf32f7e2f1f5722ee39a600eb967432428120050f
BLAKE2b-256 checksum
How to use checksums
0b18c2e373f6b79239e6ae331f1bd2e17e621ece57f323550108cf1a1229f291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.7

Security for multiagent-auction 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page