Introduction
Sequential data, encompassing time series, DNA sequences, and natural language, present a fundamental challenge for traditional machine learning algorithms. Models such as Support Vector Machines (SVMs) and Gaussian Processes (GPs) typically operate on fixed-length vector spaces. To adapt these tools for variable-length sequences, researchers rely on kernels—similarity functions that map pairs of objects to a scalar value. While Dynamic Time Warping (DTW) is a popular heuristic for sequence comparison, it lacks the property of positive definiteness, precluding its use as a valid Mercer kernel. This paper introduces a novel family of "decomposable" kernels that are mathematically rigorous, flexible, and demonstrate superior performance on real-world classification tasks.
Methodology: Decomposable Kernel Framework
The authors propose a framework that decomposes the similarity between two sequences $s$ and $t$ into symbol-level and structure-level components. The kernel $k(s, t)$ is defined as: $$k(s, t) = \sum_{i=1}^{|s|} \sum_{j=1}^{|t|} k_{\Sigma}(s_i, t_j) k_S(i, j)$$ where $k_{\Sigma}$ (the symbol kernel) measures the similarity between individual elements, and $k_S$ (the structure kernel) measures the similarity between their respective indices.
The Path Kernel
A primary focus of the work is the Path kernel, a recursive alignment-based measure. Unlike "hard" alignment methods like DTW or the Global Alignment (GA) kernel—which can be overly sensitive to noise or dominated by a single optimal path—the Path kernel performs a "soft" alignment by summing over all possible paths between sequences. The authors provide a formal proof of the Path kernel's positive definiteness by establishing a connection between its recursive definition and the Gamma function.
Key Insights: Flexibility and Non-Stationarity
The decomposable structure allows for a "separation of concerns," where symbol similarity and structural alignment can be tuned independently. This is particularly useful for signals where the importance of specific values versus their temporal ordering varies.
Furthermore, the framework naturally supports non-stationarity. Traditional stationary kernels only consider the relative distance between indices. In contrast, the Path kernel can weigh matches at the beginning of a sequence differently than those at the end, reflecting the non-stationary dynamics often found in real-world signals.
Experimental Evaluation
The Path kernel ($k_p$) was benchmarked against the standard Exponential sequence kernel ($k_e$) and the Global Alignment kernel ($k_{ga}$) using several datasets from the UCI Machine Learning repository, including sign language (AUSLAN), traffic flow (PEMS), and handwriting recognition.
The Path kernel consistently outperformed existing state-of-the-art methods:
- AUSLAN: The Path kernel achieved 92.40% accuracy, significantly higher than the GA kernel's 68.08%.
- PEMS (Traffic): On the PEMS100 dataset, the Path kernel reached 61.32% accuracy, while the GA kernel managed 39.16%.
- Consistency: Across various tests, the Path kernel showed lower standard deviation, suggesting greater robustness across different data splits.
Discussion and Future Work
By decoupling symbol and structure similarity, the proposed framework provides a versatile and theoretically sound approach to sequence analysis. The Path kernel's ability to perform soft alignment and handle non-stationarity makes it a robust alternative to traditional sequence kernels.
While the $O(nm)$ computational complexity is standard for alignment-based methods, it may pose challenges for extremely long sequences. Future research directions include optimizing this complexity and exploring higher-order alignment moves to capture more intricate dependencies within sequential data.
Summary updated