Abstract
This paper presents a novel framework for personalized medicine that leverages robust regression and K-Nearest Neighbors (K-NN) to derive optimal treatment recommendations from Electronic Health Record (EHR) data. By integrating a regularized Least Absolute Deviation (LAD) model with a randomized prescriptive policy and a mathematically derived switching threshold, the proposed RLAD+K-NN model addresses the inherent noise and non-linearity in clinical data. Experimental results on large-scale diabetes and hypertension datasets demonstrate that this approach significantly outperforms standard clinical care and traditional machine learning baselines in improving patient outcomes.
Introduction
Clinical decision-making using Electronic Health Records (EHRs) is complicated by recording errors, missing values, and high inter-patient variability. A fundamental challenge is the "counterfactual problem": researchers only observe outcomes for treatments actually administered, not for alternative options. Existing prescriptive models often fail to account for non-linear biological responses or are overly sensitive to outliers. This research aims to develop a computationally efficient, interpretable model capable of suggesting optimal treatments while remaining robust to the high noise floor characteristic of real-world medical data.
Methodology
The proposed framework consists of four primary components:
- Robust Feature Weighting: A regularized Least Absolute Deviation (LAD) model is employed to identify key features. Unlike Ordinary Least Squares (OLS), LAD minimizes absolute errors, making it more resilient to outliers. This is framed as a Distributionally Robust Optimization (DRO) problem to hedge against data noise.
- Non-linear Prediction (RLAD+K-NN): Weights from the LAD model define a distance metric between patients. K-Nearest Neighbors (K-NN) then predicts outcomes for specific treatments by averaging results from similar patients, capturing complex non-linearities.
- Randomized Prescriptive Policy: To mitigate prediction errors, the model uses a randomized policy where the probability of selecting a treatment is inversely proportional to its predicted outcome (e.g., lower HbA1c or blood pressure).
- Optimal Switching Threshold: A closed-form threshold $T(x)$ is derived to ensure treatment changes are only recommended when the expected improvement is statistically significant, avoiding unnecessary clinical interventions.
Experimental Setup
The model was evaluated using EHR data from the Boston Medical Center (1999–2014):
- Diabetes Dataset: 12,016 visits with 63 features (demographics, labs, BMI, history).
- Hypertension Dataset: 26,128 visits with 63 features. Features included vital signs, lab results, and comprehensive diagnosis/prescription histories.
Key Results
The RLAD+K-NN model was compared against LASSO, CART, and OLS+K-NN. As shown in the table below, RLAD+K-NN consistently achieved the greatest reductions in primary clinical markers.
In the diabetes cohort, the model achieved an HbA1c reduction of 0.55%–0.56%, more than doubling the 0.22% reduction observed under the standard of care. For hypertension, the model reduced systolic blood pressure by approximately 7.0–7.2 mmHg, compared to 2.37 mmHg for standard care. The hybrid approach's success stems from its ability to use linear models for global feature weighting while relying on K-NN for local, non-linear predictions.
Discussion and Conclusion
The study highlights the importance of robustness over precision in clinical settings. The use of LAD and DRO ensures the model remains stable despite outliers. Furthermore, the closed-form switching threshold provides a significant computational advantage over traditional cross-validation methods.
Limitations include potential observational bias inherent in EHR data and the need for finer drug classification in the diabetes dataset. Future research will explore dynamic treatment regimes using reinforcement learning to optimize long-term patient trajectories.
Summary updated