Skip to content

fengtony686/peer-prediction-convergence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peer Prediction for Learning Agents


This repository contains code of numerical experiments for paper:
Peer Prediction for Learning Agents
NeurIPS 2022
Shi Feng, Fang-Yi Yu, Yiling Chen
[ArXiv Version]

Usage

If you want to draw convergence rates of learning algorithms in CA mechanism, you need to run

python main.py --converge_rate

If you want to draw error bars for convergence rates of learning algorithms in CA mechanism, you need to run

python main.py --error_bar

Here is one of our experiment results:

File Hierarchy

.
├── game/                   # components in a peer prediction game
│   ├── agent.py            # implementing agents
│   └── game.py             # implementing signal generator and CA mechanism
├── utils/                  # drawing simulation results
│   ├── converge_rate.py
│   └── error_bar.py
├── results/                # our running samples
├── main.py                 # main file
├── .gitignore              # exclude some annoying files from git
├── LICENSE                 # MIT license
└── README.md               # what you are reading now

Contact

If you have any questions, feel free to contact us through email (shifeng-thu@outlook.com) or Github issues. Enjoy!

About

This is a peer prediction simulator for learning agents.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages