TL;DR
This paper reframes the challenge of irregularly-sampled time series as a missing data problem. By introducing an encoder-decoder framework featuring continuous convolutional layers, the authors achieve classification performance on par with state-of-the-art Latent ODE models while training 10 to 50 times faster.
The Challenge of Irregular Data
In fields like healthcare, data rarely arrives on a clean, periodic schedule. A patient might have their heart rate checked every hour, but blood tests only once a day, and perhaps no measurements at all during a shift change. Standard machine learning models (like CNNs or basic RNNs) struggle here because they require fixed-dimensional inputs—essentially a neat grid of data.
Existing solutions often involve "imputing" (filling in) the gaps or using complex models like Latent Ordinary Differential Equations (ODEs). While Latent ODEs are mathematically elegant for modeling continuous change, they are notoriously slow to train because they process data sequentially and require expensive numerical solvers. The authors ask: Can we model these irregular sequences more efficiently by treating them as partial observations of an underlying continuous function?
Proposed Methodology
The authors propose a general encoder-decoder framework that can be trained using either Variational Autoencoders (P-VAE) or Generative Adversarial Networks (P-BiGAN).
The core innovations driving this framework include:
- Index Representation: They treat each observation as a pair: a value and its "index" (timestamp). This makes the model permutation invariant, meaning the order in which you feed the data points doesn't matter as long as the timestamps are attached.
- Continuous Convolutional Layers (CONV): To bridge the gap between scattered data points and standard neural networks, they developed a continuous version of the convolution operation. Instead of a discrete filter sliding over a grid, they use a continuous filter (modeled as a piecewise linear function or B-spline) that can "pick up" information from any point in time.
- Kernel Smoother Decoder: To turn a latent representation back into a continuous time series, the decoder uses a kernel smoother to interpolate between reference values, ensuring the output is a smooth function over time.
Experimental Datasets
The researchers evaluated their framework on two distinct types of "missingness":
- Image Completion (MNIST & CelebA): Though not time series, images with missing pixels serve as a perfect test for "finite index" missing data. They tested "square observation" (only a small patch is visible) and "independent dropout" (random pixels missing).
- Medical Time Series (MIMIC-III): A real-world dataset containing ~53,000 clinical records. It includes 12 irregularly-sampled variables (like heart rate and glucose) recorded over 48 hours. The task was to predict in-hospital mortality.
Key Insights
- The "Missing Data" Shift: By viewing irregular sampling as a missing data problem rather than a sequential modeling problem, the authors move away from slow, step-by-step processing (RNNs/ODEs) toward parallelizable, CNN-like architectures.
- B-Splines for Efficiency: Using degree-1 B-splines for the continuous convolutional kernels allows the model to be highly parameter-efficient. It’s much faster than using a Multi-Layer Perceptron (MLP) to approximate the same function.
- P-BiGAN vs. MisGAN: The authors improved upon previous GAN-based imputation (MisGAN) by utilizing an independence assumption between the data and the sampling times, which simplifies the model and speeds up training significantly.
Results and Performance
- Speed: This is the headline result. On the MIMIC-III dataset, the Cont P-VAE was over 50 times faster per epoch than Latent ODEs, and the Cont P-BiGAN was over 10 times faster.
- Accuracy: Despite the speedup, the models didn't sacrifice performance. On MIMIC-III mortality prediction, the Cont P-BiGAN achieved an AUC of 86.05%, slightly outperforming Latent ODEs (85.71%) and significantly beating standard GRU-D models (83.88%).
- Imputation Quality: In image tasks, P-BiGAN outperformed MisGAN in terms of Frechet Inception Distance (FID), particularly when the missingness followed a random dropout pattern.
Limitations and Future Work
- Independence Assumption: The current framework assumes that the timing of an observation (when a doctor takes a measurement) is independent of the value of the observation. In reality, doctors often take more measurements when a patient is in critical condition. The authors provide a theoretical way to relax this in the appendix, but it wasn't the focus of the main experiments.
- Fixed Time Span: The model is designed for data observed over a fixed interval $[0, T]$. Adapting this to streaming data or varying time horizons would be a natural next step.
- Blurriness: Like many VAE-based models, the P-VAE can produce somewhat blurry imputations when the latent space capacity is low, as seen in the MNIST experiments.
Summary updated