18:12Pinterest’s search relevance team describes using large language models to improve the ranking of Pins for search queries. A fine-tuned cross-encoder teacher predicts five levels of relevance, using text features that include image captions and signals from user activity. The team distills the teacher’s labels into a bi-encoder student model, which combines language models with other embeddings and text-match features; offline Pin embeddings and cached query embeddings help it serve at scale. They report stronger relevance and search engagement across several international markets, and say the resulting embeddings also help other Pinterest surfaces.

