Papers › Guiding Masked Representation Learning to Capture Spatio-Temporal Relationship of...

Guiding Masked Representation Learning to Capture Spatio-Temporal Relationship of Electrocardiogram

2 Feb 2024arXiv:2402.09450archive 2025-07-28

Yeongyeon Na, Minje Park, Yunwon Tae, Sunghoon Joo

Electrocardiograms (ECG) are widely employed as a diagnostic tool for monitoring electrical signals originating from a heart. Recent machine learning research efforts have focused on the application of screening various diseases using ECG signals. However, adapting to the application of screening disease is challenging in that labeled ECG data are limited. Achieving general representation through self-supervised learning (SSL) is a well-known approach to overcome the scarcity of labeled data; however, a naive application of SSL to ECG data, without considering the spatial-temporal relationships inherent in ECG signals, may yield suboptimal results. In this paper, we introduce ST-MEM (Spatio-Temporal Masked Electrocardiogram Modeling), designed to learn spatio-temporal features by reconstructing masked 12-lead ECG data. ST-MEM outperforms other SSL baseline methods in various experimental settings for arrhythmia classification tasks. Moreover, we demonstrate that ST-MEM is adaptable to various lead combinations. Through quantitative and qualitative analysis, we show a spatio-temporal relationship within ECG data. Our code is available at https://github.com/bakqui/ST-MEM.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.09450")

Code

Syntology Ran 9 of 12 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 8 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bakqui/st-mem officialmentioned in paperpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 9 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
8ran
3unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from bakqui/st-mem. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Attention bakqui/st-mem/models/st_mem.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · 99e49f8a77853d36 · report
DropPath bakqui/st-mem/models/st_mem.py official repository ran fingerprinted licence not identified · pointer only · 2b3233292ba7ed4f · report
FeedForward bakqui/st-mem/models/st_mem.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · 64ed1b3cde2d010f · report
PreNorm bakqui/st-mem/models/st_mem.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · a24bf8bb8d9da4b8 · report
ST_MEM_ViT bakqui/st-mem/models/st_mem.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · 97bd47441e36c7ba · report
TransformerBlock bakqui/st-mem/models/st_mem.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · 8bb3bf9e7e9a8e01 · report
build_loss_fn bakqui/ST-MEM/util/losses.py official repository ran licence not identified · pointer only · 0aac3a5d3e7366d0 · report
get_1d_sincos_pos_embed bakqui/st-mem/models/st_mem.py official repository ran · honoured contract fingerprinted licence not identified · pointer only · be5ed6c1426a7112 · report
get_1d_sincos_pos_embed bakqui/ST-MEM/models/mtae.py official repository ran licence not identified · pointer only · 7824ae360cc8164e · report
ST_MEM bakqui/st-mem/models/st_mem.py official repository unverified licence not identified · pointer only · 972e6be1273bd1fe · report
vit_base bakqui/ST-MEM/models/encoder/vit.py official repository unverified licence not identified · pointer only · c1e83d90ebccadea · report
vit_small bakqui/ST-MEM/models/encoder/vit.py official repository unverified licence not identified · pointer only · b07cc3e316c32ce2 · report

Tasks

DiagnosticECG ClassificationElectrocardiography (ECG)Representation LearningSelf-Supervised Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

MAE

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections