Decoder Design Matters for ECG Delineation

arXiv cs.LG Papers

Summary

This paper introduces R-U-Net, an ECG delineation model that pairs a ResNet-18 encoder with a U-Net decoder, achieving superior performance in semi-supervised learning settings compared to existing methods.

arXiv:2609.16489v1 Announce Type: new Abstract: Electrocardiogram (ECG) delineation identifies the boundaries of P waves, QRS complexes, and T waves, providing structural annotations that can guide AI models in learning to interpret ECGs. However, training accurate delineation models requires manual annotations that are scarce and time-consuming to obtain. Recent work addresses this limitation through semi-supervised learning (SSL), but the design of the architecture, particularly the decoder, has received less attention. To this end, we propose R-U-Net, an ECG delineation model that pairs a ResNet-18 encoder with a U-Net decoder. On SemiSegECG, R-U-Net outperforms the strongest evaluated ResNet-18 + fully convolutional network (FCN) head baseline in each of the 16 in-domain settings by 3.3-13.0 mIoU and achieves 82.6 mIoU in the cross-domain setting, an improvement of 8.1 mIoU. Controlled ablations show that decoder design contributes more to performance gains than the evaluated SSL methods, motivating further exploration of architectures for ECG delineation. All code is open-source at github.com/ELM-Research/ECG-Delineation.
Original Article
View Cached Full Text

Cached at: 09/16/26, 08:53 AM

# Decoder Design Matters for ECG Delineation
Source: [https://arxiv.org/html/2609.16489](https://arxiv.org/html/2609.16489)
Joseph Scharpf∗1, William Han∗1, Chaojing Duan2,Michael A\. Rosenberg3, Emerson Liu2, Ding Zhao1††thanks:\* Equal contribution

###### Abstract

Electrocardiogram \(ECG\) delineation identifies the boundaries of P waves, QRS complexes, and T waves, providing structural annotations that can guide AI models in learning to interpret ECGs\. However, training accurate delineation models requires manual annotations that are scarce and time\-consuming to obtain\. Recent work addresses this limitation through semi\-supervised learning \(SSL\), but the design of the architecture, particularly the decoder, has received less attention\. To this end, we proposeR\-U\-Net, an ECG delineation model that pairs a ResNet\-18 encoder with a U\-Net decoder\. On SemiSegECG,R\-U\-Netoutperforms the strongest evaluated ResNet\-18 \+ fully convolutional network \(FCN\) head baseline in each of the 16 in\-domain settings by 3\.3–13\.0 mIoU and achieves 82\.6 mIoU in the cross\-domain setting, an improvement of 8\.1 mIoU\. Controlled ablations show that decoder design contributes more to performance gains than the evaluated SSL methods, motivating further exploration of architectures for ECG delineation\. All code is open\-source at[github\.com/ELM\-Research/ECG\-Delineation\.](https://github.com/ELM-Research/ECG-Delineation)

###### Index Terms:

Electrocardiograms, ECG Delineation, Deep Learning, Semi\-Supervised Learning

††address:1Carnegie Mellon University,2Allegheny Health Network,3University of Colorado## 1Introduction

Applying artificial intelligence \(AI\) to interpret ECGs is a step towards scalability and automation\. While most recent works largely focus on tasks such as classification\[[11](https://arxiv.org/html/2609.16489#bib.bib15)\]and ECG\-conditioned language generation\[[15](https://arxiv.org/html/2609.16489#bib.bib13)\], ECG delineation has been a growing area of interest\[[9](https://arxiv.org/html/2609.16489#bib.bib14)\]\.

ECG delineation is the task of partitioning the ECG in time into four categories: \(1\) background, \(2\) P wave, \(3\) QRS complex, and \(4\) T wave\. Early automated ECG delineation methods relied on wavelet transforms and hand\-designed rules\[[7](https://arxiv.org/html/2609.16489#bib.bib3)\]\. More recent approaches formulate delineation as dense sample\-level labeling using architectures such as CNN\-LSTM models\[[10](https://arxiv.org/html/2609.16489#bib.bib1)\]and 1D U\-Net models\[[4](https://arxiv.org/html/2609.16489#bib.bib2)\]\. Waveform annotations provide explicit ECG structure and granular supervision for downstream tasks such as ECG\-conditioned language generation\[[8](https://arxiv.org/html/2609.16489#bib.bib16)\]\. However, training accurate delineation models requires manual boundary annotations that are scarce and time\-consuming to obtain\.

To address this limitation, SemiSegECG\[[9](https://arxiv.org/html/2609.16489#bib.bib14)\]benchmarks semi\-supervised learning \(SSL\) approaches for ECG delineation across six datasets\. Its comparison primarily focuses on SSL strategies, pairing ResNet\[[3](https://arxiv.org/html/2609.16489#bib.bib6)\]and ViT\[[2](https://arxiv.org/html/2609.16489#bib.bib5)\]encoders with a lightweight fully convolutional network \(FCN\) head\. Although U\-Net architectures have previously been applied to ECG delineation, the contribution of decoder design within this benchmark remains unexplored\.

In this study, we investigate decoder design for ECG delineation throughR\-U\-Net, which pairs a ResNet\-18 encoder with a U\-Net decoder\[[12](https://arxiv.org/html/2609.16489#bib.bib4)\]in place of the FCN head\.R\-U\-Netoutperforms the evaluated baselines in all 16 in\-domain settings and the cross\-domain setting of SemiSegECG\[[9](https://arxiv.org/html/2609.16489#bib.bib14)\]\. To isolate the contribution of decoder design, we conduct two ablation studies: \(1\) comparing decoder variants \(Table[2](https://arxiv.org/html/2609.16489#S4.T2)\) and \(2\) comparing SSL approaches \(Table[3](https://arxiv.org/html/2609.16489#S4.T3)\)\. In both studies, we find that the U\-Net decoder contributes most to the performance gains\. Altogether, these experiments highlight decoder design as a key factor in ECG delineation performance and motivate closer attention to architectural details\.

![Refer to caption](https://arxiv.org/html/2609.16489v1/figs/R-U-Net.png)Figure 1:A high\-level architectural overview ofR\-U\-Net\.![Refer to caption](https://arxiv.org/html/2609.16489v1/figs/ecg_delineation.png)Figure 2:Example of successful ECG delineation byR\-U\-Netcompared with the ground truth, showing a 2\-second segment from the middle of a 10\-second ECG\.
## 2Method

### 2\.1Problem Formulation

We follow SemiSegECG and formulate ECG delineation as sample\-wise classification\. For a single\-lead segmentx∈ℝTx\\in\\mathbb\{R\}^\{T\}, the targety∈\{0,1,2,3\}Ty\\in\\\{0,1,2,3\\\}^\{T\}assigns each sample to background, P wave, QRS complex, or T wave, respectively\. Given labeled segments𝒟l\\mathcal\{D\}\_\{\\mathrm\{l\}\}and unlabeled segments𝒟u\\mathcal\{D\}\_\{\\mathrm\{u\}\}, we learn a modelfθf\_\{\\theta\}whose output includes a class\-wise softmax:

fθ​\(x\)∈\[0,1\]4×T,y^t=arg⁡maxc∈\{0,1,2,3\}⁡\[fθ​\(x\)\]c,t\.f\_\{\\theta\}\(x\)\\in\[0,1\]^\{4\\times T\},\\qquad\\hat\{y\}\_\{t\}=\\arg\\max\_\{c\\in\\\{0,1,2,3\\\}\}\[f\_\{\\theta\}\(x\)\]\_\{c,t\}\.\(1\)The first and last samples of each contiguous run of a non\-background class define its predicted onset and offset\.

### 2\.2R\-U\-NetArchitecture Details

R\-U\-Netcombines a one\-dimensional ResNet\-18 encoder\[[3](https://arxiv.org/html/2609.16489#bib.bib6)\]with a U\-Net\-style decoder\[[12](https://arxiv.org/html/2609.16489#bib.bib4)\], both initialized from scratch\. Figure[1](https://arxiv.org/html/2609.16489#S1.F1)provides an overview of the architecture\.

The encoder contains four residual stages, each comprising two basic residual blocks\. Given an augmented inputx~\\widetilde\{x\}, we retain the output of every stage:

Henc=\(Henc\(1\),…,Henc\(4\)\)=Eθenc​\(x~\),H\_\{\\mathrm\{enc\}\}=\\left\(H\_\{\\mathrm\{enc\}\}^\{\(1\)\},\\ldots,H\_\{\\mathrm\{enc\}\}^\{\(4\)\}\\right\)=E\_\{\\theta\_\{\\mathrm\{enc\}\}\}\(\\widetilde\{x\}\),whereHenc\(s\)∈ℝds×TsH\_\{\\mathrm\{enc\}\}^\{\(s\)\}\\in\\mathbb\{R\}^\{d\_\{s\}\\times T\_\{s\}\}\. The stage widths are\(64,128,256,512\)\(64,128,256,512\), with corresponding temporal lengths\(625,313,157,79\)\(625,313,157,79\)forT=2500T=2500\.

Starting from the deepest encoder representation, the decoder progressively upsamples the features and concatenates them with the corresponding encoder outputs through skip connections\. Each fusion stage applies two kernel\-size\-33convolutions, each followed by batch normalization and ReLU\. The three stages produce256256,128128, and6464channels, respectively\.

The final decoder features are passed to a segmentation head\. Dropout with probability0\.10\.1is followed by a pointwise convolution that producesC=4C=4class logits\. The head then linearly interpolates these logits to the original signal length and applies a class\-wise softmax to obtain the predicted class probabilities:

fθ​\(x~\)=softmaxclass⁡\(𝒰T​\(Dθdec​\(Henc\)\)\),f\_\{\\theta\}\(\\widetilde\{x\}\)=\\operatorname\{softmax\}\_\{\\mathrm\{class\}\}\\left\(\\mathcal\{U\}\_\{T\}\\left\(D\_\{\\theta\_\{\\mathrm\{dec\}\}\}\(H\_\{\\mathrm\{enc\}\}\)\\right\)\\right\),whereDθdecD\_\{\\theta\_\{\\mathrm\{dec\}\}\}comprises the decoder, dropout, and pointwise classifier, and𝒰T\\mathcal\{U\}\_\{T\}denotes linear interpolation to lengthTT\.

### 2\.3Boundary\-Aware Mean Teacher

We use Mean Teacher\[[13](https://arxiv.org/html/2609.16489#bib.bib7)\]with a studentfθf\_\{\\theta\}and a teacherfθ¯f\_\{\\bar\{\\theta\}\}\. The teacher is initialized from the student and updated after each optimization step asθ¯←0\.99​θ¯\+0\.01​θ\\bar\{\\theta\}\\leftarrow 0\.99\\bar\{\\theta\}\+0\.01\\theta\. It operates in evaluation mode without gradient updates\. For each unlabeled segment, the teacher receives a weak viewxwx^\{\\mathrm\{w\}\}obtained by random temporal resizing and padding or cropping\. The student receives a strong viewxsx^\{\\mathrm\{s\}\}with additional stochastic amplitude perturbations and powerline, white, or sinusoidal noise\. The two views remain temporally aligned\. Labeled segments and their masks undergo the same weak transformation\.

For a labeled minibatchℬl\\mathcal\{B\}\_\{\\mathrm\{l\}\}, we use sample\-wise cross\-entropy:

ℒsup=−1\|ℬl\|​T∑\(x,y\)∈ℬl∑t=1Tlog\[fθ\(x\)\]yt,t,\\mathcal\{L\}\_\{\\mathrm\{sup\}\}=\-\\frac\{1\}\{\|\\mathcal\{B\}\_\{\\mathrm\{l\}\}\|T\}\\sum\_\{\(x,y\)\\in\\mathcal\{B\}\_\{\\mathrm\{l\}\}\}\\sum\_\{t=1\}^\{T\}\\log\[f\_\{\\theta\}\(x\)\]\_\{y\_\{t\},t\},\(2\)where\(x,y\)\(x,y\)denotes an augmented segment and its aligned mask\. For each unlabeled segment, writeq=fθ¯​\(xw\)q=f\_\{\\bar\{\\theta\}\}\(x^\{\\mathrm\{w\}\}\)andp=fθ​\(xs\)p=f\_\{\\theta\}\(x^\{\\mathrm\{s\}\}\)\. Both consistency terms use the soft\-target cross\-entropyℓt=−∑c=03qc,tlogpc,t\\ell\_\{t\}=\-\\sum\_\{c=0\}^\{3\}q\_\{c,t\}\\log p\_\{c,t\}\.

To emphasize potential waveform boundaries, we measure changes between adjacent teacher probability vectors:

δt=12∑c=03\|qc,t−qc,t−1\|,t=2,…,T,\\delta\_\{t\}=\\frac\{1\}\{2\}\\sum\_\{c=0\}^\{3\}\|q\_\{c,t\}\-q\_\{c,t\-1\}\|,\\qquad t=2,\\ldots,T,\(3\)withδ1=0\\delta\_\{1\}=0\. We spread these changes over a±4\\pm 4\-sample neighborhood and normalize over the full segment:

et=max1≤u≤T\|u−t\|≤4⁡δu,bt=etmax⁡\(10−6,maxu⁡eu\)\.e\_\{t\}=\\max\_\{\\begin\{subarray\}\{c\}1\\leq u\\leq T\\\\ \|u\-t\|\\leq 4\\end\{subarray\}\}\\delta\_\{u\},\\qquad b\_\{t\}=\\frac\{e\_\{t\}\}\{\\max\(10^\{\-6\},\\max\_\{u\}e\_\{u\}\)\}\.\(4\)Letat=maxc⁡qc,ta\_\{t\}=\\max\_\{c\}q\_\{c,t\}denote teacher confidence\. Setg=1g=1if its mean over the segment is at least0\.500\.50, andg=0g=0otherwise\. The region and boundary weights are

wtr\\displaystyle w\_\{t\}^\{\\mathrm\{r\}\}=g\(1−bt\)𝟏\[at≥0\.80\],\\displaystyle=g\(1\-b\_\{t\}\)\\mathbf\{1\}\[a\_\{t\}\\geq 0\.80\],\(5\)wtb\\displaystyle w\_\{t\}^\{\\mathrm\{b\}\}=g​bt​\(1\+at\)/2\.\\displaystyle=gb\_\{t\}\(1\+a\_\{t\}\)/2\.The region term favors confident positions away from probability changes, including background\. The boundary term emphasizes these changes without the hard sample\-wise confidence threshold\.

For an unlabeled minibatchℬu\\mathcal\{B\}\_\{\\mathrm\{u\}\}, we normalize the two terms independently:

ℒk=∑x∈ℬu∑t=1Twtk​ℓtmax⁡\(1,∑x∈ℬu∑t=1Twtk\),k∈\{r,b\},\\mathcal\{L\}\_\{k\}=\\frac\{\\sum\_\{x\\in\\mathcal\{B\}\_\{\\mathrm\{u\}\}\}\\sum\_\{t=1\}^\{T\}w\_\{t\}^\{k\}\\ell\_\{t\}\}\{\\max\\\!\\left\(1,\\sum\_\{x\\in\\mathcal\{B\}\_\{\\mathrm\{u\}\}\}\\sum\_\{t=1\}^\{T\}w\_\{t\}^\{k\}\\right\)\},\\quad k\\in\\\{\\mathrm\{r\},\\mathrm\{b\}\\\},\(6\)where the dependence ofwtkw\_\{t\}^\{k\}andℓt\\ell\_\{t\}onxxis implicit\. The student minimizes

ℒ=12​\(ℒsup\+ℒr\+ℒb\)\.\\mathcal\{L\}=\\frac\{1\}\{2\}\\left\(\\mathcal\{L\}\_\{\\mathrm\{sup\}\}\+\\mathcal\{L\}\_\{\\mathrm\{r\}\}\+\\mathcal\{L\}\_\{\\mathrm\{b\}\}\\right\)\.\(7\)

## 3Experimental Settings

### 3\.1Datasets

We follow the public in\-domain and merged cross\-domain protocols of SemiSegECG\[[9](https://arxiv.org/html/2609.16489#bib.bib14)\], using its supplied training, validation, and test splits\. LUDB\[[5](https://arxiv.org/html/2609.16489#bib.bib12)\], QTDB\[[6](https://arxiv.org/html/2609.16489#bib.bib11)\], ISP\[[1](https://arxiv.org/html/2609.16489#bib.bib8)\], and Zhejiang\[[16](https://arxiv.org/html/2609.16489#bib.bib10)\]provide delineation labels\. Each lead is treated as an independent input\. Under the in\-domain protocol \(Table[1](https://arxiv.org/html/2609.16489#S3.T1)\), labeled and unlabeled data come from the same dataset\. Random subsets comprising 1/16, 1/8, 1/4, or 1/2 of the training set serve as labeled data, while the entire training set serves as unlabeled data\. Under the merged cross\-domain protocol \(Figure[3](https://arxiv.org/html/2609.16489#S4.F3)\), the four labeled datasets are combined while preserving their original splits, and PTB\-XL\[[14](https://arxiv.org/html/2609.16489#bib.bib9)\]serves as an external unlabeled dataset\. We evaluate on the merged in\-domain test set to assess performance when labeled and unlabeled training data come from different sources\. Following SemiSegECG preprocessing, waveforms are resampled to 250 Hz, producingT=2500T=2500samples, and processed with high\-pass and low\-pass filters at 0\.67 and 40 Hz\. Z\-score normalization is applied to all model inputs\.

### 3\.2Training and Evaluation

We train for 100 epochs using AdamW with a learning rate of10−310^\{\-3\}and weight decay of 0\.05\. The learning rate increases linearly during the first 10 epochs and subsequently follows a cosine schedule toward10−410^\{\-4\}\. Each step uses 16 labeled and 16 unlabeled examples\. We select the student checkpoint with the highest validation mean intersection\-over\-union \(mIoU\) and evaluate it on the test set\. mIoU includes all four classes, including background\. All mIoU results with standard deviations are from our experiments and are reported as the mean ± standard deviation across three random seeds\.

Table 1:In\-domain test mIoU \(%\) under varying labeled\-data ratios\. Baseline results are from SemiSegECG\[[9](https://arxiv.org/html/2609.16489#bib.bib14)\]and use a ResNet\-18 \+ FCN\.R\-U\-Netresults are reported as mean±standard deviation over three seeds\.

## 4Results

### 4\.1In\-Domain Evaluation

Table[1](https://arxiv.org/html/2609.16489#S3.T1)presents the 16 in\-domain evaluations on SemiSegECG\. We compareR\-U\-Nettrained using Boundary\-aware MT with six baseline training methods using the ResNet\-18 \+ FCN architecture, as reported in SemiSegECG\[[9](https://arxiv.org/html/2609.16489#bib.bib14)\]\.R\-U\-Netachieves the highest mIoU across all four datasets and four labeled\-data proportions, outperforming the strongest baseline in each setting by 3\.3 to 13\.0 mIoU\. At the lowest labeled\-data proportion \(1/16\), the improvements are 13\.0, 8\.9, 12\.3, and 4\.5 mIoU on LUDB, QTDB, ISP, and Zhejiang, respectively\. These results demonstrate consistent improvements across datasets and levels of labeled\-data availability, including settings with limited annotations\.

![Refer to caption](https://arxiv.org/html/2609.16489v1/figs/cross_domain_barplot.png)Figure 3:Cross\-domain test mIoU on the merged in\-domain test set\. Baselines use an FCN decoder\[[9](https://arxiv.org/html/2609.16489#bib.bib14)\]\.
### 4\.2Cross\-Domain Evaluation

Figure[3](https://arxiv.org/html/2609.16489#S4.F3)comparesR\-U\-Nettrained using Boundary\-aware MT with six baseline training methods using the ResNet\-18 \+ FCN architecture in the cross\-domain setting\.R\-U\-Netachieves the highest mIoU of 82\.6, exceeding the strongest baseline, Scratch \(74\.5 mIoU\), by 8\.1 mIoU\. These results show thatR\-U\-Netmaintains its performance advantage when labeled and unlabeled training data come from different sources, supporting its effectiveness beyond the in\-domain training setting\.

### 4\.3Comparing Decoder Variants

Table 2:Ablation study of decoder variants on the LUDB dataset\[[5](https://arxiv.org/html/2609.16489#bib.bib12)\]using a labeled\-data proportion of 1/16\.We evaluate two intermediate decoder variants: \(1\)Wide FCN, which adds an additional convolutional layer and increases the channel widths to match the parameter count of our U\-Net decoder \(∼\\sim1\.03M\), and \(2\)U\-Net \(w/o skip connections\), which is the same U\-Net decoder used inR\-U\-Netwithout skip connections\. To isolate the effect of the decoder, we train Wide FCN, U\-Net w/o skip connections, and U\-Net with the scratch training method\. Wide FCN achieves comparable performance to the original FCN \(67\.2 versus 67\.3 mIoU\)\. The U\-Net decoder without skip connections achieves 80\.0 mIoU, while adding skip connections improves mIoU by 1\.8 points to 81\.8\. These results suggest that the gains primarily arise from the U\-Net decoder, with skip connections providing a minor increase\.

### 4\.4Comparing SSL Approaches

Table 3:Ablation study on applying different semi\-supervised training methods toR\-U\-Net\. We conduct experiments on LUDB 1/16\.ArchitectureMethodmIoUResNet\-18 \+ FCNScratch67\.3MT70\.8FixMatch70\.9CPS68\.6ReCo71\.5ST\+\+69\.2R\-U\-NetScratch81\.8±0\.2MT84\.0±0\.1FixMatch83\.5±0\.2Boundary\-aware MT \(Ours\)84\.5±0\.1

Table[3](https://arxiv.org/html/2609.16489#S4.T3)compares different training methods forR\-U\-Netwith the ResNet\-18 \+ FCN baselines on LUDB 1/16\. Under scratch training, replacing the FCN decoder with the U\-Net decoder increases mIoU from 67\.3 to 81\.8, a gain of 14\.5 mIoU\. ScratchR\-U\-Netalso exceeds the strongest FCN baseline, ReCo \(71\.5 mIoU\), by 10\.3 mIoU\. SSL provides smaller additional gains: FixMatch, standard MT, and boundary\-aware MT achieve 83\.5, 84\.0, and 84\.5 mIoU, respectively\. Boundary\-aware MT improves over scratch training by 2\.7 mIoU and standard MT by only 0\.5 mIoU\. These results indicate that decoder design accounts for most of the improvement in this setting, with SSL providing modest additional gains\.

## 5Conclusion

In this paper, we introduceR\-U\-Net, which pairs a ResNet\-18 encoder with a U\-Net decoder for ECG delineation\. Across the SemiSegECG benchmark,R\-U\-Netoutperforms the evaluated ResNet\-18 \+ FCN baselines in all 16 in\-domain settings and the cross\-domain setting, demonstrating consistent improvements across datasets and levels of labeled\-data availability\. Controlled ablations indicate that decoder design accounts for most of these gains\. Increasing the FCN decoder’s parameter count provides no improvement, whereas the U\-Net decoder substantially improves performance even without skip connections\. Under scratch training,R\-U\-Netalso exceeds the strongest evaluated FCN baseline by 10\.3 mIoU points\. Together, these findings highlight the importance of establishing strong architectural baselines when assessing SSL for ECG delineation, particularly under limited supervision\. Future work could examine whether these decoder\-level findings extend to other encoders and datasets, and develop SSL methods that further improve delineation when annotations are scarce\.

## 6Compliance with Ethical Standards

This study retrospectively analyzed publicly available, de\-identified ECG data from LUDB\[[5](https://arxiv.org/html/2609.16489#bib.bib12)\], QTDB\[[6](https://arxiv.org/html/2609.16489#bib.bib11)\], ISP\[[1](https://arxiv.org/html/2609.16489#bib.bib8)\], Zhejiang\[[16](https://arxiv.org/html/2609.16489#bib.bib10)\], and PTB\-XL\[[14](https://arxiv.org/html/2609.16489#bib.bib9)\]\. No additional ethical approval was required for this secondary analysis\.

## 7Acknowledgments

This work was conducted in collaboration with the Mario Lemieux Center for Heart Rhythm Care at Allegheny General Hospital\.

## References

- \[1\]\(2024\)ISP ecg delineation dataset\.Zenodo\.External Links:[Document](https://dx.doi.org/10.5281/zenodo.11472366),[Link](https://doi.org/10.5281/zenodo.11472366)Cited by:[§3\.1](https://arxiv.org/html/2609.16489#S3.SS1.p1.1),[§6](https://arxiv.org/html/2609.16489#S6.p1.1)\.
- \[2\]A\. Dosovitskiy, L\. Beyer, A\. Kolesnikov, D\. Weissenborn, X\. Zhai, T\. Unterthiner, M\. Dehghani, M\. Minderer, G\. Heigold, S\. Gelly, J\. Uszkoreit, and N\. Houlsby\(2021\)An image is worth 16x16 words: transformers for image recognition at scale\.External Links:2010\.11929,[Link](https://arxiv.org/abs/2010.11929)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p3.1)\.
- \[3\]K\. He, X\. Zhang, S\. Ren, and J\. Sun\(2015\)Deep residual learning for image recognition\.External Links:1512\.03385,[Link](https://arxiv.org/abs/1512.03385)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p3.1),[§2\.2](https://arxiv.org/html/2609.16489#S2.SS2.p1.1)\.
- \[4\]G\. Jimenez\-Perez, A\. Alcaine, and O\. Camara\(2021\)Delineation of the electrocardiogram with a mixed\-quality\-annotations dataset using convolutional neural networks\.Scientific Reports11\.Note:Art\. no\. 863External Links:[Document](https://dx.doi.org/10.1038/s41598-020-79512-7)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p2.1)\.
- \[5\]A\. I\. Kalyakulina, I\. I\. Yusipov, V\. A\. Moskalenko, A\. V\. Nikolskiy, K\. A\. Kosonogov, G\. V\. Osipov, N\. Yu\. Zolotykh, and M\. V\. Ivanchenko\(2020\)LUDB: a new open\-access validation tool for electrocardiogram delineation algorithms\.External Links:1809\.03393,[Link](https://arxiv.org/abs/1809.03393)Cited by:[§3\.1](https://arxiv.org/html/2609.16489#S3.SS1.p1.1),[Table 2](https://arxiv.org/html/2609.16489#S4.T2),[§6](https://arxiv.org/html/2609.16489#S6.p1.1)\.
- \[6\]P\. Laguna, R\.G\. Mark, A\. Goldberg, and G\.B\. Moody\(1997\)Database for evaluation of algorithms for measurement of qt and other waveform intervals in the ecg\.Computers in Cardiology1997,pp\. 673 – 676\.External Links:[Document](https://dx.doi.org/10.1109/CIC.1997.648140)Cited by:[§3\.1](https://arxiv.org/html/2609.16489#S3.SS1.p1.1),[§6](https://arxiv.org/html/2609.16489#S6.p1.1)\.
- \[7\]J\. P\. Martínez, R\. Almeida, S\. Olmos, A\. P\. Rocha, and P\. Laguna\(2004\)A wavelet\-based ECG delineator: evaluation on standard databases\.IEEE Transactions on Biomedical Engineering51\(4\),pp\. 570–581\.External Links:[Document](https://dx.doi.org/10.1109/TBME.2003.821031)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p2.1)\.
- \[8\]J\. Oh, H\. Chung, J\. Lee, M\. Kim, H\. Yoon, K\. S\. Lee, Y\. Lee, M\. Yeo, and E\. Choi\(2026\)ECG\-reasoning\-benchmark: a benchmark for evaluating clinical reasoning capabilities in ecg interpretation\.External Links:2603\.14326,[Link](https://arxiv.org/abs/2603.14326)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p2.1)\.
- \[9\]M\. Park, J\. Lim, T\. Yu, and S\. Joo\(2025\)SemiSegECG: a multi\-dataset benchmark for semi\-supervised semantic segmentation in ecg delineation\.InProceedings of the 34th ACM International Conference on Information and Knowledge Management,CIKM ’25,New York, NY, USA,pp\. 5099–5104\.External Links:ISBN 9798400720406,[Link](https://doi.org/10.1145/3746252.3760790),[Document](https://dx.doi.org/10.1145/3746252.3760790)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p1.1),[§1](https://arxiv.org/html/2609.16489#S1.p3.1),[§1](https://arxiv.org/html/2609.16489#S1.p4.1),[§3\.1](https://arxiv.org/html/2609.16489#S3.SS1.p1.1),[Table 1](https://arxiv.org/html/2609.16489#S3.T1),[Figure 3](https://arxiv.org/html/2609.16489#S4.F3),[§4\.1](https://arxiv.org/html/2609.16489#S4.SS1.p1.1)\.
- \[10\]A\. Peimankar and S\. Puthusserypady\(2021\)DENS\-ECG: a deep learning approach for ECG signal delineation\.Expert Systems with Applications165\.Note:Art\. no\. 113911External Links:[Document](https://dx.doi.org/10.1016/j.eswa.2020.113911)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p2.1)\.
- \[11\]P\. Rajpurkar, A\. Y\. Hannun, M\. Haghpanahi, C\. Bourn, and A\. Y\. Ng\(2017\)Cardiologist\-level arrhythmia detection with convolutional neural networks\.External Links:1707\.01836,[Link](https://arxiv.org/abs/1707.01836)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p1.1)\.
- \[12\]O\. Ronneberger, P\. Fischer, and T\. Brox\(2015\)U\-net: convolutional networks for biomedical image segmentation\.External Links:1505\.04597,[Link](https://arxiv.org/abs/1505.04597)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p4.1),[§2\.2](https://arxiv.org/html/2609.16489#S2.SS2.p1.1)\.
- \[13\]A\. Tarvainen and H\. Valpola\(2017\)Mean teachers are better role models: weight\-averaged consistency targets improve semi\-supervised deep learning results\.InAdvances in Neural Information Processing Systems,Vol\.30\.Cited by:[§2\.3](https://arxiv.org/html/2609.16489#S2.SS3.p1.1)\.
- \[14\]P\. Wagner, N\. Strodthoff, R\. Bousseljot, D\. Kreiseler, F\. I\. Lunze, W\. Samek, and T\. Schaeffter\(2020\)PTB\-XL, a large publicly available electrocardiography dataset\.Scientific Data7\(1\),pp\. 154\(en\)\.Note:Number: 1 Publisher: Nature Publishing GroupExternal Links:ISSN 2052\-4463,[Link](https://www.nature.com/articles/s41597-020-0495-6),[Document](https://dx.doi.org/10.1038/s41597-020-0495-6)Cited by:[§3\.1](https://arxiv.org/html/2609.16489#S3.SS1.p1.1),[§6](https://arxiv.org/html/2609.16489#S6.p1.1)\.
- \[15\]Y\. Zhao, J\. Kang, T\. Zhang, P\. Han, and T\. Chen\(2025\)ECG\-chat: a large ecg\-language model for cardiac disease diagnosis\.External Links:2408\.08849,[Link](https://arxiv.org/abs/2408.08849)Cited by:[§1](https://arxiv.org/html/2609.16489#S1.p1.1)\.
- \[16\]J\. Zheng, G\. Fu, K\. Anderson, H\. Chu, and C\. Rakovski\(2020\)A 12\-lead ECG database to identify origins of idiopathic ventricular arrhythmia containing 334 patients\.Scientific Data7\(1\),pp\. 98\.External Links:[Document](https://dx.doi.org/10.1038/s41597-020-0440-8)Cited by:[§3\.1](https://arxiv.org/html/2609.16489#S3.SS1.p1.1),[§6](https://arxiv.org/html/2609.16489#S6.p1.1)\.

Similar Articles

The Impact of Temporal Context Length and Encoding Strategies on Self-Supervised ECG Representation Learning

arXiv cs.LG

This paper presents a controlled study on ECG self-supervised representation learning, examining how temporal context length (16s to 10min) and encoding strategy (continuous patch embeddings vs discretized tokens) affect downstream rhythm detection and patient-level retrieval. Results show longer context and continuous encoders improve performance, motivating extended-context ECG foundation models.