Skip to main content
QUICK REVIEW

[Paper Review] Autoregressive Kernels For Time Series

Marco Cuturi, Randal Douc|arXiv (Cornell University)|Jan 4, 2011
Blind Source Separation TechniquesComputer Science47 references33 citations
TL;DR

This paper introduces autoregressive kernels ($k_{\text{ar}}$ and $k_{\text{ar}}^{\kappa}$) for time series by leveraging the likelihood of vector autoregressive (VAR) models as features, integrated over a matrix normal-inverse Wishart prior to ensure positive definiteness. The method enables efficient, scalable kernel computation for variable-length time series, including structured data, with strong performance in classification tasks and low computational cost compared to alternatives.

ABSTRACT

We propose in this work a new family of kernels for variable-length time series. Our work builds upon the vector autoregressive (VAR) model for multivariate stochastic processes: given a multivariate time series x, we consider the likelihood function p_θ(x) of different parameters θin the VAR model as features to describe x. To compare two time series x and x', we form the product of their features p_θ(x) p_θ(x') which is integrated out w.r.t θusing a matrix normal-inverse Wishart prior. Among other properties, this kernel can be easily computed when the dimension d of the time series is much larger than the lengths of the considered time series x and x'. It can also be generalized to time series taking values in arbitrary state spaces, as long as the state space itself is endowed with a kernel κ. In that case, the kernel between x and x' is a a function of the Gram matrices produced by κon observations and subsequences of observations enumerated in x and x'. We describe a computationally efficient implementation of this generalization that uses low-rank matrix factorization techniques. These kernels are compared to other known kernels using a set of benchmark classification tasks carried out with support vector machines.

Motivation & Objective

  • To develop a positive definite kernel for variable-length multivariate time series that supports kernel machines like SVMs.
  • To generalize the kernel to handle time series of structured objects (e.g., images, graphs) by embedding them via a base kernel $\kappa$.
  • To ensure computational efficiency, especially when the dimension $d$ of the time series is large relative to sequence length.
  • To overcome limitations of existing kernels such as DTW, which are not inherently positive definite and require ad hoc regularization.
  • To establish a principled, probabilistically grounded framework for time series kernel design using exponential family models and infinite divisibility.

Proposed method

  • The kernel $k_{\text{ar}}$ is defined as the integral of the product of VAR likelihoods $p_{\theta}(\mathbf{x}) \cdot p_{\theta}(\mathbf{x}')$ over the parameter space $\theta$, using a matrix normal-inverse Wishart prior to ensure positive definiteness.
  • The kernel $k_{\text{ar}}^{\kappa}$ generalizes $k_{\text{ar}}$ to structured data by replacing scalar observations with kernel matrices $\mathcal{K} = [\kappa(x_i, x_j')]$, where $\kappa$ is a base kernel on the data structures.
  • Low-rank matrix factorization is used to approximate the Gram matrices in $k_{\text{ar}}^{\kappa}$, enabling efficient computation despite the high cost of determinant calculations.
  • The method ensures infinite divisibility of the kernel, which is crucial for practical use in kernel machines and Hilbert space embeddings.
  • Normalization of the feature maps $\varphi_{\text{var}}$ and $\varphi_{\text{var}}^{\kappa}$ allows direct use of their logarithms as Hilbertian distances.
  • The approach is grounded in the covariance kernel framework of Seeger (2002), extending it to time series via probabilistic modeling of dynamics.

Experimental results

Research questions

  • RQ1Can a kernel derived from the likelihood of a VAR model be made positive definite through Bayesian integration, enabling use in kernel machines?
  • RQ2How can such a kernel be generalized to handle time series of structured data, such as images or graphs, using a base kernel $\kappa$?
  • RQ3What is the computational efficiency of the proposed kernel compared to existing alternatives like the Global Alignment kernel or DTW-based methods?
  • RQ4Does the kernel maintain strong classification performance while being significantly faster than competing methods?
  • RQ5Is the infinite divisibility of the kernel preserved under different hyperparameter settings, particularly when the degrees of freedom $\lambda > d-1$?

Key findings

  • The autoregressive kernel $k_{\text{ar}}$ achieves zero test error on a toy dataset, outperforming other kernels in classification accuracy.
  • On benchmark datasets, $k_{\text{ar}}$ performs favorably compared to the Global Alignment kernel, which is often considered a strong baseline.
  • The kernel $k_{\text{ar}}$ is computationally efficient, with average evaluation times significantly lower than $k_{\text{GA}}^{\kappa}$, especially on large datasets.
  • The low-rank approximation of $\varphi_{\text{var}}^{\kappa}$ in $k_{\text{ar}}^{\kappa}$ allows tunable accuracy via the parameter $\tau$, with minimal impact on performance at high accuracy settings.
  • Despite its computational cost, $k_{\text{ar}}^{\kappa}$ may be particularly useful for structured data such as video segments represented as time-varying histograms.
  • The authors note that $k_{\text{ar}}^{\kappa}$ may yield results similar to $k_{\text{ar}}$ when $\kappa$ is a Gaussian kernel on high-dimensional data, due to spectral similarity of Gram matrices, suggesting potential redundancy in some settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.