Multilingual Semantic Retrieval for Apple Music Search

Vishalaksh Aggarwal, Kevin Sebastian, Vivek Kanojiya, Leo Le, Nick Tucey, Santosh Shankar14 Jul 2026

Problem

Apple Music runs in more than 150 storefronts and dozens of languages, and the catalog grows by hundreds of thousands of tracks a day. Tail queries make up most unique queries, and the token-based index fails on them when the query is misspelled, transliterated or in another language. Poor recall there is a main driver of session quality. A fix must fit the existing search stack, since retraining every downstream ranker is expensive.

Illustrative example: a listener types an artist name with a typo or in another script, and the token index returns nothing although the catalog has the track.

Solution in brief

A 305M-parameter Siamese bi-encoder, fine-tuned from GTE-multilingual-base on query-log engagement, finds nearest neighbors in a dense index. Its scores are blended with token-index scores by quantile distribution matching, so existing rankers see the score distribution they were trained on. A worldwide A/B test showed +2.28% conversion and an 86% lower no-result rate.

Questions this case answers
  • How to raise recall on tail queries (typos, transliteration, other languages) in a keyword-based search without retraining the ranking stages behind it
  • How to blend dense nearest-neighbor scores with lexical-index scores so that downstream rankers see a familiar score distribution
  • How to improve search recall on misspelled, transliterated and cross-lingual queries without retraining the downstream rankers?
  • How to add dense semantic retrieval next to an existing token-based search index and blend the two score distributions?

Tools and methods

  • Siamese bi-encoder (GTE-multilingual-base, 305M parameters) — embeds queries and catalog items into one space
  • Curriculum-scheduled multi-objective training — query-item and query-query losses, switched from InfoNCE to a hinge loss
  • Hybrid retrieval with quantile distribution matching — merges dense and token-index results without retraining rankers
  • FAISS — approximate nearest-neighbor index over 256-dimensional embeddings (per the paper)
Continue reading — it's free

Google or a one-time email code. No password.