Abstract: Event detection turns long recordings into a sparse set of ranked timestamps. Yet many sequence models are trained for samplewise segmentation and only convert predicted states into events after training. We ask whether training directly for the evaluated output improves detection. Boundary Density Likelihood (BDL) assigns one unit of target mass to each annotated event, preserves that mass through smoothing and temporal downsampling, and uses a Poisson objective to estimate expected event mass in each output bin; local peaks become ranked detections. In a prespecified five-fold nested sleep study, BDL-Hard raises pooled out-of-fold mAP from 0.586 to 0.705 over interval segmentation (+11.9 percentage points; 95% interval [10.8, 13.0]) and strict one-minute AP from 0.071 to 0.286 (4.0x; +21.5 points), improving on every outer fold. A separate held-out rerun reproduces the direction of the effect. A matched boundary-BCE detector reaches 0.702 mAP, showing that direct boundary supervision and event decoding account for most of the gain, with a smaller contribution from the Poisson objective. The same trend appears with an offline convolutional model; causal, Transformer, and patient-grouped seizure experiments leave broader generalization unresolved. Our results support training on event times when timestamps define the evaluated output.
Read the original article: