Method to Dynamically Design and Configure Multimedia Fingerprint Databases

Abstract
Techniques are provided for dynamic configuration of search parameters for multimedia fingerprint databases that use weak bits. A multimedia fingerprint database, which stores reference fingerprints and uses weak bits, is maintained. Maintaining the database includes dynamically configuring one or more of the following parameters: a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects; an index length of the index used to index those portions of the reference fingerprints that are used to identify multimedia objects; a threshold that is used to determine whether multimedia objects are correctly identified; and a number of the weak bits in the reference fingerprints.
Description
TECHNICAL FIELD

The present disclosure relates to multimedia fingerprint databases.


BACKGROUND

The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section.


As a result of widespread and growing use, vast quantities of media content exist nowadays. Given the sheer quantity and variety of audio and video content that exists in various formats and encodings, and the expanding growth of that content over time, the ability to correctly identify media content is of particular value. One type of approaches for identifying media content is based on the use of media fingerprints.


Media fingerprints are identifiers of the media content from which the media fingerprints are derived, extracted, or generated. For example, acoustic fingerprints may be derived or otherwise generated from a particular audio waveform as code that uniquely corresponds thereto, and video fingerprints may be derived or otherwise generated from a particular video sequence based on video content characteristics such as luminance, chrominance, and motion descriptors. Media fingerprints may be stored in reference databases in association with various metadata information that describe and identify the media content objects from which the individual fingerprints are generated. The stored media fingerprints may be accessed to identify, categorize, or otherwise classify an object or a sample of media content, such as music or other audio content and a video sequence or other video content. Such identification, categorization, and classification of media content may be useful in a variety of contexts such as copyright management, validation of authorized uses of content, and detection of unauthorized use of various versions, copies, and other items of content.





BRIEF DESCRIPTION OF THE DRAWINGS

In the figures of the accompanying drawings like reference numerals refer to similar elements.



FIG. 1 is a block diagram that illustrates an example system in which embodiments of the techniques described herein may be implemented.



FIG. 2 is a block diagram that illustrates the storage and usage of reference fingerprints in a multimedia fingerprint database according to an example embodiment.



FIGS. 3A and 3B are flow diagrams that illustrate a method for dynamically configuring search parameters for a multimedia fingerprint database according to an example embodiment.



FIG. 4 is a block diagram that illustrates an example computer system on which embodiments may be implemented.





DESCRIPTION OF EXAMPLE EMBODIMENTS

Techniques are provided for dynamic configuration of search parameters for hash-table based multimedia fingerprint databases that use weak bits. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the present invention.


Embodiments are described herein according to the following outline:

    • 1.0 Overview
    • 2.0 Example Operational Contexts
    • 3.0 Terminology
    • 4.0 Multimedia Fingerprint Databases that Use Weak Bits
    • 5.0 Analytic Model of the Fingerprint Search Operation
    • 6.0 Method for Dynamically Configuring Search Parameters for Multimedia Fingerprint Databases that Use Weak Bits
    • 7.0 Implementation Mechanisms—Hardware Overview


1.0 Overview

This section provides a conceptual prelude to techniques that are described in more detail in the sections that follow. Therefore, this section should not be read as a summary of the techniques described herein and is to be considered in an illustrative rather than a restrictive sense.


As used herein, “fingerprint” (also referred to as “multimedia fingerprint”) may relate to a sequence of bits that represents a multimedia object. “Multimedia object” relates to an item or unit of media content. Examples of multimedia objects include, but are not limited to, an audio file, a video file, an identifiable portion or segment of an audio stream, an identifiable portion or segment of a video stream, and any item or unit that may have any other type of media content. In some embodiments, a fingerprint is derived by applying a hash function to a multimedia object. However, it is noted that the techniques described herein are not limited to using any particular type of function to derive fingerprints; rather, various embodiments may use various now-known or later-developed functions and mechanisms to derive fingerprints from multimedia objects. It is also noted that the techniques described herein apply to fingerprints in the same way regardless of the type of content (e.g., audio, video, etc.) that is stored in the multimedia objects from which the fingerprints are derived.


As used herein, “reference fingerprint” may relate to a fingerprint that is extracted, derived, or otherwise generated from a known and identified multimedia object (also referred to as “reference multimedia object”). “Query fingerprint” relates to a fingerprint that is extracted, derived, or otherwise generated from a multimedia object (also referred to as “query multimedia object”) that needs to be identified or otherwise detected.


Content identification based on fingerprints generally involves searching for the best matches between reference fingerprints (or portions thereof) that are stored in a multimedia fingerprint database and one or more query fingerprints (or portions thereof) that are generated from a query multimedia object that needs to be identified. A multimedia fingerprint database refers to a repository of reference fingerprints in which each reference fingerprint is associated with metadata information that describes and identifies the reference multimedia object from which that reference fingerprint was derived. Examples of such metadata information include, but are not limited to, a content identifier (e.g., a filename, a stream ID, etc.), a content description, and a time location (or offset) of the fingerprint within the multimedia object from which the fingerprint was derived. In some embodiments, in addition to reference fingerprints and metadata information associated therewith, a multimedia fingerprint database may also include, or otherwise reference, the actual reference multimedia objects from which the reference fingerprints are derived. For the purposes of content identification, when a search for one or more query fingerprints is performed against a multimedia reference database, the search can return at least the metadata information associated with those reference fingerprint(s) which best match the one or more query fingerprints.


In the present disclosure, we particularly focus on multimedia fingerprint databases implemented in the form of a hash-table. We will however not always explicitly mention this and for the sake of briefness merely talk about a multimedia fingerprint database. Moreover, the techniques in this disclosure are described for dynamic configuration of search parameters for multimedia fingerprint databases that use weak bits. (the notion of weak bits will be explained in sections 3.0 and 4.0) As used herein, “parameter” may relate to a data item that can be assigned different values. “Dynamically configuring” (or “dynamic configuration”) relates to automatically determining and assigning, at different times during the lifetime of a multimedia fingerprint database, different values to search parameters that control or otherwise govern the manner in which query fingerprints are searched against the reference fingerprints stored in the multimedia fingerprint database.


In one embodiment according to the techniques described herein, maintaining a multimedia fingerprint database, which stores reference fingerprints and uses weak bits, comprises dynamically configuring one or more of the following search parameters: a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects; an index length of the index used to index those portions of the reference fingerprints that are used to identify multimedia objects; a threshold that is used to determine whether multimedia objects are correctly identified; and a number of the weak bits in the reference fingerprints. At any given time, the values of these search parameters determine the various probabilities associated with performing an accurate identification of a query multimedia object against the multimedia fingerprint database, where the probabilities include a probability of false positive, a probability of correct identification, a probability of misclassification, and a probability of detection. The techniques described herein provide a set of formulas that can be used to compute these probabilities based on the values of the above search parameters. Thus, when the various probabilities associated with performing accurate content identifications need to be set to certain target levels, the techniques described herein allow the values of one or more of the above search parameters to be dynamically configured so that the certain target levels are met. Since the values of the above search parameters directly affect the amount of computing resources (e.g., memory, CPU time, etc.) that is expended to perform content identifications against the multimedia fingerprint database, by allowing dynamic configuration of the above search parameters the techniques described herein provide for optimal usage of the computing resources.


2.0 Example Operational Contexts

Most applications operable to perform content identification based on fingerprints rely on the following fingerprint system architecture. Initially, a reference database (e.g., such as a multimedia fingerprint database) of multimedia fingerprints is built. The reference database contains the fingerprints of all multimedia objects the application shall recognize. During operation, a query fingerprint of a query multimedia object is compared against the reference database using specific matching mechanisms. The fingerprint matching mechanism decides if the query fingerprint of the query multimedia object corresponds to a fingerprint in the reference database. Fingerprint matching mechanisms use techniques from statistics and fuzzy logic.


Multimedia fingerprint applications commonly use large fingerprint reference databases. In some applications, hash-table based database designs may be used, and the reference databases may be indexed using an index pointing to entries, where each entry is a fingerprint. In some applications, the index is a subset of the fingerprint. The present disclosure only considers fingerprint systems in which the index is a part or portion of the fingerprint. The size of the fingerprint, the size of the index of the fingerprint, the value of the threshold that is used to determine whether multimedia objects are correctly identified, and the number of the weak bits in the reference fingerprints influence the following performance criteria of a multimedia fingerprint system:

    • The accuracy of the fingerprint matching mechanism. (The notion of accuracy will be discussed hereinafter in section 3.0.)
    • The storage requirements of the reference database.
    • The speed of the database search.


In practice, it is particularly important to find a size of the fingerprint, a size of the index of the fingerprint, the value of the threshold that is used to determine whether multimedia objects are correctly identified, and the number of the weak bits in the reference fingerprints that satisfy the accuracy requirement and that do not significantly compromise the later two requirements. As shown in the present disclosure, the optimal choice of the fingerprint length, the optimal choice of the index length, the optimal choice of a threshold parameter τ, and the optimal choice of the number of weak bits is a function of the database size, the accuracy requirements, the probability with which fingerprint bits change when the multimedia object is modified, and the probability with which a weak bit prediction is correct. For an audio file, a modification could be a transcoding of the content, a pitch-shift, etc. For a video file, a modification could be a rotation or a cropping of the video. The present disclosure describes a model to analyze the impact of the fingerprint size, the index size, the value of the threshold, and the number of weak bits on the accuracy of a system that performs content identification based on fingerprints. The present disclosure also describes techniques that use this model to design a multimedia fingerprint database and to dynamically configure and reconfigure search parameters (e.g., such as the fingerprint size, the index size, the value of the threshold, and the number of weak bits) for the multimedia fingerprint database. As used herein, “model” may relate to a set of formulas that describe one or more probabilities that can be derived based on the values of one or more search parameters of a multimedia fingerprint database. “Formula” refers to an empirical rule that can be used to compute the values of one or more output parameters from the values of one or more input parameters.



FIG. 1 is a block diagram that illustrates an example system in which embodiments of the techniques described herein may be implemented. One or more computing device(s) 102 are communicatively or operatively connected to multimedia fingerprint database 110.


Multimedia fingerprint database 110 is configured to store reference fingerprints in accordance with the techniques described herein. Multimedia fingerprint database 110 may be organized as any suitable data repository including, but not limited to, a relational database, an object-relational database, and a set of one or more files in one or more file systems.


Computing device(s) 102 are configured to execute dynamic configuration logic 104, fingerprint generator 106, and matching logic 108. For example, dynamic configuration logic 104, fingerprint generator 106, and matching logic 108 may be included in a search engine that can be executed by computing device(s) 102. In another example, dynamic configuration logic 104, fingerprint generator 106, and matching logic 108 may be included in one or more servers, services, daemons, and/or in any computer processes that can be executed by computing device(s). In yet another example, dynamic configuration logic 104, fingerprint generator 106, and matching logic 108 may be implemented as a standalone or a client-server application or module that may be configured in various computing environments including, but not limited to, a network-capable media player, a content encoder and/or decoder, a web search server, an indexing server, and a web browser. It is noted that the techniques described herein are not limited to being implemented as any particular type of entity, and for this reason the example implementations for dynamic configuration logic 104, fingerprint generator 106, and matching logic 108 described herein are to be regarded in an illustrative rather than a restrictive sense. For example, in various embodiments and implementations, dynamic configuration logic 104, fingerprint generator 106, and matching logic 108 may be configured to execute in one or more special-purpose computing devices, which may operate under control of instructions that are encoded in various storage media.


Further, in various embodiments, dynamic configuration logic 104, fingerprint generator 106, and matching logic 108 may be implemented as separate components or as one integrated component that may perform additional functionalities. As used herein, “logic” may relate to a set of instructions which, when executed by one or more processors, are operable to perform one or more functionalities. In various embodiments and implementations, any such logic may be implemented as one or more software components that are executable by one or more processors, as one or more hardware components such as Application-Specific Integrated Circuits (ASICs) or other programmable Integrated Circuits (ICs), or as any combination of software and hardware components. For example, any particular logic may be implemented, without limitation, as one or more software modules, as one or more libraries of functions, as one or more dynamically linked libraries, as a standalone or a client-server software application, and as a browser plug-in. As used herein, “server” may relate to a combination of software components and an allocation of computing resources, such as memory, CPU time, and/or disk storage space where, when executed and allocated the computing resources, the software components are operable to perform one or more functionalities. “Client” refers to a combination of software components and an allocation of computing resources where, when executed and allocated the computing resources, the software components are operable to perform some functionality themselves and also to request the performance of some functionality (e.g., services) from a server.


According to the techniques described herein, fingerprint generator 106 is logic operable to derive fingerprints from multimedia objects. For example, as part of maintaining multimedia fingerprint database 110, fingerprint generator 106 may be operable to derive reference fingerprints from reference multimedia objects and to store the reference fingerprints in multimedia fingerprint database 110. As part of performing searches against multimedia fingerprint database 110, fingerprint generator 106 may also be operable to generate query fingerprints from query multimedia objects (e.g., portions of content input streams and/or media files), and to pass the derived query fingerprints to matching logic 108.


According to the techniques described herein, dynamic configuration logic 104 is operable to dynamically configure search parameters that are associated with multimedia fingerprint database 110. For example, dynamic configuration logic 104 is operable to automatically determine and dynamically configure one or more of the following search parameters: the size of those portions of the reference fingerprints that are used by matching logic 108 to match a query fingerprint to the reference fingerprints stored in multimedia fingerprint database 110; the size of those portions of fingerprint indexes, on the reference fingerprints, that are used by matching logic 108 to match a query fingerprint to the reference fingerprints; a threshold that is used by matching logic 108 to determine whether multimedia objects are correctly identified; and a number of the weak bits in the reference fingerprints. At any given time, dynamic configuration logic 104 is operable to modify the values of these search parameters and to determine the various probabilities associated with performing an accurate identification of a query multimedia object against multimedia fingerprint database 110. For example, dynamic configuration logic 104 may use the set of formulas of the model described hereinafter to iteratively compute, based on different values of one or more of the above search parameters at each iteration, the values for one or more of the following probabilities: a probability of false positive, a probability of correct identification, a probability of misclassification, and a probability of detection; wherein, at each iteration, dynamic configuration logic 104 may compare the computed values of one or more of these probabilities to corresponding target values that have been set for these one or more probabilities. When dynamic configuration logic 104 finds values for the above search parameters that meet the target probability values, dynamic configuration logic 104 configures, or assigns, the found values to the above search parameters so that matching logic 108 can use these values to compare query fingerprints against the reference fingerprints stored in multimedia fingerprint database 110.


Matching logic 108 is operable to compare query fingerprints to the reference fingerprints stored in multimedia fingerprint database 110 and to return any reference fingerprint(s), and/or the metadata information associated therewith, that match the input query fingerprint(s). Specifically, when comparing query fingerprints to reference fingerprints in multimedia fingerprint database 110, matching logic 108 is operable to use the current values that are configured by dynamic configuration logic 104 for one or more search parameters of the multimedia fingerprint database such as, for example: the size of those portions of the reference fingerprints that are used for matching; the size of those portions of fingerprint indexes, on the reference fingerprints, that are used for matching; a threshold that is used to determine whether the input query multimedia objects are correctly identified; and the number of the weak bits in the reference fingerprints.


In an operational example, a search engine executing on computing device(s) 102 may receive query multimedia object 103, which can be a media file or a portion of a content stream. In response to receiving query multimedia object 103, fingerprint generator 106 is invoked. Fingerprint generator 106 derives one or more query fingerprints from query multimedia object 103, and then sends the one or more query fingerprints to matching logic 108. Using the current values of the search parameters that are currently configured by dynamic configuration logic 104, matching logic 108 compares the one or more query fingerprints against the reference fingerprints stored in multimedia fingerprint database 110. If matching logic 108 finds some reference fingerprints that match any one of the query fingerprints, matching logic 108 returns output data 107 that may include at least some of the metadata information associated with the matching reference fingerprints such as, for example, the content identifiers (e.g., a filename, a stream ID, etc.) associated with the matching reference fingerprints, a content description of the reference multimedia objects identified by the matching reference fingerprints, and a time location (or offset) of each matching reference fingerprint within the reference multimedia object from which that reference fingerprint was derived.


The rest of the present disclosure is organized as follows. Section 3.0 describes some terminology that is used throughout the present disclosure and that is related to various parameters of a multimedia fingerprint database. Section 4.0 describes an example multimedia fingerprint database that uses weak bits. Section 5.0 describes a detailed analytic model relating to probabilities associated with a multimedia fingerprint database that uses weak bits. Section 6.0 describes how this analytical model can be used to automatically determine and dynamically change search parameters (e.g., such as fingerprint size and index size) that are used for matching query fingerprints to the reference fingerprints stored in a multimedia fingerprint database that uses weak bits.


3.0 Terminology

In some embodiments, a fingerprint is a function of a multimedia object. For example, a hash function H with argument x(=multimedia object) returns a Hash h (e.g., h=H (x)), which is referred to as the fingerprint of multimedia object x. According to the techniques described herein, an index (also referred to as “fingerprint index”) on a fingerprint is a part or portion of the fingerprint but not the entire fingerprint. For example, a fingerprint is a sequence of bits of length L, and a Hash function H can indeed be parameterized using the parameter L, e.g. H(x)=HL(x) can be set such that h=HL(x) is a sequence of L bits. The length (or size) of the index is denoted by I and, since the index is a portion of the fingerprint, it follows that I<L. In this document we do not specify how the I index bits are chosen from the L fingerprint bits. We only require that the procedure to determine the index bits is identical for all considered fingerprints. The accuracy of a system for content identification based on fingerprints is defined via the notions of robustness and sensitivity. Depending on the particular application or embodiment, fingerprints are required to be robust against changes of the multimedia object from which they are derived—for example, a modification of the multimedia object that does not prevent a human being from recognizing that the modified and the unmodified multimedia object contain the same content, should only lead to a relatively small change of the fingerprint. Fingerprints are also required to be sensitive to content—for example, fingerprints derived from different multimedia content must differ significantly. In order to analytically describe and model the notions of robustness and sensitivity, the techniques described herein use the following probabilities:

    • Pf—Probability of false positive: The probability that a query fingerprint, which in fact does not correspond to any reference fingerprint in the multimedia fingerprint database, is erroneously declared to correspond to a reference fingerprint in the database.
    • Pc—Probability of correct identification: The probability that a query fingerprint, which in fact corresponds to a reference fingerprint in the multimedia fingerprint database, is correctly declared to correspond to this reference fingerprint in the database.
    • Pm—Probability of misclassification: The probability that a query fingerprint, which in fact corresponds to a reference fingerprint in the multimedia fingerprint database, is erroneously declared to correspond to a different fingerprint in the database.
    • Pd—Probability of detection: The probability that a query fingerprint, which in fact corresponds to a reference fingerprint in the multimedia fingerprint database, is declared to correspond to some reference fingerprint in the database. Clearly,






P
d
=P
c
+P
m.  (3.1)


In order to describe the operation of an example hash-based multimedia fingerprint database that uses weak bits, the techniques described herein use the following notions, probabilities, and parameters:

    • Collision: Depending on the fingerprint extraction mechanism and on the way the index is chosen as a portion of the fingerprint, the fingerprints of two or more different multimedia objects might be indexed by the same index value. This scenario, where indexes of fingerprints of different multimedia objects collide, is called a collision.
    • For purposes of illustration, and in order to simplify the calculations described hereinafter, it is assumed that for each index value the expected, average number of collisions is identical. The average number of collisions per index is denoted as D.
    • Weak bits: Weak bits are also sometimes referred to as unreliable bits. As described above, a multimedia fingerprint can be conceived as a sequence of bits. When the multimedia object, from which a fingerprint is derived, is modified, the fingerprint of the modified multimedia object might change as well. When the fingerprint of a query multimedia object is derived, each of the I index bits, from the L fingerprint bits, that constitute the index of the fingerprint, is classified as either a weak/unreliable bit or as a reliable bit. The concept of weak/unreliable and reliable bits is defined as follows. Fingerprints are typically designed such that the fingerprint of a reference multimedia object and the fingerprint of a modified version of the multimedia object differ only by few bits. Each of the I bits of the fingerprint index, on the fingerprint of a reference multimedia object, has a certain probability to change when the reference multimedia object is modified. The bits which change with a high probability are called weak or unreliable bits, whereas the bits with a low probability of change are called reliable bits.
    • PW—Probability of correct weak bit prediction: Assuming that a query fingerprint in fact corresponds to a reference fingerprint in the multimedia fingerprint database, this probability denotes the probability that the reliable bits of the fingerprint index on the query fingerprint are identical with the corresponding bits of the fingerprint index on the reference fingerprint of the reference multimedia object. In other words, PW denotes the probability that the weak bit prediction is correct. Using common notation, PWc=1−PW is defined as the probability that the reliable bits of the fingerprint index, on the query fingerprint of a query multimedia object, are not identical with the corresponding bits of the fingerprint index on the reference fingerprint of the reference multimedia object. Further, by PA/W(PA/Wc) we denote the conditional probability of an event A given that the weak bit prediction is correct (wrong).
    • p: p defines the probability that an individual bit, from the L−I bits that do not belong to the index of a fingerprint that is derived from a multimedia object, changes when the multimedia object is modified. The value of the parameter p depends on the design of the fingerprint extraction mechanism and on the signal modifications that the fingerprint extraction mechanism is designed to catch.


It is noted that in practice, the quantities p and PW tend to be related as both the index and the remaining L−I bits are part of the same fingerprint and therefore the robustness to modifications of the I index bits is likely to be correlated with the robustness of the remaining L−I bits. For purposes of clarity and illustration, however, the present disclosure does not consider the possible correlation of p and PW; rather, in the present disclosure it is assumed that both quantities p and PW can be independently measured, and the measured values are used as input parameters for the model described hereinafter in section 5.0.


4.0 Hash-Table Based Multimedia Fingerprint Databases that Use Weak Bits


This section describes the operation of an example hash-table based multimedia fingerprint database in which the techniques described herein for dynamic configuration of search parameters may be implemented.


In an example embodiment, reference fingerprints are derived from reference multimedia objects. The reference fingerprints are then stored in a multimedia fingerprint database and are indexed by index values. It is noted that a given part of a multimedia object might be represented by more than one reference fingerprint in the multimedia fingerprint database. For example, suppose that a particular video clip is 3 minutes long. In a particular operational context, it might be of interest to identify not only the video clip as a whole, but also the point of time in the video clip that matches with an accuracy of, for example, 10 seconds. Further, suppose that the fingerprint length is decided to be 12 seconds for reasons specific to the particular operational context and the specific fingerprint. Then, using a sliding window every 10 seconds, a fingerprint of 12 seconds length is taken. This implies that most parts of the video clip are represented by more than fingerprint each of which is indexed by a separately index value in the multimedia fingerprint database.


In this example embodiment, the index (also referred to as “index value”) is defined as a portion of the fingerprint but not the entire fingerprint. When a query multimedia object is queried against the multimedia fingerprint database, the query fingerprint of the query multimedia object is extracted. According to the techniques described herein, the I bits of the fingerprint that constitute the index value are divided into W≦I unreliable/weak and I−W reliable bits. In this document, we do not discuss according to which procedure in detail the W weak bits are chosen. Then, a total of most 2W index values in the multimedia fingerprint database are considered, where the 2W index values are all indexes that have the same I−W reliable bits as the index of the query fingerprint of the query multimedia object. The number of these index values is equal to 2W as all possible permutations of the W unreliable bits are stored as index values in the multimedia fingerprint database. It is noted that each of the 2W index values can index more than fingerprint. As discussed in section 3.0, the average number of collisions for each of the 2W indexes is D. Thus, the 2W index values can index a total of














N
=


D





i
=
0

W







C
W
i



=

D






2
W








(
4.2
)







fingerprints. In formula (4.2), CWi denotes the binomial coefficient







(



W




i



)

.




In accordance with the techniques described herein, a fingerprint matching mechanism calculates the N Hamming distances between the query fingerprint of the query multimedia object and each of the N fingerprints in the multimedia database indexed by the 2W indices. as described above. (As used herein, “Hamming distance” may relate to the number of bit positions at which two sequences having equal number of bits are different—for example, the bit sequences “1011101” and “1001001” have a Hamming distance of 2.) Subsequently, that one fingerprint among the N fingerprints, which has the lowest Hamming distance to the query fingerprint of the query multimedia object, is selected. If the lowest Hamming distance is achieved by more than one of the N reference fingerprints, then one of these fingerprints is picked randomly. If the Hamming distance for the selected fingerprint is not bigger than a pre-defined threshold τ, then this fingerprint is declared to represent (or otherwise match) the query multimedia object. If the lowest Hamming distance is bigger than the pre-defined threshold τ, then the query multimedia object is declared as not corresponding to any of the reference multimedia objects that are represented by reference fingerprints in the multimedia fingerprint database.


5.0 Analytic Model of the Fingerprint Search Operation

Subsection 5.1 of this section describes a general framework for modeling fingerprint-based content identification systems. Subsection 5.2 of this section derives an analytic model that describes the operation of multimedia fingerprint databases that use weak bits.


5.1 Framework for Modeling Fingerprint-Based Content Identification Systems


A general framework for modeling fingerprint-based content identification systems is described hereinafter with respect to an example embodiment. It is noted, however, that this example embodiment is provided for illustrative purposes and is therefore to be regarded in an illustrative rather than a restrictive sense.


In an example embodiment, a multimedia fingerprint database stores U multimedia objects. As described in section 4.0, for each database search, we do not consider the fingerprints of all U multimedia objects, however as outlined in section 4, we only consider N<=U multimedia objects V1, . . . , VN with fingerprints X1, . . . , XN where N is defined in (4.2). Each fingerprint is of length L and has an index of length I where I<L. In order to simplify the discussion for illustration purposes, it is assumed that no two fingerprints Xi in the multimedia fingerprint database are identical. For each query multimedia object Z, which shall be against identified by a match versus the reference database, the fingerprint Y of Z is computed. A fingerprint matching mechanism decides if the multimedia object Z corresponds to any of the N multimedia objects V1, . . . , VN. In order to define this theoretic framework as a multiple hypothesis test, the following hypotheses are defined:

    • H0: Z does not correspond to any of the multimedia objects V1, . . . , VN
    • Hi, 1≦i≦N: Z corresponds to the multimedia object Vi


The input to a fingerprint matching mechanism are the N Hamming distances di=d(Vi,Y), i=1, . . . , N which respectively denote the N Hamming distances between the fingerprints Y of the query multimedia object Z and the fingerprints X1, . . . , XN of the N multimedia objects V1, . . . , Vn. It is noted that in this example embodiment, it is assumed that the individual fingerprint bits are independent in order to achieve a higher fingerprint robustness against signal modification. Further, it is assumed that the fingerprint bits are equally likely to be 0 or 1 such that the overall entropy is maximized. It is also noted that signal modifications lead to changes in the fingerprint space which can be modeled as additive noise. The effect of attacks on fingerprint bits is modeled by the probability p that was defined heretofore in section 3.0.


As discussed heretofore in section 4.0, the L bits of the fingerprint consist of the I bits that constitute the index (or the index value) and the remainder consists of the L−I bits. Thus,






d
i
=d
I,i
+d
R,i,1≦i≦N,


where

    • dI,i: is the Hamming distance between the index of the fingerprint of multimedia object Vi and the index of the fingerprint of the query multimedia object Z; and
    • dR,i: is the Hamming distance between the reminder of the fingerprint of multimedia object Vi and the reminder of the fingerprint of the query multimedia object Z.


Further, a parameter Bj, 0≦j≦I is defined to denote the number of di satisfying dI,i=j. In other words,






B
j=number of {i|1≦i≦N,dI,i=j}.


(It is noted that the notation within the brackets above means “all i between 1 and N such that dI,i=j”.) The fingerprint matching mechanism uses a threshold parameter τ as follows:

    • If i=argj=1, 2, . . . N min dj and di≦τ, the fingerprint matching mechanism decides that the multimedia object Z corresponds to the multimedia object Vi. If the minimum value of all N Hamming distances di is attained by a fingerprint for more than one i, one of them is chosen randomly.
    • Else, the fingerprint matching mechanism decides that the multimedia object Z does not correspond to any of the N multimedia objects VN.


      It might happen that







min


i
=
1

,
…N




d
j





is achieved by more than j. Thus, Amin is denoted is used herein to denote the number of j for which







min


i
=
1

,
…N




d
j





is achieved.


Remark: In the text above, we defined the parameter U as the number of all multimedia objects in the reference database and distinguished it from the parameter N defining the number of reference fingerprints against which a query fingerprint is queried. In section 4.0, we also defined the parameter D as the average of collisions per index. In general, the parameter U is a multiple of D from which we can see by (4.2) that the parameters D and U respectively differ by a constant factor from N.


5.2 Derivation of Probabilistic Formulas for Pf, Pc, Pm, and Pd


In order to derive the quantities Pf, Pc, Pm, and Pd, the following auxiliary notation is introduced. The multinomial coefficients are abbreviated as:








C
M


a
i



…a
h





:=







(



M






a
1



…a
h





)


,




where a1+ . . . ah=M. For k=2, this definition corresponds to the definition of the binomial coefficient used in section 4.0 in an obvious way. Further, the following are defined for 0<=k<=L−I:









f
0



(
k
)


=


2


-
L

+
I




C

L
-
I

k



,







f
1



(
k
)


=


C

L
-
I

k





p
k



(

1
-
p

)



L
-
I
-
k




,
and









F
u



(
k
)


=





j
=
k


L
-
I










f
u



(
j
)







for





u


=
1


,
2.




5.2.1 Calculation of Pf


Probability Pf can be computed from the following formulas:










P
f



=

P


(


at





least





one





of





the






d
1


,

d
2

,

,



d
N


τ

|

H
0



)











=

1
-

P


(


none





one





of





the






d
1


,

d
2

,

,



d
N


τ

|

H
0



)





















=

1
-




m
=
1

N








G
0



(

τ
+
1
-

d

I
,
m



)









(
5.3
)











=

1
-




u
=
0

W









G
0

DC
W
u




(

τ
+
1
-
u

)


.








(
5.4
)







The calculation above uses the fact that under the hypothesis H0 for any iε{1, . . . , N}, satisfying d1,i≦j+1 for a fixed j,






P(di>j)=F0(j+1−dI,i).


And that for dI,i>j+1, we have






P(di>j)=1


which can be summarized as,







P


(


d
i

>
j

)


=



G
0



(

j
+
1
-

d

I
,
j



)


=

(






F
0



(

j
+
1
-

d

I
,
i



)


,






if






d

I
,
i





j
+

1





and





j

+
1
-

d

I
,
i





L
-
I


,






1
,





if






d

I
,
i



>

j
+
1.






0





if





j

+
1
-

d

I
,
i



>

L
-
I





)






5.2.2 Calculation of Pc


It is noted that if the weak bit prediction is not correct, then the fingerprint in the multimedia fingerprint database that corresponds to the fingerprint of the query multimedia object will not be identified. In other words, the conditional probability is






P
c\W

c
=0.  (5.5)





Thus,






P
c
=P
c\W
P
W.


If the weak bit prediction is correct, then it can be assumed that a specific hypothesis Hs, 1≦s≦N is correct; thus, the following needs to be calculated:










P
c

=



P

c
|
W




P
W


=




s
=
1

N








P

C
|

H
s





P

H
s









(
5.6
)







The following calculations show that the value of Pc\Hs depends indeed on the actual hypothesis Hs and in particular depends on the quantity dI,s. First, it can be seen that













P

c
|

H
S





=







P


(


deciding





s

|

H
s


)









=








P


(



d
s



τ


d
s


<


min

i

s








d
i



|

H
s


)


+














P


(



min

i

s








d
i


=



d
s




τ

s






is





decided


|

H
s



)


.








(
5.7
)







(It is noted that the notation “custom-character” used herein means “and”.)


Then, the first probability on the right-hand side of (5.7) is calculated as follows:













P


(



d
s



τ


d
s


<


min

i

s








d
i



|

H
s


)




=










j
=
0

τ







P


(


d
s

=



j

j

<


min

i

s








d
i



|

H
s



)










=










j
=
0

τ







P
(


d

R
,
s


=


j
-


d

I
,
s



j


<



















min

i

s








d
i


|

H
s


)

.







(
5.8
)







Under the condition Hs, the events dR,s=j−dI,s and






j
<


min

i

s








d
i






are independent, so

















P


(


d

R
,
s




=



j
-


d

I
,
s



j


<


min

i

s








d
i



|

H
s



)








=


P


(


d

R
,
s




=


j
-

d

I
,
s



|

H
s



)





P


(


j
<


min

i

s








d
i



|

H
s


)


.









(
5.9
)







Then, it is easy to see that











P


(


d

R
,
s


=


j
-

d

I
,
s



|

H
s



)


=


g
1



(

j
-

d

I
,
s



)



,




where




(
5.10
)








g
1



(

j
-

d

I
,
s



)


=

(






f
1



(

j
-

d

I
,
s



)


,





if





j





d

I
,
s







and





j

-

d

I
,
s



<

L
-
1







0
,



else



)





(
5.11
)







Further, using the definition of G0( . . . ) as given after formula (5.4),










P


(


j
<


min

i

s








d
i



|

H
s


)


=





m
=
1

,

m

s


N









G
0



(

j
+
1
-

d

I
,
m



)


.






(
5.12
)







Similarly, the second probability on the right-hand side of (5.7) is calculated as follows:












P
(



min

i

s








d
i




=










d
s




τ

s






is





decided


|

H
s


)







=










k
=
1


N
-
1








P
(



min

i

s








d
i


=



d
s



τ


A
min



=

















k
+


1

s






is





decided


|

H
s


)







=










k
=
1


N
-
1









1

k
+
1




P
(



min

i

s








d
i


=



d
s



τ


A
min



=


















k
+
1

|

H
s


)







=










k
=
1


N
-
1









1

k
+
1







j
=
0

τ







P
(


d

R
,
s


=


j
-


d

I
,
s





min

i

s








d
i




=



















j


A
min


=


k
+
1

|

H
s



)







(
5.13
)







The last probability (5.13) can be written as:










P


(


d

R
,
s


=


j
-


d

I
,
s





min

i

s








d
i




=


j


A
min


=


k
+
1

|

H
s





)






=





b
1

=
1

N















b
k

=
1









b
1

<

<

b
k


,


b
i


s









numberof


{



b
i

|

d

I
,

b
i




=

d

I
,
s



}





B

d

I
,
s



-
1



N















P


(



d

R
,
s


=


j
-


d

I
,
s





min

i

s








d
i




=

j





attained





by






b
1




,

,


b
k

|

H
s



)









(
5.14
)







Arguing as in (5.9)-(5.12), the last probability in (5.14) can be expressed as:













P
(


d

R
,
s




=










j
-


d

I
,
s





min


i
=
1

,
…N








d
i




=

j





attained





by





s


,

b
1

,

,


b
k

|

H
s



)







=










g
1



(

j
-

d

I
,
s



)







i
=
1

k









g
0



(

j
-

d

I
,

b
i




)








m
=
1

,

m

s

,

b
1

,

,

b
k


N








G
0



(

j
+
1
-

d
m


)






,










where








g
0



(

j
-

d

I
,
s



)


=

(






f
0



(

j
-

d

I
,
s



)


,





if





j





d

I
,
s







and





j

-

d

I
,
s



<

L
-
I







0
,



else



)






(
5.15
)







Combining (5.7)-(5.10) and (5.12)-(5.15) gives:














P

c
|

H
s





=










j
=
0

τ









g
1



(

j
-

d

I
,
s



)








m
=
1

,

m

s


N








G
0



(

j
+
1
-

d
m


)

















+




j
=
0

τ










k
=
1


N
-
1









1

k
+
1








b
1

=
1

N














b
k

=
1









b
1

<

<

b
k


,


b
i


s









numberof


{



b
i

|

d

I
,

b
i




=

d

I
,
s



}





B

d

I
,
s



-
1



N























×


g
1



(

j
-

d

I
,
s



)







i
=
1

k









g
0



(

j
-

d

I
,

b
i




)








m
=
1

,

m

s

,

b
1

,

,

b
k


N








G
0



(

j
+
1
-

d
m


)













=










j
=
0

τ









g
1



(

j
-

d

I
,
s



)





G
0

-
1




(

j
+
1
-

d

I
,
s



)







u
=
0

W








G
0

DC
W
u




(

j
+
1
-
u

)

















+




j
=
0

τ










k
=
1


N
-
1









1

k
+
1





g
1



(

j
-

d

I
,
s



)





G
0

-
1




(

j
+
1
-

d

I
,
s



)








a
0

=
0



c
W
0

-

δ


d

I
,
s


,
0


















a
w

=
0









a
1

+

…a
W


=
k




C
W
W

-

δ


d

I
,
s


,
W










C
W


a
0

,

,

a
W























×




i
=
0

W









g
0

a
i




(

j
-
i

)







i
=
0

W








G
0


DC
W
i

-

a
i





(

j
+
1
-
i

)






,










where







δ

a
,
b


=

{




1
,






if





a

=
b

,






0
,




else
,




}






(
5.16
)







Now, (5.16) can be inserted into (5.6) to obtain:










P

c

W


=





v
=
0

W





C
W
v


2
W







j
=
0

τ





g
1



(

j
-
v

)





G
0

-
1




(

j
+
1
-
v

)







u
=
0

W








G
0

DC
W
u




(

j
+
1
-
u

)







+




v
=
0

W





C
W
v


2
W







j
=
0

τ






k
=
1


N
-
1





1

k
+
1





g
1



(

j
-
v

)





G
0

-
1




(

j
+
1
-
v

)








a
0

=
0



C
W
0

-

δ

v
,
0














a
w

=
0




a
1

+








a
W



=
k




C
W
W

-

δ

v
,
W







C
W


a
0

,





,

a
W



×




i
=
0

W





g
0

a
i




(

j
-
i

)







i
=
0

W





G
0


DC
W
i

-

a
i





(

j
+
1
-
i

)


.


















(
5.17
)







5.2.3 Calculation of Pm


It is noted that






P
m
=P
m\W
P
W
+P
m\W

c

P
W

c
.  (5.18)


First, Pm\W is calculated. Similarly to the calculation of Pc\W, the conditional probability Pm\Hs for a fixed s is considered.













P

m


H
s



=



P


(



deciding





i


s

0



H
s


)








=




P


(




min

i

s




d
i




τ



min

i

s




d
i



<

d
s




H
s


)


+










P


(



min

i

s




d
i


=



d
s



τ

i



s





is





decided




H
s



)









(
5.19
)







The first probability on the right-hand side of (5.19) is transformed as follows:










P


(




min

i

s




d
i




τ



min

i

s




d
i



<

d
s




H
s


)


=





j
=
0

τ






k
=
1


N
-
1




P


(



min

i

s




d
i


=



j

j

<


d
s



A
min



=


k
+
1



H
s




)




=




j
=
0

τ






k
=
1


N
-
1








b
1

=
1

N











b
k

=
1





b
1

<








b
k



,


b
i


s




number





of






{



b
i



d

I
,

b
i




=

d

I
,
s



}





B

d

I
,
s



-
1




N



P


(




d

R
,
s


>

j
-


d

I
,
s





min

1

i

N




d
i





=

j





attained





by






b
1









,


b
k



H
s



)












(
5.20
)







Arguing as in (5.9)-(5.12), the last expression in (5.20) can be expressed as:











P


(




d

R
,
s


>

j
-


d

I
,
s





min


i
=
1

,







N





d
i





=

j





attained





by






b
1









,


b
k



H
s



)


=



G
1



(

j
+
1
-

d

I
,
s



)







i
=
1

k





g
0



(

j
-

b
i


)








m
=
1

,

m

s

,

b
1

,





,

b
k


N








G
0



(

j
+
1
-

d
m


)







,




(
5.21
)







where GI( ) is defined via FI( ) in the same way G0 ( ) is defined via F0( ) in section 5.2.1. Then, the second probability in (5.19) is calculated as follows:












P


(



min

i

s




d
i


=



d
s



τ

i



s





is





decided




H
s



)


=





j
=
0

τ






k
=
1


N
-
1





k

k
+
1



P



(
min


i

s








d
i




=


d
s

=


j


A
min


=


k
+
1



H
s






)

.




(
5.22
)







As can be seen, this probability has been calculated in (5.13)-(5.15).


Summarizing (5.19)-(5.22) gives:










P

m


H
s



=





j
=
0

τ






k
=
1


N
-
1





(



G
1



(

j
+
1
-

d

I
,
s



)


+



g
1



(

j
-

d

I
,
s



)




k

k
+
1




)







b
1

=
1

N











b
k

=
1





b
1

<








b
k



,


b
i


s




number





of






{



b
i



d

I
,

b
i




=

d

I
,
s



}





B

d

I
,
s



-
1




N



×




i
=
1

k





g
0



(

j
-

I

b
i



)








m
=
1

,

m

s

,

b
1

,





,

b
k


N








G
0



(

j
+
1
-

d

I
,
m



)












=




j
=
0

τ






k
=
1


N
-
1





(



G
1



(

j
+
1
-

d

I
,
s



)


+



g
1



(

j
-

d

I
,
s



)




k

k
+
1




)




G
0

-
1




(

j
+
1
-

d

I
,
s



)


×





a
0

=
0



C
W
0

-

δ


d

I
,
s


,
0














a
w

=
0




a
1

+








a
W



=
k




C
W
W

-

δ


d

I
,
s


,
W







C
W


a
0

,





,

a
W








i
=
0

W





g
0

a
i




(

j
-
i

)







i
=
0

W





G
0


DC
W
i

-

a
i





(

j
+
1
-
i

)


.
















(
5.23
)







Arguing as in (5.17), the following is obtained from (5.23):










P

m

W


=




v
=
0

W





C
W
v


2
W







j
=
0

τ






k
=
1


N
-
1





(



G
1



(

j
+
1
-
v

)


+



g
1



(

j
-
v

)




k

k
+
1




)




G
0

-
1




(

j
+
1
-
v

)


×





a
0

=
0



C
W
0

-

δ

v
,
0














a
W

=
0




a
1

+








a
W



=
k




C
W
W

-

δ

v
,
W







C
W


a
0

,





,

a
W








i
=
0

W





g
0

a
i




(

j
-
i

)







i
=
0

W




G
0


DC
W
i

-

a
i





(

j
+
1
-
i

)


















(
5.24
)







Now, the conditional probability Pm\Wc is calculated. The condition Wc implies that the fingerprint of the query multimedia object does not correspond to any of the N indexed fingerprints as described in section 4.0. Thus, the hypothesis H0 holds. The probability of the erroneous identification of the query fingerprint with any of the N fingerprints is therefore equal to the probability of a false positive, that is,






P
m\W

c

=P
f.  (5.25)


5.2.4 Calculation of Pd


It is noted that






P
d
=P
d\W
P
W
+P
d\W

c

P
W

c
  (5.26)


First, the conditional probability Pd\W is calculated and, similarly to the calculation of Pc\W and Pm\W, the quantity Pd\Hs is considered first:













P


(

d


H
s


)


=



P
(




min


i
=
1

,





,
N




d
i



τ



H
s


)







=



1
-




i
=
1

N







P


(



d
i



τ
+
1




H
s


)










=



1
-



G
1



(

τ
+
1
-

d

I
,
s



)








m
=
1

,

m

s


N









G
0



(

τ
+
1
-

d
m


)


.











(
5.27
)







Averaging as in (5.17), Pd\W is derived from (5.27) as follows:










P

d

W


=

1
-




v
=
0

W





C
W
v


2
W







j
=
0

τ





G
1



(

j
-
v

)





G
0

-
1




(

j
+
1
-
v

)







u
=
0

W









G
0

DC
W
u




(

j
+
1
-
u

)


.











(
5.28
)







The conditional probability Pd\Wc is considered next. From (3.1), (5.5), (5.25), and (5.26), it follows that






P
d\W

c

=P
m\W

c

=P
f.  (5.29)


5.2.5 Alternative Derivation of Pd\Hs


In this section, formula (3.1) is used to calculate Pd\Hs and to show that the result is identical to (5.27). Combining (5.16) and (5.23) gives













P

d


H
s



=




P

c


H
s



+

P

m


H
s










=







j
=
0

τ





g
1



(

j
-

d

I
,
s



)








m
=
1

,

m

s


N








G
0



(

j
+
1
-

d
m


)





+













j
=
0

τ



(



G
1



(

j
+
1
-

d

I
,
s



)


+


g
1



(

j
-

d

I
,
s



)



)














k
=
1


N
-
1








b
1

=
1

N











b
k

=
1





b
1

<








b
k



,


b
i


s




number





of






{



b
i



d

I
,

b
i




=

d

I
,
s



}





B

d

I
,
s



-
1




N

×
















i
=
1

k





g
0



(

j
-

I

b
i



)








m
=
1

,

m

s

,

b
1

,





,

b
k


N








G
0



(

j
+
1
-

d

I
,
m



)











=




A
1

+


A
2

.









(
5.30
)







It is easy to see that










A
2

=




j
=
0

τ





G
1



(

j
-

d

I
,
s



)







k
=
1


N
-
1








b
1

=
1

N











b
k

=
1





b
1

<








b
k



,


b
i


s




number





of






{



b
i



d

I
,

b
i




=

d

I
,
s



}




B

d

I
,
s






N



×




i
=
1

k





g
0



(

j
-

I

I
,

b
i




)








m
=
1

,

m

s

,

b
1

,





,

b
k


N









G
0



(

j
+
1
-

d

I
,
m



)


.















(
5.31
)







Now, formula (5.30) is transformed as












P

c


H
s



+

P

m


H
s




=


A
1

+

A
2

+
B
-
B


,




(
5.32
)





where










B
=




j
=
0

τ





G
1



(

j
-

d

I
,
s



)








m
=
1

,

m

s


N









G
0



(

j
+
1
-

d
m


)


.
















Then,













A
2

+
B

=






j
=
0

τ





G
1



(

j
-

d

I
,
s



)








m
=
1

,

m

s


N



(



g
0







(

j
-

d
m


)


+


G
0



(

j
+
1
-

d
m


)



)










=






j
=
0

τ





G
1



(

j
-

d

I
,
s



)








m
=
1

,

m

s


N





G
0



(

j
-

d
m


)


.











(
5.33
)







Also,










A
1

-
B

=

-




j
=
0

τ





G
1



(

j
+
1
-

d

I
,
s



)








m
=
1

,

m

s


N





G
0



(

j
+
1
-

d
m


)


.









(
5.34
)







Combining (5.33) and (5.34) gives:














A
1

+

A
2


=






G
1



(

-

d

I
,
s



)








m
=
1

,

m

s


N




G
0



(

-

d
m


)




-


G
1



(

τ
+
1
-

d

I
,
s



)
















m
=
1

,

m

s


N




G
0



(

τ
+
1
-

d
m


)










=



1
-



G
1



(

τ
+
1
-

d

I
,
s



)








m
=
1

,

m

s


N




G
0



(

τ
+
1
-

d
m


)






,







(
5.35
)







which is identical to formula (5.27) as required.


6.0 Method for Dynamically Configuring Search Parameters for Multimedia Fingerprint Databases that Use Weak Bits


This section describes example embodiments in which the model developed in section 5.0 is used to automatically determine, for hash-table based multimedia fingerprint databases that use weak bits, the optimal fingerprint length (or size), the optimal index length (or size), the optimal threshold value 2, and the optimal number of weak bits.


6.1 Determining the Maximum Fingerprint Length Lmax


In an example embodiment, the maximum fingerprint length Lmax is determined during an initialization step in which the operational parameters of a multimedia fingerprint database are determined. LMax is the maximal fingerprint length conceivable under any circumstances for the target operational context of the multimedia fingerprint database. In order to define Lmax, the following three input parameters may need to be determined or otherwise selected:

    • Maximum database size for the envisioned operational context.
    • Maximum value of p for the envisioned operational context.
    • Lowest possible value of PW the envisioned operational context.


      In addition, the following value ranges for configuration values for the database design and search may be needed:
    • Range of possible index length values I for the envisioned operational context.
    • Possible range for number of weak bits W.
    • Possible range of threshold values τ


The values for the three input parameters above as well as the three range of values for the configuration values may be derived in various ways and may depend on various factors including, but not limited to, the particular operational context, the type of content that needs to be identified, and any additional knowledge of the users about the type of content-based identification that needs to be performed. In some cases, the values for the above parameters may be estimated based on heuristics and/or other information.


According to the techniques described herein, the input values for the three input parameters and a series of fixed values of L, I, W, and τ may be used to calculate a resulting series of values of Pf, Pc, Pm, and Pd by using the formulas derived in section 5.0. By comparing the resulting series, the minimum value of L can be determined for which the values of Pf, Pc, Pm, and Pd match best the envisioned target values for the particular operational context in which the underlying multimedia fingerprint database will be used. It is noted that increasing L further (e.g., beyond the optimal minimum value) may lead to even better sensitivity of the fingerprint matching mechanism but it would come at the cost of eventually deteriorating the robustness of the mechanism.


The value of L chosen or determined at this step is referred to herein as Lmax, and it is the length (or size) that all fingerprints stored in the multimedia fingerprint database will have.


6.2 Storing Reference Fingerprints in the Multimedia Fingerprint Database


After determining Lmax, the initialization step in an example embodiment may include extracting reference fingerprints from the multimedia objects that will be represented in the multimedia fingerprint database, and storing the extracted reference fingerprints in the multimedia fingerprint database.


For example, a reference fingerprint of length Lmax is extracted from each multimedia object that is represented in the multimedia fingerprint database. Then, the extracted reference fingerprint is stored in the multimedia fingerprint database in accordance with the techniques described herein. In this manner, all reference fingerprints stored in the multimedia fingerprint database have the same length of Lmax.


6.3 Determining the Values of Parameters LactualIactual, τactual, and Wactual


In an example embodiment, after the multimedia fingerprint database is initialized and at least some reference fingerprints are stored therein, the multimedia fingerprint database is configured for searching by determining and setting the values of one or more search parameters such as for example, Lactual, Iactual, τactual, and Wactual. These parameters are the parameters according to which the multimedia fingerprint database is designed and configured at a certain “actual” time. For example, Lactual is the fingerprint size used at that certain time, Iactual is the index size used at that certain time, τactual is the threshold value used at that time, and Wactual is the number of weak bits used at that certain operational time. It is noted that in various on a scenarios the values of the four parameters Lactual, Iactual, τactual, and Wactual may be optimized in various ways including, but not limited to, together as a group, individually and separately from each other, in any combination subset of two or more, subsequently one after the other, sequentially, iteratively, or jointly.


The target probabilities Pf, Pc, Pm, and Pd depend on the configuration parameters L, I, W, τ as well as on the following parameters describing the status of the fingerprinting system:

    • Actual database size U of the multimedia fingerprint database at time t1 (in terms of the number of reference multimedia objects represented therein) at that particular time. We recall from the remark at then end of section 5.1 that a change of U leads to a proportional change of N which is used to calculate the target probabilities Pf, Pc, Pm, and Pd.
    • Actual value of p at time t1.
    • Actual value of PW at time t1.


Using the values of the above three parameters and a series of fixed values for one or more of L, I, W, and τ, at time ti a resulting series of values of Pf, Pc, Pm, and Pd may be calculated by using the formulas derived in section 5.0. By comparing the resulting series, those values of L, I, W, and τcan be determined for which the values of Pf, Pc, Pm, and Pd match best the target values that are required from the underlying multimedia fingerprint database at time t1. For the determination of the paramaters L, I, W, and τ one could for example first determine L by trying different values of L and different values of I, W, and τ. Then, one could for the now fixed L determine consecutively, I, W, and τ in a similar manner. Alternatively, one could first determine W and then decide the other parameters subsequently. Or, one could determine all parameters jointly or subsequently determine subgroups of the four parameters described in the way above.


The value of L determined at any particular time (e.g., such as time t1) is referred to herein as Lactual, and it is the length (or size) of those portions of the reference fingerprints that will be used for matching query fingerprints of query multimedia objects to reference fingerprints in the multimedia fingerprint database after that particular time (and until a next re-configuration of the Lactual parameter is performed).


The value of I determined at any particular time (e.g., such as time t1) is referred to herein as Iactual, and it is the length (or size) of those portions of the indexes, on the reference fingerprints, that will be used for matching indexes on query fingerprints extracted from query multimedia objects to the indexes on the reference fingerprints stored in the multimedia fingerprint database after that particular time (and until a next re-configuration of the Iactual parameter is performed). According to the techniques described herein, the value of Iactual needs to chosen smaller than the current value of Lactual. It is noted that the value of Lactual does not necessarily need to be configured before the value of Iactual, but as mentioned above, the values of the four search parameters Lactual, Iactual, τactual, and Wactual can be configured in any suitable manner such as, for example, jointly (in any suitable combination), individually and separately of each other, iteratively, and/or consecutively.


The value of τ determined at any particular time (e.g., such as time t1) is referred to herein as τactual, and it is the threshold value that is used after the particular time (and until a next re-configuration of the τactual parameter is performed) to determine whether a query fingerprint (or an index thereon) matches a reference fingerprint (or an index thereon). Depending on the particular operational context in which a multimedia fingerprint database operates and/or on the relative importance in that context of each of the Lactual, Iactual, τactual, and Wactual parameters, the value of τactual can be configured with respect to the other three search parameters in any suitable manner such as, for example, jointly (in any suitable combination), individually and separately, iteratively, and/or consecutively.


The value of W determined at any particular time (e.g., such as time t1) is referred to herein as Wactual, and it is the number of weak bits that is used after the particular time (and until a next re-configuration of the Wactual parameter is performed) to determine whether a query fingerprint (or an index thereon) matches a reference fingerprint (or an index thereon). Depending on the particular operational context in which a multimedia fingerprint database operates and/or on the relative importance in that context of each of the Lactual, Iactual, τactual parameters, the value of Wactual can be configured with respect to the other three search parameters in any suitable manner such as, for example, jointly (in any suitable combination), individually and separately, iteratively, and/or consecutively.


6.4 Fingerprint Matching Based on the Configured Search Parameters


In an example embodiment, a fingerprint matching mechanism is configured to match query fingerprints extracted from query multimedia objects to the reference fingerprints stored in the multimedia fingerprint database based on the current, actual values of one or more search parameters such as for example, Lactual, Iactual, Wactual, and τactual.


According to the techniques described herein, the fingerprint matching algorithm is configured as follows. For each reference fingerprint in the multimedia fingerprint database, the fingerprint bits are divided in two sets of bits S1 and S2, where the set S1 contains Lactual number of bits and the set S2 contains Lmax−Lactual number of bits. In various implementations and embodiments, the bits of a reference fingerprint may be assigned to each of sets S1 and S2 in any suitable manner. It is noted that the techniques described herein are not limited to any particular manner of assigning bits to sets S1 and S2, except that the techniques described herein require that the same deterministic procedure to assign the bits to sets S1 and S2 is applied to all fingerprints in the following sense:

    • the fingerprint extraction logic extracts Lmax bits from a multimedia objects in a deterministic way and the extracted bits can be indexed as b1< . . . bLmax;
    • a subset of the fingerprint index values 1, . . . , Lmax of magnitude Lactual is chosen and the corresponding bits are assigned to set S1;
    • the remaining Lmax−Lactual bits are assigned to set S2.


In operation, only the portion of a reference fingerprint assigned in set S1 is used for matching. The value of τ used by the fingerprint matching mechanism is set to the currently configured value τactual. Whenever the fingerprint matching mechanism queries a query multimedia object against the multimedia fingerprint database, only the Lactual bits corresponding to set S1 are extracted from the query multimedia object and matched against the Lactual reference fingerprints belonging to set S1 stored in the multimedia fingerprint database for each reference fingerprint. If the fingerprint extraction logic is built in a way that the extraction of certain fingerprint bits requires the previous extraction of other fingerprint bits, then more than Lactual bits might be extracted from the query multimedia object, but only the Lactual εS1 bits are used by the fingerprint matching mechanism to query the multimedia fingerprint database. It is noted, however, that in practice such a scenario is unlikely to occur because it is desirable to design fingerprints such that the information represented in different bits is not correlated. Thus, in practice, bits that are more important are going to be assigned, according to a measure relevant to the particular operational context, to set S1 and the remaining bits are going to be assigned to set S2.


6.5 Dynamically Configuring the Search Parameters for a Multimedia Fingerprint Database that Uses Weak Bits


According to the techniques described herein, the search parameters, which affect and govern how query fingerprints are searched against a multimedia fingerprint database, are dynamically re-configured at various points in time in order to provide for more optimal use of computing resources during the fingerprint matching operations and to reflect the current accuracy and robustness requirements for the multimedia fingerprint database as indicated by the required target values for the probabilities Pf, Pc, Pm, and Pd.


In an example embodiment, as the size of the multimedia fingerprint database changes, the techniques described in subsection 6.3 are used the recalculate the appropriate current fingerprint length Lactual and the values of τactual, Iactual, and Wactual. The recalculation might be done because one or several of the following reasons:


A) Some of the target probabilities have changed.


B) The parameter p has changed


C) The parameter Pw has changed


D) The parameter U has changed


Regarding point D), we recall from the remark at then end of section 5.1 that a change of U leads to a proportional change of N which is used to calculate the target probabilities Pf, Pc, Pm, and Pd.


In reaction to one or several of the reasons A)-D), one or more of the four parameters Lactual, τactual, Iactual, and Wactual might be changed using the method defined in section 6.3. In particular, the value of Lactual might be changed. In this case, for each reference fingerprint bits might have to be shifted from S1 to set S2 or vice-versa depending if the value of Lactual decreases or increases. As a result of the decrease of the size of Lactual certain bits might be moved from set S1 to set S2 that belonged to the index with size Iactual before Lactual was changed. This might require that the index size is decreased or that bits which were previously not part of the index are now included in the index. In addition, the index size might change using the procedure described in subsection 6.3. Similarly, the number of weak bits might be reduced as a result of a reduction of Lactual if some of the bits moved from S1 to set S2 were classified as weak bits Lactual was decreased.



FIG. 2 is a block diagram that illustrates the storage and usage of reference fingerprints in a multimedia fingerprint database according to an example embodiment of the techniques described herein.


Multimedia fingerprint database 110 is initialized and configured to store reference fingerprints 202 and metadata information 204 that identifies the reference multimedia objects that are represented by reference fingerprints 202. For example, at initialization time, the value of Lmax for multimedia fingerprint database 110 is determined according to the techniques described herein and is set to Lmax=20. Then, a reference fingerprint having length of 20 bits is extracted from each reference multimedia object that is available at the initialization time, and the extracted reference fingerprint is stored in multimedia fingerprint database 110 in association with metadata information that identifies the reference multimedia object. Thus, all of the reference fingerprints 202 stored in multimedia fingerprint database 110 have the same length of 20 bits.


At time t1 (which may be the initialization time or a time point thereafter), the techniques described herein are used to determine the current values for the search parameters (e.g., Lactual, Iactual, Wactual, and τactual) that will be used after time t1 to match query fingerprints extracted from query multimedia objects to reference fingerprints 202. For example, a series of values for one or more of the probabilities Pf, Pc, Pm, and Pd are calculated by using the formulas derived in section 5.0 based on a series of values for one or more of L, I, W, and τ. By comparing the computed series of values for Pf, Pc, Pm, and Pd, those values of L, I, W, and τ are determined for which the values of Pf, Pc, Pm, and Pd match best the target values that are required from the multimedia fingerprint database 110 at time t1. As illustrated in FIG. 2, the value determined for Lactual is 10 bits (Lactual=10), and this value is used after time t1 to match query fingerprints against reference fingerprints 202. Specifically, in accordance with the techniques described herein, 10 bits from each reference fingerprint are determined (or otherwise selected) and assigned to the set of bits S1 (set of bits 205 in FIG. 2) that is associated with that reference fingerprint. Thereafter the sets of bits 205, which include the S1 sets of all reference fingerprints 202, is used by a fingerprint matching mechanism to match query fingerprints extracted from query multimedia objects to reference fingerprints 202.


At time t2 (which is after time t1), some operational characteristics of multimedia fingerprint database 110 have changed. For example, the size of multimedia fingerprint database 110 may have been increased to store reference fingerprints for additional reference multimedia objects. In another example, a set of new target values for one or more of the probabilities Pf, Pc, Pm, and Pd may have been received from a user (e.g., such as a system administrator). As a result, the current values for the search parameters (e.g., Lactual, Iactual, Wactual, and τactual) need to be reconfigured. Thus, at time t2, the techniques described herein are used to determine new current values for the search parameters (e.g., Lactual, Iactual, Wactual, and τactual) that will be used after time t2 to match query fingerprints extracted from query multimedia objects to reference fingerprints 202. For example, a series of values for one or more of the probabilities Pf, Pc, Pm, and Pd are calculated by using the formulas derived in section 5.0 based on a series of values of L, I, W, and τ. By comparing the computed series of values for Pf, Pc, Pm, and Pd, those values of L, I, W, and τ are determined for which the values of Pf, Pc, Pm, and Pd match best the target values that are required from the multimedia fingerprint database 110 at time t2. As illustrated in FIG. 2, the value determined for Lactual is 14 bits (Lactual=14), and this value is used after time t2 to match query fingerprints against reference fingerprints 202. Specifically, in accordance with the techniques described herein, 14 bits from each reference fingerprint are determined (or otherwise selected) and assigned to the set of bits S1 (set of bits 215) that is associated with that reference fingerprint. Thereafter the sets of bits 215, which include the S1 sets of all reference fingerprints 202, is used by a fingerprint matching mechanism to match query fingerprints extracted from query multimedia objects to reference fingerprints 202.


At time t3 (which is after time t2), some operational characteristics of multimedia fingerprint database 110 have changed yet again. For example, the size of multimedia fingerprint database 110 may have been decreased by removing some reference fingerprints so that now the multimedia fingerprint database can be used to identify fewer multimedia objects. In another example, a set of new target values for one or more of the probabilities Pf, Pc, Pm, and Pd may have been received from a user (e.g., such as a system administrator). As a result, the current values for the search parameters (e.g., Lactual, Iactual, Wactual, and τactual) need to be reconfigured. Thus, at time t3, the techniques described herein are used to determine new current values for the search parameters (e.g., Lactual, Iactual, Wactual, and τactual) that will be used after time t3 to match query fingerprints extracted from query multimedia objects to reference fingerprints 202. For example, a series of values for one or more of the probabilities Pf, Pc, Pm, and Pd are calculated by using the formulas derived in section 5.0 based on a series of values of L, I, W, and τ. By comparing the computed series of values for Pf, Pc, Pm, and Pd, those values of L, I, W, and τ are determined for which the values of Pf, Pc, Pm, and Pd match best the target values that are required from the multimedia fingerprint database 110 at time t3. As illustrated in FIG. 2, the value determined for Lactual is 8 bits (Lactual=8), and this value is used after time t3 to match query fingerprints against reference fingerprints 202. Specifically, in accordance with the techniques described herein, 8 bits from each reference fingerprint are determined (or otherwise selected) and assigned to the set of bits S1 (set of bits 225) that is associated with that reference fingerprint. Thereafter the sets of bits 225, which include the S1 sets of all reference fingerprints 202, is used by a fingerprint matching mechanism to match query fingerprints extracted from query multimedia objects to reference fingerprints 202.


In this manner, the techniques described herein may be used at any given point in time to reconfigure one or more of the search parameters of a multimedia fingerprint database so that the reconfigured search parameters can better reflect the current operational characteristics of the multimedia fingerprint database and can allow for the optimal use of computing resources during the process of identifying query multimedia objects against the database.


6.6 Example Method of Dynamically Configuring the Search Parameters for a Multimedia Fingerprint Database that Uses Weak Bits



FIGS. 3A and 3B are flow diagrams that illustrate a method for dynamically configuring search parameters for a multimedia fingerprint database according to an example embodiment of the techniques described herein. The example method of FIGS. 3A and 3B may be implemented by a variety of components and in a variety of operational contexts. For example, in one operational context, the steps of the method in FIGS. 3A and 3B may be performed by components (e.g., such as dynamic configuration logic 104, fingerprint generator 106, and/or matching logic 108 illustrated in FIG. 1) that are executed by one or more computing devices.


Referring to FIG. 3A, in step 300 a multimedia fingerprint database that uses weak bits is initialized and maintained thereafter. For example, the multimedia fingerprint database is initialized and configured to store reference fingerprints and metadata information that identifies the reference multimedia objects that are represented by the reference fingerprints. At initialization time, the value of Lmax for the multimedia fingerprint database is determined as described in subsection 6.1. Then, as described in subsection 6.2, a reference fingerprint having length of Lmax bits is extracted from each reference multimedia object that is available at the initialization time or that is added to the multimedia fingerprint database thereafter. The extracted reference fingerprint is stored in the multimedia fingerprint database in association with metadata information that identifies the reference multimedia object. Thus, all of the reference fingerprints stored in the multimedia fingerprint database have the same length of Lmax.


In step 306, one or more search parameters for the multimedia fingerprint database are automatically determined (as described in subsection 6.3) and are dynamically configured (as described in subsection 6.5). The one or more search parameters may include: a fingerprint length Lactual, of those portions of the reference fingerprints that are used for matching query fingerprints of multimedia query objects; an index length Iactual of those portions of fingerprint indexes, on the reference fingerprints, that are used for matching the indexes on the reference fingerprints to indexes on the query fingerprints of multimedia query objects; a threshold τactual that is used to determine whether the identification of the query multimedia objects is correct; and the number of weak bits Wactual in the reference fingerprints. Further details and the steps included in step 306 (e.g., such as steps 306A, 306B, 306C, and 306D) are described hereinafter with respect to FIG. 3B. It is noted that step 306 is performed periodically as the operational characteristics of the multimedia fingerprint may change with time.


Referring now to FIG. 3B, step 302 is performed by a fingerprint matching mechanism to identify query multimedia objects against the multimedia reference database as described in subsection 6.4. In step 302, the current values of the search parameters (e.g., Lactual, Iactual, τactual, and/or the number of weak bits Wactual) are used to identify query multimedia objects against the multimedia fingerprint database. For example, in accordance with the techniques described herein, a set of bits S1 containing Lactual bits is determined (or is otherwise selected) from each reference fingerprint. Thereafter the sets of bits S1, which are determined for the reference fingerprints stored in the multimedia reference database, are used by a fingerprint matching mechanism to match query fingerprints of length Lactual extracted from query multimedia objects to the reference fingerprints. The fingerprint matching mechanism uses the currently configured value of τactual as a threshold to determine whether a match is found, it uses the current index length Iactual, and it uses the currently configured value of Wactual as the number of weak bits.


At different points in time after the multimedia fingerprint database is initialized, the operational characteristics of the multimedia fingerprint database may change. For example, in step 304 a set of new target values for one or more of the probabilities Pf, Pc, Pm, and Pd may be received from a user (e.g., such as a system administrator). In another example, the number of reference fingerprints stored in the multimedia fingerprint database may be increased or decreased.


As a practical example, consider a fingerprint-based content identification system that needs to verify whether user-uploaded video clips are not in violation of copyright laws. Initially, the multimedia fingerprint database used in such system may be configured to have the target probabilities of Pf=0.01 and Pd=0.01, and the length of the reference fingerprints stored in the multimedia fingerprint database may be determined as 25 (Lmax=25). So at some point in time the multimedia fingerprint database may store U=1,000 reference fingerprints, and for this value of U it may have been determined that Lactual=10 bits is sufficient to meet the target values for Pf and Pd. However, at a certain point in time thereafter, the number of reference fingerprints stored in the multimedia fingerprint database may go up to 2,000 (U=2,000). When this happens, Lactual=10 may in fact not be appropriate to achieve the target probabilities for Pf and Pd. In this case, the techniques described herein may be used to automatically determine and dynamically reconfigure a new value Lactual (and/or new values for one or more of Iactual, Wactual, and τactual, if necessary) so that the target values for Pf and Pd are satisfied.


In another practical example, suppose that at some point the fingerprint-based content identification system needs to use different values for the probabilities Pf and Pd. For example, a system administrator may determine that in order to handle a larger volume of searches, the new target value of the probabilities Pf and Pd need to be set to 0.10, that is, Pf=0.10 and Pd=0.10. The system administrator inputs those new probabilities into the system, and the system uses the techniques described herein to automatically determine and dynamically reconfigure a new value Lactual (and/or new values for one or more of Iactual, Wactual and τactual, if necessary) so that the new target values for Pf and Pd are satisfied. It is noted that new target values for any one of, or any combination of, the probabilities Pf, Pc, Pm, and Pd may be set in a similar manner depending on the particular operational context. For example, in some operational contexts it may be important that false positive identifications are as low as possible because of the costs associated when an identification is detected (e.g., if a user-uploaded video is tagged as including copyrighted content, the user must be sent a letter and a business manager must spend time to follow up with the user). So in these operational contexts, the probability of false positive Pf may need to be set very low and may need to be periodically adjusted as necessary. In another example, in some operational contexts it may be very important to correctly identify multimedia objects. So in these operational contexts, the probability of correct identification Pc may have to be set very high and/or the probability of misclassification Pm may have to be set very low, and these two probabilities may have to be adjusted periodically.


Referring to FIG. 3B, in response to a request to reconfigure the search parameters of the multimedia reference database and/or in response to receiving new target values for one or more of the probabilities Pf, Pc, Pm, and Pd as indicated in step 304, a new set of current values for one or more of the search parameters (e.g., Lactual, Iactual, τactual, and/or Wactual) may be automatically determined and dynamically configured, as indicated in steps 306A, 306B, 306C, and 306D.


7.0 Implementation Mechanisms—Hardware Overview

According to one embodiment, the techniques described herein are implemented by one or more special-purpose computing devices. The special-purpose computing devices may be hard-wired to perform the techniques, or may include digital electronic devices such as one or more application-specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs) that are persistently programmed to perform the techniques, or may include one or more general purpose hardware processors programmed to perform the techniques pursuant to program instructions in firmware, memory, other storage, or a combination. Such special-purpose computing devices may also combine custom hard-wired logic, ASICs, or FPGAs with custom programming to accomplish the techniques. The special-purpose computing devices may be desktop computer systems, portable computer systems, handheld devices, networking devices or any other device that incorporates hard-wired and/or program logic to implement the techniques.


For example, FIG. 4 is a block diagram that illustrates a computer system 400 upon which an embodiment of the techniques described herein may be implemented. Computer system 400 includes a bus 402 or other communication mechanism for communicating information, and a hardware processor 404 coupled with bus 402 for processing information. Hardware processor 404 may be, for example, a general purpose microprocessor.


Computer system 400 also includes a main memory 406, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 402 for storing information and instructions to be executed by processor 404. Main memory 406 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 404. Such instructions, when stored in storage media accessible to processor 404, render computer system 400 into a special-purpose machine that is customized to perform the operations specified in the instructions.


Computer system 400 further includes a read only memory (ROM) 408 or other static storage device coupled to bus 402 for storing static information and instructions for processor 404. A storage device 410, such as a magnetic disk or optical disk, is provided and coupled to bus 402 for storing information and instructions.


Computer system 400 may be coupled via bus 402 to a display 412, such as a cathode ray tube (CRT), for displaying information to a computer user. An input device 414, including alphanumeric and other keys, is coupled to bus 402 for communicating information and command selections to processor 404. Another type of user input device is cursor control 416, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 404 and for controlling cursor movement on display 412. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.


Computer system 400 may implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware and/or program logic which in combination with the computer system causes or programs computer system 400 to be a special-purpose machine. According to one embodiment, the techniques herein are performed by computer system 400 in response to processor 404 executing one or more sequences of one or more instructions contained in main memory 406. Such instructions may be read into main memory 406 from another storage medium, such as storage device 410. Execution of the sequences of instructions contained in main memory 406 causes processor 404 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions.


The term “storage media” as used herein may relate to any media that store data and/or instructions that cause a machine to operate in a specific fashion. Such storage media may comprise non-volatile media and/or volatile media. Non-volatile media includes, for example, optical or magnetic disks, such as storage device 410. Volatile media includes dynamic memory, such as main memory 406. Common forms of storage media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, NVRAM, any other memory chip or cartridge.


Storage media is distinct from but may be used in conjunction with transmission media. Transmission media participates in transferring information between storage media. For example, transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 402. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.


Various forms of media may be involved in carrying one or more sequences of one or more instructions to processor 404 for execution. For example, the instructions may initially be carried on a magnetic disk or solid state drive of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to computer system 400 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal. An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 402. Bus 402 carries the data to main memory 406, from which processor 404 retrieves and executes the instructions. The instructions received by main memory 406 may optionally be stored on storage device 410 either before or after execution by processor 404.


Computer system 400 also includes a communication interface 418 coupled to bus 402. Communication interface 418 provides a two-way data communication coupling to a network link 420 that is connected to a local network 422. For example, communication interface 418 may be an integrated services digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 418 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 418 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.


Network link 420 typically provides data communication through one or more networks to other data devices. For example, network link 420 may provide a connection through local network 422 to a host computer 424 or to data equipment operated by an Internet Service Provider (ISP) 426. ISP 426 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet” 428. Local network 422 and Internet 428 both use electrical, electromagnetic or optical signals that carry digital data streams. The signals through the various networks and the signals on network link 420 and through communication interface 418, which carry the digital data to and from computer system 400, are example forms of transmission media.


Computer system 400 can send messages and receive data, including program code, through the network(s), network link 420 and communication interface 418. In the Internet example, a server 430 might transmit a requested code for an application program through Internet 428, ISP 426, local network 422 and communication interface 418.


The received code may be executed by processor 404 as it is received, and/or stored in storage device 410, or other non-volatile storage for later execution.


In the foregoing specification, embodiments of the invention have been described with reference to numerous specific details that may vary from implementation to implementation. Thus, the sole and exclusive indicator of what is the invention, and is intended by the applicants to be the invention, is the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction. Any definitions expressly set forth herein for terms contained in such claims shall govern the meaning of such terms as used in the claims. Hence, no limitation, element, property, feature, advantage or attribute that is not expressly recited in a claim should limit the scope of such claim in any way. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims
  • 1-21. (canceled)
  • 22. A method, comprising the steps of: maintaining a multimedia fingerprint database that stores reference fingerprints, wherein maintaining the multimedia fingerprint database comprises dynamically configuring one or more of: a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects;an index length of the index used to index the portions of the reference fingerprints that are used to identify multimedia objects; ora threshold that is used to determine whether multimedia objects are correctly identified;wherein one or more of the fingerprint length, the index length, or the threshold may be assigned different values at different times during the lifetime of the multimedia fingerprint database;wherein the dynamic configuration step comprises the steps of automatically determining and assigning, at different times during the lifetime of the multimedia fingerprint database, different values to one or more of the fingerprint length, the index length, or the threshold;wherein for each reference fingerprint in the multimedia fingerprint database, the fingerprint bits are divided into two sets of bits S1 and S2, where the set S1 contains Lactual number of bits and the set S2 contains Lmax−Lactual number of bits, the bits of each reference fingerprint being assigned to each of sets S1 and S2 with only the portion of each reference fingerprint assigned to set S1 being used for matching;wherein for each reference fingerprint, bits might may be shifted from set S1 to set S2 or vice-versa dependent upon whether the value of Lactual decreases or increases at different times during the lifetime of the multimedia fingerprint database;wherein the method is performed by one or more computing devices.
  • 23. The method as recited in claim 22, wherein maintaining the multimedia fingerprint database further comprises using a set of formulas, which are based on one or more parameters, to compute one or more probabilities associated with identifying the multimedia objects.
  • 24. The method as recited in claim 23, wherein the one or more probabilities comprise one or more of: a probability of false positive;a probability of correct identification;a probability of misclassification; ora probability of detection.
  • 25. The method as recited in claim 22, wherein dynamically configuring further comprises using as input values one or more of: a probability that an individual bit, which does not belong to a fingerprint index of a reference fingerprint stored in the multimedia fingerprint database, changes when a reference object represented by the reference fingerprint is modified; ora number of reference fingerprints stored in the multimedia fingerprint database.
  • 26. The method as recited in claim 22, further comprising: receiving a query multimedia object;deriving a fingerprint from the query multimedia object; andattempting to identify the query multimedia object by comparing the fingerprint to the reference fingerprints in the multimedia fingerprint database.
  • 27. The method as recited in claim 22, wherein the maintaining step comprises the steps of: receiving one or more target values respectively for one or more of a probability of false positive, a probability of correct identification, a probability of misclassification, and a probability of detection;wherein dynamically configuring the multimedia fingerprint database further comprises determining and setting those values for one or more of the fingerprint length, the index length, or the threshold, which cause the one or more target values to be met.
  • 28. The method as recited in claim 22 wherein the step of computing the value for the probability of false positive comprises the step of: computing a multiplication over a plurality of probabilities that describe a likelihood that the query fingerprint is wrongly identified with a specific reference fingerprint.
  • 29. The method as recited in claim 22, wherein computing the value for the probability of detection comprises one or more of: computing a summation of a plurality of probabilities that correspond to a detection; orcomputing the probability of detection as a function of both the probability of correct classification and misclassification.
  • 30. A non-transitory computer-readable storage media that comprises a set of instructions stored therewith which, when executed by one or more computing or processing devices, causes performance of a process, the process comprising the steps of: maintaining a multimedia fingerprint database that stores reference fingerprints, wherein maintaining the multimedia fingerprint database comprises dynamically configuring one or more of: a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects;an index length of the index used to index the portions of the reference fingerprints that are used to identify multimedia objects; ora threshold that is used to determine whether multimedia objects are correctly identified;wherein one or more of the fingerprint length, the index length, or the threshold may be assigned different values at different times during the lifetime of the multimedia fingerprint database;wherein the dynamic configuration step comprises the steps of automatically determining and assigning, at different times during the lifetime of the multimedia fingerprint database, different values to one or more of the fingerprint length, the index length, or the threshold;wherein for each reference fingerprint in the multimedia fingerprint database, the fingerprint bits are divided into two sets of bits S1 and S2, where the set S1 contains Lactual number of bits and the set S2 contains Lmax−Lactual number of bits, the bits of each reference fingerprint being assigned to each of sets S1 and S2 with only the portion of each reference fingerprint assigned to set S1 being used for matching;wherein for each reference fingerprint, bits might may be shifted from set S1 to set S2 or vice-versa dependent upon whether the value of Lactual decreases or increases at different times during the lifetime of the multimedia fingerprint database.
  • 31. A system, comprising: means for maintaining a multimedia fingerprint database that stores reference fingerprints, wherein the means for maintaining the multimedia fingerprint database comprises means for dynamically configuring one or more of: a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects;an index length of the index used to index the portions of the reference fingerprints that are used to identify multimedia objects; ora threshold that is used to determine whether multimedia objects are correctly identified;wherein one or more of the fingerprint length, the index length, or the threshold may be assigned different values at different times during the lifetime of the multimedia fingerprint database;wherein the dynamic configuration means comprise means for automatically determining and assigning, at different times during the lifetime of the multimedia fingerprint database, different values to one or more of the fingerprint length, the index length, or the threshold;wherein for each reference fingerprint in the multimedia fingerprint database, the fingerprint bits are divided into two sets of bits S1 and S2, where the set S1 contains Lactual number of bits and the set S2 contains Lmax−Lactual number of bits, the bits of each reference fingerprint being assigned to each of sets S1 and S2 with only the portion of each reference fingerprint assigned to set S1 being used for matching;wherein for each reference fingerprint, bits might may be shifted from set S1 to set S2 or vice-versa dependent upon whether the value of Lactual decreases or increases at different times during the lifetime of the multimedia fingerprint database.
  • 32. An apparatus comprising: one or more processors; andone or more non-transitory storage media, comprising a set of instructions stored therewith which, when executed by the one or more processors, causes performance of a process, the process comprising the steps of: maintaining a multimedia fingerprint database that stores reference fingerprints, wherein maintaining the multimedia fingerprint database comprises dynamically configuring one or more of:a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects;an index length of the index used to index the portions of the reference fingerprints that are used to identify multimedia objects; ora threshold that is used to determine whether multimedia objects are correctly identified;wherein one or more of the fingerprint length, the index length, or the threshold may be assigned different values at different times during the lifetime of the multimedia fingerprint database;wherein the dynamic configuration step comprises the steps of automatically determining and assigning, at different times during the lifetime of the multimedia fingerprint database, different values to one or more of the fingerprint length, the index length, or the threshold;wherein for each reference fingerprint in the multimedia fingerprint database, the fingerprint bits are divided into two sets of bits S1 and S2, where the set S1 contains Lactual number of bits and the set S2 contains Lmax−Lactual number of bits, the bits of each reference fingerprint being assigned to each of sets S1 and S2 with only the portion of each reference fingerprint assigned to set S1 being used for matching;wherein for each reference fingerprint, bits might may be shifted from set S1 to set S2 or vice-versa dependent upon whether the value of Lactual decreases or increases at different times during the lifetime of the multimedia fingerprint database.
  • 33. A method, comprising the steps of: maintaining a multimedia fingerprint database that stores reference fingerprints and uses weak bits, wherein maintaining the multimedia fingerprint database comprises dynamically configuring one or more of: a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects;an index length of the index used to index the portions of the reference fingerprints that are used to identify multimedia objects;a threshold that is used to determine whether multimedia objects are correctly identified; ora number of the weak bits in the index;wherein a weak bit comprises such bit of the index having a higher probability to change relative to a probability of reliable bits of the index in the event that a multimedia object, from which a fingerprint is derived, is modified;wherein one or more of the fingerprint length, the index length, the threshold, or the number of the weak bits may be assigned different values at different times during the lifetime of the multimedia fingerprint database;wherein the dynamic configuration step comprises the steps of automatically determining and assigning, at different times during the lifetime of the multimedia fingerprint database, different values to one or more of the fingerprint length, the index length, the threshold, or the number of the weak bits;wherein for each reference fingerprint in the multimedia fingerprint database, the fingerprint bits are divided into two sets of bits S1 and S2, where the set S1 contains Lactual number of bits and the set S2 contains Lmax−Lactual number of bits, the bits of each reference fingerprint being assigned to each of sets S1 and S2 with only the portion of each reference fingerprint assigned to set S1 being used for matching;wherein for each reference fingerprint, bits might may be shifted from set S1 to set S2 or vice-versa dependent upon whether the value of Lactual decreases or increases at different times during the lifetime of the multimedia fingerprint database;wherein the method is performed by one or more computing devices.
  • 34. A non-transitory computer-readable storage media that comprises a set of instructions stored therewith which, when executed by one or more computing or processing devices, causes performance of a process, the process comprising the steps of: maintaining a multimedia fingerprint database that stores reference fingerprints and uses weak bits, wherein maintaining the multimedia fingerprint database comprises dynamically configuring one or more of: a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects;an index length of the index used to index the portions of the reference fingerprints that are used to identify multimedia objects;a threshold that is used to determine whether multimedia objects are correctly identified; ora number of the weak bits in the index;wherein a weak bit comprises such bit of the index having a higher probability to change relative to a probability of reliable bits of the index in the event that a multimedia object, from which a fingerprint is derived, is modified;wherein one or more of the fingerprint length, the index length, the threshold, or the number of the weak bits may be assigned different values at different times during the lifetime of the multimedia fingerprint database;wherein the dynamic configuration step comprises the steps of automatically determining and assigning, at different times during the lifetime of the multimedia fingerprint database, different values to one or more of the fingerprint length, the index length, the threshold, or the number of the weak bits;wherein for each reference fingerprint in the multimedia fingerprint database, the fingerprint bits are divided into two sets of bits S1 and S2, where the set S1 contains Lactual number of bits and the set S2 contains Lmax−Lactual number of bits, the bits of each reference fingerprint being assigned to each of sets S1 and S2 with only the portion of each reference fingerprint assigned to set S1 being used for matching; wherein for each reference fingerprint, bits might may be shifted from set S1 to set S2 or vice-versa dependent upon whether the value of Lactual decreases or increases at different times during the lifetime of the multimedia fingerprint database.
  • 35. A system, comprising: means for maintaining a multimedia fingerprint database that stores reference fingerprints and uses weak bits, wherein the fingerprint database maintaining means comprises means for dynamically configuring one or more of: a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects;an index length of the index used to index the portions of the reference fingerprints that are used to identify multimedia objects;a threshold that is used to determine whether multimedia objects are correctly identified; ora number of the weak bits in the index;wherein a weak bit comprises such bit of the index having a higher probability to change relative to a probability of reliable bits of the index in the event that a multimedia object, from which a fingerprint is derived, is modified;wherein one or more of the fingerprint length, the index length, the threshold, or the number of the weak bits may be assigned different values at different times during the lifetime of the multimedia fingerprint database;wherein the dynamic configuration means comprises means for automatically determining and assigning, at different times during the lifetime of the multimedia fingerprint database, different values to one or more of the fingerprint length, the index length, the threshold, or the number of the weak bits;wherein for each reference fingerprint in the multimedia fingerprint database, the fingerprint bits are divided into two sets of bits S1 and S2, where the set S1 contains Lactual number of bits and the set S2 contains Lmax−Lactual number of bits, the bits of each reference fingerprint being assigned to each of sets S1 and S2 with only the portion of each reference fingerprint assigned to set S1 being used for matching;wherein for each reference fingerprint, bits might may be shifted from set S1 to set S2 or vice-versa dependent upon whether the value of Lactual decreases or increases at different times during the lifetime of the multimedia fingerprint database.
  • 36. An apparatus comprising: one or more processors; andone or more non-transitory storage media, comprising a set of instructions stored therewith which, when executed by the one or more processors, causes performance of a process, the process comprising the steps of:maintaining a multimedia fingerprint database that stores reference fingerprints and uses weak bits, wherein maintaining the multimedia fingerprint database comprises dynamically configuring one or more of:a fingerprint length of those portions of the reference fingerprints that are used to identify multimedia objects;an index length of the index used to index the portions of the reference fingerprints that are used to identify multimedia objects; a threshold that is used to determine whether multimedia objects are correctly identified; ora number of the weak bits in the index;wherein a weak bit comprises such bit of the index having a higher probability to change relative to a probability of reliable bits of the index in the event that a multimedia object, from which a fingerprint is derived, is modified;wherein one or more of the fingerprint length, the index length, the threshold, or the number of the weak bits may be assigned different values at different times during the lifetime of the multimedia fingerprint database;wherein the dynamic configuration step comprises the steps of automatically determining and assigning, at different times during the lifetime of the multimedia fingerprint database, different values to one or more of the fingerprint length, the index length, the threshold, or the number of the weak bits;wherein for each reference fingerprint in the multimedia fingerprint database, the fingerprint bits are divided into two sets of bits S1 and S2, where the set S1 contains Lactual number of bits and the set S2 contains Lmax−Lactual number of bits, the bits of each reference fingerprint being assigned to each of sets S1 and S2 with only the portion of each reference fingerprint assigned to set S1 being used for matching; wherein for each reference fingerprint, bits might may be shifted from set S1 to set S2 or vice-versa dependent upon whether the value of Lactual decreases or increases at different times during the lifetime of the multimedia fingerprint database.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to U.S. Provisional Patent Application No. 61/289,051 filed 22 Dec. 2009, which is hereby incorporated by reference in its entirety.

PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/US2010/059767 12/9/2010 WO 00 5/23/2012
Provisional Applications (1)
Number Date Country
61289051 Dec 2009 US