arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.24079cs.LGstat.ML
收藏

边缘化线性混合效应模型的哈密顿蒙特卡洛推断

Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects Models

Jinlin Lai, Justin Domke, Daniel Sheldon

AI总结:

针对线性混合效应模型贝叶斯推断效率低、手动边缘化随机效应困难的问题,提出快速边缘化算法,用线性代数将HMC中的三次运算降至线性,证明其普遍有效且在多类模型尤其认知科学模型中提升显著。

摘要:

线性混合效应模型(LMMs)中的贝叶斯推理具有挑战性,通常需要马尔可夫链蒙特卡洛(MCMC)等高级采样技术。常见方法是用概率编程语言编写模型,再通过哈密顿蒙特卡洛(HMC)采样。然而用户可通过多种方式变换模型,会不同程度地影响推断效率。尤其是对部分变量边缘化可大幅提升推断效果,但用户很难手动完成。我们提出一种算法,可轻松对LMMs中的随机效应进行边缘化。朴素方法会在HMC这类推断算法中引入三次时间复杂度的运算,而我们利用快速线性代数技术将运行时间降至线性。我们证明边缘化在适用时总能带来增益,并展示了其在多种模型(尤其是认知科学领域的模型)中的性能提升。

英文摘要:

Bayesian reasoning in linear mixed-effects models (LMMs) is challenging and often requires advanced sampling techniques like Markov chain Monte Carlo (MCMC). A common approach is to write the model in a probabilistic programming language and then sample via Hamiltonian Monte Carlo (HMC). However, there are many ways a user can transform a model that make inference more or less efficient. In particular, marginalizing some variables can greatly improve inference but is difficult for users to do manually. We develop an algorithm to easily marginalize random effects in LMMs. A naive approach introduces cubic time operations within an inference algorithm like HMC, but we reduce the running time to linear using fast linear algebra techniques. We show that marginalization is always beneficial when applicable and highlight improvements in various models, especially ones from cognitive sciences.

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

↑