@article{Lim_Che_Lee_Yang_2020, title={Differentiable Algorithm for Marginalising Changepoints}, volume={34}, url={https://ojs.aaai.org/index.php/AAAI/article/view/5918}, DOI={10.1609/aaai.v34i04.5918}, abstractNote={<p>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 <em>O</em>(<em>mn</em>) where <em>n</em> is the number of time steps and <em>m</em> the number of changepoints, an improvement over a naive marginalisation method with <em>O</em>(<em>n</em><sup><em>m</em></sup>) 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 techniques. We empirically show the effectiveness of our algorithm in this application by tackling the posterior inference problem on synthetic and real-world data.</p>}, number={04}, journal={Proceedings of the AAAI Conference on Artificial Intelligence}, author={Lim, Hyoungjin and Che, Gwonsoo and Lee, Wonyeol and Yang, Hongseok}, year={2020}, month={Apr.}, pages={4828-4835} }