REVIEW 4 major objections 6 minor 13 references
Improving Myocardial Infarction Detection via Synthetic ECG Pretraining
T0 review · 4 major / 6 minor · reviewed 2026-08-06 · deepseek-v4-flash
Pith's one-line read This paper claims that pretraining classifiers on physiologically controlled synthetic 12-lead ECGs improves myocardial infarction detection on real data, with AUC gains up to 4 percentage points in low-data settings.
desk verdict Synthetic ECG pretraining for MI detection is a plausible idea, but the paper's own tables contradict its 'consistent improvement' headline. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the synthetic ECG generator: each virtual beat is a sum of Gaussian-shaped P, Q, R, S, and T kernels whose timings, amplitudes, and widths are sampled from class-conditioned normal distributions derived from PTB-XL statistics, with MI-specific morphological perturbations and physiological noise added per lead. On top of this sits a two-stage training mechanism: self-supervised masked autoencoding, and a joint reconstruction–classification variant with dynamic loss weighting, pretrain the encoders on synthetic traces, and the pretrained weights initialize fine-tuning on small real labeled subsets. The simulator supplies pathology-controllable training signal, and the pretraining objectives force the encoder to learn waveform structure that the fine-tuning stage can reuse.
What would settle it
Train the same masked-autoencoder pretraining on real unlabeled PTB-XL recordings (folds 1–8) instead of synthetic ECGs, then fine-tune on the same small real labeled subsets and compare test AUC on fold 10; if the real-data pretraining matches or beats the synthetic pretraining, the claim that synthetic morphology drives the gains is falsified.
Extended reading notes
Core claim
In the paper's own terms, the central discovery is that physiologically controlled synthetic ECGs are a usable pretraining corpus for MI detection. A simulator samples P, Q, R, S, and T kernel parameters from class-conditioned distributions fitted to PTB-XL, injects MI-specific morphology (deeper Q waves, 0.1–0.3 mV ST elevation, T-wave inversion, QRS broadening) plus realistic noise, and the resulting signals are used to pretrain GRU and Transformer encoders before fine-tuning on real PTB-XL subsets. The authors report that this consistently improves AUC over non-pretrained baselines, with the largest gains at the smallest real-data fractions, and that Transformer models benefit from masked-autoencoder and joint objectives. They interpret this as evidence that synthetic data can help when real clinical data are limited.
Load-bearing premise
The entire result rests on the premise that ECGs synthesized from Gaussian kernels fitted to PTB-XL statistics are realistic enough that representations learned on them transfer to real recordings, so the measured AUC gains reflect physiology-aware synthetic data rather than some generic effect of any pretraining.
Editorial extensions
If this is right
- In the multi-label task with zero real MI training examples, synthetic pretraining raises averaged superclass AUC from 83.1% to 86.6%.
- In binary MI detection, the best pretrained model reaches 91.54% AUC on full real data, with a bootstrap 95% CI of 87.8%–90.7% for the best-performing model.
- Transformer encoders gain more from masked-autoencoder and joint reconstruction–classification pretraining than from no pretraining, while GRU gains appear mainly in low-data regimes.
- Realism checks (MMD 0.095 for healthy and 0.073 for MI signals, plus KS distances) suggest the synthetic cohort is distributionally close enough to real PTB-XL signals to support transfer learning.
- Because the simulator parameterizes waveform morphology explicitly, the same pipeline should extend to other ECG abnormalities by changing kernel parameters and pathology rules.
Reading between the lines
- The paper never pretrains on real unlabeled PTB-XL ECGs, so its own data cannot separate 'synthetic physiology helps' from 'any large pretraining corpus helps'; testing that control is the natural next experiment.
- A sharper test of the physiology claim would be to shuffle or randomize the MI-specific kernel parameters (Q-wave depth, ST elevation, T-wave polarity) and check whether the pretraining gain collapses; if it does not, the mechanism is generic waveform learning, not MI morphology.
- Since the generator's class-conditioned statistics were fitted on PTB-XL and the evaluation is on held-out PTB-XL folds, the reported gains are in-dataset; cross-dataset fine-tuning on an independent ECG collection would show whether the benefit generalizes beyond the distribution the simulator was tuned to.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes a pipeline that synthesizes 12-lead ECGs from parameterized Gaussian kernels with class-conditioned statistics fitted to PTB-XL, uses these synthetic signals to pretrain GRU and Transformer classifiers with masked-autoencoding and a joint reconstruction-classification objective, and then fine-tunes on real PTB-XL data for myocardial infarction detection. The authors report AUC gains up to 4 percentage points from synthetic pretraining, claim that pretraining 'consistently improved' performance, and state that the pipeline achieves state-of-the-art performance in low-data regimes. Realism of the synthetic signals is assessed via MMD, KS tests, power-spectral density comparison, and visual inspection.
Significance. If validated, a physiology-aware synthetic ECG pretraining pipeline would be a valuable tool for data-scarce ECG diagnostics, addressing a real clinical need. The paper has several strengths: the simulator provides explicit control over MI-related morphology (Q-wave depth, ST elevation, T-wave inversion), the work attempts statistical and visual realism checks, and the code is promised to be reproducible. However, the significance is currently undermined by the absence of a real-data self-supervised control, the in-sample nature of the realism validation, and results that contradict the paper's central 'consistently improved' claim. The potential contribution is therefore real but not yet established by the evidence presented.
major comments (4)
- [Section 3.3, Table 2] The claim in the abstract and Section 3 that pretraining 'consistently improved' classification performance is directly contradicted by Table 2. For the GRU model, the pretrained version is worse than the base version at a synthetic-to-real ratio of 0.05 (91.54% vs 92.12%) and identical at 0.1 (89.9% vs 89.9%). The Transformer Joint model is also slightly worse than the Transformer MAE model at 0.05 (89.23% vs 89.52%). Since the central claim rests on consistency across settings, these results need to be addressed either by correcting the claim to 'in some low-data settings' or by providing error bars and statistical tests showing that the negative differences are within noise.
- [Section 3.2, Table 1 and Section 4] The 'up to 4 percentage points' gain cited in the abstract and conclusion is based on a single cell in Table 1 (Frac 0.0: 83.1% to 86.6%, actually a 3.5-point gain). At Frac 1.0, the pretrained model is slightly worse than the base model (92.6% vs 92.7%). Moreover, the conclusion's statement that the 'best binary-MI AUC of 91.54%' was achieved is misleading because Table 2 shows the GRU Base model reaching 92.12% at ratio 0.05. The presentation of results overstates the benefits of pretraining and should be revised to reflect the full pattern.
- [Sections 2.2 and 3.1] The realism validation is partly in-sample. The generator's P-QRS-T kernel distributions, RR-interval parameters, and other statistics are fitted to PTB-XL folds 1-8, which are the same folds used for fine-tuning and evaluation. The MMD and KS comparisons between synthetic and real signals are therefore not an independent test of the simulator's ability to generate realistic data outside the calibration set. To support the realism claim, the generator statistics should be estimated on a held-out portion of PTB-XL (e.g., fold 9 or 10) or on an external ECG dataset, and the realism comparisons should be repeated on data not used for calibration.
- [Sections 2.4 and 3.3] There is no control experiment in which the same MAE or joint pretraining objectives are applied to real unlabeled PTB-XL ECGs before fine-tuning. Without such a control, the observed gains cannot be attributed to the synthetic data's physiological fidelity; they may be generic self-supervised pretraining effects (e.g., better initialization, regularization, or augmentation). Adding a real-data self-supervised baseline is essential to support the paper's central attribution of improvements to synthetic physiology-aware pretraining.
minor comments (6)
- [Section 3.1] The sentence reporting 'a KS distance of 0.066 for real and 0.21 for synthetic flattened signal distributions' is ambiguous, as a two-sample KS distance is defined between two samples, not for a single sample; please clarify whether these are distances between real and synthetic distributions or within-group values.
- [Table 2] The column headers '1.0 0.5 0.1 0.05' should be labeled explicitly as the synthetic-to-real data ratio, and the direction of the ratio (synthetic to real vs real to synthetic) should be defined.
- [Section 3.2] The meaning of 'Frac 0.0' in Table 1 should be clarified: if it means zero real MI training examples, the reader needs to know how the classifier can be trained at all and what the evaluation set contains.
- [Section 4] The claim that the pipeline 'achieves state-of-the-art performance when only a small fraction of real PTB-XL data are available' is not supported, because no comparison to prior state-of-the-art methods in the low-data regime is provided; the cited prior AUC range of 87-93% is for full-data settings.
- [Sections 2.3 and 2.4] The manuscript omits several experimental details needed for reproducibility, including the size of the synthetic pretraining dataset, the number of pretraining epochs, the masking ratio for the MAE objective, and the dynamic loss weighting scheme; the promise of code availability should be fulfilled with an actual repository link.
- [Section 3.4] The bootstrap confidence interval reported for the best-performing model (AUC 89.3%, 95% CI 87.8-90.7%) is not linked to a specific model or data fraction in Tables 1 or 2, making it difficult to interpret; please state which configuration this CI refers to.
Circularity Check
The realism validation in Section 3.1 is partly in-sample because the generator's PTB-XL-fitted statistics are compared against PTB-XL itself, but the central pretraining-improvement claim is an empirical result, not a derivation.
-
fitted input called prediction
[Section 2.2 (Synthetic ECG Simulation) and Section 3.1 (Analysis of Synthetic ECG Results)]
"Each virtual beat was modeled by summing Gaussian-shaped P, Q, R, S, and T kernels, with timings (ti), amplitudes (ai), and widths (bi) sampled from class-conditioned normal distributions derived from PTB-XL statistics... The fidelity of the simulated cohort was assessed by squared Maximum Mean Discrepancy (MMD) between real and synthetic signals using a Gaussian kernel with bandwidth selected by the median heuristic."
The waveform parameters are fitted to PTB-XL, and then the same PTB-XL data are used as the reference for the MMD/KS 'realism' validation. This measures how well a distribution fitted to PTB-XL reproduces PTB-XL, so the moderate MMD/KS alignment is partly guaranteed by construction. The realism check therefore cannot independently establish that the synthetic signals carry physiology beyond the fitted statistics. The classification AUC gains, by contrast, are empirical measurements and are not forced by this fitting step.
full rationale
No self-citation chain or uniqueness argument is load-bearing, and no external theorem is imported from the authors' prior work. The central claim — that synthetic-ECG pretraining improves MI detection at low data fractions — is an empirical comparison (Tables 1 and 2) and is not equivalent to the generator's fitted inputs by any equation. However, one component of the evidence is partially circular: the generator's morphology and RR-interval statistics are 'derived from PTB-XL statistics' (Section 2.2), and the same PTB-XL set is used for the MMD/KS realism checks (Section 3.1), so those checks are in-sample. The paper also lacks a control pretrained on real unlabeled PTB-XL ECGs, so the contribution of synthetic physiology versus the generic MAE/joint objective is not separated; this is an experimental-control weakness, not a derivation-level circularity. Because the core result is empirical and the in-sample validation is secondary, the circularity score is modest rather than severe. The 'consistently improved' wording is also contradicted by Table 2 (e.g., GRU Pretrained 91.54% vs GRU Base 92.12% at Frac 0.05), but that is a correctness/consistency issue, not circularity.
Assumptions & free parameters
free parameters (5)
- P-QRS-T kernel distribution parameters =
Not reported; fitted to PTB-XL statistics
- RR interval log-normal parameters =
Not reported
- MI morphology severity parameters =
ST elevation 0.1-0.3 mV; others not quantified
- Artifact and noise intensities =
Not reported
- Training hyperparameters =
Not reported
assumptions (5)
- domain assumption Gaussian kernel superposition plus NeuroKit2 lead transfer matrices reproduces clinically valid 12-lead ECG morphology
- domain assumption PTB-XL diagnostic labels are correct and the patient-stratified split prevents leakage
- domain assumption Synthetic pretraining representations transfer to real ECGs
- standard math MMD and KS tests with median-heuristic bandwidth are adequate realism checks
- domain assumption Simulator parameters fitted from PTB-XL do not leak into evaluation
Cite this review
Pith. "Pith review of Improving Myocardial Infarction Detection via Synthetic ECG Pretraining." pith.science (2026). https://pith.science/paper/3KDEFZLO
@misc{pith2026250623259,
author = {Pith},
title = {Pith review of: Improving Myocardial Infarction Detection via Synthetic ECG Pretraining},
year = {2026},
howpublished = {\url{https://pith.science/paper/3KDEFZLO}},
note = {Machine review of arXiv:2506.23259}
}
read the original abstract
Myocardial infarction is a major cause of death globally, and accurate early diagnosis from electrocardiograms (ECGs) remains a clinical priority. Deep learning models have shown promise for automated ECG interpretation, but require large amounts of labeled data, which are often scarce in practice. We propose a physiology-aware pipeline that (i) synthesizes 12-lead ECGs with tunable MI morphology and realistic noise, and (ii) pre-trains recurrent and transformer classifiers with self-supervised masked-autoencoding plus a joint reconstruction-classification objective. We validate the realism of synthetic ECGs via statistical and visual analysis, confirming that key morphological features are preserved. Pretraining on synthetic data consistently improved classification performance, particularly in low-data settings, with AUC gains of up to 4 percentage points. These results show that controlled synthetic ECGs can help improve MI detection when real clinical data is limited.
Figures
Reference graph
Works this paper leans on
-
[1]
Ansari, Y., Mourad, O., and Qaraqe, K. Deep learning for ecg arrhythmia detection and classification: an overview of progress for period 2017--2023. Frontiers in Physiology, 2023. doi:10.3389/fphys.2023.1246746
-
[2]
Generative adversarial networks in electrocardiogram synthesis: Recent developments and challenges
Berger, L., Haberbusch, M., and Moscato, F. Generative adversarial networks in electrocardiogram synthesis: Recent developments and challenges. Artificial Intelligence in Medicine, 2023. doi:10.1016/j.artmed.2023.102632
arXiv 2023
-
[3]
Learning phrase representations using rnn encoder-decoder for statistical machine translation
Cho, K., Van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014
arXiv 2014
-
[4]
Makowski, D., Pham, T., Lau, Z. J., Brammer, J. C., Lespinasse, F., Pham, H., Schölzel, C., and Chen, S. H. A. NeuroKit 2: A python toolbox for neurophysiological signal processing. Behavior Research Methods, 2021. doi:10.3758/s13428-020-01516-y
-
[5]
McSharry, P. E., Clifford, G. D., and Tarassenko, L. A dynamical model for generating synthetic electrocardiogram signals. IEEE Transactions on Biomedical Engineering, 2003
work page 2003
-
[6]
In silico evaluation of cell therapy in acute versus chronic infarction
Riebel, L., Camps, J., Arantes Berg, L., Rodriguez, B., et al. In silico evaluation of cell therapy in acute versus chronic infarction. Scientific Reports, 2024. doi:10.1038/s41598-024-67951-5
-
[7]
Sawano, M., Yamakawa, T., Ohnishi, A., Nakamura, S., and Nishiyama, K. Applying masked autoencoder-based self-supervised learning for high-capability vision transformers of electrocardiographies. PLOS ONE, 2024. doi:10.1371/journal.pone.0296245
-
[8]
Deep learning for ecg analysis: Benchmarks and insights from ptb-xl
Strodthoff, N., Wagner, P., Schaeffter, T., and Samek, W. Deep learning for ecg analysis: Benchmarks and insights from ptb-xl. IEEE Journal of Biomedical and Health Informatics, 2021. doi:10.1109/JBHI.2020.3037127
arXiv 2021
Show all 13 references
-
[9]
A multi-lead group network for myocardial infarction detection and localization based on clinical knowledge-driven and dynamic-static feature fusion
Sun, Q., Li, J., Liang, C., Liu, R., Pang, J., Chen, Y., and Wang, C. A multi-lead group network for myocardial infarction detection and localization based on clinical knowledge-driven and dynamic-static feature fusion. Expert Systems with Applications, 2025. doi:10.1016/j.esw...
2025
-
[10]
N., Kaiser, ., and Polosukhin, I
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, ., and Polosukhin, I. Attention is all you need. In Advances in Neural Information Processing Systems, 2017
2017
-
[11]
I., Samek, W., and Schaeffter, T
Wagner, P., Strodthoff, N., Bousseljot, R.-D., Kreiseler, D., Lunze, F. I., Samek, W., and Schaeffter, T. Ptb-xl, a large publicly available electrocardiography dataset. Scientific Data, 2020
2020
-
[12]
Masked transformer for electrocardiogram classification
Zhou, Y., Diao, X., Huo, Y., Liu, Y., Fan, X., and Zhao, W. Masked transformer for electrocardiogram classification. arXiv preprint:2309.07136, 2023
2023 arXiv
-
[13]
write newline
" write newline "" before.all 'output.state := FUNCTION n.dashify 't := "" t empty not t #1 #1 substring "-" = t #1 #2 substring "--" = not "--" * t #2 global.max substring 't := t #1 #1 substring "-" = "-" * t #2 global.max substring 't := while if t #1 #1 substring * t #2 gl...
Reviewed August 6, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.