Manuscript Offprint

arXiv:2610.28507

ECG for laboratory values:A comprehensive physiological and technical analysis

Walentin Palanchuk

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Carl von Ossietzky

Universität Oldenburg

Fach-Bachelor Informatik

BACHELORARBEIT

ECG for laboratory values:

A comprehensive physiological and technical analysis

vorgelegt von

Walentin Palanchuk

Betreuender Gutachter

Prof. Dr. Nils Strothoff

Zweiter Gutachter

Dr. Juan Miguel Lopez Alcaraz

Oldenburg, 31.08.2026

Abstract

Laboratory measurements provide important information in clinical decision making but typically require invasive methods, such as blood sampling. Recent research suggests that ECG recordings may contain information beyond cardiac rhythm analysis and may provide information about laboratory values. This thesis investigates the prediction of N-Terminal Pro-B-Type Natriuretic Peptide (NT-proBNP) from ECG recordings and patient metadata using a multimodal deep learning framework, while considering the physiological plausibility of ECG-based NT-proBNP prediction. Furthermore, this work investigates the influence of a 1-lead configuration using lead II compared to the corresponding 12-lead ECG configuration on predictive performance. Additional experiments on glucose, hemoglobin and potassium are presented in the appendix.

Regression, binary classification and three-class classification experiments were conducted using the MIMIC-IV database. The three-class classification is based on clinically established thresholds. This work showed that the 12-lead configurations achieved consistently better predictive performance. The regression experiments showed a mean absolute error of 534.98 pg/mL for the 1-lead configuration and 514.27 pg/mL for the 12-lead configuration. The classification experiment achieved an AUROC of 0.849 for the 1-lead binary classification and 0.876 for the 12-lead configuration. The three-class classification achieved macro-averaged AUROC values of 0.738 and 0.752 for the 1-lead and 12-lead configurations respectively. The regression experiments showed that the precise prediction of NT-proBNP remains challenging, while the classification experiments showed that broader concentration ranges may be classified.

The findings are consistent with the physiological hypothesis that ECG characteristics and NT-proBNP concentrations may reflect shared underlying cardiovascular processes. Consequently, the ECG-based NT-proBNP prediction appears to be feasible as a complementary source of information, particularly when classification of broader concentration ranges is needed. However, laboratory measurements remain necessary and further research using independent datasets is required.

Contents

1 Introduction 5
1.1 Clinical Need 5
1.2 Machine Learning in Healthcare 5
1.3 Research Gap 6
1.4 Contributions 6

2 Background and Theoretical Foundations 8
2.1 Electrocardiography 8
2.1.1 ECG Waveform Components 9
2.1.2 ECG Lead Configuration 9
2.2 NT-proBNP 10
2.3 ECG Characteristics and NT-proBNP 11
2.4 Deep Learning 11
2.4.1 Structured State Space Models 12
2.4.2 RealMLP 13
2.4.3 Multimodal Deep Learning 13

3 Related Work 14
3.1 ECG-Based Disease Detection 14
3.2 ECG-Based Laboratory Value Prediction 14

4 Methodology 16
4.1 Problem Formulation 16
4.2 Datasets 17
4.3 Data Preprocessing 18
4.3.1 Laboratory Value and ECG Matching 18
4.3.2 Feature Processing 20
4.4 Model Architecture 22
4.5 Training Procedure 23
4.6 Evaluation Metrics 23
4.6.1 Regression Evaluation 24
4.6.2 Classification Evaluation 25

4.7 Additional Laboratory Value Experiments ..... 26
5 Experiments and Results ..... 27
5.1 Data Description ..... 27
5.2 NT-proBNP Regression ..... 28
5.3 NT-proBNP Classification ..... 31
5.3.1 Binary Classification ..... 31
5.3.2 Three-Class Classification ..... 33
5.4 Additional Laboratory Value Results ..... 35
5.5 Summary ..... 35
6 Discussion ..... 36
6.1 Physiological Interpretation ..... 36
6.2 Technical Interpretation ..... 38
6.3 Comparison with Previous Work ..... 40
6.4 Clinical Relevance ..... 41
6.5 Generalization to Other Laboratory Values ..... 42
6.6 Limitations ..... 43
6.7 Future Work ..... 44
7 Conclusion ..... 46
A Additional NT-proBNP experiments ..... 48
A.1 Experimental Setup ..... 48
A.2 Results ..... 49
A.2.1 NYHA Inspired Four-Class Classification ..... 49
A.2.2 Regression Configuration Experiments ..... 51
A.3 Interpretation ..... 54
B Hemoglobin ..... 55
B.1 Experimental Setup ..... 55
B.2 Results ..... 55
B.3 Interpretation ..... 58
C Glucose ..... 59

C.1 Experimental Setup ..... 59
C.2 Results ..... 59
C.2.1 Regression ..... 60
C.2.2 Classification ..... 61
C.3 Interpretation ..... 62
D Potassium ..... 64
D.1 Experimental Setup ..... 64
D.2 Results ..... 64
D.2.1 Regression ..... 64
D.2.2 Classification ..... 66
D.3 Interpretation ..... 66

References (65)