ECG-LLM: Leveraging Large Language Models for Low-Quality ECG Signal Restoration
Electrocardiography (ECG) signals are often plagued by various types of noise, which substantially undermines the precision of subsequent analysis. This paper presents ECG-LLM, an innovative model designed to address the challenges posed by low-quality ECG signals. Leveraging the capabilities of Large Language Models (LLMs), ECG-LLM forecasts and imputes missing values in 12-lead ECG data. ECG-LLM adapts the auto-regressive characteristics of LLMs, utilizes textual markers for timestamp information, and employs a strategy of freezing Transformer layers while training new embedding and projection layers. We used ECG datasets from multiple sources for our experiments. Experimental results demonstrate that ECG-LLM significantly outperforms state-of-the-art time series forecasting models, achieving a Mean Squared Error (MSE) of 0.644 and a Mean Absolute Error (MAE) of 0.456 for a forecast length of 64. Additionally, after using ECG-LLM to restore the electrocardiogram, the disease recognition accuracy of the baseline model was improved. Our findings highlight the feasibility and effectiveness of applying LLMs to ECG signal processing, offering a new perspective for medical signal analysis and providing a potential new approach for signal preprocessing in healthcare. Code is available at https://github.com/dragonlfy/ECG-LLM.
Authors
- Guosheng Cui
- Ye Li (ORCID: https://orcid.org/0000-0002-2898-5345)
- Cheng Wan (ORCID: https://orcid.org/0009-0000-5880-3242)
- Longfei Liu (ORCID: https://orcid.org/0000-0003-0249-2590)
- Dan Wu (ORCID: https://orcid.org/0000-0001-5838-0198)
Institutions
- Georgia Institute of Technology (US)
- Chinese Academy of Sciences (CN)
- Shenzhen Institutes of Advanced Technology (CN)
Publication Details
- Published
- 2024-12-03
- DOI
- https://doi.org/10.1109/bibm62325.2024.10822461
- Citations
- 3
- Primary Topic
- ECG Monitoring and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 1.21
Funders
- National Natural Science Foundation of China
- Research and Development