Information Retrieval

, Volume 5, Issue 4, pp 353–375

Generalized Hamming Distance

  • Abraham Bookstein
  • Vladimir A. Kulyukin
  • Timo Raita
Article

DOI: 10.1023/A:1020499411651

Cite this article as:
Bookstein, A., Kulyukin, V.A. & Raita, T. Information Retrieval (2002) 5: 353. doi:10.1023/A:1020499411651

Abstract

Many problems in information retrieval and related fields depend on a reliable measure of the distance or similarity between objects that, most frequently, are represented as vectors. This paper considers vectors of bits. Such data structures implement entities as diverse as bitmaps that indicate the occurrences of terms and bitstrings indicating the presence of edges in images. For such applications, a popular distance measure is the Hamming distance. The value of the Hamming distance for information retrieval applications is limited by the fact that it counts only exact matches, whereas in information retrieval, corresponding bits that are close by can still be considered to be almost identical. We define a “Generalized Hamming distance” that extends the Hamming concept to give partial credit for near misses, and suggest a dynamic programming algorithm that permits it to be computed efficiently. We envision many uses for such a measure. In this paper we define and prove some basic properties of the “Generalized Hamming distance”, and illustrate its use in the area of object recognition. We evaluate our implementation in a series of experiments, using autonomous robots to test the measure's effectiveness in relating similar bitstrings.

information retrieval hamming distance metrics computer vision image retrieval object recognition robot vision 

Copyright information

© Kluwer Academic Publishers 2002

Authors and Affiliations

  • Abraham Bookstein
    • 1
  • Vladimir A. Kulyukin
    • 2
  • Timo Raita
    • 3
  1. 1.Center for Information and Language StudiesUniversity of ChicagoChicago
  2. 2.Computer Science DepartmentUtah State UniversityLogan
  3. 3.Computer Science DepartmentUniversity of TurkuTurkuFinland

Personalised recommendations