Empirical Variational Bayes Factorization for Longitudinal Matrix Data

Jiakun Li, Eric F. LockarXiv 2026

TL;DR

This paper introduces a flexible Empirical Variational Bayes (EVB) framework for factorizing high-dimensional longitudinal data. By explicitly modeling temporal correlations and allowing for automatic rank selection, the method provides a robust way to uncover latent patterns and impute missing values in complex biomedical datasets.

What Problem Does This Paper Address?

In modern biomedical research, scientists often collect "omics" data (like gene expression) from multiple individuals over several timepoints. This results in longitudinal matrix data. Analyzing this data is notoriously difficult for three main reasons:

  1. High Dimensionality: There are often thousands of variables but relatively few subjects.
  2. Missing Data: Subjects might miss a visit or drop out of a study entirely, leading to "blockwise" missingness.
  3. Irregular Timing: Timepoints are rarely perfectly aligned across all individuals.

Existing tools like standard matrix factorization often ignore the temporal relationship between visits, while tensor-based methods usually require perfectly aligned timepoints. There is a clear need for a method that "borrows strength" across both individuals and time to fill in the gaps and find meaningful biological signals.

Methods

The authors propose a rank-$R$ factorization model where the data at time $t$ is decomposed as $Y_t = UV_t^T + E_t$. Here, $U$ represents the "loadings" (stable patterns across variables) and $V_t$ represents the "scores" (how much of each pattern an individual has at time $t$).

The core innovation lies in the Empirical Variational Bayes (EVB) framework:

  • Temporal Priors: Unlike standard models that treat each timepoint as independent, this method places a joint normal prior on the scores across time. This allows the model to capture specific temporal structures, such as smooth changes (using a Radial Basis Function) or constant subject effects.
  • EBRPM: They develop a novel Empirical Bayes Random Process Model that allows for the efficient, unified estimation of both the latent factors and the hyperparameters (like the noise level and correlation strength).
  • Automatic Rank Selection: The model uses an "Automatic Relevance Determination" prior. In simple terms, the algorithm starts with a high number of potential factors and "prunes" away the ones that don't contribute enough to the model's fit, effectively choosing the optimal rank automatically.
  • Algorithm: The estimation is handled via a Coordinate Ascent approach.
The Coordinate Ascent algorithm for rank-1 model estimation.

Datasets

The researchers evaluated their method using:

  • Extensive Simulations: They generated synthetic datasets with various noise levels (SNR) and temporal structures (Exchangeable, RBF, and "Free" covariance) to test signal recovery and imputation accuracy.
  • MS Gene Time-Course Data: A real-world dataset consisting of 76 gene expression levels measured in 53 Multiple Sclerosis (MS) patients over 7 timepoints (2 years). This dataset was particularly challenging due to a 10.5% missing data rate.

Key Insights and Ideas

  • The Power of Correlation: Modeling temporal correlation significantly improves the ability to recover signals in low signal-to-noise environments. If the data is noisy, knowing that "tomorrow's value should be similar to today's" provides the necessary constraint to find the true pattern.
  • "Free" Covariance as a Robust Default: The authors found that a "Free" covariance structure—which doesn't assume a specific functional form for time—is remarkably robust. It can capture complex patterns even when the true underlying temporal process is misspecified.
  • Handling Blockwise Missingness: Because the model learns a common prior across individuals, it can accurately impute data for a subject who missed an entire visit by looking at their other timepoints and comparing them to the population-wide patterns.

Key Results

  • Superior Imputation: In simulations of "blockwise" missingness, the proposed EVB method outperformed established competitors like MissForest and BAMITA (a Bayesian tensor method). In high-correlation scenarios, it recovered roughly 70% of the true structure even at very low signal-to-noise ratios.
  • Biological Interpretability: When applied to the MS dataset, the model identified 14 latent components. One specific component (Component 7) was highly correlated with whether a patient was a "good" or "poor" responder to interferon-beta treatment.
  • Pathway Discovery: Gene set enrichment analysis of Component 7 revealed a link to the TGF-beta signaling pathway, which is consistent with existing literature on MS treatment response.

Limitations and Future Work

  • Uncertainty Quantification: Like most Variational Bayes methods, this approach tends to underestimate the variance of the posterior distribution (it provides "point-ish" estimates rather than full probability distributions). The authors suggest using their results as a fast initialization for more computationally expensive MCMC methods.
  • Multimodal Integration: The current model focuses on a single data source. A promising future direction is extending this to "multi-omics" settings where, for example, gene expression and imaging data are collected simultaneously over time.
  • Non-Random Missingness: The model currently assumes data is "Missing at Random." Adapting the framework to handle non-random missingness (e.g., patients dropping out specifically because their disease is progressing) remains an open challenge.

Summary updated

Abstract

Collecting high-dimensional data over time for multiple individuals is increasingly common in biomedical research, particularly in studies of disease progression or molecular time-course experiments. Often data are missing or the timepoints are irregularly spaced across individuals. There is a lack of flexible methodology to explore latent patterns of change over time and account for missing data. We propose an empirical variational Bayes (EVB) approach to factorize high-dimensional longitudinal data, in which the underlying factors have temporal correlation over time. The EVB approach is computationally efficient and accommodates flexible covariance structures over time with automatic determination of all hyper-parameters (including the underlying rank, i.e., number of factors). Simulations demonstrate that the approach captures the underlying signal more precisely than other strategies, and performs well with respect to missing data imputation under different scenarios. An application to a gene time-course data for multiple sclerosis treatment provides a factorization with interpretable components over time and improved imputation accuracy for missing data.
BibTeX
@misc{li2026empirical,
  author = {Jiakun Li and Eric F. Lock},
  title = {{Empirical Variational Bayes Factorization for Longitudinal Matrix Data}},
  year = {2026},
  eprint = {2611.25065},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.25065},
}
Figure