Papers › Test-Time Adaptation for ECG Classification via SQI-Gated Self-Training and...

Test-Time Adaptation for ECG Classification via SQI-Gated Self-Training and Beat-Rhythm Consistency

24 Aug 2026arXiv:2608.23347added by Syntology

Wenhan Jiang, Zhipeng Deng, Jiale Zhou, Haolin Wang, Yafei Ou, Yefeng Zheng

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Deep learning models for electrocardiogram (ECG) classification often suffer from significant performance degradation when deployed in unseen domains due to shifts in acquisition devices and patient populations. Test-time adaptation (TTA) offers a practical solution by adapting models using only unlabeled data at inference time. However, existing TTA methods often underperform on ECG tasks, since naive online updates ignore the hierarchical beat-rhythm structure of cardiac cycles and are vulnerable to signal artifacts, which leads to unstable adaptation and model drift. We propose BeatRhythm-TTA, an ECG-tailored TTA framework that explicitly accounts for ECG's noisy observations and structured beat-rhythm semantics under domain shift. First, to handle pervasive ECG artifacts, we introduce a Signal Quality Index (SQI)-gated adaptation scheme that selectively filters out low-quality signals to prevent harmful updates. Second, to leverage ECG's beat-rhythm semantics, we enforce dual-level consistency so the model preserves beat morphology and rhythm dynamics while adapting to shifted acquisition conditions. Extensive experiments on multi-label ECG diagnosis across three adaptation protocols, using PTB-XL as the source domain and CPSC2018/Georgia as two target domains, demonstrate the effectiveness of our method, yielding an average +2.70% relative improvement in Macro-F1 over the best competing method.

PaperPDFCode 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="2608.23347")

Code

Syntology Ran 15 of 19 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 5 ran · our draft was wrong; 6 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: found in paper text by Syntology: 19 samples from 1 repository, 15 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Vincent-Wenhan/BeatRhythm-TTA found in paper text by Syntology report

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

19 samples harvested; 15 ran; 1 honoured the contract we drafted; 4 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
1ran · violated contract
5ran · our draft was wrong
6ran · fixture could not drive it
2ran
4unverified

Licence: 0 of the 19 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 Vincent-Wenhan/BeatRhythm-TTA. “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.

Adapter Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran MIT (permissive) · c0af846e96ca4517 · report
OutputHook Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran MIT (permissive) · 4f9c8246f0d92fdc · report
_aggregate_sample_sqi_from_beats Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · e9d6a42d11559450 · report
_augment_time_aligned Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · cc7d4ce406f2e230 · report
_beat_sqi_from_raw Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 23352225e22a2766 · report
_cos_loss Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 1469877e1da868a1 · report
_cos_loss_vec Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 1e42a7bd01e89218 · report
_get_module_by_name Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 81577d17c0818df4 · report
_map_rpeaks_sample_to_feat Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 499349346847f746 · report
_pool_beats Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 029a9cac897dd0c7 · report
as_2class_if_binary Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · honoured contract fingerprinted MIT (permissive) · 3bafcfe99aa8c684 · report
bn_affine_params_only Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · ca63893288e88e89 · report
bn_modules Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 62a7126295af3df9 · report
forward Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 95c7d423e5761bc9 · report
is_multilabel Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology ran · violated contract MIT (permissive) · 90ab2183d1b2985c · report
BeatRhythmTTA Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology unverified MIT (permissive) · c2e98b521fef27fa · report
disable_dropout Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology unverified MIT (permissive) · 7e9b5e32fb471ada · report
set_bn_eval_only Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology unverified MIT (permissive) · 93f5aab7ab70e133 · report
set_bn_train_only Vincent-Wenhan/BeatRhythm-TTA/src/method/beatrhythmtta.py found in paper text by Syntology unverified MIT (permissive) · 95f74d4e6881a050 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2608.23347, was issued in August 2026, after that date, so the archive has no leaderboard rows for it.

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