ECG-RSI: Recursive Self-Improvement through Targeted Electrocardiogram Waveform Evolution
Organizations: Zhejiang University · Ant Group · Shanghai Artificial Intelligence Laboratory · Shanghai Jiao Tong University
Abstract
Electrocardiogram (ECG) models need supervision that targets evolving weaknesses and remains faithful to waveform evidence. We introduce ECG-RSI, a recursive self-improvement framework combining verified waveform synthesis with feedback-guided intervention search. Signal remeasurement verifies waveform edits; construction errors guide generator repair, while learner errors motivate interventions compared on a separate selection set. Across seven benchmarks, three rounds raise Qwen3.5-35B-A3B's mean question-answering accuracy from 34.57% to 56.04% and mean classification F1 from 24.27 to 34.03. Across the retained trajectory, the preferred supervision shifts from direct reinforcement to confusion-focused contrasts. Continued feedback correction yields diminishing external gains. These results motivate separating error diagnosis from intervention selection and checking whether gains on the feedback set transfer to independent benchmarks.
Figures & tables
| R-A round | MMMU ECG Acc. | CSN Acc. | G12EC Acc. | ECG-QA Acc. | PTB-XL F1 | CPSC 2018 F1 | CODE 15% F1 | S7 |
| R0 | 42.00 | 30.91 | 41.36 | 23.99 | 29.50 | 13.10 | 30.20 | 30.15 |
| R1 | 48.00 | 61.68 | 64.61 | 33.56 | 32.90 | 23.00 | 38.80 | 43.22 |
| R2 | 56.00 | 64.86 | 66.39 | 34.55 | 36.40 | 23.90 | 41.50 | 46.23 |
| R3 | 57.50 | 67.23 | 66.24 | 33.18 | 38.30 | 22.80 | 41.00 | 46.61 |
| (R3 R0) | +15.50 | +36.32 | +24.88 | +9.19 | +8.80 | +9.70 | +10.80 | +16.46 |
| Accuracy (%) | Accuracy difference | |||||||
| Dataset | R0 | R1 | R2 | R3 | R1 R0 | R2 R1 | R3 R2 | R3 R0 |
| MedX | 51.57 | 55.94 | 55.86 | 57.24 | +4.37 | -0.08 | +1.38 | +5.67 |
| LUDB | 53.45 | 61.28 | 63.28 | 67.24 | +7.83 | +2.00 | +3.96 | +13.79 |
| Round | NSR | AF | AFL | ST | SB | PVC | PAC | AVB-I | Mobitz-I | Mobitz-II | AVB-III | LBBB | RBBB | Ant-STEMI | Inf-STEMI | Lat-STEMI | Post-STEMI | LVH | RVH | LQTS | HyperK | WPW | Brugada |
| 168 | 154 | 147 | 132 | 128 | 143 | 136 | 121 | 109 | 105 | 118 | 139 | 141 | 149 | 145 | 116 | 108 | 152 | 124 | 134 | 117 | 113 | 101 | |
| R0 | 25.0 | 39.6 | 44.9 | 28.0 | 26.6 | 40.6 | 39.0 | 38.0 | 42.2 | 48.6 | 44.1 | 36.7 | 35.5 | 44.3 | 43.4 | 46.6 | 49.1 | 37.5 | 41.1 | 41.0 | 42.7 | 41.6 | 45.5 |
| R1 | 19.6 | 32.5 | 38.1 | 22.0 | 20.3 | 33.6 | 32.4 | 31.4 | 34.9 | 41.0 | 36.4 | 30.2 | 29.1 | 37.6 | 36.6 | 38.8 | 40.7 | 30.9 | 33.9 | 34.3 | 35.9 | 34.5 | 37.6 |
| R2 | 14.9 | 26.6 | 32.0 | 16.7 | 15.6 | 27.3 | 26.5 | 25.6 | 28.4 | 34.3 | 29.7 | 24.5 | 23.4 | 31.5 | 30.3 | 31.9 | 34.3 | 25.0 | 27.4 | 28.4 | 29.9 | 28.3 | 30.7 |
| R3 | 11.3 | 21.4 | 26.5 | 12.9 | 11.7 | 21.7 | 21.3 | 19.8 | 22.0 | 27.6 | 23.7 | 19.4 | 18.4 | 26.2 | 24.8 | 25.9 | 27.8 | 19.7 | 21.8 | 22.4 | 23.9 | 22.1 | 23.8 |
| 13.7 | 18.2 | 18.4 | 15.2 | 14.8 | 18.9 | 17.6 | 18.2 | 20.2 | 21.0 | 20.3 | 17.3 | 17.0 | 18.1 | 18.6 | 20.7 | 21.3 | 17.8 | 19.4 | 18.7 | 18.8 | 19.5 | 21.8 |
| Feature | Unit | Bias | MAE | RMSE | MAE limit | Status | |
| HR | bpm | 0.63 | 2.14 | 2.22 | 4.53 | Met | |
| RR | ms | 3.11 | 15.28 | 15.36 | 226.28 | Met | |
| PR | ms | 0.57 | 7.71 | 7.78 | 60.21 | Met | |
| QRS | ms | 4.12 | 4.58 | 4.61 | 4.28 | Met | |
| QT | ms | 0.94 | 9.71 | 9.85 | 96.15 | Met | |
| QTc | ms | 0.86 | 10.22 | 10.34 | 106.19 | Met |
| Metric | Value | 95% CI | Source | |
| Target attainment | 0.82 | [0.76, 0.87] | 240 | Stage 2 |
| Non-target preservation | 0.79 | [0.73, 0.84] | 240 | Stage 2 |
| Morphology consistency | 0.86 | [0.81, 0.90] | 240 | Stage 1 |
| Lead consistency | 0.83 | [0.78, 0.88] | 240 | Stage 1 |
| Answer accuracy | 0.88 | [0.83, 0.92] | 240 | Stage 3 |
| Explanation support | 0.76 | [0.70, 0.81] | 240 | Stage 3 |
| Edit | Target | Preserve | Morph. | Answer | Support | |
| HR | 40 | 0.85 | 0.80 | 0.88 | 0.90 | 0.78 |
| RR | 40 | 0.78 | 0.75 | 0.82 | 0.85 | 0.72 |
| PR | 40 | 0.80 | 0.78 | 0.85 | 0.88 | 0.75 |
| QRS | 40 | 0.83 | 0.81 | 0.87 | 0.89 | 0.77 |
| QT | 40 | 0.82 | 0.79 | 0.86 | 0.87 | 0.76 |
| QTc | 40 | 0.84 | 0.80 | 0.88 | 0.89 | 0.78 |
| Group | Added data | S7 | S7 |
| A | Ordinary training-side questions | 44.15 | +0.93 |
| B | Forward-only synthesis | 44.27 | +1.05 |
| C | Forward + reverse, fixed selection proportions | 45.56 | +2.34 |
| D | Forward + reverse, feedback-guided selection | 46.23 | +3.01 |
| Method | Candidates required | Pass (%) | Question score | S7 | S7 |
| Full method | 16,193 | 61.76 | 85.09 | 43.22 | 0.00 |
| Freeze operator updates | 36,723 | 27.23 | 71.90 | 39.29 | -3.93 |
| Freeze skill updates | 22,398 | 44.65 | 79.20 | 40.15 | -3.07 |
| Feedback used for selection | S7 | S7 | S7 vs. fixed |
| None: fixed mixture | 45.56 | +2.34 | 0.00 |
| ECG category | 45.60 | +2.38 | +0.04 |
| Category + question type | 45.98 | +2.76 | +0.42 |
| Category + type + difficulty + confusion pairs | 46.23 | +3.01 | +0.67 |
| Round | Branch | New-data composition | Decision | |
| R0 R1 | A | AV block 45%; L3 50%; measurement questions 60% | 42.66 | ✓ Retain |
| B | Mobitz I/II and LBBB/RBBB contrasts 55%; L3 40% | 40.51 | Archive | |
| C | L2+L3 60%; clinical-reasoning questions 50% | 38.27 | Archive | |
| R1 R2 | A | Four regional STEMI categories 50%; L3 55%; image-localization questions 45% | 44.12 | Archive |
| B | Anterior/lateral and inferior/posterior STEMI contrasts 60%; L3 45% | 45.08 | ✓ Retain | |
| C | L3 70%; multistep-reasoning questions 55% | 43.55 | Archive |
| Update | Retained data | Error rate (%): before after |
| R0 R1 (A) | AV block: 4,500 (45%); L3: 5,000 (50%); measurement: 6,000 (60%) | L3: 58.20 51.81 ; Mobitz II: 48.57 40.95 |
| R1 R2 (B) | Regional STEMI contrasts: 6,000 (60%); L3: 4,500 (45%) | L3: 51.81 44.41 ; posterior STEMI: 40.74 34.26 |
| R2 R3 (B) | AF/AFL and PAC/PVC contrasts: 5,500 (55%); L3: 4,500 (45%) | L3: 44.41 38.17 ; AF: 26.62 21.43 ; AFL: 31.97 26.53 |
| Strategy | R0 | R1 | R2 | R3 | R3 R0 | R3 R2 | R3 vs. tree |
| Tree | 30.15 | 43.22 | 46.23 | 46.61 | +16.46 | +0.38 | 0.00 |
| Uniform | 30.15 | 39.67 | 43.25 | 41.45 | +11.30 | -1.80 | -5.16 |
| Chain | 30.15 | 44.20 | 44.75 | 43.70 | +13.55 | -1.05 | -2.91 |
| Method | S7 (mean SD) | |
| Full method | 0.00 | |
| Freeze operators | ||
| Freeze skills |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Round | L1 | L2 | L3 |
| R0 | 318 (26.11) | 421 (38.52) | 401 (58.20) |
| R1 | 247 (20.28 ) | 362 (33.12 ) | 357 (51.81 ) |
| R2 | 196 ( 16.09 ) | 309 ( 28.27 ) | 306 ( 44.41 ) |
| R3 | 158 ( 12.97 ) | 267 ( 24.43 ) | 263 ( 38.17 ) |
| Model | Seed 1 | Seed 2 | Seed 3 | Mean SD |
| Base | 30.15 | 30.15 | 30.15 | |
| ECG-RSI R1 | 33.42 | 33.18 | 33.61 | |
| ECG-RSI R2 | 35.27 | 35.04 | 35.48 | |
| ECG-RSI R3 | 37.86 | 37.52 | 38.09 |
| Benchmark | Split | Task / reported metric | |
| MMMU-ECG | mmmu-ecg | 200 | Single-choice accuracy |
| CSN | csn-test-no-cot | 1,611 | Single-choice accuracy |
| G12EC | g12-test-no-cot | 2,026 | Single-choice accuracy |
| ECG-QA | ecgqa-test | 1,317 | Answer-set exact-match accuracy |
| PTB-XL | ptb-test | 2,082 | Multi-label F1 |
| CPSC2018 | cpsc-test | 2,061 | Multi-label F1 |
Language Model Self-Improvement
Language model self-improvement studies how models use their own outputs, feedback, and experience to improve with less external supervision.
See all 170 papers