Search in social networks such as Facebook poses different challenges than in classical web search: besides the query text, it is important to take into account the searcher's context to provide relevant results. Their social graph is an integral part of this context and is a unique aspect of Facebook search. While embedding-based retrieval (EBR) has been applied in web search engines for years, Facebook search was still mainly based on a Boolean matching model. In this paper, we discuss the techniques for applying EBR to a Facebook Search system. We introduce the unified embedding framework developed to model semantic embeddings for personalized search, and the system to serve embedding-based retrieval in a typical search system based on an inverted index. We discuss various tricks and experiences on end-to-end optimization of the whole system, including ANN parameter tuning and full-stack optimization. Finally, we present our progress on two selected advanced topics about modeling. We evaluated EBR on verticals for Facebook Search with significant metrics gains observed in online A/B experiments. We believe this paper will provide useful insights and experiences to help people on developing embedding-based retrieval systems in search engines.
CITATION STYLE
Huang, J. T., Sharma, A., Sun, S., Xia, L., Zhang, D., Pronin, P., … Yang, L. (2020). Embedding-based Retrieval in Facebook Search. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 2553–2561). Association for Computing Machinery. https://doi.org/10.1145/3394486.3403305
Mendeley helps you to discover research relevant for your work.