Variational inference (VI) has become a widely used approach for scalable Bayesian inference, but its performance strongly depends on the flexibility of the chosen variational family. In this work, we propose a novel variational family that combines wavelet-based representations for marginal posterior densities with copula functions to model dependence structures. The marginal distributions are constructed using coefficients from the discrete wavelet transform, providing a flexible and adaptive framework capable of capturing complex features such as asymmetry. The joint distribution is then obtained through a copula, allowing for explicit modeling of dependence among parameters, including both independence and Gaussian copula structures. We develop an efficient estimation procedure based on Monte Carlo approximations of the evidence lower bound (ELBO) and automatic differentiation, enabling scalable optimization using gradient-based methods. Through extensive simulation studies, including logistic regression, sparse linear models, and hierarchical models, we demonstrate that the proposed approach achieves posterior mean estimates comparable to Markov chain Monte Carlo (MCMC) methods, while providing improved uncertainty quantification relative to standard variational approaches. Applications to hierarchical logistic regression and Bayesian conditional transformation models further illustrate the practical advantages of the method in complex, high dimensional settings. The proposed wavelet copula variational family offers a flexible and computationally efficient alternative for Bayesian inference.
有效的通用或“黑盒”变分推断的关键是选择平衡精度和速度的目标密度的近似值。Copula模型是很有前途的选择,但对于某些选择,近似值的校准可能很慢。Smith et al.(2020)建议使用易于处理和可扩展的“隐式copula”模型,这些模型是通过对目标参数进行逐元素变换而形成的。我们提出了一个调整这些变换,使近似不变的目标密度的规模和位置。我们还展示了椭圆Copula的子类如何具有生成表示,可以轻松应用重新参数化技巧和高效的一阶优化。我们使用两个统计模型作为例子来演示估计方法。第一种是混合效应逻辑斯谛回归,第二种是正则化相关矩阵。对于后者,标准的马尔可夫链蒙特卡罗估计方法可能是缓慢或难以实现的,但我们提出的变分方法提供了一个有效的和可扩展的估计。我们通过估计1917年至2018年美国各州收入不平等的正则化高斯copula模型来说明。在线附录和MATLAB代码来实现该方法可作为补充材料。
Athens University of Economics and Business(雅典经济与商业大学);The Alan Turing Institute(艾伦·图灵研究所);École normale supérieure Paris-Saclay(巴黎-萨克雷高等师范学校);CNRS(法国国家科学研究中心);Université Paris-Saclay(巴黎-萨克雷大学)
Oslo Centre for Biostatistics and Epidemiology (OCBE), University of Oslo, Norway(奥斯陆生物统计与流行病学中心(OCBE),奥斯陆大学,挪威);Department of Mathematics, University of Oslo, Norway(奥斯陆大学数学系,挪威);Norwegian Computing Center, Oslo, Norway(挪威计算中心,奥斯陆,挪威);Integreat - Norwegian Centre for Knowledge-driven Machine Learning, Oslo, Norway(Integreat—挪威知识驱动机器学习中心,奥斯陆,挪威);Technical University of Munich, Germany(慕尼黑技术大学,德国);Munich Data Science Institute, Germany(慕尼黑数据科学研究所,德国)
Institute of Physics, Chinese Academy of Sciences(中国科学院物理研究所);University of Chinese Academy of Sciences(中国科学院大学);Songshan Lake Materials Laboratory(松山湖材料实验室)