COTODE: COntinuous Trajectory neural Ordinary Differential Equations for modelling event sequences

Ilya Kuleshov, Galina Boeva, Vladislav Zhuzhel, Evgenia Romanenkova, Evgeni Vorsin, Alexey Zaytsev

TL;DR

This paper introduces COTODE, a novel approach to modeling event sequences by treating events as observations of an underlying continuous Gaussian Process. This allows for more expressive and theoretically grounded models, leading to state-of-the-art performance improvements of up to 20% in AUROC.

What Problem Does This Paper Address?

Traditional methods for modeling event sequences often treat events as discrete occurrences, failing to capture the continuous dynamics that might underlie them. This can lead to models that are less expressive and struggle with uncertainty arising from unobserved periods between events. The authors aim to bridge this gap by proposing a framework that explicitly models the continuous evolution of the underlying system generating these events.

Methods

The core innovation of COTODE lies in its two main components:

  1. Gaussian Process (GP) Interpolation: Instead of directly modeling the event sequence, COTODE assumes that each event is an observation of an underlying, continuous Gaussian Process. This GP governs the "actor's dynamics." By interpolating between observed events using GP principles, COTODE creates a continuous trajectory representation of the system's state.
  2. Negative Feedback Mechanism: Leveraging the theoretical insights from GP modeling, the authors develop a novel, theoretically backed negative feedback (NF) mechanism. This NF mechanism is designed to stabilize the model's dynamics and improve its robustness, particularly in addressing the uncertainty that arises from the unobserved periods between events.

Datasets

The paper evaluates COTODE on several datasets, including:

  • PhysioNet Sepsis 4: A real-world dataset for sepsis prediction, characterized by missing values and short sequences.
  • U-Wave Gesture Library and Insect Sound: Datasets from the Time Series Classification archive, used for multiclass classification tasks.
  • Synthetic Pendulum Dataset: A regression task involving irregular sequences.
  • Pendulum-Angles and Sine-2: Synthetic datasets for forecasting, used to evaluate interpolation and extrapolation capabilities.
  • Bump Dataset: A binary classification task for distinguishing between bump functions and constant-zero functions.
  • SineMix Dataset: A regression task for predicting the frequency of sine waves.

Key Insights and Ideas

  • Events as Observations of Continuous Dynamics: Viewing events not as isolated points but as samples from an underlying continuous process is a powerful paradigm shift for sequence modeling.
  • GP Theory for Uncertainty Quantification: Using Gaussian Process theory provides a principled way to estimate the uncertainty inherent in modeling continuous dynamics from discrete observations.
  • Theoretically Grounded Negative Feedback: The developed NF mechanism is not ad-hoc but is derived from theoretical considerations, leading to provable stability and robustness benefits.
  • Bridging Discrete and Continuous: COTODE effectively bridges the gap between discrete event sequences and continuous underlying dynamics, offering a more holistic approach.

Key Results

COTODE demonstrates significant improvements across various tasks:

  • State-of-the-art Performance: Achieves up to 20% improvement in AUROC compared to similar architectures.
  • Improved Robustness: The GP interpolation and NF mechanism contribute to enhanced robustness, particularly in handling irregular sampling intervals and missing data.
  • Effective Uncertainty Handling: The model's ability to quantify and manage uncertainty arising from unobserved periods is a key advantage.
  • Strong Performance on Forecasting: Shows excellent results on forecasting tasks, particularly for irregular sampling.

Limitations and Future Work

  • Computational Cost: While achieving state-of-the-art results, the authors acknowledge that COTODE can be computationally more intensive due to its high-level implementation. They suggest that faster differentiable ODE libraries could mitigate this.
  • Generalization to Other Domains: The authors propose that the core concept of scaling integration time and the NF mechanism could be adapted to other domains beyond time series, such as event sequences, text, images, or tabular data.
  • Implementation Efficiency: The paper mentions that the computational cost is partly due to implementation, implying that optimized libraries could significantly improve performance.

Summary updated

Abstract

Observation of the underlying actors that generate event sequences reveals that they often evolve continuously. Most modern methods, however, tend to model such processes through at most piecewise-continuous trajectories. To address this, we adopt a way of viewing events not as standalone phenomena but instead as observations of a Gaussian Process, which in turn governs the actor's dynamics. We propose integrating these obtained dynamics, resulting in a continuous-trajectory modification of the widely successful Neural ODE model. Through Gaussian Process theory, we were able to evaluate the uncertainty in an actor's representation, which arises from not observing them between events. This estimate led us to develop a novel, theoretically backed negative feedback mechanism. Empirical studies indicate that our model with Gaussian process interpolation and negative feedback achieves state-of-the-art performance, with improvements up to 20% AUROC against similar architectures.
BibTeX
@misc{kuleshov2024cotode,
  author = {Ilya Kuleshov and Galina Boeva and Vladislav Zhuzhel and Evgenia Romanenkova and Evgeni Vorsin and Alexey Zaytsev},
  title = {{COTODE: COntinuous Trajectory neural Ordinary Differential Equations for modelling event sequences}},
  year = {2024},
  eprint = {2408.08055},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.08055},
}
Figure