---
title: "Firefly Monte Carlo: Exact MCMC with Subsets of Data"
authors:
  - "Dougal Maclaurin"
  - "Ryan P. Adams"
doi: ""
url: "https://ijcai.org/proceedings/2015/610"
pdf: "https://ijcai.org/proceedings/2015/0610.pdf"
venue: "Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence"
year: 2015
pages: "4289-4294"
track: "Best Papers from Sister Conferences Track"
keywords:
---

# Firefly Monte Carlo: Exact MCMC with Subsets of Data

Dougal Maclaurin, Ryan P. Adams

*Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence*, pages 4289-4294.

## Abstract

Markov chain Monte Carlo (MCMC) is a popular tool for Bayesian inference.However, MCMC cannot be practically applied to large data sets because of theprohibitive cost of evaluating every likelihood term at every iteration. Here we present Firefly Monte Carlo (FlyMC) MCMC algorithm with auxiliary variables that only queries the likelihoods of a subset of the data at each iteration yet simulates from the exact posterior distribution. FlyMC is compatible with modern MCMC algorithms, and only requires a lower bound on the per-datum likelihood factors. In experiments, we find that FlyMC generates samples from the posterior more than an order of magnitude faster than regularMCMC, allowing MCMC methods to tackle larger datasets than were previously considered feasible.
