PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/ML System Design/Snapchat

Design short-video retrieval with sparse text

Last updated: Mar 29, 2026

Quick Overview

This question evaluates expertise in ML system design, large-scale information retrieval and recommendation engineering, with emphasis on multi-modal video representation, sparse-text handling, indexing/ANN choices, low-latency online serving, and bias mitigation such as popularity bias.

  • medium
  • Snapchat
  • ML System Design
  • Machine Learning Engineer

Design short-video retrieval with sparse text

Company: Snapchat

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: medium

Interview Round: Technical Screen

You are designing the candidate-generation (retrieval) and recommendation system for a short-video app. Constraints and setting: - Users can search with a **text query** (e.g., “funny cat fails”), and the system should retrieve relevant **short videos**. - Only **~20% of videos have reliable text metadata** (title/description/hashtags). The rest may have only visual/audio signals. - You must support low-latency online retrieval at large scale. Tasks: 1) Propose an end-to-end architecture for **query-to-video retrieval** and how it fits into a full recommender stack (retrieval → ranking → re-ranking). 2) Explain how you would represent videos (multi-modal features) and queries, and how you would handle the 80% of videos without text. 3) Describe offline training, online serving, indexing/ANN choices, and how you would evaluate retrieval quality. 4) Discuss how you would mitigate **popularity bias** in retrieval/recommendation while keeping relevance and engagement strong.

Quick Answer: This question evaluates expertise in ML system design, large-scale information retrieval and recommendation engineering, with emphasis on multi-modal video representation, sparse-text handling, indexing/ANN choices, low-latency online serving, and bias mitigation such as popularity bias.

Related Interview Questions

  • Design a Family-Friendly Listing Classifier - Snapchat (medium)
  • Design User Embedding Semantic Search - Snapchat (medium)
  • Design a video recommendation system - Snapchat (medium)
  • Design an ads ranking ML system - Snapchat (medium)
  • Design a Product Tagging Pipeline - Snapchat (medium)
|Home/ML System Design/Snapchat

Design short-video retrieval with sparse text

Snapchat logo
Snapchat
Feb 3, 2026, 12:00 AM
mediumMachine Learning EngineerTechnical ScreenML System Design
5
0

You are designing the candidate-generation (retrieval) and recommendation system for a short-video app.

Constraints and setting:

  • Users can search with a text query (e.g., “funny cat fails”), and the system should retrieve relevant short videos .
  • Only ~20% of videos have reliable text metadata (title/description/hashtags). The rest may have only visual/audio signals.
  • You must support low-latency online retrieval at large scale.

Tasks:

  1. Propose an end-to-end architecture for query-to-video retrieval and how it fits into a full recommender stack (retrieval → ranking → re-ranking).
  2. Explain how you would represent videos (multi-modal features) and queries, and how you would handle the 80% of videos without text.
  3. Describe offline training, online serving, indexing/ANN choices, and how you would evaluate retrieval quality.
  4. Discuss how you would mitigate popularity bias in retrieval/recommendation while keeping relevance and engagement strong.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Snapchat•More Machine Learning Engineer•Snapchat Machine Learning Engineer•Snapchat ML System Design•Machine Learning Engineer ML System Design

Your design canvas — auto-saved

PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.