Search papers, labs, and topics across Lattice.
This paper introduces RecursiveECG, a novel framework that leverages an LLM to refine ECG classifiers by focusing on specific failures rather than relying solely on aggregate performance metrics. By employing Criteria-to-Measurement Compilation, the framework converts curated ECG criteria into deterministic functions that provide reproducible measurements, which are then analyzed through Evidence-Grounded Failure Review to identify and address classifier limitations. The approach yields a significant average relative improvement of 10.0% across multiple datasets, demonstrating the effectiveness of evidence-driven model refinement in ECG classification.
Evidence-driven refinement of ECG classifiers reveals that focusing on specific failures can lead to a 10% performance boost over traditional methods.
Deep models have substantially advanced 12-lead ECG classification, yet their refinement still relies heavily on human experts to inspect failures and iteratively revise classifier designs. Recent LLM-based agents have demonstrated the potential for automated model design, but when guided only by aggregate performance metrics, they lack insight into why individual cases fail and how the classifier should be revised. We present RecursiveECG, an evidence-driven LLM-as-Designer framework in which an LLM serves as an offline model designer that refines ECG classifiers based on concrete failures and objective ECG evidence. To ground failure diagnosis in executable evidence, Criteria-to-Measurement Compilation converts curated ECG criteria into validated deterministic functions that produce reproducible, reference-backed measurements for individual ECGs. Building on these measurements, Evidence-Grounded Failure Review analyzes failed and comparator cases by jointly considering raw waveforms, measurements, and model outputs, enabling the LLM to diagnose classifier limitations and formulate targeted revisions. Candidate revisions are executed and re-evaluated under a fixed problem contract, and only evidence-supported updates are retained. The resulting predictor is frozen after refinement and requires no LLM inference during deployment, while an audit trail links each accepted revision to its supporting evidence. Across PTB-XL, Georgia, and CPSC2018, RecursiveECG consistently outperforms strong baselines, achieving an average relative improvement of 10.0%. Extensive ablation and transfer studies further validate the effectiveness of its evidence-grounded refinement process.