Latent Class Mixed Model Variational Autoencoders for Scalable Phenotyping of Health Trajectories
Organizations: Inria, Université Paris Cité, Inserm, HeKA, 75015 Paris, France · Withings, 92130 Issy-les-Moulineaux, France · Université Paris Cité, AP-HP, Inria, Inserm, HeKA, 75015 Paris, France
Abstract
Clustering longitudinal health trajectories requires handling high-dimensional measurements, irregular visit times, and subject-level heterogeneity while retaining clinically interpretable structure. Existing methods address this only partially: latent-class mixed models yield an interpretable, covariate-driven partition but do not scale past a handful of markers, while deep time-series clustering scales at the cost of that structure and generally requires a common time grid. We introduce the Latent Class Mixed Model Variational Autoencoder (LCMM-VAE), a deep generative model whose latent prior is a mixture of class-specific linear mixed models, so that each subject's latent trajectory decomposes into its class mean trajectory and a subject-specific deviation. We derive a variational EM algorithm whose class responsibilities, random effects and mixed-model parameters are updated in closed form, and provide identifiability guarantees under stated conditions. Experiments on simulated and real longitudinal cohorts show that LCMM-VAE returns a partition, a reconstruction of incomplete trajectories and interpretable class-level dynamics at once, while remaining competitive with classical and deep baselines.
Figures & tables
| Simulation (MSE ) | Gait (MSE ) | ||||
| Method | MCAR | MAR | mcar | channel | s |
| No learned model | |||||
| Mean fill | 0.6 | ||||
| LOCF | 0.5 | ||||
| Linear interp. | 0.4 | ||||
| Reconstruction, no partition or post hoc | |||||
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning |
|---|---|
| , | subjects; visits of subject |
| , , , , | markers, latent dim., dim., dim., classes |
| , | observation at visit ; its observation mask |
| latent state at visit | |
| , | fixed- and random-effect design rows |
| the same, stacked by visit for subject |
| ARI | MCC | |||
| Decoder | MCAR | MAR | MCAR | MAR |
| Unequal proportions ( ) | ||||
| ELU (ours) | ||||
| tanh | ||||
| LeakyReLU | ||||
| leaky hard-tanh | ||||
| Simulation | Gait | PhysioNet | |
| / / | / / | / / | / / |
| B-splines | B-splines | B-splines | |
| , | none | none | |
| encoder widths | |||
| pretraining | epochs | epochs | epochs |
| learning rate |
| Simulation | Gait | ||||
| Method | MCAR | MAR | complete | mcar | channel |
| -means (B-spline) | n.s. | n.s. | |||
| GMM-diag (B-spline) | n.s. | ||||
| FPCA -means | n.s. | ||||
| -means (flattened panel) | n.s. | ||||
| -Shape | n.s. | ||||
| Simulation | Gait | PhysioNet | |||
| Method | MCAR | MAR | mcar | channel | AUROC |
| Mean fill | |||||
| LOCF | |||||
| Linear interp. | |||||
| B-spline fit (two-stage) | – | – | – | – | |
| VaDER | – | – | – | – | n.s. |
| MCAR | MAR | |||
| Method | ||||
| -means (B-spline) | ||||
| GMM-diag (B-spline) | ||||
| FPCA -means | ||||
| -means (flattened panel) | ||||
| -Shape | ||||
| mcar | channel | |||||||
| Method | in | complete | ||||||
| -means (B-spline) | n | |||||||
| GMM-diag (B-spline) | n | |||||||
| FPCA -means | n | |||||||
| -means (flattened panel) | i | |||||||
| -Shape | i | |||||||
| mcar | channel | |||||
| Method | ||||||
| Mean fill | ||||||
| LOCF | ||||||
| Linear interp. | ||||||
| SAITS | ||||||
| BRITS | ||||||
| MCAR | MAR | |||
| Method | ||||
| IDEC | ||||
| VaDE | ||||
| VaDER | ||||
| GP-VAE -means | ||||
| LCMM-VAE ( , ablation) | ||||
| MCAR | BIC | |||||
|---|---|---|---|---|---|---|
| ICL | ||||||
| MAR | BIC | |||||
| ICL |
| Method | AUROC | s |
| Mean fill | 0.1 | |
| LOCF | 2.0 | |
| Linear interp. | 1.4 | |
| B-spline fit (two-stage) | 1.2 | |
| VaDER | 286 | |
| CRLI | 8500 |
| A | B | C | D | all | ||
| stays | 1201 | 1195 | 948 | 653 | 3997 | |
| age (years) | 0.001 | |||||
| male (%) | 56.3 | 55.5 | 54.0 | 57.6 | 55.7 | 0.52 |
| ICU: coronary care (%) | 21 | 14 | 13 | 9 | 15 | 0.001 |
| ICU: cardiac-surgery recovery (%) | 13 | 44 | 17 | 4 | 22 | |
| ICU: medical (%) | 30 | 27 | 44 | 40 | 34 |
| Accepts | Models | Properties | Yields | ||||||
| Method | Partition | Irregular times | High-dim. | Covariates | Random effects | Generative | Identifiable | Imputation | Any |
| Two-stage functional: per-subject splines, then clustering (class means only) | |||||||||
| -means (B-spline) ( Abraham et al., 2003 ) | ✓ | ✓ | ✗ | ✗ | ✗ | – | ✓ | ✓ | |
| GMM-diag (B-spline) | ✓ | ✓ | ✓ | ✗ | ✗ | – | ✓ | ✓ | |
| FPCA -means ( Ramsay and Silverman, 2005 ) | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | – | ✓ | ✓ |
| Partition only | |||||||||
Latent Variable Models
Latent variable models infer hidden factors, classes, or states from observed data to explain structure, uncertainty, and variation.
See all 166 papers