Abstract
Traditional time series analysis often relies on the Autoregressive Moving Average (ARMA) model, typically assuming that noise terms are independent, identically distributed (i.i.d.), and Gaussian. However, real-world data frequently violates these assumptions through non-stationarity or adversarial noise. This paper presents a framework for predicting ARMA processes using online learning. By employing an "improper learning" approach—approximating ARMA models with high-order Autoregressive (AR) models—we circumvent the non-convexity inherent in ARMA parameter estimation. We introduce two algorithms, ARMA-ONS and ARMA-OGD, which achieve sublinear regret bounds without requiring standard statistical assumptions about noise distribution.
1. Introduction
The Autoregressive Moving Average (ARMA) model is a cornerstone of time series analysis, representing a signal as a linear combination of its past values and past noise terms. Historically, fitting these models has relied on what might be termed "statistical fairy tales": the assumptions that noise is perfectly Gaussian and i.i.d. While these assumptions simplify the mathematics, they often fail in practice, particularly in financial or environmental data where noise can be correlated, non-stationary, or even adversarial.
In "Online Learning for Time Series Prediction," the authors propose a shift from traditional parameter estimation to an online learning framework. This approach does not require the noise to follow a specific distribution. Instead, it focuses on minimizing regret—the difference between the cumulative loss of the algorithm and the cumulative loss of the best fixed ARMA model in hindsight.
2. The Challenge of Proper Learning
In a "proper learning" setting, a learner attempts to identify the exact parameters $(\alpha, \beta)$ of the ARMA model that generated the data. The signal $X_t$ is defined as:
$$X_t = \sum_{i=1}^k \alpha_i X_{t-i} + \sum_{j=1}^q \beta_j \epsilon_{t-j} + \epsilon_t$$
Technically, this is difficult because the noise terms $\epsilon_t$ are latent; we observe the signal $X_t$, but never the underlying noise directly. Because the Moving Average (MA) component depends on these hidden past noise terms, the resulting loss function is non-convex with respect to the parameters. This non-convexity prevents the direct application of standard Online Convex Optimization (OCO) tools.
3. Methodology: Improper Learning via AR Approximation
The authors bypass the non-convexity of the ARMA model through Improper Learning. The core insight is that any invertible ARMA model can be represented as an infinite-order Autoregressive (AR) model. By approximating this with a sufficiently long finite AR model of order $m$ (where $m$ is proportional to $\log T$), the prediction problem becomes convex.
Instead of learning the $k+q$ parameters of the ARMA model, the algorithm learns the $m$ parameters of an expanded AR model. This transformation allows the use of two powerful online optimization algorithms:
- ARMA-ONS (Online Newton Step): Optimized for "exp-concave" loss functions, such as the standard squared loss. It achieves a regret bound of $O(\log^2 T)$.
- ARMA-OGD (Online Gradient Descent): A more computationally efficient alternative for general convex loss functions, achieving $O(\sqrt{T})$ regret.
4. Experimental Evaluation
The algorithms were tested against traditional methods like Recursive Least Squares (ARMA-RLS) and the Yule-Walker equations across four synthetic settings designed to simulate real-world complexities:
- Stationary ARMA: A baseline sanity check with Gaussian noise.
- Non-stationary Coefficients: Where the AR parameters drift slowly over time.
- Abrupt Structural Changes: Where model parameters jump suddenly, simulating a market shock or sensor failure.
- Correlated Noise: Where noise terms are positively correlated, violating the i.i.d. assumption.
4.1 Results and Key Insights
The experiments demonstrated that ARMA-ONS is significantly more robust than traditional methods. In non-stationary and abrupt-change settings, classic methods struggled to adapt, whereas the online learning approach tracked the optimal predictor closely. In the correlated noise setting, ARMA-ONS converged to the theoretical limit of the noise variance, while traditional methods that assume independence performed poorly.
5. Discussion and Limitations
While this framework provides a robust alternative to classical time series analysis, certain constraints remain. The analysis assumes the ARMA model is invertible (the sum of the absolute values of the MA coefficients is less than 1). Furthermore, while ARMA-OGD is computationally light, ARMA-ONS requires the inversion of an $(m+k) \times (m+k)$ matrix at each step, which may be a bottleneck for high-frequency data with long memory requirements.
6. Conclusion
This work provides the first online learning algorithms for ARMA models with provable sublinear regret. By moving away from parameter estimation and toward regret minimization via improper learning, the authors provide a toolkit that is resilient to the messy, non-Gaussian, and non-stationary realities of modern data science. Future work may extend these principles to ARCH or GARCH models to better handle heteroscedasticity in financial time series.
Summary updated