[Paper Review] Expectation-maximization for logistic regression
This paper introduces a novel expectation-maximization (EM) algorithm for logistic regression that leverages the Polya-Gamma latent variable representation to enable efficient posterior inference. By framing the logistic likelihood as a scale mixture of normals through latent Polya-Gamma variables, the method achieves convergence to the posterior mode and establishes a formal connection with variational Bayes, while enabling robust, second-order online learning with provable convergence and support for sparsity-inducing priors.
We present a family of expectation-maximization (EM) algorithms for binary and negative-binomial logistic regression, drawing a sharp connection with the variational-Bayes algorithm of Jaakkola and Jordan (2000). Indeed, our results allow a version of this variational-Bayes approach to be re-interpreted as a true EM algorithm. We study several interesting features of the algorithm, and of this previously unrecognized connection with variational Bayes. We also generalize the approach to sparsity-promoting priors, and to an online method whose convergence properties are easily established. This latter method compares favorably with stochastic-gradient descent in situations with marked collinearity.
Motivation & Objective
- To develop a principled EM algorithm for binary and negative-binomial logistic regression with guaranteed convergence.
- To clarify the previously unrecognized connection between EM and variational Bayes in the context of logistic regression.
- To extend the method to online learning and sparsity-promoting priors while preserving convergence properties.
- To provide a robust, second-order alternative to stochastic gradient descent in high-collinearity settings.
- To offer a posterior approximation with meaningful uncertainty quantification, unlike point estimates from first-order methods.
Proposed method
- The method uses a latent variable representation where the logistic likelihood is expressed as a scale mixture of normals via Polya-Gamma distributed latent variables.
- The EM algorithm iterates between an E-step, which computes the posterior mean of the Polya-Gamma latent variables using current parameter estimates, and an M-step, which updates the regression coefficients via weighted least squares.
- The working parameters ωt in the M-step are computed as ωt = mt/(2ψt) tanh(ψt/2), forming a diagonal precision matrix for the normal approximation.
- The algorithm is derived from the exact EM framework, with the Polya-Gamma distribution providing a valid data-augmentation scheme for the logistic likelihood.
- An online variant is developed using Polyak-Ruppert averaging, ensuring convergence under mild conditions and enabling efficient large-scale learning.
- Sparsity is incorporated via heavy-tailed priors (e.g., Laplace or horseshoe), which are naturally compatible with the EM framework and maintain convergence.
Experimental results
Research questions
- RQ1Can an exact EM algorithm be constructed for logistic regression using the Polya-Gameron representation, and does it guarantee convergence to the posterior mode?
- RQ2How does the proposed EM algorithm relate to variational Bayes, and why do they yield identical fixed points despite different derivations?
- RQ3Can the EM framework be extended to online learning with provable convergence and robustness to learning rate schedules?
- RQ4Does the online EM outperform stochastic gradient descent in high-collinearity scenarios with limited computational budgets?
- RQ5How well can the method incorporate non-convex sparsity-inducing priors while maintaining convergence and uncertainty quantification?
Key findings
- The EM algorithm converges to the posterior mode due to the ascent property of EM and the log-concavity of the posterior distribution.
- The method establishes a formal equivalence between the EM algorithm and the variational-Bayes approach of [1], showing that the same working parameters ωt emerge via different derivations.
- In a high-collinearity simulation with 100,000 observations and 250 predictors, online EM outperformed stochastic gradient descent in convergence speed and stability despite similar computational time.
- The online EM method is robust to learning rate decay schedules, unlike stochastic gradient descent, which is known to be highly sensitive to such choices.
- The method naturally supports non-convex sparsity-inducing priors (e.g., horseshoe), which are difficult to combine with stochastic gradient descent.
- The posterior approximation from online EM provides error bars that are more meaningful than point estimates and comparable in quality to those from variational Bayes, but with a consistency guarantee.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.