arXiv:2506.12383cs.LGstat.ML2025-06ICML被引 12

用稀疏结构矩阵让概率电路大规模生成更高效。

Scaling Probabilistic Circuits via Monarch Matrices

  • 用蒙巴顿矩阵替代密集连接,压缩参数量
  • 在Text8/LM1B/ImageNet上达领先生成性能
  • 训练所需浮点运算量大幅降低,适合大模型

概率电路(PCs)是可计算概率分布的高效表示,支持精确快速的似然和边缘计算。现有方法通过利用稀疏性或张量化操作提升可扩展性,但未同时兼顾二者。本文提出一种新型稀疏且结构化的概率电路求和模块参数化方法,将密集矩阵替换为稀疏蒙巴顿矩阵,显著降低内存与计算开销,实现前所未有的规模化。理论上,该构造源于电路乘法;实践上,在Text8、LM1B和ImageNet等挑战性基准上,本方法不仅达到当前最优生成性能,还展现出优越的可扩展性——相同性能下训练所需的浮点运算次数(FLOPs)大幅减少。

原文摘要 · Abstract (English)

Probabilistic Circuits (PCs) are tractable representations of probability distributions allowing for exact and efficient computation of likelihoods and marginals. Recent advancements have improved the scalability of PCs either by leveraging their sparse properties or through the use of tensorized operations for better hardware utilization. However, no existing method fully exploits both aspects simultaneously. In this paper, we propose a novel sparse and structured parameterization for the sum blocks in PCs. By replacing dense matrices with sparse Monarch matrices, we significantly reduce the memory and computation costs, enabling unprecedented scaling of PCs. From a theory perspective, our construction arises naturally from circuit multiplication; from a practical perspective, compared to previous efforts on scaling up tractable probabilistic models, our approach not only achieves state-of-the-art generative modeling performance on challenging benchmarks like Text8, LM1B and ImageNet, but also demonstrates superior scaling behavior, achieving the same performance with substantially less compute as measured by the number of floating-point operations (FLOPs) during training.

概率电路稀疏矩阵生成模型高效计算

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。