Bagel: A Fast Bayesian Online Changepoint Detection Algorithm for Linear Models via Posterior Merging
Ziyang Yang, Paul Fearnhead, Dan Grose
Key points
From the paper's conclusion- We show that merging enables better approximations of the posterior of when a change occurs.
Abstract
Bayesian online changepoint detection provides a natural framework for quantifying uncertainty about whether and when a change has occurred. It also enables the use of prior information which can increase detection power. Exact Bayesian inference sequentially updates the posterior of whether and when a change has occurred. We present a unified approach to calculating and updating this posterior for a class of regression models covering standard changepoint scenarios, such as changes in mean and slope, whilst also allowing common structure such as seasonal effects. However, naive implementation has a computational cost that increases linearly over time. We, further, introduce approximate updates that keep this cost constant. These are based on novel ideas of merging changepoint times, and are an alternative to existing pruning approaches. We show that merging enables better approximations of the posterior of when a change occurs. Furthermore, we introduce a novel condition for merging that accounts for both the posterior probability of the changepoint times and the similarity of their corresponding post-change parameters. We show that this is more accurate than conditions that only consider the former. We demonstrate the advantage of our approach on simulated data, and the Azure LLM inference traces.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Online Change-Point Detection in Vector Autoregressive Models: A Score-Driven Bayesian Approach.Entropy (Basel, Switzerland) · 2026
- Time Series Change Point Detection with Gaussian ProcessesarXiv · 2026
- Bayesian Reconciliation of Overlapping Multi-Step Forecasts: A Post-Processing Framework for Cross-Origin CoherencearXiv · 2026
- Online Bayesian Inference for a Dirichlet Process Mixture of Binary Logit ModelsarXiv · 2026
- Changepoint localization via nested exchangeability tests: from point estimates to confidence intervalsarXiv · 2026
- Bayesian Change Point Detection in VAR ProcessesJournal of Time Series Analysis · 2026