Differentiable Algorithm for Marginalising Changepoints

11/22/2019
by   Hyoungjin Lim, et al.
0

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 techniques. We empirically show the effectiveness of our algorithm in this application by tackling the posterior inference problem on synthetic and real-world data.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/11/2022

Parameter Inference of Time Series by Delay Embeddings and Learning Differentiable Operators

A common issue in dealing with real-world dynamical systems is identifyi...
research
06/24/2019

Learning Latent Trees with Stochastic Perturbations and Differentiable Dynamic Programming

We treat projective dependency trees as latent variables in our probabil...
research
02/11/2018

Differentiable Dynamic Programming for Structured Prediction and Attention

Dynamic programming (DP) solves a variety of structured combinatorial pr...
research
06/01/2018

Reparameterization Gradient for Non-differentiable Models

We present a new algorithm for stochastic variational inference that tar...
research
05/30/2019

Factorized Inference in Deep Markov Models for Incomplete Multimodal Time Series

Integrating deep learning with latent state space models has the potenti...
research
06/13/2022

Differentiable and Transportable Structure Learning

We are interested in unsupervised structure learning with a particular f...
research
05/26/2023

Differentiable Random Partition Models

Partitioning a set of elements into an unknown number of mutually exclus...

Please sign up or login with your details

Forgot password? Click here to reset