arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.26160stat.MEcs.CEcs.LGcs.MSstat.CO
收藏

利用变分期望最大化拟合大型非线性混合效应模型

Fitting Large Nonlinear Mixed Effects Models Using Variational Expectation Maximization

PumasAI

Mohamed Tarek, Pedro Afonso

AI总结:

本文提出变分期望最大化算法用于拟合大型非线性混合效应模型,通过灵活的变分家族和反向模式自动微分,提升计算效率,展示其在处理大规模参数模型中的可扩展性。

摘要:

非线性混合效应模型(NLME)广泛用于药理学等领域分析分层和纵向数据。然而,随着参数和随机效应数量的增加,传统方法最大化边际似然变得计算成本高昂。本文探讨了变分期望最大化(VEM)算法,一种可扩展的替代方法。VEM最初出现在概率图模型中,后通过变分自编码器流行化。本文详细描述了VEM,将其与其他NLME拟合算法进行比较,并通过计算实验突出其可扩展性。使用Pumas统计软件,我们拟合了两个测试模型:1)标准华法林模型,2)具有15,410个群体参数和16个随机效应的DeepNLME Friberg模型。华法林模型被完全拟合以展示VEM的正确性,而DeepNLME Friberg模型仅进行有限次迭代以测量每次迭代的时间并展示VEM的可扩展性。

英文摘要:

Nonlinear Mixed Effects (NLME) models are widely used in pharmacometrics and related fields to analyze hierarchical and longitudinal data. However, as the number of parameters and random effects increases, traditional methods for maximizing the marginal likelihood become computationally expensive. This paper explores the Variational Expectation Maximization (VEM) algorithm, a scalable alternative for fitting NLME models. Originally introduced in the context of probabilistic graphical models and later popularized through variational autoencoders, VEM has not been extensively applied to NLME modeling. By leveraging flexible variational families and reverse-mode automatic differentiation, VEM can efficiently maximize the marginal likelihood, scaling to NLME models with over 15,000 population parameters. This work provides a detailed description of VEM, compares it to other NLME fitting algorithms, and highlights its scalability through computational experiments. Using the Pumas statistical software, we fit two test models: 1) a standard warfarin model, and 2) an unnecessarily over-parameterized DeepNLME Friberg model with 15,410 population parameters and 16 random effects. The warfarin model was fitted to completion to demonstrate the correctness of VEM, while the DeepNLME Friberg model instead demonstrates VEM's scalability on a toy but large model. VEM improves the log likelihood steadily over hundreds of iterations at a practical per-iteration cost, while FOCE fails to complete even one iteration within a day. The model is deliberately over-parameterized for its small dataset and over-fits it, so what this experiment establishes is that VEM optimizes the objective of a model of this size at a practical cost. Applying VEM to large models that are genuinely useful is left to future work.

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

↑