---
title: "Distilling Long-Tail User Behavior into Scalable Embeddings for Job Search"
description: "Indeed's user behavior model (UBM) runs heavy transformer sequence modeling over long user histories offline, distills each user into a fixed-length embedding refreshed daily via batch inference, and serves it through a feature store as one more dense feature for many compact production ranking, recommendation and bidding models."
url: "https://swe.quest/articles/distilling-long-tail-user-behavior-into-scalable-embeddings-for-job-search-bf9edf6cf1d311a4"
canonical: "https://engineering.indeedblog.com/blog/2026/06/distilling-long-tail-user-behavior-into-scalable-embeddings-for-job-search/"
source: "Indeed Engineering"
published: "2026-06-03"
difficulty: "hard"
kind: "Case study"
reading_minutes: 11
tags: ["recommendation-systems","ml-platform","machine-learning","search"]
---

# Distilling Long-Tail User Behavior into Scalable Embeddings for Job Search

A post on [Indeed Engineering](https://swe.quest/sources/indeed.md), published 2026-06-03, 11 min read, Case study. Original: [https://engineering.indeedblog.com/blog/2026/06/distilling-long-tail-user-behavior-into-scalable-embeddings-for-job-search/](https://engineering.indeedblog.com/blog/2026/06/distilling-long-tail-user-behavior-into-scalable-embeddings-for-job-search/)

## Summary

Indeed's user behavior model (UBM) runs heavy transformer sequence modeling over long user histories offline, distills each user into a fixed-length embedding refreshed daily via batch inference, and serves it through a feature store as one more dense feature for many compact production ranking, recommendation and bidding models. Moving from per-action sequences (apply, click, impression) fused late to a single chronologically merged timeline with event-type embeddings roughly doubled downstream ROC-AUC gains, e.g. CTR lift from +1.6% to +3.5%. Storing jobs in a side table with cached GPU lookups instead of materializing joins gave over 100× faster training. Production lifts include +5.24% application rate on email recommendations and +2.89% NDCG@10 on employer resume search. The main tradeoff is that attention is not conditioned on the target job at scoring time.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md) (AI & ML)
- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Search](https://swe.quest/tags/search.md) (Backend & APIs)

## Prerequisites

- transformer self-attention
- embeddings and feature stores ([easy posts on RAG & retrieval](https://swe.quest/tags/rag.md?difficulty=easy))
- ranking model evaluation (ROC AUC, NDCG) ([easy posts on Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md?difficulty=easy))

## Keywords

Indeed, User Behavior Modeling, Deep & Cross Network, transformer, feature store

## Related posts

- [User foundation models for Grab](https://swe.quest/articles/user-foundation-models-for-grab-98db1323e8d3fa5a.md): Grab Engineering · 2025-09-26 · Hard · 18 min read · Recommendations & ranking, Model training, Machine learning, ML platforms
  Grab built a transformer-based user foundation model that jointly learns from tabular user attributes and time-series clickstream data to produce general-purpose user embeddings, replacing siloed hand-engineered features.
- [Sequence learning: A paradigm shift for personalized ads recommendations](https://swe.quest/articles/sequence-learning-a-paradigm-shift-for-personalized-ads-recommendations-0f4eda06409ac7d5.md): Meta Engineering · 2024-11-19 · Hard · 7 min read · Recommendations & ranking, Ads, Machine learning, Inference & serving
  Meta replaced its DLRM ads ranking models, which depended on thousands of hand-engineered aggregated sparse features, with sequence learning over event-based features (EBFs).
- [GenRecs Tokenization: Transforming Ads Recommendation at Meta with Stable Model Vocabulary](https://swe.quest/articles/genrecs-tokenization-transforming-ads-recommendation-at-meta-with-stable-model-e3f3b6ea2626a2c2.md): Meta Engineering · 2026-10-19 · Hard · 6 min read · Recommendations & ranking, Ads, LLMs, Machine learning
  Meta's ads recommender replaces per-item IDs with GenRecs Tokenization, a stable semantic vocabulary.
- [From Activity to Intent: Generating User Journeys with LLMs](https://swe.quest/articles/from-activity-to-intent-generating-user-journeys-with-llms-0ff3c950d1bbfa2d.md): Pinterest Engineering · 2026-10-09 · Medium · 15 min read · Recommendations & ranking, LLMs, Inference & serving, Model training, Evaluation
  Pinterest replaced a multi-stage keyword-clustering pipeline for inferring user "journeys" (long-horizon goals like a kitchen remodel) with a single fine-tuned 4B Qwen3 model.
- [The generative recommender behind Shopify's commerce engine](https://swe.quest/articles/the-generative-recommender-behind-shopify-s-commerce-engine-f5ed1bac0cf956d4.md): Shopify Engineering · 2026-02-25 · Hard · 8 min read · Recommendations & ranking, Model training, Machine learning, E-commerce
  Shopify built a foundational generative recommender on HSTU that treats buyer journeys as raw event sequences and trains an autoregressive, causally masked model to predict the next product.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
