Fitting Large Nonlinear Mixed Effects Models Using Variational Expectation Maximization
Mohamed Tarek, Pedro Afonso

TL;DR
This paper introduces the Variational Expectation Maximization algorithm as a scalable method for fitting large nonlinear mixed effects models, demonstrating its efficiency and accuracy through computational experiments.
Contribution
It applies VEM to NLME models, showing significant scalability and efficiency improvements over traditional methods, especially for models with over 15,000 parameters.
Findings
VEM can fit NLME models with over 15,000 parameters efficiently.
VEM provides accurate results comparable to traditional methods.
Demonstrated scalability with the DeepNLME Friberg model.
Abstract
Nonlinear Mixed Effects models (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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
