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.
Figures & tables
RBF Scenario
Low SNR
Medium SNR
High SNR
Method
Low Corr
High Corr
Low Corr
High Corr
Low Corr
High Corr
EC
0.239 (0.007)
0.184 (0.005)
0.042 (0.001)
0.043 (0.001)
0.012 (0.000)
0.011 (0.000)
RBF
0.213 (0.006)
0.139 (0.005)
0.040 (0.001)
0.029 (0.001)
0.011 (0.000)
0.008 (0.000)
Free
0.218 (0.006)
0.149 (0.005)
0.040 (0.001)
0.030 (0.001)
0.011 (0.000)
0.008 (0.000)
EVB
0.251 (0.007)
0.251 (0.008)
0.042 (0.001)
0.047 (0.002)
0.012 (0.000)
0.012 (0.000)
Table 1: RSE for complete data estimation
RBF Scenario
Low SNR
Medium SNR
High SNR
Method
Low Corr
High Corr
Low Corr
High Corr
Low Corr
High Corr
EC
0.280 (0.010)
0.212 (0.007)
0.051 (0.001)
0.049 (0.002)
0.013 (0.000)
0.013 (0.001)
RBF
0.249 (0.009)
0.161 (0.006)
0.048 (0.001)
0.033 (0.001)
0.013 (0.000)
0.009 (0.000)
Free
0.255 (0.009)
0.187 (0.009)
0.049 (0.001)
0.034 (0.001)
0.013 (0.000)
0.009 (0.000)
EVB
0.295 (0.010)
0.295 (0.008)
0.052 (0.001)
0.054 (0.002)
0.014 (0.000)
0.013 (0.001)
Table 2: RSE for entrywise missingness imputation
RBF Scenario
Low SNR
Medium SNR
High SNR
Method
Low Corr
High Corr
Low Corr
High Corr
Low Corr
High Corr
EC
0.880 (0.071)
0.352 (0.037)
0.843 (0.057)
0.291 (0.052)
0.847 (0.022)
0.282 (0.038)
RBF
0.627 (0.061)
0.234 (0.033)
0.462 (0.050)
0.083 (0.014)
0.449 (0.063)
0.042 (0.009)
Free
0.670 (0.066)
0.264 (0.042)
0.476 (0.050)
0.089 (0.015)
0.462 (0.068)
0.044 (0.008)
EVB
1.000 (0.000)
1.000 (0.000)
1.000 (0.000)
1.000 (0.000)
1.000 (0.000)
1.000 (0.000)
Table 3: RSE of blockwise imputation for all methods under varying simulated conditions, with the best performing method highlighted in bold font.
Figure 1: Analysis results for the IFN β data application: Imputation accuracy for all methods from cross validation.
Figure 2: Analysis results for the IFN β data application.
Figure 3: Gene set enrichment analysis for loadings of Component 7 in the IFN β factorization
Figure S1: Visit times for 120 subjects in one draw from each design.
Design
η
α
EC irregular
RBF irregular
EC binned
Free binned
RBF binned
Jittered
1
3
0.012
0.009
0.012
0.010
0.009
1
1
0.012
0.012
0.012
0.012
0.012
0.5
3
0.044
0.032
0.045
0.034
0.033
0.5
1
0.047
0.045
0.047
0.048
0.046
0.2
3
0.200
0.159
0.212
0.166
0.161
0.2
1
0.251
0.232
0.255
0.248
0.238
Table S1: Mean RSE at the observed visits.
Figure S2: RSE for data generated from the CP tensor model.
Figure S3: RSE for data with two static and two temporal factors.
Figure S4: RSE with centered gamma loadings (faded) and Gaussian loadings (solid). Rows give the true covariance of the scores.
Figure S5: Median computing time per fit (100 replicates) as each dimension increases, with the other dimensions fixed at 1000 variables, 200 subjects, 5 timepoints and rank 3. Both axes are on a log scale.
Number of components
12
13
14
15
16
17
Count
10
191
521
253
24
1
Matched position
2
3
4
5
6
7
8
9
10
11
13
Count
3
36
46
104
173
407
162
40
16
9
4
Table S4: Bootstrap results for the IFN β data ( B=1000 ): number of components selected, and position of the component matched to full-data component 7.
Matrix factorization represents data or model weights as products of lower-dimensional matrices for compression, prediction, and latent-structure discovery.
We propose the Identifiable Variational Dynamic Factor Model (iVDFM) for multivariate time series. The model combines variational inference with partial identifiability guarantees up to a known ambiguity class. Innovations follow a conditional exponential-family prior over observed auxiliary context and regime embeddings. Linear diagonal dynamics map innovations to factors and preserve that class, so factors are partially identifiable up to permutation and component-wise affine maps. We train by maximizing the ELBO and estimate uncertainty in both latent trajectories and forecasts. Under explicit assumptions, we prove partial identifiability up to the stated class and provide the full proof in the appendix. We evaluate factor recovery on synthetic DGPs, intervention behavior on synthetic SCMs, and forecasting on real benchmarks with CRPS and MSE.
The manifold hypothesis posits that high-dimensional data are concentrated near a low-dimensional embedded manifold. Recent advances in mixture variational autoencoders (VAEs) provide a powerful tool for extracting such underlying structure in a faithful manner. The resulting geometric structure naturally introduces local and global relationships among variables, thereby providing a systematic way of imputing missing data. We propose a model-based imputation method that enables sampling from p(xmis∣xobs) via a sampling-importance-resampling (SIR) procedure, which can be further augmented with a joint diffusion model in the latent space. Our method imputes missing data while respecting the underlying geometry, achieves competitive performance compared to state-of-the-art procedures, quantifies uncertainty in the imputations, and is model-based, thereby enabling on-the-fly imputation without rerunning the entire procedure.
Time-series analysis is often affected by missing data, a common problem across several fields, including healthcare and environmental monitoring. Multiple Imputation by Chained Equations (MICE) has been prominent for imputing missing values through "fully conditional specification". We extend MICE using the Bayesian framework (tBayes-MICE), utilising Bayesian inference to impute missing values via Markov Chain Monte Carlo (MCMC) sampling to account for uncertainty in MICE model parameters and imputed values. We also include temporally informed initialisation and time-lagged features in the model to respect the sequential nature of time-series data. We evaluate the tBayes-MICE method using two real-world datasets (AirQuality and PhysioNet), and using both the Random Walk Metropolis (RWM) and the Metropolis-Adjusted Langevin Algorithm (MALA) samplers. Our results demonstrate that tBayes-MICE reduces imputation errors relative to the baseline methods over all variables and accounts for uncertainty in the imputation process, thereby providing a more accurate measure of imputation error. We also found that MALA mixed better than RWM across most variables, achieving comparable accuracy while providing more consistent posterior exploration. Overall, these findings suggest that the tBayes-MICE framework represents a practical and efficient approach to time-series imputation, balancing increased accuracy with meaningful quantification of uncertainty in various environmental and clinical settings.
Amuche Ibenegbu, Pierre Lafaye de Micheaux, Rohitash Chandra
Transitional Artificial Intelligence Research Group School of Mathematics and Statistics UNSW Sydney Australia · School of Mathematics and Statistics UNSW Sydney Australia