Introduction
Electronic Health Records (EHR) represent a goldmine for predictive medicine, yet they present significant computational and statistical challenges. Specifically, EHR data often falls into the "High Dimension Low Sample Size" (HDLSS) regime, where the number of clinical features exceeds the number of available patient records. In such scenarios, classical methods like Linear Discriminant Analysis (LDA) become "ill-posed" due to singular covariance matrices. This paper introduces Fast Wishart Discriminant Analysis (FWDA), a novel ensemble-based framework that addresses these limitations by treating the inverse covariance matrix as a random variable, enabling robust and non-linear classification in complex medical datasets.
The Challenges of EHR Classification
The early detection of diseases—such as mental health disorders—requires analyzing sparse, high-dimensional diagnosis codes. Traditional LDA, while a foundational tool in pattern recognition, faces two primary hurdles in this context:
- The Ill-Posed Estimation Problem: When the feature dimension $p$ is larger than the sample size $n$, the sample covariance matrix is not invertible. This prevents the calculation of the discriminant function.
- Linear Inseparability: Medical conditions rarely follow simple linear boundaries. Standard LDA's linear nature often fails to capture the intricate relationships within patient data.
While existing techniques like the Graphical Lasso or Kernel-based LDA attempt to regularize the problem or map it to higher dimensions, they often suffer from high computational costs or poor generalization when the underlying data distribution is sparse.
Methodology: The FWDA Framework
FWDA departs from the traditional approach of seeking a single "optimal" covariance matrix. Instead, it adopts a Bayesian ensemble perspective combined with efficient sampling techniques.
Wishart Surrogacy and De-sparsified Estimation
Rather than estimating a single covariance matrix, FWDA models the inverse covariance matrix (the precision matrix) as being drawn from a Wishart distribution. To ensure the parameters of this distribution are robust, the authors utilize a De-sparsified Graphical Lasso technique. This provides a stable "mean" matrix even when the input data is sparse, allowing the model to handle the HDLSS problem effectively.
Input-Adaptive Bayesian Voting
The core of FWDA’s classification power lies in its voting scheme. The model generates a set of LDA "hypotheses" by sampling precision matrices from the Wishart distribution. Unlike static ensembles, FWDA uses Input-Adaptive Bayesian Voting. For every new patient record, the model updates the weights assigned to each hypothesis based on the specific input. This local adaptation allows the ensemble to form a non-linear decision boundary, despite each individual component being a linear classifier.
Computational Efficiency via Lazy Sampling
To overcome the bottleneck of sampling from a distribution for every prediction, the authors introduce Lazy Sampling. The precision matrices are sampled once during the training phase and cached. During inference, these pre-sampled matrices are reused, drastically reducing the time required for classification without sacrificing the benefits of the Bayesian approach.
Experimental Evaluation
The authors evaluated FWDA using the College Health Surveillance Network (CHSN) dataset, which includes records from over 1 million patients across 31 US health centers. The primary task was the early detection of mental health disorders (anxiety, mood, and depression) using diagnosis-frequency vectors derived from ICD-9 codes.
Performance and Speed
FWDA demonstrated superior performance across multiple metrics:
- Accuracy: FWDA outperformed Two-stage LDA by 4.3%, Logistic Regression by 13.2%, and LDA with shrinkage by 12.5%. It also consistently beat non-linear benchmarks like SVM and Random Forest.
- Efficiency: The "Lazy Sampling" mechanism proved transformative. A standard Bayesian voting approach required 16.7 hours to process the test set, whereas FWDA completed the same task in just 0.037 seconds—a speedup of several orders of magnitude.
- Robustness: Theoretical analysis and empirical testing showed that FWDA is largely insensitive to the number of dimensions ($p$), making it highly suitable for genomics and other high-dimensional clinical fields.
Conclusion
FWDA provides a powerful solution for EHR classification by combining the theoretical foundations of LDA with a modern, ensemble-based Bayesian framework. By addressing the "ill-posed" nature of high-dimensional data and introducing non-linearity through adaptive voting, FWDA achieves state-of-the-art results with exceptional computational efficiency. Future work will explore integrating FWDA with temporal models, such as Recurrent Neural Networks, to better capture the longitudinal trajectories of patient health.
Summary updated