HHO-optimized VAE-transformer framework for robust clinical phenotyping and EHR reconciliation in diabetes management
摘要
Effective Type 2 diabetes management requires reliable Electronic Health Record (EHR) auditing. While hybrid generative-attention models can predict medication usage to ensure documentation integrity, they often suffer from training instability under suboptimal hyperparameters. Furthermore, the efficacy of metaheuristic optimization in stabilizing these complex architectures remains systematically under-investigated.
MethodologyWe propose a Variational Autoencoder (VAE)-Transformer framework optimized via Harris Hawks Optimization (HHO). The task is rigorously structured as a supervised mapping from non-medication clinical covariates (X) to a binary medication status (
Evaluated on the Diabetes 130-US Hospitals dataset (> 100, 000 encounters) via strict patient-level grouped cross-validation, the model achieved 90.03% accuracy, 98.21% precision, an F1-score of 0.91, and an AUC of 0.953. Specificity exceeded 99% with only
Metaheuristic optimization of the learning rate substantially enhances the generalizability of hybrid deep learning models. The HHO-enhanced VAE-Transformer provides a highly reproducible, leakage-free framework for trustworthy AI-driven EHR reconciliation and automated clinical phenotyping.