Abstract
We propose a method for adaptive nonlinear sequential modeling of time series data. Data are modeled as a nonlinear function of past values corrupted by noise, and the underlying nonlinear function is assumed to be approximately expandable in a spline basis. We cast the modeling of data as finding a good fit representation in the linear span of multidimensional spline basis, and use a variant of $l_1$-penalty regularization in order to reduce the dimensionality of representation. Using adaptive filtering techniques, we design our online algorithm to automatically tune the underlying parameters based on the minimization of the regularized sequential prediction error. We demonstrate the generality and flexibility of the proposed approach on both synthetic and real-world datasets. Moreover, we analytically investigate the performance of our algorithm by obtaining both bounds on prediction errors and consistency in variable selection.
Introduction
In fields ranging from finance and meteorology to epidemiology, researchers are increasingly confronted with "vector time series"—high-dimensional data streams where multiple variables interact dynamically over time. Modeling these interactions presents two primary challenges: nonlinearity and non-stationarity. The relationships between variables are rarely linear; for instance, the impact of humidity on temperature follows complex curves rather than straight lines. Furthermore, the underlying "rules" of these systems often shift—a phenomenon known as regime change—rendering static models obsolete.
Traditional "batch" methods, which require processing an entire dataset at once, are often too computationally expensive for real-time applications and struggle to adapt when data-generating processes shift. Conversely, existing online methods frequently fail in high-dimensional settings where many variables are merely noise. To bridge this gap, we introduce SLANTS (Sequential Learning Algorithm for Nonlinear Time Series), a framework designed for real-time, nonlinear forecasting and feature selection.
The SLANTS Framework
SLANTS combines flexible nonlinear modeling with fast, sequential updates. The architecture is built upon four core components:
1. B-Spline Basis Expansion
To capture complex nonlinearities without the overhead of deep neural networks, SLANTS approximates unknown functions using B-splines. By expanding input variables into a basis of local polynomial segments, the model transforms a complex curve-fitting problem into a more manageable linear regression problem in a higher-dimensional space.
2. Group LASSO Regularization
In high-dimensional time series, identifying which variables are truly predictive is crucial. Because each input variable in SLANTS is represented by a group of spline coefficients, the model employs a Group LASSO ($l_1$) penalty. This allows the algorithm to "turn off" entire variables that do not contribute to predictive accuracy, performing automatic feature selection and preventing overfitting to noise.
3. EM-based Sequential Updates
Efficiency is paramount for online learning. Rather than re-optimizing the entire model as new data arrives, SLANTS utilizes an Expectation-Maximization (EM) type algorithm. This approach is mathematically framed as a "contraction mapping," ensuring that the model converges to an optimal solution quickly and reliably with each new data point.
4. Prequential Tuning
SLANTS is designed to be self-tuning. It automatically adjusts its own hyperparameters—such as the "forgetting factor" (which determines how quickly the model discounts old data) and the sparsity penalty—based on its one-step-ahead prediction error. This "prequential" approach allows the model to remain accurate even as the environment changes.
Experimental Evaluation
The researchers evaluated SLANTS across a variety of synthetic and real-world scenarios to test its robustness and speed.
- Synthetic Benchmarks: These tests confirmed the model's ability to identify "ground truth" nonlinear relationships in both stationary environments and those undergoing rapid shifts. In causal discovery tasks, SLANTS successfully mapped the flow of influence (Granger-type causality) between variables in a 9-dimensional system.
- Boston Weather Data (1980–1986): Modeling a six-dimensional series (including temperature, humidity, and wind speed), SLANTS significantly outperformed standard linear Autoregressive (AR) models. Its ability to capture the nonlinear effects of precipitation and wind was key to its superior performance.
- US Weekly Unemployment Claims (1996–2015): This experiment focused on "lag selection." SLANTS successfully tracked the massive economic disruption of the 2008 financial crisis, adapting its internal parameters to maintain lower prediction errors than static models that could not account for the sudden regime shift.
Key Insights
- Adaptability via the Forgetting Factor: By weighting recent data more heavily, SLANTS can "forget" outdated patterns, allowing it to navigate regime shifts that would typically confuse standard models.
- Computational Efficiency: The computational complexity of SLANTS grows linearly with time ($T$), whereas many batch methods grow quadratically ($T^2$). This makes it a viable candidate for "always-on" monitoring systems.
- Interpretability: Because the model identifies which lagged variables are significant through sparsity, it provides more than just a prediction; it offers a "causality graph" that helps researchers understand the underlying dynamics of the system.
Limitations and Future Directions
While SLANTS is highly effective, it currently relies on a "nonlinear additive model" assumption, meaning it evaluates the effects of variables individually rather than their complex interactions (e.g., the joint effect of temperature and humidity). While extensions to handle interactions are possible, they increase computational demands. Additionally, the placement of "knots" for the splines is currently determined by heuristics; automating this process sequentially remains an area for future research. Finally, while the model provides strong consistency results for variable selection, these rely on specific "mixing" assumptions that may be challenged by extremely chaotic or non-ergodic systems.
Summary updated