Problem
In incremental search the ranking is refreshed after every keystroke. After 1-3 characters the query says almost nothing about intent, so a non-personalized ranker shows everyone the same results. The team behind Apple TV search needed a way to use each user's watch history in ranking, and to handle items that have little or no interaction data.
Example from the article: on Apple TV search, 1-3 character prefixes gained +8.63% NDCG@10 from personalization, against +1.46% for queries longer than three characters.
Solution in brief
Learn two item embedding spaces: a text encoder fine-tuned on co-engagement triplets (TextEmb) and an ID-based collaborative model (IdEmb). Build a user vector by averaging the embeddings of recently watched items. Feed the two user-item cosine similarities to the existing pairwise XGBoost ranker as two extra features.
Questions this case answers
- How to personalize ranking for very short, ambiguous queries using a user's past interactions when the production ranker is a tree model
- How to combine content-based and interaction-based item embeddings so that items without interaction history still get a similarity score
- How to personalize search ranking for 1-3 character prefix queries where intent is not yet formed?
- How to add user watch history to an existing learning-to-rank model without rebuilding it?
Tools and methods
- TextEmb — multilingual text encoder over item metadata, fine-tuned with contrastive learning on next-engagement triplets.
- IdEmb — ID lookup table plus MLP, trained on interaction-derived positives; adds collaborative signal.
- Mean-pooled user vector — average of item embeddings from watch history.
- XGBoost pairwise ranker — consumes the two similarity features beside existing behavioral and lexical features.
- Online A/B test — three-week user-level randomized check.
Google or a one-time email code. No password.