Varying Coefficient Linear Discriminant Analysis for Dynamic Data

Yajie Bao, Yuyang Liu · DOI

Abstract

Traditional Linear Discriminant Analysis (LDA) assumes static relationships between features and class labels, failing to account for data heterogeneity driven by external factors. This paper introduces Varying Coefficient Linear Discriminant Analysis (VCLDA), a novel framework designed for dynamic data where the discriminant direction shifts according to an exposure variable (e.g., age, time, or temperature). By modeling the discriminant function using B-spline basis expansion and incorporating a Group Lasso penalty, VCLDA achieves high-dimensional feature selection with invariant support. Unlike existing point-wise dynamic methods, VCLDA offers a computationally efficient global solution that maintains interpretability. Empirical evaluations on synthetic datasets and a Diffuse Large B-cell Lymphoma (DLBCL) gene expression study demonstrate that VCLDA significantly outperforms both static LDA and state-of-the-art dynamic alternatives.

Introduction

Linear Discriminant Analysis (LDA) has long served as a fundamental tool for classification. However, its standard formulation assumes that the populations share a static covariance structure and that the relationship between features and labels remains constant. In many real-world applications, such as finance or precision medicine, data is inherently heterogeneous. The predictive power of specific features often depends on an external "exposure variable." For instance, the genetic markers most indicative of a disease may vary significantly as a patient ages.

To address this, researchers have previously proposed dynamic methods like the Dynamic Linear Programming Discriminant (DLPD) rule. While these methods allow for flexibility, they suffer from high computational costs—requiring new optimizations for every prediction—and a lack of interpretability, as selected features can fluctuate erratically across the exposure range. VCLDA addresses these limitations by treating the discriminant direction as a smooth, varying coefficient function.

Methodology

The VCLDA framework redefines the Bayes' discriminant direction not as a fixed vector, but as a function $\theta^*(U)$, where $U$ represents the exposure variable. The methodology consists of four primary components:

  1. B-spline Approximation: To capture the dynamic nature of the data, the authors approximate the discriminant function using a basis of B-splines. This enforces smoothness across the domain of the exposure variable and allows the model to learn a global structure rather than disconnected local points.
  2. Least-Squares Formulation: The classification problem is transformed into a varying coefficient linear model. This allows the parameters to be estimated via a least-squares approach, which is significantly more efficient than solving point-wise linear programs.
  3. High-Dimensional Sparsity and Invariant Support: In settings where the number of features ($p$) exceeds the sample size ($n$), VCLDA utilizes a Group Lasso penalty. This ensures "invariant support," meaning the model identifies a consistent set of relevant features across the entire range of the exposure variable, enhancing biological or physical interpretability.
  4. Optimization: The model is trained using the Iterative Shrinkage-Thresholding Algorithm (ISTA). This choice of optimizer ensures that the training process is scalable and faster than previous dynamic classification techniques.

Experimental Evaluation

Synthetic Simulations

The authors tested VCLDA against static LDA and DLPD in high-dimensional settings ($p=200$). The simulations covered various functional forms for the discriminant direction, including linear, sinusoidal, and exponential shifts. In these tests, VCLDA consistently achieved lower misclassification risks, demonstrating its ability to adapt to complex, non-linear changes in data structure that static models ignore.

Case Study: DLBCL Gene Expression

The practical utility of VCLDA was evaluated using a gene expression dataset for Diffuse Large B-cell Lymphoma (DLBCL), comprising 44,972 gene expression levels from 124 patients. Using age as the exposure variable to predict lymphoma subtypes, the results were striking:

  • Static Methods: Performed poorly, with a misclassification risk of approximately 0.43 (near random guessing).
  • DLPD: Achieved a risk of 0.192.
  • VCLDA: Achieved the best performance with a misclassification risk of 0.171.

Beyond accuracy, VCLDA identified a stable set of genes that contribute to classification regardless of age. This aligns with medical literature suggesting that while younger patients may have fewer frequent genetic abnormalities, certain biomarkers remain consistent indicators of the disease subtype.

Discussion and Conclusion

VCLDA represents a significant advancement in the analysis of dynamic data. By shifting from point-wise estimation to a global, varying coefficient model, the authors provide a method that is both computationally efficient and highly interpretable. The use of B-splines and Group Lasso ensures that the model captures the underlying smoothness of the data while identifying a parsimonious set of features.

Future work may extend this framework to multivariate exposure variables through single-index models or apply the varying coefficient approach to Gaussian Graphical Models (GGM) to study how the relationships between variables evolve. Currently, VCLDA stands as a robust solution for researchers dealing with heterogeneous datasets where the context of an observation is as important as the observation itself.

Summary updated

BibTeX
@misc{bao2022varying,
  author = {Yajie Bao and Yuyang Liu},
  title = {{Varying Coefficient Linear Discriminant Analysis for Dynamic Data}},
  year = {2022},
  eprint = {2203.06371},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.06371},
}
Figure