Differentiable Algorithm for Marginalising Changepoints
Hyoungjin Lim, Gwonsoo Che, Wonyeol Lee, Hongseok Yang

TL;DR
This paper introduces a differentiable algorithm for marginalising changepoints in time-series models, enabling gradient-based inference and learning with improved computational efficiency.
Contribution
It presents a novel O(mn) algorithm for marginalising changepoints that is differentiable and suitable for gradient-based methods, improving over previous approaches.
Findings
Efficient O(mn) algorithm for changepoint marginalisation.
Demonstrated effectiveness on synthetic and real-world data.
Enables gradient-based inference in changepoint models.
Abstract
We present an algorithm for marginalising changepoints in time-series models that assume a fixed number of unknown changepoints. Our algorithm is differentiable with respect to its inputs, which are the values of latent random variables other than changepoints. Also, it runs in time O(mn) where n is the number of time steps and m the number of changepoints, an improvement over a naive marginalisation method with O(n^m) time complexity. We derive the algorithm by identifying quantities related to this marginalisation problem, showing that these quantities satisfy recursive relationships, and transforming the relationships to an algorithm via dynamic programming. Since our algorithm is differentiable, it can be applied to convert a model non-differentiable due to changepoints to a differentiable one, so that the resulting models can be analysed using gradient-based inference or learning…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBayesian Modeling and Causal Inference · Statistical Methods and Inference · Advanced Control Systems Optimization
