Skip to yearly menu bar Skip to main content


Poster

Distribution Compression in Near-Linear Time

Abhishek Shetty · Raaz Dwivedi · Lester Mackey

Keywords: [ Markov chain Monte Carlo ] [ maximum mean discrepancy ] [ Reproducing kernel Hilbert space ]


Abstract: In distribution compression, one aims to accurately summarize a probability distribution P using a small number of representative points. Near-optimal thinning procedures achieve this goal by sampling n points from a Markov chain and identifying n points with ˜O(1/n) discrepancy to P. Unfortunately, these algorithms suffer from quadratic or super-quadratic runtime in the sample size n. To address this deficiency, we introduce Compress++, a simple meta-procedure for speeding up any thinning algorithm while suffering at most a factor of 4 in error. When combined with the quadratic-time kernel halving and kernel thinning algorithms of Dwivedi and Mackey (2021), Compress++ delivers n points with O(logn/n) integration error and better-than-Monte-Carlo maximum mean discrepancy in O(nlog3n) time and O(nlog2n) space. Moreover, Compress++ enjoys the same near-linear runtime given any quadratic-time input and reduces the runtime of super-quadratic algorithms by a square-root factor. In our benchmarks with high-dimensional Monte Carlo samples and Markov chains targeting challenging differential equation posteriors, Compress++ matches or nearly matches the accuracy of its input algorithm in orders of magnitude less time.

Chat is not available.