HP-GSBS: Accelerating greedy state boundary search with reusable interval statistics
Yanzhe Zhao, Yongzhang Ji
Key points
From the paper's conclusion- HP-GSBS is an open-source Python package that reorganizes the search around reusable interval contributions and correlation statistics.
Abstract
Greedy State Boundary Search (GSBS) identifies transitions between relatively stable neural activity patterns, but repeated candidate evaluation makes large analyses expensive. HP-GSBS is an open-source Python package that reorganizes the search around reusable interval contributions and correlation statistics. Streaming candidate reduction and local refinement further reduce repeated work; CPU, PyTorch CUDA and Triton backends share sequential segmentation decisions. Across seven controlled workloads with two realizations each, median same-input speedups range from 154 to 1730 times. All 168 optimized executions reproduce original boundaries and selected state counts, with maximum absolute t-distance difference $1.88\times10^{-11}$. Four frozen EEG recordings provide complementary validation, including a complete input-to-segmentation application example. Batch processing, versioned result persistence and optional low-memory execution support recording collections and longer inputs. By removing redundant computation, HP-GSBS makes established neural-state segmentation faster while preserving its scientific outputs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Finite Sample Complexity Analysis of Binary SegmentationAlgorithms · 2026
- Efficient and reproducible pipelines for spike sorting large-scale electrophysiology dataeLife · 2026
- TSB-SEG: A Systematic Time-Series Segmentation BenchmarkarXiv · 2026
- Learning predictive latent structure from unclustered neural spike trainsbioRxiv · 2026
- Learning and Forecasting Multiscale Spatiotemporal Epidemic Dynamics with Lagrangian-Eulerian Graph Neural ODEsarXiv · 2026
- Ranking Influential Spreaders Across Transmission Rates: Information Limits of Simulated Supervision and a Transmission-Aware Graph Neural Ranker.Entropy (Basel, Switzerland) · 2026