English

Fitting Multilevel Factor Models

Machine Learning 2025-08-26 v4 Machine Learning Mathematical Software Computation

Abstract

We examine a special case of the multilevel factor model, with covariance given by multilevel low rank (MLR) matrix~\cite{parshakova2023factor}. We develop a novel, fast implementation of the expectation-maximization algorithm, tailored for multilevel factor models, to maximize the likelihood of the observed data. This method accommodates any hierarchical structure and maintains linear time and storage complexities per iteration. This is achieved through a new efficient technique for computing the inverse of the positive definite MLR matrix. We show that the inverse of positive definite MLR matrix is also an MLR matrix with the same sparsity in factors, and we use the recursive Sherman-Morrison-Woodbury matrix identity to obtain the factors of the inverse. Additionally, we present an algorithm that computes the Cholesky factorization of an expanded matrix with linear time and space complexities, yielding the covariance matrix as its Schur complement. This paper is accompanied by an open-source package that implements the proposed methods.

Keywords

Cite

@article{arxiv.2409.12067,
  title  = {Fitting Multilevel Factor Models},
  author = {Tetiana Parshakova and Trevor Hastie and Stephen Boyd},
  journal= {arXiv preprint arXiv:2409.12067},
  year   = {2025}
}