Code Monkey home page Code Monkey logo

bipartite-mat's Introduction

Efficient and Consistent Adversarial Bipartite Matching

This repository is a code example of the marginal distribution formulation of the adversarial bipartite matching in the paper: Efficient and Consistent Adversarial Bipartite Matching.

Abstract

Many important structured prediction problems, including learning to rank items, correspondence-based natural language processing, and multi-object tracking, can be formulated as weighted bipartite matching optimizations. Existing structured prediction approaches have significant drawbacks when applied under the constraints of perfect bipartite matchings. Exponential family probabilistic models, such as the conditional random field (CRF), provide statistical consistency guarantees, but suffer computationally from the need to compute the normalization term of its distribution over matchings, which is a #P-hard matrix permanent computation. In contrast, the structured support vector machine (SSVM) provides computational efficiency, but lacks Fisher consistency, meaning that there are distributions of data for which it cannot learn the optimal matching even under ideal learning conditions (i.e., given the true distribution and selecting from all measurable potential functions). We propose adversarial bipartite matching to avoid both of these limitations. We develop this approach algorithmically, establish its computational efficiency and Fisher consistency properties, and apply it to matching problems that demonstrate its empirical benefits.

Setup

The source code is written in MATLAB 2016b.

Dependency

The code depends on the followong tools which are also included in the code:

  1. minConf : a MATLAB tool for optimization of differentiable real-valued multivariate functions subject to simple constraints on the parameters.
  2. munkres : Munkres (Hungarian) algorithm to solve assignment problem in polynomial time.

Dataset

The datasets are stored in data folder. The datasets contain extracted feature from the original 2DMOT2015 task in the Multiple Object Tracking Benchmark.

Experiments

Two files are provided for running adversarial bipartite matching experiment and Structured SVM experiment:

  • experiment_2ds.m : run the adversarial bipartite experiment.

  • ssvm_experiment_2ds.m : run the Structured SVM experiment.

License

The license of the adversarial bipartite matching code is MIT license. The license of the munkres tool can be found in munkres/license.txt. Please refer to minConf website for the information of its license.

The dataset containing extracted features is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License following the same license of the original Multiple Object Tracking Benchmark dataset license. Please refer to Multiple Object Tracking Benchmark website for a more detailed information of the dataset license.

Citation (BibTeX)

@InProceedings{fathony18a,
  title = 	 {Efficient and Consistent Adversarial Bipartite Matching},
  author = 	 {Fathony, Rizal and Behpour, Sima and Zhang, Xinhua and Ziebart, Brian},
  booktitle = 	 {Proceedings of the 35th International Conference on Machine Learning},
  pages = 	 {1456--1465},
  year = 	 {2018},
  editor = 	 {Jennifer Dy and Andreas Krause},
  volume = 	 {80},
  series = 	 {Proceedings of Machine Learning Research},
  address = 	 {Stockholmsmässan, Stockholm Sweden},
  month = 	 {10--15 Jul},
  publisher = 	 {PMLR},
  pdf = 	 {http://proceedings.mlr.press/v80/fathony18a/fathony18a.pdf},
  url = 	 {http://proceedings.mlr.press/v80/fathony18a.html},
}

Acknowledgements

This research was supported in part by NSF Grants RI-#1526379 and CAREER-#1652530.

bipartite-mat's People

Contributors

rizalzaf avatar

Watchers

James Cloos 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.