◦ Goal: Quickly help members find content they’d like to watch ◦ Risk: Member may lose interest and abandon the service ◦ Challenge: Recommendations at Scale
Test Out Different Ideas Offline Experiment Online System Design Experiment Model Testing Collect Label Data Offline Feature Generation Model Training Model Validation Metrics Online A/B Testing
Microservices Online Scoring Offline Feature Generation Shared Feature Encoders Model Training Deploy Models Online System Offline Experiment Features Facts
for feature encoders. Used to construct a feature ◦ Example: Viewing history of member, my list of a member • Historical Version of a fact ◦ Rewindable - State of the world at that time • Temporal ▪ Facts are temporal i.e. they change with time ▪ Each online scoring service uses the latest value of a fact
control what to log • Stratification • Temporal accuracy Compute Services Fact Store Fact Transformer Fact Fetcher Fact Logger ML Workflows Feature Generation Model Training
• Facts ◦ User Related ◦ Video Related ◦ Computation Specific • Serialization • Stratification Service • Fact Stream • Storage Base Fact Tables Stratification
122312 My List Value View History Pointer Thumbs Value 254637 My List Pointer View History Pointer Thumbs Pointer Member n My List Pointer View History Value Thumbs Pointer My List Partition 1 Values Partition m Values View History Partition 1 Values Partition m Values Thumbs Partition 1 Values Partition m Values log_time - x log_time - y log_time - z