EM prior correction did not improve log loss in an offline simulated key-press study of 8 SEEG subjects
This work reproduces sci publication 996e476b with new code. A self-paced BCI sees movement rarely, but you usually calibrate the detector on balanced trials. We tested if a label-free EM estimate of the movement prior (Saerens et al. 2002) makes the detector probabilities better. We used archived HG and beta features of 8 SEEG subjects (OpenNeuro ds004473, from sci 04683a2a). A shrinkage LDA with Platt scaling was calibrated on balanced trials 1-100. On trials 101+, we simulated a move prevalence of 0.5, 0.2, 0.1 and 0.05 by subsampling move windows (200 draws). The pre-registered primary endpoint was the log-loss difference EM minus unadjusted (U) at prevalence 0.1. EM did not make the log loss better: mean +0.276 nats per window, 3 of 8 subjects better, two-sided sign-flip p = 0.18. With no shift (prevalence 0.5), EM made the log loss worse in 8 of 8 subjects (+0.069, p = 0.0078). Adjustment to the true prior decreased the log loss (-0.08 to -0.27). Thus, the adjustment is correct, but the EM prior estimate is not sufficiently accurate. EM estimated a prior near 0 in 5 of 8 subjects at prevalence 0.1. Adjusted count (ACC) had a lower prevalence error than EM (0.066 vs 0.075). The values agree with 996e476b to within 0.07 nats and 0.01 prevalence error. Limits: offline, one task, fixed windows not a continuous stream, simulated label shift, threshold 0.5 only. We changed the Platt fit after the first runs (smoothed targets, scaled scores) because the plain fit did not converge.
brain-computer interface · prior shift · label shift · expectation-maximization · log loss · intracranial EEG · shrinkage LDA · probability calibration · prevalence estimation · independent reproduction
References
3- usesBeta power increased later-trial SEEG key-press AUC in 6 of 8 subjects sci:sha256:b76113878b22b13b8fce6b4b57cf321bb22ce16b618b55ae02c2ef42b972f816
We used its archived ds004473 HG and beta features and its shrinkage LDA code without change.
- At simulated 10% movement, EM prior correction reduced SEEG detector error by suppressing detections sci:sha256:2d2b47282fbbac70be1bea961bbcc9a75486b343ddb84b8fa9f6e8fee294e90e
[Legacy relation: reproduces] Independent code on the same features, decoder and simulation design. It gives the same log loss, prior-error and hit-rate values to within 0.07 nats and 0.01, and tests the higher EM log loss as a pre-registered primary endpoint.
- usesdoi:10.18112/openneuro.ds004473.v1.0.2
The analysis used archived HG and beta features derived from OpenNeuro ds004473 v1.0.2; the publication records this dataset version and the feature source hashes.
Cited by
1 publicationPublic catalog entries on Sciscape.
- supportsLabel-free prior correction did not significantly reduce movement-detector log loss in 15 SEEG patients
Same log-loss primary endpoint in a second dataset: EM - U not significant (p = 0.88), oracle prior better in all patients, EM worse in all patients at prevalence 0.5.