Pathfinder: Parallel quasi-Newton variational inference

被引:0
作者
Zhang, Lu [1 ]
Carpenter, Bob [2 ]
Gelman, Andrew [3 ]
Vehtari, Aki [4 ]
机构
[1] Univ Southern Calif, Div Biostat, Dept Populat & Publ Hlth Sci, Los Angeles, CA 90032 USA
[2] Flatiron Inst, Ctr Computat Math, 162 5th Ave, New York, NY 10010 USA
[3] Columbia Univ, Dept Stat & Polit Sci, New York, NY 10027 USA
[4] Aalto Univ, Dept Comp Sci, Aalto 00076, Finland
基金
美国国家科学基金会; 美国国家卫生研究院;
关键词
Variational inference; Hamiltonian Monte Carlo; quasi-Newton optimization; Laplace approximation; importance resampling; ALGORITHM; MATRICES;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We propose Pathfinder, a variational method for approximately sampling from differentiable probabil-ity densities. Starting from a random initialization, Pathfinder locates normal approximations to the target density along a quasi-Newton optimization path, with local covariance estimated using the in-verse Hessian estimates produced by the optimizer. Pathfinder returns draws from the approximation with the lowest estimated Kullback-Leibler (KL) divergence to the target distribution. We evaluate Pathfinder on a wide range of posterior distributions, demonstrating that its approximate draws are better than those from automatic differentiation variational inference (ADVI) and comparable to those produced by short chains of dynamic Hamiltonian Monte Carlo (HMC), as measured by 1-Wasserstein distance. Compared to ADVI and short dynamic HMC runs, Pathfinder requires one to two orders of magnitude fewer log density and gradient evaluations, with greater reductions for more challenging posteriors. Importance resampling over multiple runs of Pathfinder improves the diversity of approximate draws, reducing 1-Wasserstein distance further and providing a measure of robustness to optimization failures on plateaus, saddle points, or in minor modes. The Monte Carlo KL divergence estimates are embarrassingly parallelizable in the core Pathfinder algorithm, as are multiple runs in the resampling version, further increasing Pathfinder's speed advantage with multiple cores.
引用
收藏
页数:49
相关论文
共 64 条
[31]  
Kucukelbir A, 2017, J MACH LEARN RES, V18, P1
[32]  
Dhaka AK, 2021, Arxiv, DOI arXiv:2103.01085
[33]  
Magnusson Mans, 2021, posteriordb: A database of Bayesian posterior inference
[34]   Existence and uniqueness of monotone measure-preserving maps [J].
McCann, RJ .
DUKE MATHEMATICAL JOURNAL, 1995, 80 (02) :309-323
[35]  
Meng XL, 1996, STAT SINICA, V6, P831
[36]  
Mohamed S., 2019, arXiv
[37]   Metrics and barycenters for point pattern data [J].
Mueller, Raoul ;
Schuhmacher, Dominic ;
Mateu, Jorge .
STATISTICS AND COMPUTING, 2020, 30 (04) :953-972
[38]  
Neal RM, 2003, ANN STAT, V31, P705, DOI 10.1214/aos/1056562461
[39]  
NOCEDAL J, 1980, MATH COMPUT, V35, P773, DOI 10.1090/S0025-5718-1980-0572855-7
[40]  
Papaspiliopoulos O, 2003, BAYESIAN STATISTICS 7, P307