Giter Site home page Giter Site logo

double-matching's Introduction

Double Matching under Complementary Preferences

Abstract

In this paper, we propose a new algorithm for addressing the problem of matching markets with complementary preferences, where agents' preferences are unknown a priori and must be learned from data. The presence of complementary preferences can lead to instability in the matching process, making this problem challenging to solve. To overcome this challenge, we formulate the problem as a bandit learning framework and propose the Multi-agent Multi-type Thompson Sampling (MMTS) algorithm. The algorithm combines the strengths of Thompson Sampling for exploration with a double matching technique to achieve a stable matching outcome. Our theoretical analysis demonstrates the effectiveness of MMTS as it is able to achieve stability at every matching step, satisfies the incentive-compatibility property, and has a sublinear Bayesian regret over time. Our approach provides a useful method for addressing complementary preferences in real-world scenarios.

Code Structure

Double Matching
│   README.md
│
└───Code
|   |   run.sh                      # Multi-Agent Thomspon Sampling (MMTS) run bash file with different parameters
│   │   Main.py                     # The main file to call the MMTS algorithm (MultiAgent.py)
│   │   MutliAgent.py               # The MMTS algorithm
│   │   utils.sh                    # Helper function for the MutliAgent.py
│   │   toy-matching.ipynb          # the toy example for the MMTS algorithm
│  
└───log                             # The log file for the MMTS algorithm (generated by the run.sh), including the matching result
│
└───fig                             # The figures for the MMTS algorithm (generated by the run.sh), with the regret and learning parameter figures.

Data and Results

fig and output (models) are stored in fig and log folders, respectively.

Requirements

  • Python 3.6 or above
  • Supported packages

Usage

bash code/run.sh

Reference

Pls consider cite our paper:

@article{li2023double,
  title={Double Matching Under Complementary Preferences},
  author={Li, Yuantong and Cheng, Guang and Dai, Xiaowu},
  journal={arXiv preprint arXiv:2301.10230},
  year={2023}
}

double-matching's People

Contributors

likelyt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.