{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2606-02605","title":"Cross-Modal Contrastive Learning of ECG and Angiography Representations for Severe Stenosis Classification","arxiv_id":"2606.02605","date":"2026-05-23","proceeding":null,"authors":["Nikola Cenikj","Özgün Turgut","Alexander Müller","Alexander Steger","Jan Kehrer","Marcus Brugger","Daniel Rueckert","Philip Müller"],"abstract":"Coronary artery stenosis is a common cardiovascular disease, with severe, untreated cases posing significant risks of heart attack. Although coronary (X-ray) angiograms remain the standard for stenosis diagnosis, they are invasive, time- and resource-intensive, and therefore only performed on patients with a high probability of disease based on symptoms and prior clinical tests. However, a subset of patients, especially those without symptoms, may remain undiagnosed. Detecting indications of stenosis from ECGs, which are fast, cheap, non-invasive, and thus routinely acquired even in asymptomatic patients, would support early diagnosis. However, as no reliable stenosis-specific signal has been identified in ECGs, they can not currently be used for stenosis risk stratification. To address this, we introduce StenCE, a pretraining framework, allowing stratification of patients based on features derived directly from ECGs. Evaluations across varying stenosis severity thresholds and additional ECG disease classification tasks demonstrate consistent performance improvements across different ECG encoders, outperforming previous work. The obtained models successfully detect signals for stenosis diagnosis in ECGs and are the first to achieve high performance in severe stenosis classification. The source code is available at https://github.com/NikolaCenic/ecg-stenosis-cls.","url_abs":"https://arxiv.org/abs/2606.02605","url_pdf":"https://arxiv.org/pdf/2606.02605","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2606.02605","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.02605"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/NikolaCenic/ecg-stenosis-cls","reach":null}],"summary":{"ran_honours":1,"ran":7},"by_repo_kind":{"found_in_text":{"samples":8,"ran":8,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":8,"samples":[{"code_sha256_prefix":"616b5e82dd2a38f9","entry":"count_params","repo":"NikolaCenic/ecg-stenosis-cls","repo_kind":"found_in_text","path":"finetune/engine_finetune.py","file_url":"https://github.com/NikolaCenic/ecg-stenosis-cls/blob/HEAD/finetune/engine_finetune.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":2,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"616b5e82dd2a38f9"}},{"code_sha256_prefix":"9132f43a74a1a982","entry":"adjust_learning_rate","repo":"NikolaCenic/ecg-stenosis-cls","repo_kind":"found_in_text","path":"finetune/util/lr_sched.py","file_url":"https://github.com/NikolaCenic/ecg-stenosis-cls/blob/HEAD/finetune/util/lr_sched.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9132f43a74a1a982"}},{"code_sha256_prefix":"34bfd2c11e0c3d4e","entry":"adjust_learning_rate_old","repo":"NikolaCenic/ecg-stenosis-cls","repo_kind":"found_in_text","path":"finetune/util/lr_sched.py","file_url":"https://github.com/NikolaCenic/ecg-stenosis-cls/blob/HEAD/finetune/util/lr_sched.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"34bfd2c11e0c3d4e"}},{"code_sha256_prefix":"a8538dd05bb617ba","entry":"count_optimizer_params","repo":"NikolaCenic/ecg-stenosis-cls","repo_kind":"found_in_text","path":"finetune/engine_finetune.py","file_url":"https://github.com/NikolaCenic/ecg-stenosis-cls/blob/HEAD/finetune/engine_finetune.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a8538dd05bb617ba"}},{"code_sha256_prefix":"065a42c695a08705","entry":"count_params","repo":"NikolaCenic/ecg-stenosis-cls","repo_kind":"found_in_text","path":"stence/models.py","file_url":"https://github.com/NikolaCenic/ecg-stenosis-cls/blob/HEAD/stence/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"065a42c695a08705"}},{"code_sha256_prefix":"89edf5372214b57d","entry":"get_layer_id_for_vit","repo":"NikolaCenic/ecg-stenosis-cls","repo_kind":"found_in_text","path":"finetune/util/lr_decay.py","file_url":"https://github.com/NikolaCenic/ecg-stenosis-cls/blob/HEAD/finetune/util/lr_decay.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"89edf5372214b57d"}},{"code_sha256_prefix":"dfa88e01b2db1415","entry":"log_12lead_ecg_to_wandb","repo":"NikolaCenic/ecg-stenosis-cls","repo_kind":"found_in_text","path":"finetune/engine_finetune.py","file_url":"https://github.com/NikolaCenic/ecg-stenosis-cls/blob/HEAD/finetune/engine_finetune.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dfa88e01b2db1415"}},{"code_sha256_prefix":"8baf25cef41cba16","entry":"param_groups_lrd","repo":"NikolaCenic/ecg-stenosis-cls","repo_kind":"found_in_text","path":"finetune/util/lr_decay.py","file_url":"https://github.com/NikolaCenic/ecg-stenosis-cls/blob/HEAD/finetune/util/lr_decay.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8baf25cef41cba16"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}