Analysis of Relaxation Methods for Feature Selection in Mixed Effects Models

Aleksandr Y. Aravkin, James Burke, Aleksei Sholokhov, Peng ZhengarXiv 2022 · DOI · arXiv

TL;DR

This paper introduces MSR3 and MSR3-fast, two new algorithms for selecting the most important variables in Linear Mixed-Effects (LME) models. By using a "relaxation" technique to decouple the complex data-fitting math from the sparsity penalties, the authors achieve massive speedups (up to 300x) over standard methods while maintaining high accuracy.

What Problem Does This Paper Address?

Linear Mixed-Effects (LME) models are the gold standard for analyzing "clustered" data—think of a medical study where patients are grouped by clinic, or a school study where students are grouped by classroom. These models separate fixed effects (the overall population trends) from random effects (the variation unique to each group).

The challenge arises when you have too many potential variables and need to pick the most relevant ones (feature selection). In standard linear regression, we have well-known tools like the Lasso. However, in LME models, the math becomes "messy" and nonlinear because we are simultaneously estimating means and variances. This nonlinearity makes traditional sparse optimization algorithms slow, unstable, or theoretically unsupported.

Methods

The authors adapt a framework called Sparse Relaxed Regularized Regression (SR3) to the LME world.

  1. Relaxation/Decoupling: Instead of trying to solve a single, difficult non-smooth equation, they introduce auxiliary variables. Essentially, they create a "tethered" version of the problem where one set of variables handles the complex LME likelihood and another handles the sparsity penalty (like $L_1$ or $L_0$). They are kept close to each other via a quadratic penalty (the "relaxation").
  2. Log-Barrier Smoothing: To ensure variance parameters stay positive, they incorporate a log-barrier term ($\mu$).
  3. MSR3-fast (The Hybrid Approach): This is the paper's "secret sauce." It uses a high-speed Newton-type method to solve the smooth part of the problem and a simple "proximal operator" (like thresholding) for the sparse part.
  4. Theoretical Rigor: Unlike many heuristic approaches, the authors provide formal proofs for the consistency of their estimates and the convergence of their algorithms.

The authors have released their work as an open-source Python package: pysr3.

Datasets

The researchers evaluated their methods using realistic simulated datasets designed to mimic complex real-world studies:

  • Structure: 20 fixed effects and 20 random effects.
  • Sparsity: Only the first 10 variables were actually important; the rest were noise.
  • Clustering: 9 groups of varying sizes (ranging from 3 to 18 observations per group) to test how the model handles unbalanced data.
  • Repetition: Each experiment was repeated 100 times to ensure the results weren't just a fluke.

Key Insights and Ideas

  • Global vs. Local Information: Standard proximal gradient methods only look at the "local" slope of the function. The MSR3 approach uses an "optimal value function" that captures more global information about the LME structure, leading to better convergence.
  • The Power of Second-Order Info: By decoupling the problem, the authors can use Newton’s method (which uses curvature information) on the smooth part. This is why MSR3-fast is so much quicker than first-order methods.
  • Robustness to Hyperparameters: The performance is surprisingly stable across different values of the coupling parameter ($\eta$), making it easier for practitioners to use without endless tuning.

Key Results

The results show that the hybrid "fast" algorithm is a game-changer for efficiency:

  • Speed: In tests using an $L_0$ penalty (the "gold standard" for true sparsity), the standard Proximal Gradient Descent (PGD) took ~41 seconds. MSR3-fast finished in just 0.13 seconds—a roughly 320x speedup.
  • Accuracy: Across various penalties ($L_0, L_1$, SCAD, Adaptive Lasso), MSR3-fast consistently matched or exceeded the accuracy of standard methods in identifying the correct 10 features.
  • Non-convexity is no longer a dealbreaker: Even with non-convex penalties like $L_0$ and SCAD, which usually make optimization a nightmare, the MSR3 framework remained stable and accurate.

Limitations and Future Work

  • Covariance Structure: The current implementation primarily focuses on diagonal covariance matrices for random effects. While the theory is broader, extending the software to handle more complex, correlated random effect structures is a logical next step.
  • Parameter Tuning: While robust, the method still requires choosing the relaxation parameter $\eta$. The authors suggest using the Bayesian Information Criterion (BIC) to find the best $\eta$, but this adds a layer of computational overhead.
  • Non-linear Mixed Effects: The paper focuses on Linear Mixed-Effects. Extending this relaxation framework to fully non-linear mixed-effects models (common in pharmacokinetics) remains an open challenge.

Summary updated

Abstract

Linear Mixed-Effects (LME) models are a fundamental tool for modeling clustered data, including cohort studies, longitudinal data analysis, and meta-analysis. The design and analysis of variable selection methods for LMEs is considerably more difficult than for linear regression because LME models are nonlinear. The approach considered here is motivated by a recent method for sparse relaxed regularized regression (SR3) for variable selection in the context of linear regression. The theoretical underpinnings for the proposed extension to LMEs are developed, including consistency results, variational properties, implementability of optimization methods, and convergence results. In particular we provide convergence analyses for a basic implementation of SR3 for LME (called MSR3) and an accelerated hybrid algorithm (called MSR3-fast). Numerical results show the utility and speed of these algorithms on realistic simulated datasets. The numerical implementations are available in an open source python package pysr3.
BibTeX
@misc{aravkin2022analysis,
  author = {Aleksandr Y. Aravkin and James Burke and Aleksei Sholokhov and Peng Zheng},
  title = {{Analysis of Relaxation Methods for Feature Selection in Mixed Effects Models}},
  year = {2022},
  eprint = {2209.10575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.10575},
}
Figure