AdaNODEs: Test Time Adaptation for Time Series Forecasting Using Neural ODEs
Ting Dang, Soumyajit Chatterjee, Hong Jia, Yu Wu, Flora Salim, Fahim Kawsar
TL;DR
The paper addresses forecasting under unseen distribution shifts without access to source data by proposing AdaNODEs, a test-time adaptation framework for time series that leverages latent Neural ODEs. It freezes base parameters during inference and introduces two learnable test-time modifiers, $\alpha$ and $\gamma$, to adapt latent dynamics; it uses a probabilistic loss based on negative log-likelihood and KL divergence within an amortized variational inference setting. Empirical results on one-dimensional signals and Rotating MNIST demonstrate consistent improvements over state-of-the-art baselines, particularly under severe shifts. This work establishes a practical, memory-efficient approach to TTA for regression tasks in time-series and highlights the potential of NODE-based architectures for robust adaptation.
Abstract
Test time adaptation (TTA) has emerged as a promising solution to adapt pre-trained models to new, unseen data distributions using unlabeled target domain data. However, most TTA methods are designed for independent data, often overlooking the time series data and rarely addressing forecasting tasks. This paper presents AdaNODEs, an innovative source-free TTA method tailored explicitly for time series forecasting. By leveraging Neural Ordinary Differential Equations (NODEs), we propose a novel adaptation framework that accommodates the unique characteristics of distribution shifts in time series data. Moreover, we innovatively propose a new loss function to tackle TTA for forecasting tasks. AdaNODEs only requires updating limited model parameters, showing effectiveness in capturing temporal dependencies while avoiding significant memory usage. Extensive experiments with one- and high-dimensional data demonstrate that AdaNODEs offer relative improvements of 5.88\% and 28.4\% over the SOTA baselines, especially demonstrating robustness across higher severity distribution shifts.
