Image relevance model
First Claim
1. A computer-implemented method, comprising:
- identifying a plurality of queries, each of the queries being a unique set of one or more query terms received by a search system as a query input;
for each of the queries;
selecting training images for training an image relevance model, the training images comprising;
a first image having a first relevance measure, for the query, that satisfies a first relevance threshold; and
a second image having a second relevance measure, for a different query in the plurality of queries, that satisfies a second relevance threshold;
for each of the training images, identifying content feature values, each content feature value representing a characteristic of an aspect of the training image; and
training the image relevance model to generate relevance measures of content feature values of images to the query based on the content feature values of the training images, wherein the image relevance model comprises a vector of weights corresponding to the content feature values, the training comprising;
initializing the vector of weights to default values;
generating a first training score based on the image relevance model and the content feature values of the first image;
generating a second training score based on the image relevance model and the content feature values of the second image;
comparing the first training score and the second training score;
in response to a difference between the first training score and the second training score not satisfying a training score margin, adjusting values of the vector of weights;
determining whether a training condition has occurred; and
repeating the selecting training images, the generating the first training score, the generating the second training score and the comparing when the training condition has not occurred.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer program products, for identifying images relevant to a query are disclosed. An image search subsystem selects images to reference in image search results that are responsive to a query based on an image relevance model that is trained for the query. An independent image relevance model is trained for each unique query that is identified by the image search subsystem. The image relevance models can be applied to images to order image search results obtained for the query. Each relevance model is trained based on content feature values of images that are identified as being relevant to the query (e.g., frequently selected from the image search results) and images that are identified as being relevant to another unique query. The trained model is applied to the content feature values of all known images to generate an image relevance score that can be used to order search results for the query.
-
Citations
19 Claims
-
1. A computer-implemented method, comprising:
-
identifying a plurality of queries, each of the queries being a unique set of one or more query terms received by a search system as a query input; for each of the queries; selecting training images for training an image relevance model, the training images comprising; a first image having a first relevance measure, for the query, that satisfies a first relevance threshold; and a second image having a second relevance measure, for a different query in the plurality of queries, that satisfies a second relevance threshold; for each of the training images, identifying content feature values, each content feature value representing a characteristic of an aspect of the training image; and training the image relevance model to generate relevance measures of content feature values of images to the query based on the content feature values of the training images, wherein the image relevance model comprises a vector of weights corresponding to the content feature values, the training comprising; initializing the vector of weights to default values; generating a first training score based on the image relevance model and the content feature values of the first image; generating a second training score based on the image relevance model and the content feature values of the second image; comparing the first training score and the second training score; in response to a difference between the first training score and the second training score not satisfying a training score margin, adjusting values of the vector of weights; determining whether a training condition has occurred; and repeating the selecting training images, the generating the first training score, the generating the second training score and the comparing when the training condition has not occurred. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system, comprising:
-
a first data store storing query data, the query data defining a plurality of queries; one or more processors that interact with the first data store and perform operations comprising; identifying a query defined by the query data; selecting training images for training an image relevance model, the training images comprising; a first image having a first relevance measure, for the query, that satisfies a first relevance threshold; and a second image having a second relevance measure, for a different query in the plurality of queries, that satisfies a second relevance threshold; for each of the training images, identifying content feature values, each content feature value representing a characteristic of an aspect of the training image; and training the image relevance model to generate relevance measures of content feature values of images to the query based on the content feature values of the training images, wherein the image relevance model comprises a vector of weights corresponding to the content feature values, the training comprising; initializing the vector of weights to default values; generating a first training score based on the image relevance model and the content feature values of the first image; generating a second training score based on the image relevance model and the content feature values of the second image; comparing the first training score and the second training score; in response to a difference between the first training score and the second training score not satisfying a training score margin, adjusting values of the vector of weights; determining whether a training condition has occurred; and repeating the selecting training images, the generating the first training score, the generating the second training score and the comparing when the training condition has not occurred. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A non-transitory computer readable medium encoded with a computer program comprising instructions that when executed operate to cause a computer to perform operations:
-
identifying a plurality of queries, each of the queries being a unique set of one or more query terms received by a search system as a query input; for each of the queries; selecting training images for training an image relevance model, the training images comprising; a first image having a first relevance measure, for the query, that satisfies a first relevance threshold; and a second image having a second relevance measure, for one or more different queries in the plurality of queries, that satisfies a second relevance threshold; for each of the training images, identifying content feature values, each content feature value representing a characteristic of an aspect of the training image; and training the image relevance model to generate relevance measures of content feature values of images, for the query, based on the content feature values of the training images, wherein the image relevance model comprises a vector of weights corresponding to the content feature values, the training comprising; initializing the vector of weights to default values; generating a first training score based on the image relevance model and the content feature values of the first image; generating a second training score based on the image relevance model and the content feature values of the second image; comparing the first training score and the second training score; in response to a difference between the first training score and the second training score not satisfying a training score margin, adjusting values of the vector of weights; determining whether a training condition has occurred; and repeating the selecting training images, the generating the first training score, the generating the second training score and the comparing when the training condition has not occurred.
-
Specification