Proceedings 19th International Conference on Data Engineering (Cat. No.03CH37405) (2003)
Mar. 5, 2003 to Mar. 8, 2003
S. Cenk Sahinalp , Case Western Reserve University
Murat Tasan , Case Western Reserve University
Jai Macker , Case Western Reserve University
Z. Meral Ozsoyoglu , Case Western Reserve University
In many database applications involving string data, it is common to have near neighbor queries (asking for strings that are similar to a query string) or nearest neighbor queries (asking for strings that are most similar to a query string). The similarity between strings is defined in terms of a distance function determined by the application domain. The most popular string distance measures are based on (a weighted) count of (i) character edit or (ii) block edit operations to transform one string into the other. Examples include the Levenshtein edit distance and the recently introduced compression distance.<div></div> The main goal in this paper is to develop efficient near(est) neighbor search tools that work for both character and block edit distances. Our premise is that distance-based indexing methods, which are originally designed for metric distances can be modified for string distance measures, provided that they form almost metrics. We show that several distance measures, such as the compression distance and weighted character edit distance are almost metrics. In order to analyze the performance of distance based indexing methods (in particular VP trees) for strings, we then develop a model based on distribution of pairwise distances. Based on this model we show how to modify VP trees to improve their performance on string data, providing tradeoffs between search time and space. We test our theoretical results on synthetic data sets and protein strings.
J. Macker, M. Tasan, S. C. Sahinalp and Z. M. Ozsoyoglu, "Distance Based Indexing for String Proximity Search," Proceedings 19th International Conference on Data Engineering (Cat. No.03CH37405)(ICDE), Bangalore, India, 2003, pp. 125.