Problem
App developers advertise their apps by building product pages with app images and bidding on search terms. The images have to be highly relevant to the search terms. Choosing the best image automatically needs a model that predicts how well an image matches a set of search terms.
Example from the article: for each app, the system picks the image from a candidate pool that best matches the app's search phrases.
Solution in brief
Treat selection as binary classification of (search term, image) pairs. Fine-tune a pretrained LXMERT model: it encodes text and image objects separately, then fuses them in a Transformer. For each term, show the candidate image with the highest predicted relevance. It reaches AUC 0.96 and 0.95 on two label sets, against 0.81 to 0.89 for a fine-tuned CLIP and an XLM-RoBERTa (XLM-R) + ResNet baseline.
Questions this case answers
- How to automatically choose the visual asset that best matches a set of text queries when labels come from advertiser choices rather than from users
- How to predict image-text relevance when a general-purpose pretrained matching model is too shallow for the domain
- How to pick, from a pool of images, the one that best matches the search terms an advertiser bids on?
- How to score the relevance of an (image, search term) pair when only advertiser-chosen pairs are available as labels?
Tools and methods
- LXMERT (fine-tuned) — cross-modal Transformer that scores a (search term, image) pair
- Faster R-CNN features — up to 36 detected objects per image as the visual input
- CLIP, XLM-R + ResNet — baselines (XLM-R is XLM-RoBERTa) the model is compared with
Google or a one-time email code. No password.