TY - JOUR AU - Lim, Hyoungjin AU - Che, Gwonsoo AU - Lee, Wonyeol AU - Yang, Hongseok PY - 2020/04/03 Y2 - 2024/03/29 TI - Differentiable Algorithm for Marginalising Changepoints JF - Proceedings of the AAAI Conference on Artificial Intelligence JA - AAAI VL - 34 IS - 04 SE - AAAI Technical Track: Machine Learning DO - 10.1609/aaai.v34i04.5918 UR - https://ojs.aaai.org/index.php/AAAI/article/view/5918 SP - 4828-4835 AB - <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> ER -