NZ735930B2 - Systems and methods for reducing data density in large datasets - Google Patents

Systems and methods for reducing data density in large datasets Download PDF

Info

Publication number
NZ735930B2
NZ735930B2 NZ735930A NZ73593016A NZ735930B2 NZ 735930 B2 NZ735930 B2 NZ 735930B2 NZ 735930 A NZ735930 A NZ 735930A NZ 73593016 A NZ73593016 A NZ 73593016A NZ 735930 B2 NZ735930 B2 NZ 735930B2
Authority
NZ
New Zealand
Prior art keywords
data point
vector
video data
unknown
vectors
Prior art date
Application number
NZ735930A
Other versions
NZ735930A (en
Inventor
Zeev Neumeier
Original Assignee
Inscape Data Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inscape Data Inc filed Critical Inscape Data Inc
Priority claimed from PCT/US2016/027691 external-priority patent/WO2016168556A1/en
Publication of NZ735930A publication Critical patent/NZ735930A/en
Publication of NZ735930B2 publication Critical patent/NZ735930B2/en

Links

Abstract

Techniques and systems are provided for identifying unknown content. For example, a number of vectors out of a plurality of vectors projected from an origin point can be determined that are between a reference data point and an unknown data point. The number of vectors can be used to estimate an angle between a first vector (from the origin point to a reference data point) and a second vector (from the origin point to an unknown data point). A distance between the reference data point and the unknown data point can then be determined. Using the determined distance, candidate data points can be determined from a set of reference data points. The candidate data points can be analyzed to identify the unknown data point. le between a first vector (from the origin point to a reference data point) and a second vector (from the origin point to an unknown data point). A distance between the reference data point and the unknown data point can then be determined. Using the determined distance, candidate data points can be determined from a set of reference data points. The candidate data points can be analyzed to identify the unknown data point.

Description

SYSTEMS AND METHODS FOR REDUCING DATA DENSITY IN LARGE DATASETS CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Application No. 62/149,193, filed April 17, 2015, which is hereby incorporated by reference in its entirety.
This application is related to U.S. Patent Application Serial No. 12/788,748, filed May 27, 2010, U.S. Patent Application Serial No. 12/788,721, filed May 27, 2010, U.S. Patent Application Serial No. 14/089,003, filed November 25, 2013, U.S. Patent Application Serial No. 14/217,075, filed March 17, 2014, U.S. Patent Application Serial No. 14/217,039, filed March 17, 2014, U.S. Patent Application Serial No. 14/217,094, filed March 17, 2014, U.S.
Patent Application Serial No. 14/217,375, filed March 17, 2014, U.S. Patent Application Serial No. 14/217,425, filed March 17, 2014, U.S. Patent Application Serial No. 14/217,435, filed March 17, 2014, U.S. Patent Application Serial No. 14/551,933, filed November 24, 2014, and U.S. Patent Application Serial No. 14/763,158, filed December 23, 2014, all of which are hereby incorporated by reference in their entirety.
FIELD The present disclosure relates generally to effectively identifying content while limiting the amount of data needed to identify the content. For example, various techniques and systems are provided for identifying content while reducing data density in large datasets.
BACKGROUND Managing dense datasets provides significant challenges. For example, there are difficulties in storing, indexing, and managing large amounts of data that is required for certain systems to function. One area in which such problems arise includes systems that search for and identify a closest match between data using reference data stored in large datasets. Storage of the actual data points makes up much of the storage volume in a database.
SUMMARY Certain aspects and features of the present disclosure relate to identifying unknown content. For example, a plurality of vectors can be projected from an origin point. A number of vectors out of the plurality of vectors can be determined that are between a reference data point and an unknown data point. The number of vectors can be used to estimate an angle between a first vector (from the origin point to a reference data point) and a second vector (from the origin point to an unknown data point). A distance between the reference data point and the unknown data point can then be determined. Using the determined distance, candidate data points can be determined from a set of reference data points. The candidate data points can be analyzed to identify the unknown data point.
The techniques described herein allow identification of unknown content, while reducing data density in large datasets. For example, systems and methods are described for improving the efficiency of storing and searching large datasets. The techniques can be applied to any system that harvests and manipulates large volumes of data. Such systems can include, for example, automated content-based searching systems (e.g., automated content recognition for video-related applications or other suitable application), MapReduce systems, Bigtable systems, pattern recognition systems, facial recognition systems, classification systems, computer vision systems, data compression systems, cluster analysis, or any other suitable system.
[0007] In some examples, the techniques performed using the systems and methods described herein significantly reduce the amount of data that must be stored in order to search and find relationships between unknown and known data groups. For example, the amount of data that must be stored can be reduced by eliminating the need to store the actual known data points.
[0008] According to at least one example, a system is provided for identifying video content being displayed by a display. The system includes one or more processors. The system further includes a non-transitory machine-readable storage medium containing instructions which when executed on the one or more processors, cause the one or more processors to perform operations including: obtaining a plurality of reference video data points; determining a length of a first vector from an origin point to a reference video data point of the plurality of reference video data points; obtaining an unknown video data point associated with video content being presented by a display; determining a length of a second vector from the origin point to the unknown video data point; projecting a plurality of vectors from the origin point; determining a number of the plurality of vectors between the reference video data point and the unknown video data point; estimating an angle between the first vector and the second vector, wherein the angle is estimated using the number of the plurality of vectors; determining a distance between the reference video data point and the unknown video data point, wherein the distance is determined using the estimated angle and the determined lengths of the first vector and the second vector; identifying one or more candidate video data points from the plurality of reference video data points, wherein a candidate video data point is a candidate for matching the unknown video data point, and wherein the one or more candidate video data points are determined based on determined distances between one or more reference video data points and the unknown video data point; and identifying the video content being presented by the display, wherein the video content being presented by the display is identified by comparing the unknown video data point with the one or more candidate video data points.
[0009] In another example, a computer-implemented method is provided that includes: obtaining a plurality of reference video data points; determining a length of a first vector from an origin point to a reference video data point of the plurality of reference video data points; obtaining an unknown video data point associated with video content being presented by a display; determining a length of a second vector from the origin point to the unknown video data point; projecting a plurality of vectors from the origin point; determining a number of the plurality of vectors between the reference video data point and the unknown video data point; estimating an angle between the first vector and the second vector, wherein the angle is estimated using the number of the plurality of vectors; determining a distance between the reference video data point and the unknown video data point, wherein the distance is determined using the estimated angle and the determined lengths of the first vector and the second vector; identifying one or more candidate video data points from the plurality of reference video data points, wherein a candidate video data point is a candidate for matching the unknown video data point, and wherein the one or more candidate video data points are determined based on determined distances between one or more reference video data points and the unknown video data point; and identifying the video content being presented by the display, wherein the video content being presented by the display is identified by comparing the unknown video data point with the one or more candidate video data points.
In another example, a computer-program product tangibly embodied in a non- transitory machine-readable storage medium of a computing device may be provided. The computer-program product may include instructions configured to cause one or more data processors to: obtain a plurality of reference video data points; determine a length of a first vector from an origin point to a reference video data point of the plurality of reference video data points; obtain an unknown video data point associated with video content being presented by a display; determine a length of a second vector from the origin point to the unknown video data point; project a plurality of vectors from the origin point; determine a number of the plurality of vectors between the reference video data point and the unknown video data point; estimate an angle between the first vector and the second vector, wherein the angle is estimated using the number of the plurality of vectors; determine a distance between the reference video data point and the unknown video data point, wherein the distance is determined using the estimated angle and the determined lengths of the first vector and the second vector; identify one or more candidate video data points from the plurality of reference video data points, wherein a candidate video data point is a candidate for matching the unknown video data point, and wherein the one or more candidate video data points are determined based on determined distances between one or more reference video data points and the unknown video data point; and identify the video content being presented by the display, wherein the video content being presented by the display is identified by comparing the unknown video data point with the one or more candidate video data points.
In some embodiments, the plurality of reference video data points include video data extracted from one or more video frames.
In some embodiments, the plurality of projected vectors are pseudo-randomly generated.
[0013] In some embodiments, determining the number of the plurality of vectors between the reference video data point and the unknown video data point includes: determining whether each vector of the plurality of vectors is to an algebraic right or to an algebraic left of the first vector of the reference video data point; determining whether each vector of the plurality of vectors is to the algebraic right or to the algebraic left of the second vector of the unknown video data point; and determining the number of the plurality of vectors between the reference video data point and the unknown video data point, wherein the number of the plurality of vectors includes vectors to the algebraic left of the first vector and to the algebraic right of the second vector or vectors to the algebraic right of the first vector and to the algebraic left of the second vector.
In some embodiments, the reference video data point is discarded after the length of the first vector of the reference video data point is determined and after each vector of the plurality of vectors is determined to be to the algebraic right or to the algebraic left of the first vector.
In some embodiments, the method, system, and computer-program product described above for identifying video content further includes: storing a first binary value for each vector that is determined to be to the algebraic right of the first vector of the reference video data point; and storing a second binary value for each vector that is determined to be to the algebraic left of the first vector of the reference video data point.
In some embodiments, the method, system, and computer-program product described above for identifying video content further includes: storing a first binary value for each vector that is determined to be to the algebraic right of the second vector of the unknown video data point; and storing a second binary value for each vector that is determined to be to the algebraic left of the second vector of the unknown video data point.
In some embodiments, estimating the angle between the first vector of the reference video data point and the second vector of the unknown video data point includes multiplying a constant by a ratio, wherein the ratio includes the number of the plurality of vectors between the reference video data point and the unknown video data point divided by a total number of the plurality of vectors.
In some embodiments, determining the distance between the reference video data point and the unknown video data point includes performing a Pythagorean identity calculation using the estimated angle and the determined lengths of the first vector and the second vector.
In some embodiments, identifying the video content being presented by the display includes determining a match between the unknown video data point and a candidate video data point, wherein the match is an approximate match based on the candidate video data point being a closest video data point of the one or more candidate video data points to the unknown video data point.
According to at least one other example, a system of identifying one or more unknown data points may be provided that includes one or more processors. The system further includes a non-transitory machine-readable storage medium containing instructions which when executed on the one or more processors, cause the one or more processors to perform operations including: obtaining a plurality of reference data points; determining a length of a first vector from an origin point to a reference data point of the plurality of reference data points; obtaining an unknown data point; determining a length of a second vector from the origin point to the unknown data point; projecting a plurality of vectors from the origin point; determining a number of the plurality of vectors between the reference data point and the unknown data point; estimating an angle between the first vector and the second vector, wherein the angle is estimated using the number of the plurality of vectors; determining a distance between the reference data point and the unknown data point, wherein the distance is determined using the estimated angle and the determined lengths of the first vector and the second vector; and identifying one or more candidate data points from the plurality of reference data points, wherein a candidate data point is a candidate for matching the unknown data point, and wherein the one or more candidate data points are determined based on determined distances between one or more reference data points and the unknown data point.
In another example, a computer-implemented method is provided that includes: obtaining a plurality of reference data points; determining a length of a first vector from an origin point to a reference data point of the plurality of reference data points; obtaining an unknown data point; determining a length of a second vector from the origin point to the unknown data point; projecting a plurality of vectors from the origin point; determining a number of the plurality of vectors between the reference data point and the unknown data point; estimating an angle between the first vector and the second vector, wherein the angle is estimated using the number of the plurality of vectors; determining a distance between the reference data point and the unknown data point, wherein the distance is determined using the estimated angle and the determined lengths of the first vector and the second vector; and identifying one or more candidate data points from the plurality of reference data points, wherein a candidate data point is a candidate for matching the unknown data point, and wherein the one or more candidate data points are determined based on determined distances between one or more reference data points and the unknown data point.
In another example, a computer-program product tangibly embodied in a non- transitory machine-readable storage medium of a television system may be provided. The computer-program product may include instructions configured to cause one or more data processors to: obtain a plurality of reference data points; determine a length of a first vector from an origin point to a reference data point of the plurality of reference data points; obtain an unknown data point; determine a length of a second vector from the origin point to the unknown data point; project a plurality of vectors from the origin point; determine a number of the plurality of vectors between the reference data point and the unknown data point; estimate an angle between the first vector and the second vector, wherein the angle is estimated using the number of the plurality of vectors; determine a distance between the reference data point and the unknown data point, wherein the distance is determined using the estimated angle and the determined lengths of the first vector and the second vector; and identify one or more candidate data points from the plurality of reference data points, wherein a candidate data point is a candidate for matching the unknown data point, and wherein the one or more candidate data points are determined based on determined distances between one or more reference data points and the unknown data point.
In some embodiments, the method, system, and computer-program product described above for identifying one or more unknown data points includes determining a match between the unknown data point and a candidate data point, wherein the match is an approximate match based on the candidate data point being a closest data point of the one or more candidate data points to the unknown data point.
In some embodiments, the plurality of projected vectors are pseudo-randomly generated.
In some embodiments, determining the number of the plurality of vectors between the reference data point and the unknown data point includes: determining whether each vector of the plurality of vectors is to an algebraic right or to an algebraic left of the first vector of the reference data point; determining whether each vector of the plurality of vectors is to the algebraic right or to the algebraic left of the second vector of the unknown data point; and determining the number of the plurality of vectors between the reference data point and the unknown data point, wherein the number of the plurality of vectors includes vectors to the algebraic left of the first vector and to the algebraic right of the second vector or vectors to the algebraic right of the first vector and to the algebraic left of the second vector.
In some embodiments, the reference data point is discarded after the length of the first vector of the reference data point is determined and after each vector of the plurality of vectors is determined to be to the algebraic right or to the algebraic left of the first vector.
In some embodiments, the method, system, and computer-program product described above for identifying one or more unknown data points further includes: storing a first binary value for each vector that is determined to be to the algebraic right of the first vector of the reference data point; and storing a second binary value for each vector that is determined to be to the algebraic left of the first vector of the reference data point.
In some embodiments, the method, system, and computer-program product described above for identifying one or more unknown data points further includes: storing a first binary value for each vector that is determined to be to the algebraic right of the second vector of the unknown data point; and storing a second binary value for each vector that is determined to be to the algebraic left of the second vector of the unknown data point.
In some embodiments, estimating the angle between the first vector of the reference data point and the second vector of the unknown data point includes multiplying a constant by a ratio, wherein the ratio includes the number of the plurality of vectors between the reference data point and the unknown data point divided by a total number of the plurality of vectors.
In some embodiments, determining the distance between the reference data point and the unknown data point includes performing a Pythagorean identity calculation using the estimated angle and the determined lengths of the first vector and the second vector.
In another example, a method of identifying one or more unknown data points is provided. The method comprises: obtaining a plurality of reference data points; determining a length of a first vector from an origin point to a reference data point of the plurality of reference data points; obtaining an unknown data point; determining a length of a second vector from the origin point to the unknown data point; projecting a plurality of vectors from the origin point; determining a number of the plurality of vectors between the reference data point and the unknown data point; estimating an angle between the first vector and the second vector, wherein the angle is estimated using the number of the plurality of vectors; determining a distance between the reference data point and the unknown data point, wherein the distance is determined using the estimated angle and the determined lengths of the first vector and the second vector; identifying one or more candidate data points from the plurality of reference data points, wherein a candidate data point is a candidate for matching the unknown data point, and wherein the one or more candidate data points are determined based on determined distances between one or more reference data points and the unknown data point; and identifying the unknown data point by comparing the unknown data point with the one or more candidate data points.
This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used in isolation to determine the scope of the claimed subject matter. The subject matter should be understood by reference to appropriate portions of the entire specification of this patent, any or all drawings, and each claim.
The foregoing, together with other features and embodiments, will become more apparent upon referring to the following specification, claims, and accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS Illustrative embodiments of the present invention are described in detail below with reference to the following drawing figures: is a block diagram of an example of a matching system. is a block diagram showing an example of the matching system identifying unknown data points. is a diagram illustrating two data points and a vector distance between the two data points. is a diagram illustrating two vectors to two data points and an angle between the vectors. is a diagram illustrating how a length of two vectors is determined. is a diagram illustrating how a distance between two points is determined.
[0041] is a diagram illustrating projected vectors relative to a data point. is a diagram illustrating projected vectors relative to another data point. is a diagram illustrating how an angle between two vectors is determined using projected vectors. is another diagram illustrating how an angle between two vectors is determined using projected vectors. is a diagram illustrating data clustering of data generated by a matching process.
[0046] is another diagram illustrating data clustering of data generated by a matching process. is a diagram illustrating projected vectors that are unevenly distributed. is a graph illustrating actual data matched compared to data matched by the data reduction techniques discussed herein.
[0049] is a diagram illustrating projected vectors that are more evenly clustered. is a graph illustrating actual data matched compared to data matched by the data reduction techniques discussed herein. is a flowchart illustrating an embodiment of a process of identifying video content being displayed and providing related content.
[0052] is a block diagram of an example of a matching system for identifying video content being viewed by a display. is a block diagram of an example of a video capture system. is a block diagram of an example of a system for collecting video content presented by a display.
[0055] is a flowchart illustrating another embodiment of a process of identifying video content being displayed and providing related content. is a chart illustrating point locations and the path points around them. is a chart illustrating a set of points who lie within distance from a query point.
[0058] is a chart illustrating possible point values. is a chart illustrating a space divided into rings of exponentially growing width. is a chart illustrating self-intersecting paths and a query point. is a chart illustrating three consecutive point locations and the path points around them.
DETAILED DESCRIPTION
[0062] In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of embodiments of the invention.
However, it will be apparent that various embodiments may be practiced without these specific details. The figures and description are not intended to be restrictive.
The ensuing description provides exemplary embodiments only, and is not intended to limit the scope, applicability, or configuration of the disclosure. Rather, the ensuing description of the exemplary embodiments will provide those skilled in the art with an enabling description for implementing an exemplary embodiment. It should be understood that various changes may be made in the function and arrangement of elements without departing from the spirit and scope of the invention as set forth in the appended claims.
[0064] Specific details are given in the following description to provide a thorough understanding of the embodiments. However, it will be understood by one of ordinary skill in the art that the embodiments may be practiced without these specific details. For example, circuits, systems, networks, processes, and other components may be shown as components in block diagram form in order not to obscure the embodiments in unnecessary detail. In other instances, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments.
Also, it is noted that individual embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed, but could have additional steps not included in a figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination can correspond to a return of the function to the calling function or the main function.
The term “machine-readable storage medium” or “computer-readable storage medium” includes, but is not limited to, portable or non-portable storage devices, optical storage devices, and various other mediums capable of storing, containing, or carrying instruction(s) and/or data. A machine-readable storage medium or computer-readable storage medium may include a non-transitory medium in which data can be stored and that does not include carrier waves and/or transitory electronic signals propagating wirelessly or over wired connections. Examples of a non-transitory medium may include, but are not limited to, a magnetic disk or tape, optical storage media such as compact disk (CD) or digital versatile disk (DVD), flash memory, memory or memory devices. A computer-program product may include code and/or machine-executable instructions that may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, or other information may be passed, forwarded, or transmitted using any suitable means including memory sharing, message passing, token passing, network transmission, or other transmission technique.
Furthermore, embodiments may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks (e.g., a computer-program product) may be stored in a machine-readable medium. A processor(s) may perform the necessary tasks.
Systems depicted in some of the figures may be provided in various configurations.
In some embodiments, the systems may be configured as a distributed system where one or more components of the system are distributed across one or more networks in a cloud computing system.
As described in further detail below, certain aspects and features of the present disclosure relate to identifying unknown data points by comparing the unknown data points to one or more reference data points. The systems and methods described herein improve the efficiency of storing and searching large datasets that are used to identify the unknown data points. For example, the systems and methods allow identification of the unknown data points while reducing the density of the large dataset required to perform the identification. The techniques can be applied to any system that harvests and manipulates large volumes of data.
Illustrative examples of these systems include automated content-based searching systems (e.g., automated content recognition for video-related applications or other suitable application), MapReduce systems, Bigtable systems, pattern recognition systems, facial recognition systems, classification systems, computer vision systems, data compression systems, cluster analysis, or any other suitable system. One of ordinary skill in the art will appreciate that the techniques described herein can be applied to any other system that stores data that is compared to unknown data. In the context of automated content recognition (ACR), for example, the systems and methods reduce the amount of data that must be stored in order for a matching system to search and find relationships between unknown and known data groups.
By way of example only and without limitation, some examples described herein use an automated audio and/or video content recognition system for illustrative purposes.
However, one of ordinary skill in the art will appreciate that the other systems can use the same techniques.
A significant challenge with ACR systems and other systems that use large volumes of data is managing the amount of data that is required for the system to function. Using a video-based ACR system as one example, one challenge includes attempting to identify a video segment being displayed by a television display in a home among many millions of homes. Another challenge includes the need to build and maintain a database of known video content to serve as a reference to match against. Building and maintaining such a database involves collecting and digesting a vast amount (e.g., hundreds, thousands, or more) of nationally distributed television programs and an even larger amount of local television broadcasts among many other potential content sources. The digesting can be performed using any available technique that reduces the raw data of video or audio into compressed, searchable data (e.g., tokens). With a 24-hour, seven-day-a-week operating schedule and a sliding window of perhaps two weeks of television programming to store, the data volume required to perform ACR builds rapidly. Similar challenges are present with other systems that harvest and manipulate large volumes of data, such as the example systems described above.
The systems and methods described herein allow identification of unknown data points with further reduced datasets than those required using conventional techniques. For example, the amount of data needed to be generated, stored, and compared to search and find relationships between unknown and known data groups is vastly reduced (e.g., by approximately an order of magnitude or other amount depending on the type of system), providing a more efficient technique for storing and indexing the data.
[0073] illustrates a matching system 100 that can identify unknown content. For example, the matching system 100 can match unknown data points with reference data points to identify the unknown data points. The matching system 100 includes a client device 102 and a matching server 104. The client device includes a match request engine 106, an input device 108 and an output device 110. The input device 108 can include any suitable device that allows a request or other information to be input to the match request engine 106. For example, the input device 108 can include a keyboard, a mouse, a voice-recognition input device, a wireless interface for receiving wireless input from a wireless device (e.g., from a remote controller, a mobile device, or other suitable wireless device), or any other suitable input device. The output device 110 can include any suitable device that can present or otherwise output information, such as a display, a wireless interface for transmitting a wireless output to a wireless device (e.g., to a mobile device or other suitable wireless device), a printer, or other suitable output device.
The match request engine 106 can send a communication 124 to a matching engine 112 of the matching server 104. The communication 124 can include a request for the matching engine 112 to identify unknown content. The matching engine 112 can identify the unknown content by matching the content to reference data in a reference database 116. For example, the unknown content can include one or more unknown data points and the reference database 116 can include a plurality of reference data points. In some examples, the unknown content can include unknown video data being presented by a display (for video-based ACR), a search query (for a MapReduce system, a Bigtable system, or other data storage system), an unknown image of a face (for facial recognition), an unknown image of a pattern (for pattern recognition), or any other unknown data that can be matched against a database of reference data. The reference data points can be derived from data received from the data source 118.
For example, data points can be extracted from the information provided from the data source 118 and can be indexed and stored in the database 116.
The matching engine 112 can send a request to the candidate determination engine 114 to determine candidate data points from the reference database 116. The candidate data points are reference data points that are a certain determined distance from the unknown data point. The candidate determination engine 114 can return the candidate data points to the matching engine 112. Using the candidate data points, the matching engine 112 can determine a closest reference data point to the unknown data point. For example, as described in more detail below, a path pursuit algorithm can be used to identify the closest reference data point from the candidate data points. illustrates components of a matching system 200 identifying unknown data points. For example, the matching engine 212 can perform a matching process for comparing unknown content (e.g., unknown media segments, a search query, an image of a face or a pattern, or the like) against a database of known content (e.g., known media segments, information stored in a database for searching against, known faces or patterns, or the like).
For example, the matching engine 212 receives unknown data content 202 (which can be referred to as a “cue”) to be identified using reference data points 204 in a reference database.
The unknown data content 202 is also received by the candidate determination engine 214.
The candidate determination engine 214 can conduct a search process to identify candidate data points 206 by searching the reference data points 204 in the reference database. In one example, the search process can include a nearest neighbor search process to produce a set of neighboring values (that are a certain distance from the unknown values of the unknown data content 202. The unknown data content 202 and the candidate data points 206 are input to the matching engine 212 for conducting the matching process to generate a matching result 208. Depending on the application, the matching result 208 can include video data being presented by a display, a search result, a determined face using facial recognition, a determined pattern using pattern recognition, or any other result.
In determining candidate data points 206 for an unknown data point (e.g., unknown data content 202), the candidate determination engine 214 determines a distance between the unknown data point and the reference data points 204 in the reference database. The reference data points that are a certain distance from the unknown data point are identified as the candidate data points 206. shows two data points, including data point A (shown as data point A 302) and data point B (shown as data point B 304). Data point A 302 can be a reference data point and data point B 304 can be an unknown data point. The distance d 306 between data point A 302 and data point B 304 is also shown.
Some examples are described using two-dimensional vector space as an example, but are equally applicable to other vector space dimensions. For example, while the example shown in and other figures are shown in two-dimensional space, the same techniques described herein can be applied in any number of dimensions. For instance, other vector dimensions include 1-dimensional, 3-dimensional, 26-dimensional, 75-dimensional, or any other vector space dimension.
Various techniques can be used to determine the distance between data points. For example, one technique of determining a distance between two points A and B, in N- dimensional space, is using the formula: A.A + B.B - 2AB = d^2, where A is a vector from an origin point (e.g., at point (0,0)) to point A and B is a vector from the origin point to point B. A.A is the dot product of vector A with itself and B.B is the dot product of vector B with itself. The result of A.A and B.B are scalar values.
Another technique of determining a distance between two data points A and B can include using the formula: A.A/2 + B.B/2 - A.B = d / 2 Another technique for determining the distance between two or more data points can include using an angle between vectors passing through the data points. is a diagram with a vector 402 from an origin O (e.g., at point (0,0)) to data point A 302 (called vector A 402) and a vector 404 from the origin O to the data point B 304 (called vector B 404). Point A 302 can be located at coordinate (A.x, A.y) and point B 304 can be located at coordinate (B.x, B.y). The angle 410 between the vector A 402 of the data point A 302 and the vector B 404 of the data point B 304 can be used to determine the distance between the data point A 302 and the data point B 304. The angle 410 can be determined by first finding the scalar length 406 of vector A 402 and the scalar length 408 of vector B 404, and then using the lengths 406 and 408 to compute the angle 410 between the vectors 402 and 404.
The scalar lengths 406 and 408 can be determined using any suitable technique for determining a length of a vector. One example, shown in includes finding the scalar length 406 of vector A 402 (for data point A 302) by finding the dot product A.A 502. The dot product A.A 502 is the dot product of the vector A 402 with itself. Similarly, the scalar length 408 of vector B 404 (for data point B 304) can be determined by finding the dot product B.B 504, which is the dot product of the vector B 404 with itself.
Once the angle 410 and the scalar lengths 406 and 408 are determined, the distance 306 can be determined. For example, is a diagram showing the final step in computing the vector distance 306 between data point A 302 and data point B 304. In one illustrative example, the distance 306 can be determined using the angle 410 by applying the Pythagorean identity using the formula: 2 2 2 d = (sin(θ) * B.B) + (A.A - cosine(θ) * B.B) where θ is the angle 410.
[0086] Systems and methods are described herein for determining the distance between data points using vector projections, requiring less data to be stored than the techniques described above. Considering that the dot product A.A is the length of the vector A 402 from the origin O to point A 302, and that the dot product B.B is the length of the vector B 404 from the origin O to point B 304, both of these length values (lengths 406 and 408) can be calculated (e.g., for reference data points) in advance and each length 406 and 408 can be stored as a single number. The only reason to retain an actual point values is for the purposes of calculating the dot product: A.B. An actual unknown data point value should be stored because it is not obtained before run-time when a matching process is performed. For example, an unknown data point is needed during the matching process to compare with the data stored for reference data points. In one example using television content, the matching systems 100 and 200 receive an unknown data point (e.g., data point B 304) when a television sends video data being presented. However, reference data points (e.g., reference data point A 302) can be discarded after they are used to determine information that can then be used to determine the angle between data point vectors (e.g., vectors A 402 and B 404) using projected vectors, as described in more detail below. It is advantageous to discard, and to not to keep, the actual values of reference data points while still being able to calculate the distance between a reference data point (point A) and an unknown data point (point B).
The points A 302 and B 304 have vectors 402 and 404 from an origin (e.g., of (0, 0)) to the respective points. The goal of the candidate determination engine (e.g., candidate determination engine 114 or 214) is to find the distance d 306 between the points A 302 and B 304 in order to identify candidate data points. In some examples, the distance d 306 can be calculated with only the length of vector A 402 (the vector through point A), the length of vector B 404 (the vector through point B), and the angle 410 between vector A 402 and vector B 404.
In some examples, the angle of vector A 402 to the X axis could be stored and then the angle 410 could be calculated, but a disadvantage to this approach would be as the number of dimensions is increased, the system would have to maintain and store angles in every dimension. The result would be a system storing as many numbers defining each point as were previously required (e.g., when all reference data point values are stored).
The systems and methods described herein include generating a number of projections in a defined number of dimensions. For example, a number of vectors can be projected in different directions, such as around the space in which vector A 402 and vector B 404 lie. While the examples described herein use 80 total projected vectors as an illustrative example, one of ordinary skill in the art will appreciate that any number of projections can be generated. The projected vectors can be used to determine the angle between two vectors (e.g., vector A 402 and vector B 404), which can reduce the amount of data needed at run- time during the matching process performed by a matching engine. Using the projection technique, reference data points can be discarded after they are initially used, as described further below.
In one illustrative example briefly describing the technique using projections, 80 regularly distributed vectors may be projected at ten degrees each, in which case theta between the projections is equal to ten. For example, if vector A 402 and vector B 404 are 103 degrees apart, there would be an expected five projections between the vectors A 402 and B 404. It might intuitively seem that there would be 10 projections between the vectors A 402 and B 404, but there are five. For example, projections extend in both directions and a projection projecting into the third quadrant will still be "in between" A and B as far as the angle is concerned. However, for the purpose of the examples discussed herein, each projection can be considered as being only in one quadrant, as this would be close enough for conceptual purposes. In this example, because five of the vectors out of the 80 projected vectors fall between vector A 402 and vector B 404, it can be determined that the angle between vector A 402 and vector B 404 is 10 degrees, as described in more detail below. Once the angle 410 between the two vectors A 402 and B 404 and the lengths of vector A 402 and vector B 404 are determined, trigonometry can then be used to calculate the distance d 306 between the points A 302 and B 304. Further details are provided with respect to . illustrate a technique of finding the vector distance between two points without the need to store the actual values or coordinates of the reference data points by using projected vectors to determine an angle between points. An arbitrary number of random projections is generated. In one illustrative example, a set of 80 random vectors are generated around a 360-degree axis.
For each reference data point in the reference database, a matching system determines whether each projected vector is to the algebraic right or to the algebraic left of each vector of each reference data point (e.g., vector A 402 of point A 302), such as by calculating the dot product of a vector (from an origin to a reference data point) with a projected vector, as described below with respect to and The results of the dot products of the projected vectors and the reference data points can be stored as a binary word and used when an unknown data point is received to determine projected vectors that fall between a reference data point and an unknown data point. In addition to determining the position of the projected vectors relative to each reference data point, a respective length of each reference data point vector (from an origin to a reference data point) is calculated. The length of a reference point vector is a distance of the vector from an origin point, and can be determined by performing a dot product of the vector with itself. The matching system can store the bits representing the algebraic left and right binary data and the lengths (or distances) of the reference data point vectors. During run time when comparing an unknown data point to reference data points to identify candidate data points, a matching system only needs to load the bits representing the algebraic left and right binary data (described in detail below) as well as the length for each reference data point vector into memory. Consequently, there is no need to load the actual reference data points, and the reference data point bits can be discarded once the left and right binary data and vector lengths are determined for the reference data points.
When an unknown data point is received (e.g., when a video data point is received from a television), the matching system can determine candidate data points from the information stored for the reference data points (e.g., the left and right binary data and vector lengths for the reference data points), for example, by searching for nearest neighbor points in the reference database. The matching system can then determine whether the projected vectors are to the algebraic right or left of a vector for the unknown data point (e.g., by taking the dot product) to get the left and right binary values. The matching system can also calculate the length of the vector of the unknown data point. Projected vectors that fall between a reference data point and an unknown data point can be used to determine an angle between the vector of the reference data point and the vector of the unknown data point. illustrate a technique for determining projections that fall between the reference data point A 302 and the unknown data point B 304. In order to determine if a projected vector falls between reference data point A 302 and unknown data point B 304, it is determined which projections are to the algebraic left of point A 302 and point B 304, and which projections are to the algebraic right of point A 302 and point B 304. The projections that are to the algebraic right of point A 302 and that are to the algebraic left of point B 304 fall between points A 302 and B 304.
[0095] For example, as shown in the projected vectors are evaluated with respect to point A 302 by determining whether each projected vector is to the algebraic right or to the algebraic left of point A 302 (and thus vector A 402). In one example, whether a projected vector is to the algebraic right or algebraic left of point A 302 can be determined by taking the dot product of the projected vector and the vector A 402 (from the origin O to the reference point A 302). For example, the dot product of projected vector 702 and vector A 402 equals a positive number, indicating the projected vector 702 is to the algebraic right of point A 302 and vector A 402. A binary value of 1 can be stored for the projected vector 702 with respect to point A 302, indicating the vector 702 is to the algebraic right of point A 302 and vector A 402. As another example, the dot product of projected vector 704 and vector A 404 equals a negative number, indicating that the projected vector 704 is to the algebraic left of the point A 302 and vector A 402. A binary value of 0 can be stored for the projected vector 704 with respect to point A, indicating it is to the algebraic left of point A 302 and vector A 402. The same calculation can be performed for all projected vectors with respect to point A 302. As shown in all projected vectors to the algebraic left of point A 302 (and vector A 402) are stored relative to point A 302 with binary value 0, and all projected vectors to the algebraic right of point A 302 (and vector A 402) are stored relative to point A 302 with binary value 1. One of ordinary skill in the art will appreciate that a 0 value could be stored for projected vectors that are to the right of point A 302 and a 1 value could be stored for projected vectors that are to the left of point A 302.
[0096] illustrates the same calculation being applied to point B 304, resulting in respective 1’s and 0’s being stored for the projected vectors relative to point B 304. For example, the projected vectors are evaluated with respect to point B 304 by determining whether each projected vector is to the algebraic right or to the algebraic left of the point B 304 (and thus vector B 404). In one example, whether a projected vector is to the algebraic right or algebraic left of point B 304 can be determined by taking the dot product of the projected vector and the vector B 404 (from the origin O to the reference point B 304). For example, all projected vectors to the algebraic left of point B 304 (and vector B 404) are stored relative to point B 304 with binary value 0, and all projected vectors to the algebraic right of point B 304 (and vector B 404) are stored relative to point B 304 with binary value 1. One of ordinary skill in the art will appreciate that a 0 value could be stored for projected vectors that are to the right of point B 304 and a 1 value could be stored for projected vectors that are to the left of point B 304. illustrates the projected vectors that fall between point A 302 and point B 304. The projected vectors that fall between points A 302 and B 304 include the projections that are to the algebraic right of point A 302 (shown by the A1 values 902) and that are to the algebraic left of point B 304 (shown by the B0 values 904). The projected vectors falling between point A 302 and point B 304 can be determined by taking the exclusive OR (XOR) of the 80 binary vector values stored with respect to point A 302 with the 80 binary vector values stored with respect to point B 304. The result of the XOR generates the projected vectors that have the A1 values 902 and the B0 values 904, shown in shows all of the components required to find the angle 910 between point A 302 and point B 302. The angle 910 between vector A 402 (of data point A 302) and vector B 404 (of data point B 304) can then be found based on the number of projections between points A 302 and B 304. The angle determination is approximate, but close enough to obtain an accurate distance d between points A 302 and B 304. In one example, the approximate angle between a reference data point vector and an unknown data point vector is determined by multiplying a constant by a ratio. The ratio includes the number of the projected vectors between the reference data point and the unknown data point divided by a total number of the projected vectors. The constant can be a pre-defined number, such as 180. For example, the angle 910 between point A 302 and point B 304 includes the result of the exclusive OR operation divided by the total number of vectors (80 in this example).
[0099] When it comes time to calculate the distance between the unknown data point 304 and the reference data points (including data point A 302), the exclusive OR is calculated between the binary data (for the projections) of each reference data point to the binary data value of the unknown data point. As noted above, the result of the exclusive or between the binary data of the unknown data point (e.g., data point B 304) and a reference data point (e.g., data point A 302) is the number of projections between the unknown data point and the reference data point. Again, the derived angle 910 equals the number of projections between the data points 302 and 304 divided by the number of total projections (80 in this example), multiplied by 180. The derived distance can then be computed by performing a Pythagorean identity calculation using the formula: 2 2 2 d = (sin(θ) * B.B) + (A.A - cos(θ) * B.B) The dot product B.B represents the length of the vector B 404, and the dot product A.A represents the length of the vector A 402.
Once the distance from the unknown data point B 304 to the reference data points stored in a reference database is determined, candidate data points can be determined, as described previously. The unknown data point B 304 can then be identified by one of the candidate data points. For example, one of the reference data points can be determined as a closest match with the unknown data point B 304. The unknown data point B 304 can then be identified as being the same data as the candidate data point found as the closest match. In some examples, a nearest neighbor approach can be used to identify candidate data points, and a path pursuit algorithm can be used to identify the unknown data point. Details of the nearest neighbor and path pursuit techniques are described with respect to -.
[0102] Using the above-described vector projection technique, less data is needed to determine a distance between a reference data point and an unknown data point. Such a technique can be used to find candidate data points among a plurality of reference data points.
As described previously, the length of the vector A 402 (denoted by the dot product A.A) is already known before the unknown data point is received, and thus is not needed at run time to determine the distances for generating candidate data points. The only data needed are the lengths (or distances) of the reference data point vectors and the bits representing the algebraic left and right binary data of projected vectors relative to the reference and unknown data points (which are used to determine the angle between reference and unknown data point vectors). For example, since dot products are calculated for all of the projected vectors with respect to point A 302 (before the matching process) and for all of the projected vectors with respect to point B 304, the matching system can store a bit for each projection for each reference data point and a bit for each projection for the unknown data point, in addition to the vector lengths of the reference data points. Accordingly, when comparing an unknown data point to reference data points to identify candidate data points at run time, the matching system can discard the actual reference data points.
An advantage of the vector projection technique described above is that the exact amount of data saved depends on how many projections are needed to obtain acceptable results. For example, each projection adds one bit to memory use when compared to one data point, so if the number of random projections is a reasonable number, such as 80, an original 75-byte data-set (point) can be replaced with a 10-byte left/right binary structure plus, for example, 2 bytes for the length of the vector for that point, totaling 12 bytes. Such an example provides a savings of 63 bytes for each point in memory. Hence, the vector projection technique provides a highly advantageous reduction in data size when computing large data searches and comparisons, and can be used for many large-scale applications. illustrates the data 1101 generated by the matching process performed by a matching engine. The data 1101 can represent incoming data, such as reference data and/or unknown data. In the example shown in , the cluster of data points is not centered on the projected vectors. For example, the location of the cluster of data points is shown with the cluster’s origin not centered with the vector projections. . Accordingly, the projected vector set is disadvantageously positioned away from the statistical center of the cluster of data. Moving the origin of the vector projections to the middle of the vector space can make the projections more productive and can generate optimal results. illustrates the data 1202 generated by the matching process, which can be similar to the data 1101 shown in . Using statistical means well known to the skilled person, an offset can be calculated to center the projected vectors, as shown in . In this example, the cluster of vectors is re-centered on a representative sample of typical system data. The group center is found by a statistical means which is used to offset the origin to the center of the projected vectors. For example, a statistical mean (or average) of the cluster of data can be determined. The statistical mean (or average) can be used to center the projected vector set to the approximate middle of the data cluster. Re-centering the projected vectors to the middle area of the data cluster improves results of the techniques described above.
[0106] The vectors can be projected randomly or pseudo-randomly. Pseudo-random projection includes predetermined projections in a distributed manner. For example, a machine can generate the same projections numerous times, but the projections can appear to be random. Random projections are random, though one skilled in the art would understand that they are actually selected from a normal distribution randomly. Therefore, not all space definitions are created equal. As is known to the skilled person, a Monte Carlo method can be employed to pick a random or pseudo-random projection that is good. Once a suitable, adequate random projection is picked, the random projection can be used for many distance determinations (e.g., to determine angles between many data point vectors), and there is no need to change it unless it is desirable to increase or decrease the number of projections. As this is a probabilistic calculation, the result may not be the correct answer, but will be very close to correct. A skilled person will understand that the result does not need to be “correct,” but only close enough to provide a useful utility to big data applications. In order to measure an adequate random distribution, a direct suitability test is performed, as discussed in more detail below. illustrates the output of a random (or pseudo-random) process generating a set of projected vectors to which data is to be compared. In this example, the random process has generated vectors that are excessively clustered together, where the angular distance between vectors (e.g., gaps 1302, 1304, and 1306), is excessively uneven. The random projections appear to have too much clustering around certain values, such that the distances or gaps 1301, 1302 and 1303 show too much variance. The excessive clustering of the vectors can reduce the overall accuracy of the system. For example, a result of unevenness between vectors can include excessive average error when a matching or other process is performed using the projected vectors. The set of projected vectors in are thus unsuitable.
An example of a satisfactorily distributed random set of projections is shown in . For example, illustrates the output of a random (or pseudo-random) process generating a set of projected vectors to which data is to be compared. In this example, the random process has generated vectors that are sufficiently evenly clustered, where the angular distance between vectors (e.g., gaps 1502, 1504, and 1506) is acceptable and the average error will be under a predetermined threshold (as described below with respect to ) when a matching or other process is performed using the projected vectors. As described below, the threshold can include any suitable error value, such as 5%.
[0109] The suitability of the projections can be determined once by experimentation and kept and used for random or pseudo-random generation. For example, the suitability of the projected vectors can be determined by performing a sufficiency test that tests the distance determination technique described above (using the projections to determine an angle between vectors of a reference point and an unknown point) in comparison to prior system and comparing the results. A goal of 5% error can be used as a threshold to determine the suitability of the randomly projected vectors. One of ordinary skill in the art will appreciate that any threshold percentage can be used, depending on the particular application and required quality desired. is a graph 1400 showing an example of results 1400 of such a test using the projected vectors shown in . The graph 1400 shows a data comparison of actual data matched compared to data matched by the techniques described herein using vector projections. In this example, the random projections used to generate the multi-dimensional vectors were not sufficiently evenly distributed as seen plotted in two-dimensions in .
The measured difference between actual data and reduced data was equal to 11.9%. The result of the data shown in is excessive error considering the threshold. For example, using the 5% threshold, the random vectors of used in the test are insufficient because the average error of 11.9% is above the predetermined threshold 5%.
In such a case, another group of projections is generated to attempt to obtain a satisfactory projection. The projected vectors of includes a set of sufficiently evenly distributed vectors. For example, represents an example of results 1600 of the sufficiency test that include an acceptable error difference between the actual match and the matching results using the vector projection techniques described herein. The graph 1600 shows a data comparison of actual data matched compared to data matched by the techniques described herein using vector projections. In this example, the random projections used to generate the multi-dimensional vectors were sufficiently evenly distributed as seen plotted in two-dimensions in . The measured difference between actual data and reduced data was equal to 4.60%, which is under the 5% threshold, indicating that the random vectors shown in are sufficient to obtain an accurate result. illustrates an embodiment of a process 1700 for identifying one or more unknown data points. In some aspects, the process 1700 may be performed by a computing device, such as the matching server 104.
[0113] Process 1700 is illustrated as a logical flow diagram, the operation of which represent a sequence of operations that can be implemented in hardware, computer instructions, or a combination thereof. In the context of computer instructions, the operations represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the recited operations.
Generally, computer-executable instructions include routines, programs, objects, components, data structures, and the like that perform particular functions or implement particular data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations can be combined in any order and/or in parallel to implement the processes.
Additionally, the process 1700 may be performed under the control of one or more computer systems configured with executable instructions and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) executing collectively on one or more processors, by hardware, or combinations thereof. As noted above, the code may be stored on a machine-readable storage medium, for example, in the form of a computer program comprising a plurality of instructions executable by one or more processors. The machine-readable storage medium may be non-transitory.
[0115] At 1702, the process 1700 includes obtaining a plurality of reference data points. In some embodiments, the plurality of reference data points include data stored in a reference data base, such reference database 116 shown in The reference data points can include any data that can be compared with unknown data to identify the unknown data.
At 1704, the process 1700 includes determining a length of a first vector from an origin point to a reference data point of the plurality of reference data points. The reference data point can include the data point 302, the origin can include the origin O, and the first vector can include the reference data point vector 402 shown in The length can be determined any suitable technique, such as by calculating a dot product of the first vector with itself.
[0117] At 1706, the process 1700 includes obtaining an unknown data point associated with content being presented by a display. At 1708, the process 1700 includes determining a length of a second vector from the origin point to the unknown data point. The unknown data point can include the data point 304, the origin can include the origin O, and the second vector can include the unknown data point vector 404 shown in The length can be determined any suitable technique, such as by calculating a dot product of the second vector with itself.
At 1710, the process 1700 includes projecting a plurality of vectors from the origin point. In one example, the plurality of projected vectors can include the projected vectors shown in . The vectors can be randomly generated or can be pseudo-randomly generated, as discussed with respect to -.
[0119] At 1712, the process 1700 includes determining a number of the plurality of vectors between the reference data point and the unknown data point. In some embodiments, determining the number of the plurality of vectors between the reference data point and the unknown data point includes determining whether each vector of the plurality of vectors is to an algebraic right or to an algebraic left of the first vector of the reference data point. The determination of whether a projected vector of the plurality of vectors is to an algebraic right or to an algebraic left of the first vector can include performing a dot product on the projected vector and the first vector. Determining the number of the plurality of vectors between the reference data point and the unknown data point further includes determining whether each vector of the plurality of vectors is to the algebraic right or to the algebraic left of the second vector of the unknown data point. A dot product can also be used. Determining the number of the plurality of vectors between the reference data point and the unknown data point further includes determining the number of the plurality of vectors between the reference data point and the unknown data point. The number of the plurality of vectors includes vectors to the algebraic left of the first vector and to the algebraic right of the second vector or vectors to the algebraic right of the first vector and to the algebraic left of the second vector. One example is shown in as vectors having stored A1 values 902 and B0 values 904.
In some examples, the process 1700 further includes storing a first binary value for each vector that is determined to be to the algebraic right of the first vector of the reference data point, and storing a second binary value for each vector that is determined to be to the algebraic left of the first vector of the reference data point. In one example, the first binary value can be a 0 and the second binary value can be a 1. In another example, the first binary value can be a 1 and the second binary value can be a 0.
In some examples, the process 1700 further includes storing a first binary value for each vector that is determined to be to the algebraic right of the second vector of the unknown data point, and storing a second binary value for each vector that is determined to be to the algebraic left of the second vector of the unknown data point. In one example, the first binary value can be a 0 and the second binary value can be a 1. In another example, the first binary value can be a 1 and the second binary value can be a 0.
In some examples, the reference data point is discarded after the length of the first vector of the reference data point is determined and after each vector of the plurality of vectors is determined to be to the algebraic right or to the algebraic left of the first vector. For example, the bits representing the reference data point can be removed from memory.
Discarding the reference data point allows much less information to be stored by a matching system.
At 1714, the process 1700 includes estimating an angle between the first vector and the second vector. The angle is estimated using the number of the plurality of vectors. For example, estimating the angle between the first vector of the reference data point and the second vector of the unknown data point includes multiplying a constant by a ratio. The ratio includes the number of the plurality of vectors between the reference data point and the unknown data point divided by a total number of the plurality of vectors. The constant can include a pre-determined value (e.g., 180, 360, or other suitable number).
At 1716, the process 1700 includes determining a distance between the reference data point and the unknown data point. The distance is determined using the estimated angle and the determined lengths of the first vector and the second vector. For example, determining the distance between the reference data point and the unknown data point includes performing a Pythagorean identity calculation using the estimated angle and the determined lengths of the first vector and the second vector.
At 1718, the process 1700 includes identifying one or more candidate data points from the plurality of reference data points. A candidate data point is a candidate for matching the unknown data point. The one or more candidate data points are determined based on determined distances between one or more reference data points and the unknown data point.
For example, a nearest neighbor algorithm can be used to determine candidates based on the distances.
In some embodiments, the process 1700 includes determining a match between the unknown data point and a candidate data point. The match is an approximate match based on the candidate data point being a closest data point of the one or more candidate data points to the unknown data point. In some embodiments, the process 1700 can determine the match by comparing the unknown data point with the one or more candidate data points to identify the unknown data point. In some examples, a path pursuit algorithm can be used to identify the unknown data point.
The techniques performed by the systems and methods described herein can be applied to any system that harvests and manipulates large volumes of data. As noted above, illustrative examples of these systems include automated content-based searching systems (e.g., automated content recognition for video-related applications or other suitable application), MapReduce systems, Bigtable systems, pattern recognition systems, facial recognition systems, classification systems, computer vision systems, data compression systems, cluster analysis, or any other suitable system. One of ordinary skill in the art will appreciate that the techniques described herein can be applied to any other system that stores data that is compared to unknown data.
In the context of automated content recognition (ACR), for example, the techniques described above can reduce the amount of data that must be stored in order for a matching system to search and find relationships between unknown and known data groups. For example, Among the many applications of the methods and systems described herein, the vector projection techniques allow identification of media segment of audio and/or video information being presented by a display (e.g., a television (TV), a smart TV, a TV with a cable or satellite feed, an Internet-enabled video set-top box, a mobile device, or any other viewing device). Furthermore, a segment identification system can accurately identify segments of any type whether they are being broadcast, include previously-recorded programming, or include commercial messages. By using the vector projection techniques, a video-based ACR system can reduce the amount of video data that must be stored for reference.
Matching video segments of television programming will be used below as one example of an application of the vector projection techniques described herein. However, one of ordinary skill in the art will appreciate that the techniques and systems described herein can be applied any number of large database searches, analysis, and comparison problems, also known in a general sense as “big data analytics.” illustrates an example of a video matching system 1800 that can improve data efficiency using the vector projection techniques described herein. A television (TV) client 1806 of a client device 1802, which can include a television system, can decode television signals associated with video programs 1828. The TV client 1806 can place the decoded contents of each frame of the video into a video frame buffer in preparation for display or for further processing of pixel information of the video frames. A client device 1802 can be any television decoding system that can receive and decode a video signal. The client device 1802 can receive video programs 1828 and store video information in a video buffer (not shown). The client device 1802 can processes the video buffer information and produces unknown data points (which can referred to as “cues”), described in more detail below with respect to . The TV client 1806 can transmit the unknown data points to the video matching server 1804 for comparison with reference data points in the reference database 1816, similar to the techniques described above.
[0131] The matching system 1800 can begin a process of matching video segments by first collecting data samples from known video data sources 1818. For example, the video matching server 1804 collects data to build and maintain a reference video database 1816 from a variety of video data sources 1818. The video data sources 1818 can include television programs, movies, or any other suitable video source. The video data sources 1818 can be provided as over-the-air broadcasts, as cable TV channels, as streaming sources from the Internet, and from any other video data source. In some embodiments, the video matching server 1804 can process the received video from the video data source 1818 to generate and collect reference video data points in the reference database 1816, as described with respect to below. In some embodiments, video programs from video data sources 1818 can be processed by a reference video program ingest system (not shown), which can produce the reference video data points and send them to the reference database 1816 for storage. The reference data points can be used as described above to determine information that is then used to analyze unknown data points. For example, the reference data points can be analyzed with respect to a plurality of projected vectors to obtain left and right binary data. The lengths of vectors related to the reference data points can also be determined. Once the lengths of the reference data point vectors and left and right binary data are determined for the reference data points, the actual reference data point bits can be discarded.
The video matching server 1804 can store reference video data points for each video program received for a period of time (e.g., a number of days, a number of weeks, a number of months, or any other suitable period of time) in the reference database 1816 until the necessary information is determined. The video matching server 1804 can build and continuously or periodically update the reference database 1816 of television programming samples (e.g., including reference data points, which may also be referred to as cues or cue values). In some examples, the data collected is a compressed representation of the video information sampled from periodic video frames (e.g., every fifth video frame, every tenth video frame, every fifteenth video frame, or other suitable number of frames). In some examples, a number of bytes of data per frame (e.g., 25 bytes, 50 bytes, 75 bytes, 100 bytes, or any other amount of bytes per frame) are collected for each program source. Any number of program sources can be used to obtain video, such as 25 channels, 50 channels, 75 channels, 100 channels, 200 channels, or any other number of program sources. Using the example amount of data, the total data collected during a 24-hour period over three days becomes very large. Therefore, discarding the actual reference video data point bits is advantageous in reducing the storage load of the video matching server 1804.
In one illustrative example, illustrates a video ingest capture system 1900 including a memory buffer 1902 of a decoder. The decoder can be part of the video matching server 1804 or the TV client 1806. The decoder may not operate with or require a physical television display panel or device. The decoder can decode and, when required, decrypt a digital video program into an uncompressed bitmap representation of a television program.
For purposes of building a reference database of reference video data (e.g., reference database 1816), the video matching server 1804 can acquire one or more arrays of video pixels, which are read from the video frame buffer. An array of video pixels is referred to as a video patch.
A video patch can be any arbitrary shape or pattern but, for the purposes of this specific example, is described as a 10x10 pixel array, including ten pixels horizontally by ten pixels vertically. Also for the purpose of this example, it is assumed that there are 25 pixel-patch positions extracted from within the video frame buffer that are evenly distributed within the boundaries of the buffer.
An example allocation of pixel patches (e.g., pixel patch 1904) is shown in .
As noted above, a pixel patch can include an array of pixels, such as a 10x10 array. For example, the pixel patch 1904 includes a 10x10 array of pixels. A pixel can include color values, such as a red, a green, and a blue value. For example, a pixel 1906 is shown having Red-Green-Blue (RGB) color values. The color values for a pixel can be represented by an eight-bit binary value for each color. Other suitable color values that can be used to represent colors of a pixel include luma and chroma (Y, Cb, Cr) values or any other suitable color values.
A mean value (or an average value in some cases) of each pixel patch is taken, and a resulting data record is created and tagged with a time code (or time stamp). For example, a mean value is found for each 10x10 pixel patch array, in which case twenty-four bits of data per twenty-five display buffer locations are produced for a total of 600 bits of pixel information per frame. In one example, a mean of the pixel patch 1904 is calculated, and is shown by pixel patch mean 1908. In one illustrative example, the time code can include an “epoch time,” which representing the total elapsed time (in fractions of a second) since midnight, January 1, 1970. For example, the pixel patch mean 1908 values are assembled with a time code 1912. Epoch time is an accepted convention in computing systems, including, for example, Unix-based systems. Information about the video program, known as metadata, is appended to the data record. The metadata can include any information about a program, such as a program identifier, a program time, a program length, or any other information. The data record including the mean value of a pixel patch, the time code, and metadata, forms a “data point” (also referred to as a “cue”). The data point 1910 is one example of a reference video data point.
A process of identifying unknown video segments begins with steps similar to creating the reference database. For example, shows a video capture system 2000 including a memory buffer 2002 of a decoder. The video capture system 2000 can be part of the client device 1802 (e.g., a television system) that processes television data presented by a display (e.g., on an Internet-connected television monitor, such as a smart TV, a mobile device, or other television viewing device). The video capture system 2000 can utilize a similar process to generate unknown video data point 2010 as that used by system 1900 for creating reference video data point 1910. In one example, the TV client 1806 can transmit the unknown video data point 2010 to the video matching server 1804 to be identified by the matching server 1804.
As shown in , a video patch 2004 can include a 10x10 array of pixels. The video patch 2004 can be extracted from a video frame being presented by a display. A plurality of such pixel patches can be extracted from the video frame. In one illustrative example, if twenty-five such pixel patches are extracted from the video frame, the result will be a point representing a position in a 75-dimension space. A mean (or average) value can be computed for each color value of the array (e.g., RGB color value, Y, Cr, Cb color values, or the like). A data record (e.g., unknown video data point 2010) is formed from the mean pixel values and the current time is appended to the data. One or more unknown video data points can be sent to the video matching server 1804 to be matched with data from the reference database 1816 using the vector projection techniques described above.
The skilled person will know that a reference database 1816 storing actual reference data point bit values creates such a large search space that would require extensive computing resources to search and match data. The vector projection techniques described herein offer a significantly more efficient means to search large databases without the need to actually store large values representing the reference data points (also known as reference data cues). illustrates an embodiment of a process 2100 for identifying video content (e.g., video content being displayed by a display). In some aspects, the process 2100 may be performed by a computing device, such as the video matching server 1804.
Process 2100 is illustrated as a logical flow diagram, the operation of which represent a sequence of operations that can be implemented in hardware, computer instructions, or a combination thereof. In the context of computer instructions, the operations represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the recited operations.
Generally, computer-executable instructions include routines, programs, objects, components, data structures, and the like that perform particular functions or implement particular data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations can be combined in any order and/or in parallel to implement the processes.
Additionally, the process 2100 may be performed under the control of one or more computer systems configured with executable instructions and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) executing collectively on one or more processors, by hardware, or combinations thereof. As noted above, the code may be stored on a machine-readable storage medium, for example, in the form of a computer program comprising a plurality of instructions executable by one or more processors. The machine-readable storage medium may be non-transitory.
At 2102, the process 2100 includes obtaining a plurality of reference video data points. In some embodiments, the plurality of reference video data points include video data extracted from one or more video frames. The reference video data points can include the data point 1910 shown in , including mean pixel values of pixel patches, a time code, and metadata. In some embodiments, a reference video data point may not include metadata and/or a time code. In some embodiments, the pixel data can be for each pixel of a frame, instead of a pixel patch.
At 2104, the process 2100 includes determining a length of a first vector from an origin point to a reference video data point of the plurality of reference video data points. The origin can include the origin O and the first vector can include the reference data point vector 402 shown in The length can be determined any suitable technique, such as by calculating a dot product of the first vector with itself.
At 2106, the process 2100 includes obtaining an unknown video data point associated with video content being presented by a display. The unknown video data point can include the data point 2010 shown in , including mean pixel values of pixel patches and the current time (called a time code) associated with the video frame. In some embodiments, an unknown video data point may not include a time code. In some embodiments, the pixel data can be for each pixel of a frame, instead of a pixel patch.
At 2108, the process 2100 includes determining a length of a second vector from the origin point to the unknown video data point. The origin can include the origin O and the second vector can include the unknown data point vector 404 shown in The length can be determined any suitable technique, such as by calculating a dot product of the second vector with itself.
At 2110, the process 2100 includes projecting a plurality of vectors from the origin point. In one example, the plurality of projected vectors can include the projected vectors shown in . The vectors can be randomly generated or can be pseudo-randomly generated, as discussed with respect to -.
At 2112, the process 2100 includes determining a number of the plurality of vectors between the reference video data point and the unknown video data point. In some embodiments, determining the number of the plurality of vectors between the reference video data point and the unknown video data point includes determining whether each vector of the plurality of vectors is to an algebraic right or to an algebraic left of the first vector of the reference video data point. The determination of whether a projected vector of the plurality of vectors is to an algebraic right or to an algebraic left of the first vector can include performing a dot product on the projected vector and the first vector. Determining the number of the plurality of vectors between the reference video data point and the unknown video data point further includes determining whether each vector of the plurality of vectors is to the algebraic right or to the algebraic left of the second vector of the unknown video data point.
A dot product can also be used. Determining the number of the plurality of vectors between the reference video data point and the unknown video data point further includes determining the number of the plurality of vectors between the reference video data point and the unknown video data point. The number of the plurality of vectors includes vectors to the algebraic left of the first vector and to the algebraic right of the second vector or vectors to the algebraic right of the first vector and to the algebraic left of the second vector. One example is shown in as vectors having stored A1 values 902 and B0 values 904.
In some examples, the process 2100 further includes storing a first binary value for each vector that is determined to be to the algebraic right of the first vector of the reference video data point, and storing a second binary value for each vector that is determined to be to the algebraic left of the first vector of the reference video data point. In one example, the first binary value can be a 0 and the second binary value can be a 1. In another example, the first binary value can be a 1 and the second binary value can be a 0.
[0149] In some examples, the process 2100 further includes storing a first binary value for each vector that is determined to be to the algebraic right of the second vector of the unknown video data point, and storing a second binary value for each vector that is determined to be to the algebraic left of the second vector of the unknown video data point. In one example, the first binary value can be a 0 and the second binary value can be a 1. In another example, the first binary value can be a 1 and the second binary value can be a 0.
In some examples, the reference video data point is discarded after the length of the first vector of the reference video data point is determined and after each vector of the plurality of vectors is determined to be to the algebraic right or to the algebraic left of the first vector.
For example, the bits representing the reference video data point can be removed from memory. Discarding the reference video data point allows much less information to be stored by a matching system.
At 2114, the process 2100 includes estimating an angle between the first vector and the second vector. The angle is estimated using the number of the plurality of vectors. For example, estimating the angle between the first vector of the reference video data point and the second vector of the unknown video data point includes multiplying a constant by a ratio.
The ratio includes the number of the plurality of vectors between the reference video data point and the unknown video data point divided by a total number of the plurality of vectors.
The constant can include a pre-determined value (e.g., 180, 360, or other suitable number).
At 2116, the process 2100 includes determining a distance between the reference video data point and the unknown video data point. The distance is determined using the estimated angle and the determined lengths of the first vector and the second vector. For example, determining the distance between the reference video data point and the unknown video data point includes performing a Pythagorean identity calculation using the estimated angle and the determined lengths of the first vector and the second vector.
At 2118, the process 2100 includes identifying one or more candidate video data points from the plurality of reference video data points. A candidate video data point is a candidate for matching the unknown video data point. The one or more candidate video data points are determined based on determined distances between one or more reference video data points and the unknown video data point. For example, a nearest neighbor algorithm can be used to determine candidates based on the distances.
[0154] At 2120, the process 2100 includes identifying the video content being presented by the display. The video content being presented by the display is identified by comparing the unknown video data point with the one or more candidate video data points. For example, identifying the video content being presented by the display includes determining a match between the unknown video data point and a candidate video data point. The match is an approximate match based on the candidate video data point being a closest video data point of the one or more candidate video data points to the unknown video data point. In some examples, a path pursuit algorithm can be used to identify the video content being presented.
The nearest neighbor and path pursuit techniques mentioned previously are now described in detail. An example of tracking video transmission using ambiguous cues is given, but the general concept can be applied to any field, such as those described above.
A method for efficient video pursuit is presented. Given a large number of video segments, the system must be able to identify in real time what segment a given query video input is taken from and in what time offset. The segment and offset together are referred to as the location. The method is called video pursuit since it must be able to efficiently detect and adapt to pausing, fast forwarding, rewinding, abrupt switching to other segments and switching to unknown segments. Before being able to pursue live video the data base is processed. Visual cues (a handful of pixel values) are taken from frames every constant fraction of a second and put in specialized data structure (Note that this can also be done in real time). The video pursuit is performed by continuously receiving cues from the input video and updating a set of beliefs or estimates about its current location. Each cue either agrees or disagrees with the estimates, and they are adjusted to reflect the new evidence. A video location is assumed to be the correct one if the confidence in this being true is high enough.
By tracking only a small set of possible “suspect” locations, this can be done efficiently.
A method is described for video pursuit but uses mathematical constructs to explain and investigate it. It is the aim of this introduction to give the reader the necessary tools to translate between the two domains. A video signal is comprised of sequential frames. Each can be thought of as a still image. Every frame is a raster of pixels. Each pixel is made out of three intensity values corresponding to the red, green and blue (RGB) make of that pixel's color. In the terminology of this manuscript, a cue is a list of RGB values of a subset of the pixels in a frame and a corresponding time stamp. The number of pixels in a cue is significantly smaller than in a frame, usually between 5 and 15. Being an ordered list of scalar values, the cue values are in fact a vector. This vector is also referred to as a point.
Although these points are in high dimension, usually between 15 and 150, they can be imagined as points in two dimensions. In fact, the illustrations will be given as two dimensional plots. Now, consider the progression of a video and its corresponding cue points.
Usually a small change in time produces a small change in pixel values. The pixel point can be viewed as “moving” a little between frames. Following these tiny movements from frame to frame, the cue follows a path in space like a bead would on a bent wire.
In the language of this analogy, in video pursuit the locations of the bead in space (the cue points) are received and the part of wire (path) the bead is following is looked for.
This is made significantly harder by two facts. First, the bead does not follow the wire exactly but rather keeps some varying unknown distance from it. Second the wires are all tangled together. These statements are made exact in section 2. The algorithm described below does this in two conceptual steps. When a cue is received, it looks for all points on all the known paths who are sufficiently close to the cue point; these are called suspects. This is done efficiently using the Probabilistic Point Location in Equal Balls algorithm. These suspects are added to a history data structure and the probability of each of them indicating the true location is calculated. This step also includes removing suspect locations who are sufficiently unlikely.
This history update process ensures that on the one hand only a small history is kept but on the other hand no probable locations are ever deleted. The generic algorithm is given in Algorithm 1 and illustrated in .
The document begins with describing the Probabilistic Point Location in Equal Balls (PPLEB) algorithm in Section 1. It is used in order to perform line 5 in Algorithm 1 efficiently.
The ability to perform this search for suspects quickly is crucial for the applicability of this method. Later, in section 2 one possible statistical model is described for performing lines 6 and 7. The described model is a natural choice for the setup. It is also shown how it can be used very efficiently.
[0161] Section 1 - Probabilistic Point Location in Equal Balls The following section describes a simple algorithm for performing probabilistic point location in equal balls (PPLEB). In the traditional PLEB (point location in equal balls), one starts with a set of n points x, in lR d and a specified ball of radius r. The algorithm is given O(poly(n)) preprocessing time to produce an efficient data structure. Then, given a query point x the algorithm is required to return all points x, such that ||x− x || ≤ � . The set of points such that | x− x | ≤ � . geometrically lie within a ball of radius r surrounding the query x (see ). This relation is referred to as x, being close to x or as x, and x being neighbors.
The problem of PPLEB and the problem of nearest neighbor search are two similar problems that received much attention in the academic community. In fact, these problems were among the first studied in the field of computational geometry. Many different methods cater to the case where the ambient dimension dis small or constant. These partition the space in different ways and recursively search through the parts. These methods include KD-trees, cover-trees, and others. Although very efficient in low dimension, when the ambient dimension is high, they tend to perform very poorly. This is known as the "curse of dimensionality". Various approaches attempt to solve this problem while overcoming the curse of dimensionality. The algorithm used herein uses a simpler and faster version of the algorithm and can rely on Local Sensitive Hashing.
Section 1.1 Locality Sensitive Hashing In the scheme of local sensitive hashing, one devises a family of hash functions H such that:
[0166] In words, the probability of x and y being mapped to the same value by h is significantly higher if they are close to each other.
For the sake of clarity, let us first deal with a simplified scenario where all incoming vectors are of the same length r’ and r’ > 2� . The reason for the latter condition will become clear later. First a random function u ϵ U is defined, which separates between x and y according to the angle between them. Let u ⃗ be a random vector chosen uniformly from the unit sphere S and let u(x)=sign (u ⃗ ∙ x) (See ). It is easy to verify that Pr (u x ) ≠ u(y)) = 0 /π. Moreover, for any points x, y, x', y' on a circle such that | � − � | ≤ 2||� − � || , 0 ′ ≤ 20 is achieved. Defining p, the following equations are used: x ,y x,y
[0168] The family of functions H is set to be a cross product of t independent copies of u, i.e. h(x)=[u1(x), ... , u (x)]. Intuitively, one would like to have that if h(x)=h(y) then x and y are likely to be close to each other. Let us quantify that. First, compute the expected number of false positive mistakes n . These are the cases for which h( x )=h(y) but ||x-y|| > 2r. A value t is found for which n is no more than 1, i.e. one is not expected to be wrong.
Now, the probability that h(x)=h(y) given that they are neighbors is computed: Note here that one must have that 2p<1 which requires r’ > 2� . This might not sound like a very high success probability. Indeed, 1/ n is significantly smaller than ½. The next section will describe how to boost this probability up to ½.
Section 1.2 The Point Search Algorithm Each function h maps every point in space to a bucket. Define the bucket function ( ) { ( ) } of a point x with respect to hash function h as � � ≡ � |ℎ � = ℎ(� ) . ℎ � � The data structure maintained is m=O( n) instances of bucket functions [Bh , ... , Bh ]. When √ 1 m one searches for a point x, the function returns � � = ⋃� � (� ). According to the previous section, there are two desired results: In other words, while with probability at least ½ each neighbor of x is found, one is not likely to find many non-neighbors.
Section 1.3 Dealing with Different Radii Input Vectors The previous sections only dealt with searching through vectors of the same length, namely r'. Now described is how one can use the construction as a building block to support a search in different radii. As seen in , the space is divided into rings of exponentially growing width. Ring i, denoted by R , includes all points x such that ‖� ‖ ∈ � � +1 [2� (1+∈) ,2� (1+∈) ]. Doing this achieves two ends. First, if x and x belong to the same ring, then ‖� ‖/(1+∈) ≤ � ≤ ‖� ‖(1+∈). Second, any search can be performed in at � � � most 1/∈ such rings. Moreover, if the maximal length vector in the data set is r' then the total number of rings in the system is O(log(r'/r)).
Section 2 The Path Pursuit Problem In the path pursuit problem, a fixed path in space is given along with the positions of a particle in a sequence of time points. The terms particle, cue, and point will be used interchangeably. The algorithm is required to output the position of the particle on the path.
This is made harder by a few factors: The particle only follows the path approximately; The path can be discontinuous and intersect itself many times; Both particle and path positions are given in a sequence of time points (different for each).
It is important to note that this problem can simulate tracking a particle on any number of paths. This is simply done by concatenating the paths into one long path and interpreting the resulting position as the position on the individual paths.
More precisely, let path P be parametric curve . The curve parameter will be referred to as the time. The points on the path that are known to us are given in arbitrary time points t , i.e. n pairs (t , P(t )) are given. The particle follows the path but its positions are i i i given in different time points, as shown in . Further, m pairs (t’ , x(t’ )) are given, where x(t’ ) is the position of the particle in time t’ .
Section 2.1 Likelihood Estimation Since the particle does not follow the path exactly and since the path can intersect itself many times it is usually impossible to positively identify the position on the path the particle is actually on. Therefore, a probability distribution is computed on all possible path locations. If a location probability is significantly probable, the particle position is assumed to be known. The following section describes how this can be done efficiently.
If the particle is following the path, then the time difference between the particle time stamp and the offset of the corresponding points on P should be relatively fixed. In other words, if x(t') is currently in offset t on the path then it should be close to P(t). Also, � seconds ago it should have been in offset t- � . Thus x(t'- � ) should be close to P(t- � ) (note that if the particle is intersecting the path, and x(t') is close to P(t) temporarily, it is unlikely that x(t'- � ) and P(t- � ) will also be close). Define the relative offset as ∆=t-t'. Notice that as long as the particle is following the path the relative offset ∆ remains unchanged. Namely, x(t') is close to P(t'+∆).
The maximum likelihood relative offset is obtained by calculating: In words, the most likely relative offset is the one for which the history of the particle is most likely. This equation however cannot be solved without a statistical model. This model must quantify: How tightly x follows the path; How likely it is that x ')umps" between locations; How smooth the path and particle curves are between the measured points.
Section 2.2 Time Discounted Binning Now described is a statistical model for estimating the likelihood function. The model makes the assumption that the particle's deviation away from the path distributes normally with standard deviation ar. It also assumes that at any given point in time, there is some non-zero probability the particle will abruptly switch to another path. This is manifested by an exponential discount with time for past points. Apart for being a reasonable choice for a modeling point of view this model also has the advantage of being efficiently updateable.
For some constant time unit 1:, set the likelihood function to be proportional to f which is defined as follows: Here � <<1 is a scale coefficient and is the probability that the particle will jump to a random location on the path in a given time unit.
[0188] Updating the function f efficiently can be achieved using the following simple observation.
Moreover, since � <<1, if ‖� (� ) − � (� )‖ ≥ � , the follow occurs:
[0190] This is an important property of the likelihood function since the sum update can now performed only over the neighbors of x(t’ ) and not the entire path. Denote by S the set of(t , P(t )) such that ‖� (� ) − � (� )‖ ≤ � . The follow equation occurs:
[0191] This is described in Algorithm 2.2 below. The term f is used as a sparse vector that receives also negative integer indices. The set S is the set of all neighbors of x(t ) on the path and can be computed quickly using the PPLEB algorithm. It is easy to verify that if the number of neighbors of x(t ) is bounded by some constant n then the number of non-zeros in the i near vector f is bounded by which is only a constant factor larger. The final stage of the algorithm is to output a specific value of � if � (⌊� /� ⌋) is above some threshold value. gives three consecutive point locations and the path points around them.
Note that neither the bottom point nor middle one alone would have been sufficient to identify the correct part of the path. Together, however, they are. Adding the top point increases the certainty that the particle is indeed of the final (left) curve of the path.
In , given a set of n (grey) points, the algorithm is given a query point (black) and returns the set of points who lie within distance r from it (the points inside the circle). In the traditional setting, the algorithm must return all such points. In the probabilistic setting each such point should be returned only with some constant probability. illustrates the values of u(x ), u(x ), and u(x). Intuitively, the function u gives different values to x and x if the dashed line passes between them and the same value otherwise. Passing the dashed line in a random direction ensures that the probability of this happening is directly proportional to angle between x and x .
[0195] shows that by dividing the space into rings such that ring R is between i i+1 radius 2r(1+� ) and 2r(1+ � ) , it can be made sure that any two vectors within a ring are the same length up to (1+ � ) factors and that any search is performed in at most 1/ � rings. shows a self-intersecting paths and a query point (in black). It illustrates that without the history of the particle positions it is impossible to know where it is on the path.
[0197] gives three consecutive point locations and the path points around them.
Note that neither x(t ) nor x(t ) alone would have been sufficient to identify the correct part of the path. Together however they are. Adding x(t ) increases the certainty that the particle is indeed of the final (left) curve of the path.
Substantial variations may be made in accordance with specific requirements. For example, customized hardware might also be used, and/or particular elements might be implemented in hardware, software (including portable software, such as applets, etc.), or both. Further, connection to other access or computing devices such as network input/output devices may be employed.
In the foregoing specification, aspects of the invention are described with reference to specific embodiments thereof, but those skilled in the art will recognize that the invention is not limited thereto. Various features and aspects of the above-described invention may be used individually or jointly. Further, embodiments can be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of the specification. The specification and drawings are, accordingly, to be regarded as illustrative rather than restrictive.
[0200] In the foregoing description, for the purposes of illustration, methods were described in a particular order. It should be appreciated that in alternate embodiments, the methods may be performed in a different order than that described. It should also be appreciated that the methods described above may be performed by hardware components or may be embodied in sequences of machine-executable instructions, which may be used to cause a machine, such as a general-purpose or special-purpose processor or logic circuits programmed with the instructions to perform the methods. These machine-executable instructions may be stored on one or more machine readable mediums, such as CD-ROMs or other type of optical disks, floppy diskettes, ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, flash memory, or other types of machine-readable mediums suitable for storing electronic instructions. Alternatively, the methods may be performed by a combination of hardware and software.
Where components are described as being configured to perform certain operations, such configuration can be accomplished, for example, by designing electronic circuits or other hardware to perform the operation, by programming programmable electronic circuits (e.g., microprocessors, or other suitable electronic circuits) to perform the operation, or any combination thereof.
While illustrative embodiments of the application have been described in detail herein, it is to be understood that the inventive concepts may be otherwise variously embodied and employed, and that the appended claims are intended to be construed to include such variations, except as limited by the prior art.

Claims (22)

1. A system, comprising: one or more processors; and 5 one or more non-transitory machine-readable storage media containing instructions which when executed on the one or more processors, cause the one or more processors to perform operations including: obtaining a plurality of reference video data points; determining a length of a first vector from an origin point to a reference 10 video data point of the plurality of reference video data points; obtaining an unknown video data point associated with video content being presented by a display; determining a length of a second vector from the origin point to the unknown video data point; 15 projecting a plurality of vectors from the origin point; determining a number of the plurality of vectors between the reference video data point and the unknown video data point; estimating an angle between the first vector and the second vector, wherein the angle is estimated using the number of the plurality of vectors; 20 determining a distance between the reference video data point and the unknown video data point, wherein the distance is determined using the estimated angle and the determined lengths of the first vector and the second vector; identifying one or more candidate video data points from the plurality of reference video data points, wherein a candidate video data point is a candidate for 25 matching the unknown video data point, and wherein the one or more candidate video data points are determined based on determined distances between one or more reference video data points and the unknown video data point; and identifying the video content being presented by the display, wherein the video content being presented by the display is identified by comparing the unknown 30 video data point with the one or more candidate video data points.
2. The system of claim 1, wherein the plurality of reference video data points include video data extracted from one or more video frames.
3. The system of claim 1 or 2, wherein the plurality of vectors are pseudo- randomly generated. 5
4. The system of any one of claims 1 to 3, wherein determining the number of the plurality of vectors between the reference video data point and the unknown video data point includes: determining whether each vector of the plurality of vectors is to an algebraic right or to an algebraic left of the first vector of the reference video data point; 10 determining whether each vector of the plurality of vectors is to the algebraic right or to the algebraic left of the second vector of the unknown video data point; and determining the number of the plurality of vectors between the reference video data point and the unknown video data point, wherein the number of the plurality of vectors includes vectors to the algebraic left of the first vector and to the algebraic right of the 15 second vector or vectors to the algebraic right of the first vector and to the algebraic left of the second vector.
5. The system of claim 4, wherein the reference video data point is discarded after the length of the first vector of the reference video data point is determined and after 20 each vector of the plurality of vectors is determined to be to the algebraic right or to the algebraic left of the first vector.
6. The system of claim 4 or 5, further comprising instructions which when executed on the one or more processors, cause the one or more processors to perform 25 operations including: storing a first binary value for each vector that is determined to be to the algebraic right of the first vector of the reference video data point; and storing a second binary value for each vector that is determined to be to the algebraic left of the first vector of the reference video data point.
7. The system of claim 4 or 5, further comprising instructions which when executed on the one or more processors, cause the one or more processors to perform operations including: storing a first binary value for each vector that is determined to be to the algebraic right of the second vector of the unknown video data point; and storing a second binary value for each vector that is determined to be to the algebraic left of the second vector of the unknown video data point.
8. The system of any one of claims 1 to 7, wherein estimating the angle between the first vector of the reference video data point and the second vector of the unknown video data point includes multiplying a constant by a ratio, wherein the ratio includes the number of the plurality of vectors between the reference video data point and 10 the unknown video data point divided by a total number of the plurality of vectors.
9. The system of any one of claims 1 to 8, wherein determining the distance between the reference video data point and the unknown video data point includes performing a Pythagorean identity calculation using the estimated angle and the determined 15 lengths of the first vector and the second vector.
10. The system of any one of claims 1 to 9, wherein identifying the video content being presented by the display includes determining a match between the unknown video data point and a candidate video data point, wherein the match is an approximate match 20 based on the candidate video data point being a closest video data point of the one or more candidate video data points to the unknown video data point.
11. The system of claim 1, wherein the reference video data point is discarded after the length of the first vector of the reference video data point is determined.
12. A method of identifying one or more unknown data points, comprising: obtaining a plurality of reference data points; determining a length of a first vector from an origin point to a reference data point of the plurality of reference data points; 30 obtaining an unknown data point; determining a length of a second vector from the origin point to the unknown data point; projecting a plurality of vectors from the origin point; determining a number of the plurality of vectors between the reference data point and the unknown data point; estimating an angle between the first vector and the second vector, wherein the angle is estimated using the number of the plurality of vectors; 5 determining a distance between the reference data point and the unknown data point, wherein the distance is determined using the estimated angle and the determined lengths of the first vector and the second vector; identifying one or more candidate data points from the plurality of reference data points, wherein a candidate data point is a candidate for matching the unknown data point, 10 and wherein the one or more candidate data points are determined based on determined distances between one or more reference data points and the unknown data point; and identifying the unknown data point by comparing the unknown data point with the one or more candidate data points. 15
13. The method of claim 12, wherein: the plurality of reference data points is a plurality of reference video data points; the unknown data point is an unknown video data point associated with video content being presented by a display; the one or more candidate data points are one or more candidate video data points; 20 and the method further comprises a step of identifying the video content being presented by the display, wherein the video content being presented by the display is identified by comparing the unknown video data point with the one or more candidate video data points. 25
14. The method of claim 13, wherein determining the number of the plurality of vectors between the reference video data point and the unknown video data point includes: determining whether each vector of the plurality of vectors is to an algebraic right or to an algebraic left of the first vector of the reference video data point; determining whether each vector of the plurality of vectors is to the algebraic right or 30 to the algebraic left of the second vector of the unknown video data point; and determining the number of the plurality of vectors between the reference video data point and the unknown video data point, wherein the number of the plurality of vectors includes vectors to the algebraic left of the first vector and to the algebraic right of the second vector or vectors to the algebraic right of the first vector and to the algebraic left of the second vector.
15. The method of claim 14, wherein the reference video data point is discarded 5 after the length of the first vector of the reference video data point is determined and after each vector of the plurality of vectors is determined to be to the algebraic right or to the algebraic left of the first vector.
16. The method of claim 14 or 15, further comprising: 10 storing a first binary value for each vector that is determined to be to the algebraic right of the first vector of the reference video data point; and storing a second binary value for each vector that is determined to be to the algebraic left of the first vector of the reference video data point. 15
17. The method of claim 14 or 15, further comprising: storing a first binary value for each vector that is determined to be to the algebraic right of the second vector of the unknown video data point; and storing a second binary value for each vector that is determined to be to the algebraic left of the second vector of the unknown video data point.
18. The method of any one of claims 13 to 17, wherein estimating the angle between the first vector of the reference video data point and the second vector of the unknown video data point includes multiplying a constant by a ratio, wherein the ratio includes the number of the plurality of vectors between the reference video data point and 25 the unknown video data point divided by a total number of the plurality of vectors.
19. The method of any one of claims 13 to 18, wherein determining the distance between the reference video data point and the unknown video data point includes performing a Pythagorean identity calculation using the estimated angle and the determined 30 lengths of the first vector and the second vector.
20. The method of any one of claims 13 to 29, wherein identifying the video content being presented by the display includes determining a match between the unknown video data point and a candidate video data point, wherein the match is an approximate match based on the candidate video data point being a closest video data point of the one or more candidate video data points to the unknown video data point.
21. The method of claim 13, wherein the reference video data point is discarded 5 after the length of the first vector of the reference video data point is determined.
22. The method of claim 12, wherein identifying the unknown data point includes determining a match between the unknown data point and a candidate data point, wherein the match is an approximate match based on the candidate data point being a 10 closest data point of the one or more candidate data points to the unknown data point.
NZ735930A 2015-04-17 2016-04-15 Systems and methods for reducing data density in large datasets NZ735930B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US201562149193P 2015-04-17 2015-04-17
US62/149,193 2015-04-17
PCT/US2016/027691 WO2016168556A1 (en) 2015-04-17 2016-04-15 Systems and methods for reducing data density in large datasets

Publications (2)

Publication Number Publication Date
NZ735930A NZ735930A (en) 2021-09-24
NZ735930B2 true NZ735930B2 (en) 2022-01-06

Family

ID=

Similar Documents

Publication Publication Date Title
US10482349B2 (en) Systems and methods for reducing data density in large datasets
US10192138B2 (en) Systems and methods for reducing data density in large datasets
US11451877B2 (en) Optimizing media fingerprint retention to improve system resource utilization
US10902048B2 (en) Prediction of future views of video segments to optimize system resource utilization
US11308144B2 (en) Systems and methods for partitioning search indexes for improved efficiency in identifying media segments
NZ735930B2 (en) Systems and methods for reducing data density in large datasets
KR102660052B1 (en) Optimization of media fingerprint retention to improve system resource utilization
NZ738944B2 (en) Optimizing media fingerprint retention to improve system resource utilization
BR112017022341B1 (en) METHOD OF IDENTIFICATION OF ONE OR MORE UNKNOWN DATA POINTS AND SYSTEM
KR20240056772A (en) Optimizing media fingerprint retention to improve system resource utilization