1. A computer-implemented method comprising: receiving a query image; obtaining a set of image features that are associated with the query image; obtaining one or more image feature values for the set of image features; providing one or more of the image feature values to multiple image relevance models that are each associated with a different query term, each image relevance model being trained to output a score that reflects a relevance of a given query image, from which the image feature values were obtained, to the query term associated with the image relevance model; obtaining, from each of the multiple image relevance models, the score that reflects the relevance of the query image to the query term associated with the image relevance model; selecting a subset of the query terms that are associated with the multiple image relevance models based at least on the scores; and providing, for output, one or more of the query terms of the subset of the query terms.