Fitting Multilevel Factor Models

Tetiana Parshakova, Trevor Hastie, Stephen Boyd
9/18/2024
3 citations
stat.MLcs.LGcs.MS

Official code: cvxgrp/multilevel_factor_model (5 stars, Jupyter Notebook, Apache-2.0, last commit 2025-08-06).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Fitting multilevel factor model

52Jupyter Notebook, PythonMar 29, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{parshakova2024fitting,
  title  = {Fitting Multilevel Factor Models},
  author = {Tetiana Parshakova and Trevor Hastie and Stephen Boyd},
  year   = {2024},
  eprint = {2409.12067},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.12067v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.12067.svg)](https://codeofpaper.com/paper/2409.12067)

Discussion