Problem
Roblox search originally matched text only. That breaks when users misspell a query or describe what they want in their own words. The team also has little search training data in most languages, so a model that works well for English does not carry over. Machine-translating content, indexing it and matching text did not always show relevant results either.
Example from the article: a user types a long free-form query such as "I remember playing a game where there was a dragon and a girl fighting with it. Can you help me find that?", or a short non-English one such as "đua xe (racing)".
Solution in brief
Learn as many semantic relationships as possible in English with a teacher model, then distill them into a student model for other languages. Combine this with lexical search in a hybrid system whose embeddings are built from user, query and content signals. Keep the stack generic so other content types can reuse it.
Questions this case answers
- How to extend a semantic retrieval model from a data-rich language to languages with little training data when machine translation plus text matching is not enough
- How to combine lexical matching with learned embeddings so that query intent is understood without losing exact-match behavior
- How to make semantic search work in languages where we have little training data?
- How to move a lexical, text-matching search to one that understands query intent and tolerates misspellings?
Tools and methods
- Teacher-student distillation — transfers semantic relationships learned in English to other languages.
- Hybrid search — lexical matching combined with ML-based semantic search and query-intent understanding.
- BERT-based transformer with a Multilayer Perceptron head — turns query, user and content signals into embeddings.
- In-house similarity search — retrieves nearby embeddings, which are then ranked.
- Autocomplete and spelling correction — pre-trained large models in the same stack.
Google or a one-time email code. No password.