Dense and Query-Set Prediction for J-Peak Detection in Pillow-Based Ballistocardiography
arXiv:2603.06221 · doi:10.1109/LSP.2026.3732056
Abstract
Pillow-based ballistocardiography (BCG) enables unobtrusive cardiac monitoring, but J-peak detection is commonly learned as dense sequence labeling although the desired output is a sparse event set. This letter asks a narrower question: how do dense and query-set outputs differ when the data, encoder, validation protocol, and event evaluator are controlled? We formulate one-dimensional point-set prediction with 64 learned queries and Hungarian assignment, and compare it with a shared-backbone dense Transformer and a U-Net--BiLSTM. Evaluation uses five-subject leave-one-subject-out testing, three independently seeded runs, validation-only postprocessing selection, and strict one-to-one peak association. The dense Transformer attains the highest subject-wise pooled F1 () and precision (), whereas U-Net--BiLSTM obtains F1. Set+DN reaches F1 but the lowest beat-count error ( beats/epoch), compared with for the dense Transformer. DN changes set-model F1 by only . The results identify distinct event-accuracy and count-fidelity operating points; they do not establish universal superiority of either output formulation.