Artificial intelligence assisted electrocardiography for early diagnosis of thyrotoxic periodic paralysis
Abstract CONTEXT Thyrotoxic periodic paralysis (TPP) characterized by acute weakness, hypokalemia and hyperthyroidism is a medical emergency with a great challenge in early diagnosis since most TPP patients do not have overt symptoms. OBJECTIVE To assess artificial intelligence (AI)-assisted electrocardiography (ECG) combined with routine laboratory data in the early diagnosis of TPP. METHODS A deep learning model (DLM) based on ECG12Net, an 82-layer convolutional neural network, was constructed to detect hypokalemia and hyperthyroidism. The development cohort consisted of 39 ECGs from patients with TPP and 502 ECGs of hypokalemic control; the validation cohort consisted of 11 ECGs of TPP and 36 ECGs of non-TPP with weakness. The AI-ECG based TPP diagnostic process was then consecutively evaluated in 22 male patients with TTP-like features. RESULTS In the validation cohort, the DLM-based ECG system detected all cases of hypokalemia in TPP patients with a mean absolute error of 0.26 mEq/L and diagnosed TPP with an area under curve (AUC) of ~80%, surpassing the best standard ECG parameter (AUC=0.7285 for the QR interval). Combining the AI predictions with the estimated glomerular filtration rate (eGFR) and serum chloride (Cl -) boosted the diagnostic accuracy of the algorithm to AUC 0.986. In the prospective study, the integrated AI and routine laboratory diagnostic system had a PPV of 100% and F-measure 87.5%. CONCLUSIONS An AI-ECG system reliably identifies hypokalemia in patients with paralysis and integration with routine blood chemistries provides valuable decision support for the early diagnosis of TPP.