arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.07840cs.PLcs.LG
收藏

GradInf:作为概率推理的梯度估计

GradInf: Gradient Estimation as Probabilistic Inference

Carnegie Mellon University Pittsburgh USA;Massachusetts Institute of Technology Cambridge USA;Chalmers University of Technology \& University of Gothenburg Gothenburg Sweden;Yale University New Haven USA;Carnegie Mellon University;Massachusetts Institute of Technology;Chalmers University of Technology \& University of Gothenburg;Yale University

Gaurav Arya, Mathieu Huot, Moritz Schauer, Alexander K. Lew, Feras A. Saad

AI总结:

研究针对概率程序梯度估计难题,提出梯度推理新方法,通过形式规约将其转化为概率推理问题,借助耦合和因式分解操作设计梯度估计器,介绍GradInf系统,经案例研究验证其能表达并构建高性能梯度估计器。

摘要:

梯度估计,即计算概率程序期望值的梯度,在科学计算中有多种应用,但因高维积分、离散随机选择和复杂随机依赖等问题而极具挑战性。本文介绍了梯度推理,一种为概率程序开发合理且高效梯度估计器的新方法。它基于从梯度估计问题到紧密相关概率推理问题的形式规约,通过对输入概率程序应用耦合和因式分解这两种强大的统计操作来获得推理问题,从而利用丰富的概率推理算法工具包设计新颖的梯度估计器。文中还介绍了GradInf概率编程系统,其围绕用于耦合和分解高阶概率程序的可编程源到源转换构建,利用信息流类型允许对概率程序中的随机选择进行分解和部分求值。通过几个具有挑战性的案例研究表明,GradInf能表达文献中的著名梯度估计器,并能构建超越现有最佳基线的新的最优估计器。

英文摘要:

Gradient estimation -- the task of computing the gradient of the expected value of a probabilistic program -- has diverse applications in scientific computing, but is notoriously difficult because of issues such as high-dimensional integration, discrete random choices, and complex stochastic dependencies. This article introduces gradient inference, a new approach to developing sound and efficient gradient estimators for probabilistic programs. Gradient inference rests on a formal reduction from a gradient estimation problem to a closely related probabilistic inference problem, whose solution can be differentiated to obtain a gradient estimator. This inference problem is obtained by applying two powerful statistical operations -- coupling and factorization -- to the input probabilistic program. Our reduction lets us leverage the rich toolkit of probabilistic inference algorithms to design novel gradient estimators that extend and improve upon existing methods. We introduce GradInf, a probabilistic programming system that facilitates the sound and automated implementation of gradient inference. GradInf is centered around programmable source-to-source transformations for coupling and factorizing higher-order probabilistic programs, whose soundness is proven in terms of a denotational semantics. Key to our development is the use of information-flow typing to allow random choices in a probabilistic program to be factored out and partially evaluated, which improves our ability to deploy sophisticated probabilistic inference algorithms. The resulting system offers practitioners a principled framework for designing gradient estimators. We apply GradInf to several challenging case studies, showing that it can express prominent gradient estimators from the literature and enables the construction of new state-of-the-art estimators that outperform the best existing baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑