Let Your Heart Speak in its Mother Tongue: Multilingual Captioning of Cardiac Signals

Dani Kiyasseh, Tingting Zhu, David A. Clifton

Introduction

Interpreting electrocardiograms (ECGs) is a cornerstone of cardiology, yet it remains a significant bottleneck in clinical workflows. Expert cardiologists must manually draft reports for every recording—a process that is time-consuming, prone to human error, and subject to high inter-physician variability. While AI has made substantial progress in image captioning for medical imaging like chest X-rays, the automated captioning of cardiac signals has been largely overlooked. Furthermore, most medical AI is developed for English-speaking contexts, creating a gap for healthcare systems in non-English speaking regions. Researchers from the University of Oxford have addressed this by developing a deep learning system capable of automatically generating clinical reports for 12-lead ECG signals in seven different languages.

Methods: Architecture and Pre-training

The system utilizes an encoder-decoder architecture specifically tailored for physiological signals.

System Architecture

The model consists of two primary components:

  • The Encoder: A 1D Convolutional Neural Network (CNN) that processes the raw 12-lead ECG signal to extract essential temporal features.
  • The Decoder: A Transformer-based model that receives these features and generates a sequence of text tokens representing the clinical report.
Overall architecture of the multilingual ECG captioning system, showing the flow from 12-lead ECG to multilingual report generation.

Replaced Token Language Prediction (RTLP)

The core innovation of this work is a novel pre-training strategy called Replaced Token Language Prediction (RTLP). To help the model learn robust language representations without requiring massive labeled datasets, the researchers "warm start" the decoder with a discriminative task.

In this task, the model takes a clinical report in a source language and randomly replaces certain tokens with words from a different language. To increase the difficulty and force the model to learn deeper semantic relationships, these replacements are not random; they are "noisy translations" selected based on embedding similarity. The network is then tasked with predicting the correct language for every token in the sequence.

The RTLP pre-training task: tokens from different languages are mixed, and the model predicts the language of each token.

Datasets

The study leverages the PTB-XL dataset, containing 12-lead ECG recordings from nearly 19,000 patients. Because the original reports were primarily in German and English, the authors created a new, publicly available multilingual version using the Google Translate API. This expanded dataset includes German (de), Greek (el), English (en), Spanish (es), French (fr), Italian (it), and Portuguese (pt).

Key Insights: The "Blessing of Multilinguality"

A significant finding of this research is what the authors call the "blessing of multilinguality." Contrary to the "curse of multilinguality"—where adding more languages can degrade performance due to interference—the researchers found that their multilingual models often outperformed monolingual counterparts. Sharing knowledge across different languages helped the model generalize more effectively to the nuances of cardiac signal description.

Furthermore, the RTLP method proved to be computationally efficient. Unlike generative pre-training methods (like Masked Language Modeling used in BERT) that try to guess missing words, RTLP is a discriminative task (guessing a category/language). This approach achieved high effectiveness for medical signal captioning with lower overhead.

Results and Performance

The RTLP method demonstrated performance on par with more computationally intensive state-of-the-art methods. For English reports, RTLP achieved a BLEU-1 score of 31.0, nearly identical to the 31.3 achieved by MLM. It significantly outperformed other discriminative baselines like ELECTRA, which struggled to maintain coherence in a multilingual setting. Qualitative analysis confirmed that the model accurately identified pathologies, such as ST-segment depression, and described them using clinically appropriate phrasing across all supported languages.

Limitations and Future Directions

While promising, the research notes several areas for future development:

  • Translation Quality: The use of machine translation for the dataset may introduce "noise" that native-speaking clinicians would avoid.
  • Report Complexity: Current ECG reports are relatively structured. Future work should test the system on more complex, free-text medical domains like discharge summaries.
  • Multi-modal Integration: Incorporating additional data types, such as patient history or coronary angiograms, could lead to more holistic and accurate clinical reporting.

Summary updated

BibTeX
@inproceedings{kiyasseh2022let,
  author = {Dani Kiyasseh and Tingting Zhu and David A. Clifton},
  title = {{Let Your Heart Speak in its Mother Tongue: Multilingual Captioning of Cardiac Signals}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=ZzwfldvDLpC},
}
Figure