There is a clinical spectrum for atrial tachyarrhythmias wherein most patients with atrial tachycardia (AT) and some with atrial fibrillation (AF) respond to ablation, while others do not. It is undefined if this clinical spectrum has pathophysiological signatures. This study aims to test the hypothesis that the size of spatial regions showing repetitive synchronized electrogram (EGM) shapes over time reveals a spectrum from AT, to AF patients who respond acutely to ablation, to AF patients without acute response. We studied n = 160 patients (35% women, 65.0 ± 10.4 years) of whom (i) n = 75 had AF terminated by ablation propensity matched to (ii) n = 75 without AF termination and (iii) n = 10 with AT. All patients had mapping by 64-pole baskets to identify areas of repetitive activity (REACT) to correlate unipolar EGMs in shape over time. Synchronized regions (REACT) were largest in AT, smaller in AF termination, and smallest in non-termination cohorts (0.63 ± 0.15, 0.37 ± 0.22, and 0.22 ± 0.18, P < 0.001). Area under the curve for predicting AF termination in hold-out cohorts was 0.72 ± 0.03. Simulations showed that lower REACT represented greater variability in clinical EGM timing and shape. Unsupervised machine learning of REACT and extensive (50) clinical variables yielded four clusters of increasing risk for AF termination (P < 0.01, χ2), which were more predictive than clinical profiles alone (P < 0.001). The area of synchronized EGMs within the atrium reveals a spectrum of clinical response in atrial tachyarrhythmias. These fundamental EGM properties, which do not reflect any predetermined mechanism or mapping technology, predict outcome and offer a platform to compare mapping tools and mechanisms between AF patient groups.
1 January 2025 in Circulation: Arrhythmia and Electrophysiology
BACKGROUND: Large language models (LLMs) such as Chat Generative Pre-trained Transformer (ChatGPT) excel at interpreting unstructured data from public sources, yet are limited when responding to queries on private repositories, such as electronic health records (EHRs). We hypothesized that prompt engineering could enhance the accuracy of LLMs for interpreting EHR data without requiring domain knowledge, thus expanding their utility for patients and personalized diagnostics. METHODS: We designed and systematically tested prompt engineering techniques to improve the ability of LLMs to interpret EHRs for nuanced diagnostic questions, referenced to a panel of medical experts. In 490 full-text EHR notes from 125 patients with prior life-threatening heart rhythm disorders, we asked GPT-4-turbo to identify recurrent arrhythmias distinct from prior events and tested 220 563 queries. To provide context, results were compared with rule-based natural language processing and Bidirectional Encoder Representations from Transformer-based language models. Experiments were repeated for 2 additional LLMs. RESULTS: In an independent hold-out set of 389 notes, GPT-4-turbo had a balanced accuracy of 64.3%±4.7% out-of-the-box at baseline. This increased when asking GPT-4-turbo to provide a rationale for its answers, a structured data output, and in-context exemplars, to a balanced accuracy of 91.4%±3.8% ( P <0.05). This surpassed the traditional logic-based natural language processing and BERT-based models ( P <0.05). Results were consistent for GPT-3.5-turbo and Jurassic-2 LLMs. CONCLUSIONS: The use of prompt engineering strategies enables LLMs to identify clinical end points from EHRs with an accuracy that surpassed natural language processing and approximated experts, yet without the need for expert knowledge. These approaches could be applied to LLM queries for other domains, to facilitate automated analysis of nuanced data sets with high accuracy by nonexperts.
Atrial fibrillation (AF) is a major cause of heart failure and stroke. The early maintenance of sinus rhythm has been shown to reduce major cardiovascular endpoints, yet is difficult to achieve. For instance, it is unclear how discoveries at the genetic and cellular level can be used to tailor pharmacotherapy. For non-pharmacologic therapy, pulmonary vein isolation (PVI) remains the cornerstone of rhythm control, yet has suboptimal success. Improving these therapies will likely require a multifaceted approach that personalizes therapy based on mechanisms measured in individuals across biological scales. We review AF mechanisms from cell-to-organ-to-patient from this perspective of personalized medicine, linking them to potential clinical indices and biomarkers, and discuss how these data could influence therapy. We conclude by describing approaches to improve ablation, including the emergence of several mapping systems that are in use today.
1 February 2025 in Circulation: Arrhythmia and Electrophysiology
BACKGROUND: It is difficult to identify patients with atrial fibrillation (AF) most likely to respond to ablation. While any arrhythmia patient may recur after acutely successful ablation, AF is unusual in that patients may have long-term arrhythmia freedom despite a lack of acute success. We hypothesized that acute and chronic AF ablation outcomes may reflect distinct physiology and used machine learning of multimodal data to identify their phenotypes. METHODS: We studied 561 consecutive patients in the Stanford AF ablation registry (66±10 years, 28% women, 67% nonparoxysmal), from whom we extracted 72 data features of electrograms, electrocardiogram, cardiac structure, lifestyle, and clinical variables. We compared 6 machine learning models to predict acute and long-term end points after ablation and used Shapley explainability analysis to contrast phenotypes. We validated our results in an independent external population of n=77 patients with AF. RESULTS: The 1-year success rate was 69.5%, and the acute termination rate was 49.6%, which correlated poorly on a patient-by-patient basis (φ coefficient=0.08). The best model for acute termination (area under the curve=0.86, Random Forest) was more predictive than for long-term outcomes (area under the curve=0.67, logistic regression; P <0.001). Phenotypes for long-term success reflected clinical and lifestyle features, while phenotypes for AF termination reflected electrical features. The need for AF induction predicted both phenotypes. The external validation cohort showed similar results (area under the curve=0.81 and 0.64, respectively) with similar phenotypes. CONCLUSIONS: Long-term and acute responses to AF ablation reflect distinct clinical and electrical physiology, respectively. This de-linking of phenotypes raises the question of whether long-term success operates through factors such as attenuated AF progression. There remains an urgent need to develop procedural predictors of long-term AF ablation success.
12 January 2024 in IEEE Transactions on Industrial Informatics
The effectiveness of an image classification system depends on the following two key components: 1) the feature learning module and 2) the classification module. A well-designed loss function can not only enhance the classification ability of the latter but also improve the feature extraction capabilities of the former. This article devises a novel hypersphere loss function, which enhances the intraclass compactness and interclass separability of feature vectors given by the feature learning module. Furthermore, a new generalized class center is introduced into the loss function to handle the inevitable variability in samples (such as illumination, background, blurriness, low resolution, etc.) within the same class. Then, an alternative learning strategy is employed to optimize trainable parameters and class centers. Specifically, we first fix the trainable parameters of the deep learning model and calculate class centers using the exponentially weighted moving average method. Subsequently, we fix the generalized class centers and update the model's trainable parameters using mini-batch stochastic gradient descent. The proposed algorithm is evaluated on a range of typical tasks, including standard image classification, face verification, object detection, and retail product checkout. The results demonstrate that our proposed algorithm outperforms several state-of-the-art approaches.