Abstract
Real-world multivariate time series data often suffer from irregular sampling, significant missingness, and high inter-individual variability. Traditional sequence models like RNNs and Transformers struggle with these continuous-time irregularities, while existing continuous-time solutions often rely on computationally expensive meta-learning. We present Temporal Variational Implicit Neural Representations (TV-INRs), a probabilistic framework that combines the continuous nature of Implicit Neural Representations (INRs) with amortized variational inference. TV-INRs enables accurate, individualized imputation and forecasting in a single forward pass, significantly reducing training and deployment overhead while outperforming state-of-the-art meta-learning approaches.
Introduction
In domains ranging from clinical healthcare to energy grid management, time series data is rarely clean or regularly spaced. Sensors fail, recording intervals vary, and individual subjects exhibit unique patterns. Standard deep learning architectures are typically designed for discrete, fixed-grid data, making them ill-suited for these "messy" real-world scenarios.
While continuous-time models such as Neural ODEs or INR-based architectures have been proposed, many current implementations rely on meta-learning. These models require expensive gradient-based optimization at test time to adapt to each new sample, posing a significant barrier to real-time deployment and scalability. TV-INRs addresses this challenge by providing a model that is continuous by design and offers "out-of-the-box" individualization through amortized inference, eliminating the need for per-sample optimization during inference.
Methodology
The TV-INR framework redefines time series modeling by parameterizing signals as continuous functions rather than discrete sequences.
Implicit Neural Representations (INRs)
At the core of the model is an INR, a neural network $f(t)$ that maps a time coordinate $t$ to a signal value. This allows the model to query the signal at any arbitrary time point, naturally handling irregular sampling.
Variational Framework and Amortized Inference
To handle individual variability without test-time optimization, TV-INRs employs a Variational Autoencoder (VAE) structure. An encoder maps observed, potentially sparse data points into a latent distribution. A sample from this distribution is then processed by a hypernetwork, which generates the specific weights $\theta$ for the INR. This process, known as amortized inference, allows the model to learn a general mapping from observations to function parameters.
Conditioning with Static Covariates
For datasets where additional context is available (e.g., patient demographics in clinical data), the model incorporates static covariates $C^{(i)}$ into the latent space. This conditioning (C-TV-INRs) further tailors the generated INR to the specific characteristics of the subject.
Experimental Setup
The effectiveness of TV-INRs was evaluated across several univariate and multivariate benchmarks:
- Univariate Datasets: Electricity (hourly consumption), Traffic (road occupancy), and Solar-10/Solar-H (photovoltaic production).
- Multivariate Datasets:
- Human Activity Recognition (HAR): Smartphone accelerometer data characterized by simultaneous channel gaps.
- PhysioNet Challenge 2012 (P12): Clinical ICU data with extreme sparsity and patient-specific covariates.
Results and Discussion
TV-INRs demonstrates significant improvements in both predictive accuracy and computational efficiency.
Performance and Resilience
The model shows remarkable resilience in low-data regimes. On the Solar-10 dataset with 50% missingness, TV-INRs achieved an MSE of 0.0383, vastly outperforming TimeFlow (0.3304) and SAITS (0.0660). Notably, a single TV-INR model can handle varying missingness ratios, whereas baseline models often require separate training for different levels of sparsity.
Efficiency and Speed
By avoiding the iterative optimization steps of meta-learning, TV-INRs is significantly faster. It required 1.3x to 3.7x less cumulative training time than TimeFlow. Inference speed remains constant and fast, making it suitable for real-time applications.
Downstream Utility
Beyond raw imputation metrics, the high-quality reconstructions provided by TV-INRs improved performance in downstream tasks, such as activity classification in the HAR dataset, compared to standard imputation techniques.
Conclusion and Future Work
TV-INRs offers a robust, efficient solution for modeling irregular and sparse time series. While the model excels in many areas, limitations remain in very long-range forecasting where outlier errors can occur. Future work may explore more sophisticated hypernetwork architectures, such as Transformers, or the integration of domain-specific physical constraints to further enhance predictive power in specialized fields.
Summary updated