Longitudinal LASSO: Jointly Learning Features and Temporal Contingency for Outcome Prediction

Tingyang Xu, Jiangwen Sun, Jinbo Bi

Abstract

Longitudinal analysis is important in many disciplines, such as the study of behavioral transitions in social science. Only very recently, feature selection has drawn adequate attention in the context of longitudinal modeling. Standard techniques, such as generalized estimating equations, have been modified to select features by imposing sparsity-inducing regularizers. However, they do not explicitly model how a dependent variable relies on features measured at proximal time points. Recent graphical Granger modeling can select features in lagged time points but ignores the temporal correlations within an individual's repeated measurements. We propose an approach to automatically and simultaneously determine both the relevant features and the relevant temporal points that impact the current outcome of the dependent variable. Meanwhile, the proposed model takes into account the non-i.i.d. nature of the data by estimating the within-individual correlations. This approach decomposes model parameters into a summation of two components and imposes separate block-wise LASSO penalties to each component when building a linear model in terms of the past $\tau$ measurements of features. One component is used to select features whereas the other is used to select temporal contingent points. An accelerated gradient descent algorithm is developed to efficiently solve the related optimization problem with detailed convergence analysis and asymptotic analysis. Computational results on both synthetic and real world problems demonstrate the superior performance of the proposed approach over existing techniques.

1. Introduction

Longitudinal research, which tracks the same subjects over time, is essential for understanding dynamic processes in fields like medicine and social science. However, researchers face two primary hurdles: the non-i.i.d. (not independently and identically distributed) nature of the data and the presence of lagged effects. Measurements from the same individual are inherently correlated, and outcomes are often driven by events at specific past time points (temporal contingency).

Traditional tools like Generalized Estimating Equations (GEE) handle within-subject correlations but struggle to automatically identify which specific past time points are relevant. Conversely, Granger Causality models can identify lags but typically assume data points are independent. The Longitudinal LASSO (LGL) framework addresses these limitations by jointly learning features and temporal contingencies.

2. Methodology: The LGL Framework

The core innovation of LGL lies in the decomposition of the model coefficient matrix $W$ into two components: $W = U + V$. This structure allows the model to decouple the selection of what features matter from when they matter.

2.1 Dual Regularization and Decomposition

To achieve simultaneous selection, the authors apply separate block-wise LASSO penalties:

  • Feature Selection ($U$): A row-wise $\ell_{1,2}$ norm is applied to $U$. This acts as a group LASSO that shrinks entire rows to zero, effectively performing feature selection across all time points.
  • Temporal Contingency Selection ($V$): A column-wise $\ell_{1,2}$ norm is applied to $V^T$. This shrinks entire columns to zero, identifying the relevant time lags for the entire feature set.
The W = U + V decomposition: U captures feature-wise sparsity (rows) while V captures temporal contingency (columns), allowing for a nuanced sparse structure.

2.2 Optimization and Correlation

The model incorporates a "working correlation matrix" to account for the non-i.i.d. nature of the data. Because the resulting objective function is non-smooth, the authors developed an accelerated gradient descent algorithm based on FISTA (Fast Iterative Shrinkage-Thresholding Algorithm) to ensure efficient convergence.

3. Experimental Evaluation

The model was evaluated on synthetic data and two real-world datasets: a College Alcohol Use study (504 students over 30 days) and the National Longitudinal Survey of Youth (NLSY).

3.1 Synthetic Results

On synthetic data designed with specific ground-truth features and lags, LGL achieved significantly lower error rates (nMSE) and higher classification accuracy (AUC) than GEE, GLMM, and Granger modeling. As shown in the sparsity recovery comparison, the $U+V$ decomposition more accurately reconstructs the true parameter matrix than standard Granger methods.

Comparison of sparsity pattern recovery on synthetic data. The LGL model (W=U+V) provides a much cleaner and more accurate approximation of the true W compared to the noisier Granger baseline.

3.2 Real-World Interpretability

In the college alcohol study, LGL identified "excited mood," "stress," and "interacting with friends" as key risk factors for binge drinking. Notably, the model automatically discovered that the most recent 3 days were the most influential, with the impact of older data points fading away—a finding that provides clear actionable windows for behavioral intervention.

4. Conclusion

The Longitudinal LASSO provides a robust framework for high-dimensional longitudinal data. By accounting for within-subject correlations and utilizing the $U+V$ decomposition, it offers superior predictive accuracy and interpretability over existing methods. Future work may extend this strategy to non-linear models to capture even more complex behavioral interactions.

Summary updated

BibTeX
@inproceedings{xu2015longitudinal,
  author = {Tingyang Xu and Jiangwen Sun and Jinbo Bi},
  title = {{Longitudinal LASSO: Jointly Learning Features and Temporal Contingency for Outcome Prediction}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2015},
}
Figure