Sparse models are desirable for many applications across diverse domains as they can perform automatic variable selection, aid interpretability, and provide regularization. When fitting sparse models in a Bayesian framework, however, analytically obtaining a posterior distribution over the parameters of interest is intractable for all but the simplest cases. As a result practitioners must rely on either sampling algorithms such as Markov chain Monte Carlo or variational methods to obtain an approximate posterior. Mean field variational inference is a particularly simple and popular framework that is often amenable to analytically deriving closed-form parameter updates. When all distributions in the model are members of exponential families and are conditionally conjugate, optimization schemes can often be derived by hand. Yet, I show that using standard mean field variational inference can fail to produce sensible results for models with sparsity-inducing priors, such as the spike-and-slab. Fortunately, such pathological behavior can be remedied as I show that mixtures of exponential family distributions with non-overlapping support form an exponential family. In particular, any mixture of a diffuse exponential family and a point mass at zero to model sparsity forms an exponential family. Furthermore, specific choices of these distributions maintain conditional conjugacy. I use two applications to motivate these results: one from statistical genetics that has connections to generalized least squares with a spike-and-slab prior on the regression coefficients; and sparse probabilistic principal component analysis. The theoretical results presented here are broadly applicable beyond these two examples.
翻译:偏差模型对于不同领域的许多应用是可取的,因为它们可以进行自动变量选择、辅助解释和提供正规化。 但是,如果在巴伊西亚框架中适合稀疏模型时,分析性地获得利益参数的后方分布对于所有人来说都是棘手的,但最简单的情况除外。 因此,从业者必须依靠Markov 链条 Monte Carlo等抽样算法或变异方法来获得近似后方。 中场差异推论是一个特别简单和受欢迎的框架,通常可以用于分析地得出封闭式参数更新。 当模型中的所有分布都是指数式家庭的成员,并且是有条件的融合, 最优化计划往往可以由手动产生。 然而,我表明,使用标准平均的场外变异推推推法可能无法产生合理的结果, 比如, 峰值和板块。 幸运的是, 这种病理学行为可以被纠正, 因为我展示的指数式家庭分布的混合物, 并且非过度重叠式的参数更新。 特别是, 扩散指数式家族和点质量组合的混合, 在前点上, 将这些模型- 直位变的模型- 直系成一个直系为一个直系。