Quantitative Regular Expressions for Arrhythmia Detection Algorithms
Houssam Abbas, Alena Rodionova, Ezio Bartocci, Scott A. Smolka and, Radu Grosu

TL;DR
This paper introduces Quantitative Regular Expressions (QREs) as a formal language to specify and verify arrhythmia detection algorithms, enabling rigorous analysis and testing of medical devices with real patient data.
Contribution
It formalizes arrhythmia detection algorithms using QREs, simplifying their specification, analysis, and testing compared to traditional temporal logics.
Findings
QREs effectively express peak detection and discriminators in arrhythmia algorithms.
QRE-based detectors perform comparably to cardiologists on real patient data.
The approach facilitates formal verification and potential regulatory benefits.
Abstract
Motivated by the problem of verifying the correctness of arrhythmia-detection algorithms, we present a formalization of these algorithms in the language of Quantitative Regular Expressions. QREs are a flexible formal language for specifying complex numerical queries over data streams, with provable runtime and memory consumption guarantees. The medical-device algorithms of interest include peak detection (where a peak in a cardiac signal indicates a heartbeat) and various discriminators, each of which uses a feature of the cardiac signal to distinguish fatal from non-fatal arrhythmias. Expressing these algorithms' desired output in current temporal logics, and implementing them via monitor synthesis, is cumbersome, error-prone, computationally expensive, and sometimes infeasible. In contrast, we show that a range of peak detectors (in both the time and wavelet domains) and various…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · ECG Monitoring and Analysis · Receptor Mechanisms and Signaling
