Peak-Detector: Explainable Peak Detection via Instruction-Tuned Large Language Models in Physiological Signal

Jiahui Li, Yida Zhang, Zixuan Zeng, Jiayu Chen, Yingjian Song, Yin Xiao, Nishan Dong, Junjie Lu, Younghoon Kwon, Xiang Zhang, Jin Lu, Wenzhan Song and Fei Dou

Abstract

Accurate peak detection across diverse cardiac physiological signals, including the Electrocardiogram (ECG), Photoplethysmogram (PPG), Ballistocardiogram (BCG), and Bodyseismography (BSG), is fundamental for cardiovascular monitoring but is often hindered by artifacts and signal variability. Conventional algorithms are typically engineered with expert knowledge for a single signal modality, limiting their generalizability. Conversely, deep learning-based methods often lack interpretability, limiting transparency for expert verification and hindering expert-computer interaction. To address these limitations, we introduce Peak-Detector, a novel framework that leverages instruction-tuned Large Language Models (LLMs) for robust, cross-modal, and explainable peak detection. A core innovation of our framework is a “peak-representation” technique that transforms time-series data into a condensed format, preserving critical event information while significantly reducing signal length. This representation provides a crucial inductive bias, guiding the LLM to reason over physiologically meaningful events rather than raw, noisy data. The model is optimized through a two-stage process: supervised fine-tuning (SFT) followed by reinforcement learning (RL) with a multi-objective reward function. The model's self-explanation capabilities are cultivated by fine-tuning on a custom-built Peak-Explanation dataset. Across four modalities—ECG, PPG, BCG, and BSG—spanning seven datasets (six public benchmarks plus one real-world cohort), Peak-Detector demonstrates strong cross-modal performance, achieving best or tied-best detection under clinically relevant temporal tolerance. Beyond accuracy, the generated rationales surface failure modes and support verification and error analysis. Together, these results indicate a transparent and generalizable framework for trustworthy peak analysis and cardiovascular metric extraction.

Venue
UbiComp / IMWUT 2026
Volume
Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, Volume 10
DOI
10.1145/3810224
PDF
https://dl.acm.org/doi/pdf/10.1145/3810224
Anthology ID
2026.imwut-10.64

Cite

@article{li-etal-2026-peakdetector,
    title = {{Peak-Detector: Explainable Peak Detection via Instruction-Tuned Large Language Models in Physiological Signal}},
    author = {Jiahui Li and Yida Zhang and Zixuan Zeng and Jiayu Chen and Yingjian Song and Yin Xiao and Nishan Dong and Junjie Lu and Younghoon Kwon and Xiang Zhang and Jin Lu and Wenzhan Song and Fei Dou},
    journal = {Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies},
    volume = {10},
    issn = {2474-9567},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3810224},
    url = {https://doi.org/10.1145/3810224},
    abstract = {Accurate peak detection across diverse cardiac physiological signals, including the Electrocardiogram (ECG), Photoplethysmogram (PPG), Ballistocardiogram (BCG), and Bodyseismography (BSG), is fundamental for cardiovascular monitoring but is often hindered by artifacts and signal variability. Conventional algorithms are typically engineered with expert knowledge for a single signal modality, limiting their generalizability. Conversely, deep learning-based methods often lack interpretability, limiting transparency for expert verification and hindering expert-computer interaction. To address these limitations, we introduce Peak-Detector, a novel framework that leverages instruction-tuned Large Language Models (LLMs) for robust, cross-modal, and explainable peak detection. A core innovation of our framework is a “peak-representation” technique that transforms time-series data into a condensed format, preserving critical event information while significantly reducing signal length. This representation provides a crucial inductive bias, guiding the LLM to reason over physiologically meaningful events rather than raw, noisy data. The model is optimized through a two-stage process: supervised fine-tuning (SFT) followed by reinforcement learning (RL) with a multi-objective reward function. The model's self-explanation capabilities are cultivated by fine-tuning on a custom-built Peak-Explanation dataset. Across four modalities—ECG, PPG, BCG, and BSG—spanning seven datasets (six public benchmarks plus one real-world cohort), Peak-Detector demonstrates strong cross-modal performance, achieving best or tied-best detection under clinically relevant temporal tolerance. Beyond accuracy, the generated rationales surface failure modes and support verification and error analysis. Together, these results indicate a transparent and generalizable framework for trustworthy peak analysis and cardiovascular metric extraction.}
}