TRANSMISSION // 2610.41795v2
A Smaller ECG Graph That Shows Its Evidence
Source published
LYNX-ECG turns ECG beats into sparse graphs and tests which waveform regions, timing patterns and leads influence its predictions. Results are promising, but external performance and audit methods have limits.

An ECG classifier may identify a rhythm or conduction problem without making clear what part of the trace supported its decision. Researchers developed LYNX-ECG to represent beats as compact graphs whose nodes retain their times, then tested both classification performance and whether predictions respond to clinically meaningful changes.
Why make an ECG into a graph?
An electrocardiogram records the heart’s electrical activity as waveforms across multiple leads. Clinicians read their shape and timing: for example, the QRS complex reflects ventricular activation, while intervals between waveform landmarks can indicate conduction delays. Many machine-learning systems instead process long streams of measurements, making it difficult to tell which parts of a trace drove a prediction.
The researchers behind LYNX-ECG ask whether a graph-based representation can make that evidence easier to inspect without sacrificing predictive performance. Their approach represents each heartbeat as a visibility graph: selected points in the waveform become nodes, and edges connect points according to a geometric rule. The nodes keep their original timestamps, so they can be mapped back to locations in the ECG.
Keeping key points, not every sample
The researchers first identify turning points—local highs and lows—along with R peaks and beat boundaries. They add points where needed so that no gap between neighboring nodes exceeds 80 milliseconds. Each beat’s nodes are connected using the visibility rule, which links points when intermediate points fall below the line between them.
A graph neural network processes each beat, then combines information across beats within each lead and across the 12 leads to make predictions. The model was trained to classify six labels: first-degree atrioventricular block, right and left bundle-branch block, sinus bradycardia, atrial fibrillation and sinus tachycardia.
The team evaluated it on CODE-Test, a held-out set of 827 ECG exams, and on PTB-XL, an external dataset of 21,799 exams. They compared it with five model configurations, including ECGFounder, and ran three training seeds. To examine explanations, they used two complementary strategies: attribution scores that estimate which nodes contribute to a prediction, and interventions that remove defined waveform regions or change beat timing and then recalculate the model’s output.
Strong results on one test set, with a different picture externally
On CODE-Test, LYNX-ECG achieved a macro F1 of 0.889, the highest mean among the five evaluated baselines. Macro F1 averages performance across the six labels, balancing precision and recall. Its turning-point graphs required about 14% of the storage used by graphs containing every resampled point.
The external results were more qualified. On PTB-XL, LYNX-ECG’s macro F1 was 0.730, close to the ECGFounder variants; paired comparisons did not establish a difference from those models or from EfficientNet. The external evaluation also used a different label protocol, and the model’s decision threshold was not recalibrated for that dataset. For first-degree atrioventricular block, for example, the model’s ranking ability remained high, but its F1 at the fixed threshold was much lower. The study therefore does not show that performance transfers unchanged across datasets.
Testing whether explanations hold up
For conduction disorders, the team removed the PR interval or QRS complex from ECGs and measured how the model’s scores changed. Among correctly classified predictions for the three conduction labels, the clinically expected region had the largest contribution in 220 of 238 cases (92.4%). The pattern was strongest for right bundle-branch block. For first-degree atrioventricular block, QRS sometimes contributed more than PR, even though PR duration defines the diagnosis. The authors note that the model’s evidence can differ from the clinical criterion.
The attribution method was also sensitive to its reference input: for first-degree block, the apparent importance of PR shifted depending on the baseline used. Direct deletion tests avoid that particular choice, but they depend on how waveform regions are identified and removed. Using fixed time windows instead of beat-by-beat delineation reduced the expected region’s lead in the analysis.
Timing interventions offered another check. When beat intervals were changed while PR, QRS and QT durations were held fixed, bradycardia and tachycardia calls followed heart rate. Bundle-branch-block calls were more stable under that change, consistent with dependence on the QRS interval. Replacing every beat with an identical template eliminated atrial-fibrillation calls on CODE-Test, suggesting that the model relied on differences between beats. These are tests of the model’s behavior under constructed changes, not proof of how a heart condition works biologically.
What the study does—and does not—establish
The work presents a way to make ECG predictions more auditable: compact graphs preserve timestamps, and carefully designed interventions test whether model scores respond to relevant regions and rhythms. But the evaluation covers six labels and two datasets, and external performance depends on differences in annotation and decision thresholds. Some lead-level behavior also diverged from familiar diagnostic cues.
The source is an arXiv preprint, so its findings should be treated as research results rather than established clinical evidence. The authors report that the CODE training data are access-restricted, while code is available publicly. Further testing across populations, devices and labeling standards would be needed before drawing conclusions about clinical use.
- electrocardiogram
- ECG
- graph neural networks
- LYNX-ECG
- medical AI
- explainable AI
- visibility graphs
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
Teaching an ECG Model Where to Look
Supporting evidence: Both studies report methods for localizing ECG waveform evidence: LYNX-ECG’s expected PR or QRS region led in 220 of 238 correctly classified conduction-disorder verdicts, while IECG reports 75.55% localization AUROC using clinically guided attention. These findings are compatible but not directly comparable because the models, datasets, and evaluation procedures differ; IECG also notes limitations in its ground-truth annotations.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2610.41795v2 — Original paper
Excerpt reference:
static/papers/2610.41795v2.md:369-484
Basis: Paper text
Source file SHA-256:c206e82e3b91206a085971d27173b6ee8347e854d86b6f3cc220db28847249222610.28083v2 — Original paper
Excerpt reference:
static/papers/2610.28083v2.md:82-143
Basis: Paper text
Source file SHA-256:0125ff330d1371f65dc4dab446ffa6513838838ee63345f8820c84ab20317a052610.28083v2 — Original paper
Excerpt reference:
static/papers/2610.28083v2.md:1710-1826
Basis: Paper text
Source file SHA-256:0125ff330d1371f65dc4dab446ffa6513838838ee63345f8820c84ab20317a05
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Teaching an ECG Model Where to Look
Source published
Shared keywords: medical ai
HEART Gives ECG Patches Different Expert Pathways
Source published
Shared keywords: medical ai
When Do Medical AI Models Use Heartbeat Data?
Source published
Shared keywords: medical ai
Can AI infer ECG waveforms from pulse recordings?
Source published
Shared keywords: medical ai
Making Graph Neural Networks Explain Their Rules
Source published
Shared keywords: explainable ai, graph neural networks