A sum-over-paths extension of edit distances accounting for all sequence alignments

  • Authors:
  • Silvia García-Díez;François Fouss;Masashi Shimbo;Marco Saerens

  • Affiliations:
  • Université de Louvain, ISYS, LSM, Louvain-la-Neuve, Belgium;Facultés Universitaires Catholiques de Mons, Management Science Department, LSM, Belgium;Graduate School of Information Science, Nara Institute of Science and Technology, Japan;Université de Louvain, ISYS, LSM, Louvain-la-Neuve, Belgium

  • Venue:
  • Pattern Recognition
  • Year:
  • 2011

Quantified Score

Hi-index 0.01

Visualization

Abstract

This paper introduces a simple Sum-over-Paths (SoP) formulation of string edit distances accounting for all possible alignments between two sequences, and extends related previous work from bioinformatics to the case of graphs with cycles. Each alignment @?, with a total cost C(@?), is assigned a probability of occurrence P(@?)=exp[-@qC(@?)]/Z where Z is a normalization factor. Therefore, good alignments (having a low cost) are favored over bad alignments (having a high cost). The expected cost @?"@?"@?"PC(@?)exp[-@qC(@?)]/Z computed over all possible alignments @?@?P defines the SoP edit distance. When @q-~, only the best alignments matter and the measure reduces to the standard edit distance. The rationale behind this definition is the following: for some applications, two sequences sharing many good alignments should be considered as more similar than two sequences having only one single good, optimal, alignment in common. In other words, sub-optimal alignments could also be taken into account. Forward/backward recurrences allowing to efficiently compute the expected cost are developed. Virtually any Viterbi-like sequence comparison algorithm computed on a lattice can be generalized in the same way; for instance, a SoP longest common subsequence is also developed. Pattern classification tasks performed on five data sets show that the new measures usually outperform the standard ones and, in any case, never perform significantly worse, at the expense of tuning the parameter @q.