Optimal Stochastic Trace Estimation in Generative Modeling

Abstract

Hutchinson estimators are widely employed in training divergence-based likelihoods for diffusion models to ensure optimal transport (OT) properties. However, this estimator often suffers from high variance and scalability concerns. To address these challenges, we investigate Hutch++, an optimal stochastic trace estimator for generative models, designed to minimize training variance while maintaining transport optimality. Hutch++ is particularly effective for handling ill-conditioned matrices with large condition numbers, which commonly arise when high-dimensional data exhibits a low-dimensional structure. To mitigate the need for frequent and costly QR decompositions, we propose practical schemes that balance frequency and accuracy, backed by theoretical guarantees. Our analysis demonstrates that Hutch++ leads to generations of higher quality. Furthermore, this method exhibits effective variance reduction in various applications, including simulations, conditional time series forecasts, and image generation.

Cite

Text

Liu et al. "Optimal Stochastic Trace Estimation in Generative Modeling." Proceedings of The 28th International Conference on Artificial Intelligence and Statistics, 2025.

Markdown

[Liu et al. "Optimal Stochastic Trace Estimation in Generative Modeling." Proceedings of The 28th International Conference on Artificial Intelligence and Statistics, 2025.](https://mlanthology.org/aistats/2025/liu2025aistats-optimal/)

BibTeX

@inproceedings{liu2025aistats-optimal,
  title     = {{Optimal Stochastic Trace Estimation in Generative Modeling}},
  author    = {Liu, Xinyang and Du, Hengrong and Deng, Wei and Zhang, Ruqi},
  booktitle = {Proceedings of The 28th International Conference on Artificial Intelligence and Statistics},
  year      = {2025},
  pages     = {4600-4608},
  volume    = {258},
  url       = {https://mlanthology.org/aistats/2025/liu2025aistats-optimal/}
}