Estimating the selectivity of tf-idf based cosine similarity predicates

  • Authors:
  • Sandeep Tata;Jignesh M. Patel

  • Affiliations:
  • University of Michigan, Ann Arbor, Michigan;University of Michigan, Ann Arbor, Michigan

  • Venue:
  • ACM SIGMOD Record
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

An increasing number of database applications today require sophisticated approximate string matching capabilities. Examples of such application areas include data integration and data cleaning. Cosine similarity has proven to be a robust metric for scoring the similarity between two strings, and it is increasingly being used in complex queries. An immediate challenge faced by current database optimizers is to find accurate and efficient methods for estimating the selectivity of cosine similarity predicates. To the best of our knowledge, there are no known methods for this problem. In this paper, we present the first approach for estimating the selectivity of tf.idf based cosine similarity predicates. We evaluate our approach on three different real datasets and show that our method often produces estimates that are within 40% of the actual selectivity.