User sequence modeling improves search product ad ranking

Query- and Candidate-Aware Long User Sequence Modeling for Sponsored Product Ranking in Search

Machine Learning

Summary

Online shopping search rankings try to show ads that match what you're looking for. The paper's team improved these rankings by not only using your recent activity but also by looking back into your long-term history related to both the current search and the ad candidate. They created a model that mixes context from both the search term and the candidate product to better guess which ads you'll click and buy. Their tests showed this model did better in predicting clicks and purchases than older methods.

What this means in practice

  • For search engine engineers: Improve ad ranking systems by integrating query- and candidate-aware retrievals over long user history to increase click and purchase rates.$Commercial implications: Enables building better search advertising ranking models that boost ad performance and revenue.
  • For e-commerce platform developers: Enhance sponsored product recommendation by encoding deeper user context involving both search query and candidate product history.

Authors

Dongyue Xie, Sergey Kolbin, Manavender Malgireddy, Iurii Shcherbak, Weixing Tang, Arushi Jain, Wanchen Shao, Kurt Zimmer, Raja Hafiz Affandi, Matt Lindsay

Abstract

User sequence modeling is widely used in recommendation and advertising. Search ranking presents an additional challenge: the current query expresses immediate intent, while a candidate product determines which parts of a user's long-term history are relevant. We present a production sequence framework for sponsored-product ranking that augments recent behavior with two retrieval channels over long-term history: candidate-nearest-neighbor retrieval and query-nearest-neighbor retrieval. The selected actions are encoded together with dedicated query and candidate context tokens, while candidate-aware early fusion injects the candidate into every history token. Offline ablations show that dual retrieval improves major ranking metrics relative to the production baseline. In an online A/B test on sponsored-product search traffic, the model increased CTR, attributed conversion rate, and orders per impression.