TL;DR
Real-world data like medical vitals or weather readings are often sparse and recorded at irregular intervals, making accurate probabilistic forecasting exceptionally difficult. This paper introduces CoPFITi, the first copula-based framework for irregular time series that is strictly marginalization-consistent by construction. By pairing expressive normalizing flows for individual variables with a flexible Gaussian Mixture Copula for joint dependencies, CoPFITi achieves state-of-the-art forecasting performance while guaranteeing mathematical validity.
What Problem Does This Paper Address?
In domains like healthcare (ICU monitoring) and climate science, data arrives as Irregular Multivariate Time Series (IMTS)—meaning variables are observed asynchronously and at non-uniform timestamps. To make dependable decisions, models must provide full probabilistic forecasts that capture the joint distribution over any queried subset of variables and time points.
A core requirement for these models is marginalization consistency: predictions over a small subset of variables must perfectly align with predictions derived from a larger joint set. Copula models naturally separate individual variable behaviors (marginals) from their collective interactions (dependency structures), making them ideal candidates for this task. However, existing attentional copula models (like TACTiS and TACTiS-2) fail to strictly preserve univariate marginals, violating foundational copula theory (Sklar's theorem) and leading to mathematically inconsistent forecasts.
Methods
CoPFITi solves this by decoupling the joint distribution into two specialized components:
- MargFlow: A novel univariate marginal model that combines a state-of-the-art encoder with Deep Sigmoidal Flows (DSF). It maps each variable's distribution to a uniform space in a query-separable manner, ensuring that a prediction at one time point doesn't depend on which other time points are being queried.
- Gaussian Mixture Copula (GM-C): To capture complex, non-linear, and multi-modal dependencies, CoPFITi models the joint dependency structure in a latent space using a Gaussian Mixture Model (GMM). Crucially, it mixes components before applying the copula transformation, allowing it to capture intricate structures like ring-shaped distributions.
Training and Inversion
CoPFITi uses a two-stage training scheme: MargFlow is trained first in isolation, then frozen while the copula parameters ($\pi, \mu, \Sigma$) are optimized. Because a GMM's marginal cumulative distribution function (CDF) cannot be inverted analytically, the authors developed a GPU-vectorized, safeguarded Newton-bisection solver paired with exact analytical gradients to efficiently map data between the uniform and latent spaces.
Datasets
The authors evaluated their approach on four standard IMTS benchmarks:
- USHCN: A climatological dataset of daily weather measurements, artificially sparsified by randomly dropping 95% of observations.
- PhysioNet-2012: ICU patient records tracking 37 vital signs over 48 hours, binned hourly.
- MIMIC-III: ICU stays containing 96 clinical variables aggregated into 30-minute intervals.
- MIMIC-IV: A highly fine-grained clinical dataset with 102 variables binned at 1-minute resolution.
Key Insights and Ideas
- Decoupling Wins: Training marginal distributions independently (isolated training) yields significantly better marginal likelihoods than trying to optimize the full joint distribution all at once.
- The Order of Operations Matters: A simple mixture of Gaussian copulas (Mix-GC) can only interpolate linear correlations around a single center. By defining a full GMM before the copula transformation, CoPFITi's GM-C inherits multi-modal properties, enabling it to model complex dependencies that lie completely outside the expressive capacity of standard copula mixtures.
- Structural Validity over Empirical Convergence: While models like TACTiS-2 rely on deep neural networks to learn to behave like a copula, CoPFITi enforces copula properties and marginalization consistency structurally through its mathematical architecture.
Key Results
Marginal and Joint Likelihoods
MargFlow consistently achieved the lowest Marginal Negative Log-Likelihood (mNLL) across all four datasets, outperforming both joint architectures and existing univariate baselines.
When evaluating the full joint distribution (njNLL), CoPFITi significantly outperformed non-copula baselines and performed on par with or better than TACTiS-2, while uniquely maintaining mathematical consistency.
Quantifying the Validity Gap
To measure marginalization consistency, the authors calculated the Wasserstein distance between empirical copulas sampled directly versus those obtained via marginalization. CoPFITi scored exceptionally close to the ideal baseline control (e.g., 0.535 vs 0.633 on PhysioNet), whereas TACTiS-2 exhibited errors orders of magnitude higher (10.78), demonstrating its severe marginalization inconsistency.
Limitations and Future Work
- Low-Rank Ceiling: To keep computational complexity linear ($O(N)$) rather than cubic ($O(N^3)$) relative to the query size, CoPFITi utilizes a low-rank off-diagonal structure for its covariance matrices. This prevents the model from capturing full-rank or near-perfect continuous dependencies, though experiments suggest this ceiling rarely binds in practical scenarios.
- Query-Independent Weights: To guarantee consistency, the mixture weights ($\pi$) depend solely on historical observations and cannot adapt based on the specific target locations being queried.
- Future Directions: The authors suggest extending CoPFITi's architecture to other conditional joint density estimation problems, such as handling missing-value imputation in tabular datasets.
Summary updated