English

Efficient Geometric-based Computation of the String Subsequence Kernel

Machine Learning 2015-03-02 v1 Computational Geometry

Abstract

Kernel methods are powerful tools in machine learning. They have to be computationally efficient. In this paper, we present a novel Geometric-based approach to compute efficiently the string subsequence kernel (SSK). Our main idea is that the SSK computation reduces to range query problem. We started by the construction of a match list L(s,t)={(i,j):si=tj}L(s,t)=\{(i,j):s_{i}=t_{j}\} where ss and tt are the strings to be compared; such match list contains only the required data that contribute to the result. To compute efficiently the SSK, we extended the layered range tree data structure to a layered range sum tree, a range-aggregation data structure. The whole process takes O(pLlogL) O(p|L|\log|L|) time and O(LlogL)O(|L|\log|L|) space, where L|L| is the size of the match list and pp is the length of the SSK. We present empiric evaluations of our approach against the dynamic and the sparse programming approaches both on synthetically generated data and on newswire article data. Such experiments show the efficiency of our approach for large alphabet size except for very short strings. Moreover, compared to the sparse dynamic approach, the proposed approach outperforms absolutely for long strings.

Keywords

Cite

@article{arxiv.1502.07776,
  title  = {Efficient Geometric-based Computation of the String Subsequence Kernel},
  author = {Slimane Bellaouar and Hadda Cherroun and Djelloul Ziadi},
  journal= {arXiv preprint arXiv:1502.07776},
  year   = {2015}
}

Comments

24 pages, 11 figures

R2 v1 2026-06-22T08:39:22.697Z