Introduction
Longitudinal data, which tracks individuals over time, is ubiquitous in fields like healthcare and social sciences. However, modeling this data is notoriously difficult due to "multilevel correlation" (MC) structures—complex, irregular correlations that exist both within an individual over time (longitudinal) and across similar individuals (cluster).
Traditional statistical methods, such as Generalized Linear Mixed Models (GLMMs), often require manual specification of these correlation structures, which is impractical when the underlying relationships are unknown. While Gaussian Processes (GPs) offer a flexible alternative, they typically struggle to scale to large datasets and fail to capture complex MC structures without tedious manual kernel selection.
Methodology: L-DKGPR
To address these limitations, we introduce Longitudinal Deep Kernel Gaussian Process Regression (L-DKGPR). This framework combines the expressive power of deep neural networks with the probabilistic flexibility of GPs to automatically learn multilevel correlation structures.
Deep Additive Kernels
The core of L-DKGPR is a deep additive kernel. A neural network encoder maps high-dimensional input data into a lower-dimensional latent space. The model then applies an additive kernel split into two distinct components:
- Time-varying Kernel: Designed to capture individual-specific, longitudinal effects over time.
- Time-invariant Kernel: Designed to capture static, cluster-level effects among individuals.
Scalable Latent Space Inducing Points
Standard GPs suffer from $O(N^3)$ computational complexity. L-DKGPR overcomes this by placing inducing points in the low-dimensional latent space rather than the high-dimensional input space. This approach is highly efficient; empirical results show that a small number of points ($M \approx \log N$) is sufficient for high accuracy. Furthermore, by parameterizing these points in the latent space, we derive a closed-form Evidence Lower Bound (ELBO), enabling exact optimization and faster convergence compared to traditional sampling methods.
Experimental Results
We evaluated L-DKGPR against state-of-the-art GP baselines (KISSGP, ODVGP) and traditional statistical models (GLMM, GEE) across several real-world datasets, including TADPOLE (Alzheimer's prediction), SWAN (women's health), and GSS (social happiness).
Accuracy and Scalability
L-DKGPR consistently outperformed all baselines in predictive accuracy. On the TADPOLE dataset, it achieved an $R^2$ of 64.9%, significantly higher than the next best baseline. Crucially, L-DKGPR demonstrated superior scalability. While traditional longitudinal models like LGPR and GEE failed to execute on larger datasets like GSS (which contains over 1,500 features and nearly 60,000 records), L-DKGPR handled them efficiently, achieving a 56.9% $R^2$.
Key Insights
- Decomposition is Essential: Ablation studies revealed that removing the time-invariant (cluster) kernel leads to a massive drop in performance, confirming that explicitly modeling both time-varying and static effects is critical for longitudinal data.
- Latent Space Efficiency: The use of latent space inducing points allows the model to scale to massive datasets without sacrificing the expressive power of the GP.
- Exact Optimization: Solving the exact ELBO rather than approximating it via Monte Carlo sampling improved both the speed and stability of training.
Conclusion
L-DKGPR represents a significant advancement in longitudinal data modeling. By integrating deep learning with Gaussian Processes and optimizing in a latent space, it provides a scalable, automated, and highly accurate framework for uncovering complex patterns in time-series data. Future work will focus on providing deeper theoretical analysis of latent space inducing points and improving kernel search to avoid local maxima.
Summary updated