Continuous Time Bayesian Networks with Clocks

Nicolai Engelmann, Dominik Linzner, Heinz Koeppl

Introduction

Many real-world systems, such as gene regulatory networks and social dynamics, exhibit "memory." In these systems, the time a variable remains in a state—its survival time—often depends on how long it has already occupied that state. Standard Continuous-Time Bayesian Networks (CTBNs) are popular for modeling such systems but are fundamentally limited by their Markovian nature, which assumes survival times follow an exponential (memoryless) distribution. While "phase-type" distributions have been used to circumvent this, they lead to a state-space explosion that makes models computationally intractable.

Augmented CTBNs with Clocks

To address these limitations, this work introduces Augmented CTBNs. Instead of adding hidden states, each node in the network is augmented with its own continuous-valued clock, $T_n(t)$. This clock resets to zero whenever the node changes state.

Figure 1: (a) Model structure with clocks. (b) Time-unrolled representation. (c) Example trajectories of states X and clocks T.

By defining the system state as a pair $(X, T)$, the joint process becomes Markovian even though the discrete state $X$ alone is non-Markovian. This preservation of the Markov property in the augmented space maintains mathematical tractability for exact inference. The model utilizes a "minimum distribution" property: the global survival time is the minimum of local survival distributions, allowing for efficient simulation via a modified Gillespie algorithm.

Inference and Structure Learning

The framework supports both parameter learning (estimating distribution shapes) and structure learning (identifying causal influences). A key advantage is modularity; the likelihood functions allow for independent learning of each node's parents, mitigating the curse of dimensionality.

Experiments using synthetic trajectories generated from Weibull and Gamma distributions demonstrate the model's robustness. Standard CTBNs often fail to identify correct network structures when applied to non-Markovian data, sometimes "hallucinating" or missing edges because they cannot account for the timing of events.

Key Results

The Augmented CTBN significantly outperforms traditional models in both parameter estimation and structure discovery.

Figure 4: Performance metrics for Weibull (a-c) and Gamma (d-f) distributions. MSE shows convergence of parameter estimates, while AUROC and AUPR demonstrate superior structure recovery.

As shown in Figure 4, the Mean Squared Error (MSE) of parameter estimates converges toward zero as the number of observed transitions increases. Furthermore, the Augmented CTBN achieves consistently higher AUROC and AUPR scores for structure recovery compared to standard CTBNs. In biological benchmarks using E. coli gene networks from GeneNetWeaver, the augmented model correctly identified high-confidence edges where traditional CTBNs predicted incorrect relationships.

Conclusion and Future Work

Augmented CTBNs provide a scalable and accurate way to model non-Markovian dynamics without the state-space explosion of previous methods. While the current inference algorithms assume fully observed transitions, future work will focus on extending this clock-based approach to latent or sparsely sampled data. Additionally, formulating the model to handle raw continuous expression data directly could further enhance its utility in biological research.

Summary updated

BibTeX
@inproceedings{engelmann2020continuous,
  author = {Nicolai Engelmann and Dominik Linzner and Heinz Koeppl},
  title = {{Continuous Time Bayesian Networks with Clocks}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure