discretize_distributions: Efficient Quantization of Gaussian Mixtures with Guarantees in Wasserstein Distance
Steven Adams, Elize Alwash, Luca Laurenti
TL;DR
The paper tackles the challenge of providing scalable, certified discretizations of Gaussian mixtures for uncertainty propagation and verification in cyber-physical systems. It introduces discretize_distributions, a two-stage framework that constructs mode-aware quantization schemes (grid and sigma-point-inspired) and applies them with closed-form or tractable $W_2$ error bounds. The work delivers a modular PyTorch-based package with distribution primitives, automatic scheme generation, and a discretization operation that yields discrete approximations with $W_2$ certificates. This enables accurate, efficient quantization of complex Gaussian mixtures, demonstrated across high-dimensional and degenerate cases with favorable computation times and compression of support points.
Abstract
We present discretize_distributions, a Python package that efficiently constructs discrete approximations of Gaussian mixture distributions and provides guarantees on the approximation error in Wasserstein distance. The package implements state-of-the-art quantization methods for Gaussian mixture models and extends them to improve scalability. It further integrates complementary quantization strategies such as sigma-point methods and provides a modular interface that supports custom schemes and integration into control and verification pipelines for cyber-physical systems. We benchmark the package on various examples, including high-dimensional, large, and degenerate Gaussian mixtures, and demonstrate that discretize_distributions produces accurate approximations at low computational cost.
