Case study: how LinkedIn rebuilt search with semantic embeddings and 2-stage ranking

_jaydeepkarale · x · 2026-11-06

A full teardown of LinkedIn's AI-powered content search: keyword matching failed by returning nothing or irrelevant posts, so LinkedIn added semantic capability. A token retriever and a two-tower embedding retriever narrow billions of posts to thousands (post embeddings precomputed offline), then L1/L2 rankers—MLP models scoring on-topicness and long-dwell—combine multi-objective scores to produce the final ranked feed. Likes and comments are excluded as quality signals since they can be farmed.

Related event: Inside LinkedIn's Semantic Search Overhaul: Two-Tower Retrieval and Two-Stage Ranking(6 posts)→

Original post →

More from Infra

Infra channel →