Skip to main content
QUICK REVIEW

[Paper Review] Fast Simultaneous Training of Generalized Linear Models (FaSTGLZ)

Bryan Conroy, Jennifer M. Walz|arXiv (Cornell University)|Jul 31, 2013
Gaussian Processes and Bayesian InferenceComputer Science19 references5 citations
TL;DR

FaSTGLZ is a computationally efficient algorithm for simultaneously training sparse generalized linear models with elastic net regularization across multiple related problems—such as bootstrapping, cross-validation, or permutation testing—by exploiting shared structure through a simultaneous Newton solver and low-dimensional variable splitting. It achieves significant speedups and memory savings, especially in high-dimensional settings (p ≫ n), enabling thousands of models to be trained on standard hardware with minimal memory overhead.

ABSTRACT

We present an efficient algorithm for simultaneously training sparse generalized linear models across many related problems, which may arise from bootstrapping, cross-validation and nonparametric permutation testing. Our approach leverages the redundancies across problems to obtain significant computational improvements relative to solving the problems sequentially by a conventional algorithm. We demonstrate our fast simultaneous training of generalized linear models (FaSTGLZ) algorithm on a number of real-world datasets, and we run otherwise computationally intensive bootstrapping and permutation test analyses that are typically necessary for obtaining statistically rigorous classification results and meaningful interpretation. Code is freely available at http://liinc.bme.columbia.edu/fastglz.

Motivation & Objective

  • To address the inefficiency of sequentially training thousands of sparse generalized linear models during model selection, validation, and significance testing.
  • To exploit redundancies across related optimization problems to reduce computational and memory overhead.
  • To enable large-scale statistical analyses—like bootstrapping and permutation testing—on high-dimensional datasets (p ≫ n) using standard hardware.
  • To develop a memory-efficient algorithm that scales linearly with the number of samples (n), not features (p), by leveraging active set screening.
  • To provide a general-purpose framework compatible with various loss functions and regularizers, including group lasso.

Proposed method

  • Uses the alternating direction method of multipliers (ADMM) to decompose the sparse GLM optimization into two subproblems: smooth minimization and soft-thresholding.
  • Introduces a simultaneous Newton solver that inverts a single template Hessian matrix across all problems, reducing repeated matrix inversions.
  • Projects the optimization onto a low-dimensional subspace (span of Q) common to all problems, minimizing computational overhead.
  • Employs ℓ₁-regularized screening rules (Tibshirani et al., 2012) to estimate active sets per problem, reducing memory usage.
  • Bundles iterative steps into a single linear algebra expression, minimizing memory access and loop overhead.
  • Derives a change of basis using Q and Q⊥ to solve the linear system efficiently, ensuring convergence via positive definiteness of ZRₖZᵀ + 2ρI.

Experimental results

Research questions

  • RQ1Can simultaneous training of multiple sparse GLMs across related problems (e.g., bootstrapped datasets) be made significantly faster than sequential training?
  • RQ2How can shared structure across problems be exploited to reduce both computation time and memory usage in high-dimensional settings (p ≫ n)?
  • RQ3Can a single Hessian matrix inversion be reused across multiple models to accelerate optimization without sacrificing convergence?
  • RQ4To what extent can active set screening reduce memory overhead in large-scale sparse regression?
  • RQ5Is the proposed algorithm scalable to thousands of models on standard hardware, particularly when p ≫ n?

Key findings

  • FaSTGLZ achieves substantial computational speedups by solving multiple sparse GLM problems simultaneously, leveraging shared structure across problems.
  • The algorithm reduces memory usage per problem to grow linearly with n, independent of p, enabling high-dimensional analysis on standard hardware.
  • The simultaneous Newton solver requires only one Hessian matrix inversion across all problems, drastically cutting down on repeated matrix operations.
  • The method supports thousands of models trained simultaneously on a 4GB RAM machine, even with tens of thousands of features.
  • The algorithm maintains convergence guarantees through proper regularization and positive definiteness of the Hessian update, ensuring stable optimization.
  • Empirical validation on real-world datasets confirms that FaSTGLZ enables otherwise infeasible permutation and bootstrapping analyses with rigorous statistical significance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.