Video Embedding

2 posts

netflix3 min readCurated summary

MediaFM: The Multimodal AI Foundation for Media Understanding at Netflix

Netflix’s Media Foundational Model (MediaFM) is a tri-modal AI system that combines video, audio, and timed text to understand long-form entertainment. It represents sequences of shots while using title-level metadata and temporal context to produce richer content embeddings. Netflix concludes that these contextual embeddings improve many downstream tasks, including advertising relevance, clip selection, tone classification, and popularity prediction. ## Motivation for MediaFM - Netflix needs machine-readable understanding of its expanding catalog, including films, series, live events, and podcasts. - Long-form media requires recognizing narrative dependencies, emotional arcs, scene transitions, and subtle tones across entire episodes or films. - Combining visual, audio, and textual signals provides a more complete understanding than relying on video alone. - The resulting embeddings support applications such as: - Cold-start recommendations for new titles - Promotional art and trailer optimization - Advertising relevance - Clip tagging and internal content analysis ## Multimodal Input Representation - The model uses a shot as its fundamental unit, with titles segmented using shot-boundary detection. - Each shot receives three modality-specific embeddings: - **Video:** Frames sampled from the shot are encoded with SeqCLIP, Netflix’s video-retrieval model. - **Audio:** Sound is encoded using Meta FAIR’s wav2vec2. - **Timed text:** Captions, subtitles, or audio descriptions are encoded with OpenAI’s `text-embedding-3-large`. - The three embeddings are concatenated and unit-normalized into a 2,304-dimensional fused vector. - Training examples consist of temporally ordered shot sequences from a movie or episode, with up to 512 shots. - Title metadata, such as synopses and tags, is also embedded and supplied as global context. ## Transformer Architecture - MediaFM uses a BERT-like Transformer encoder. - Fused shot embeddings are first projected into the model’s hidden dimension. - Two special tokens are prepended: - `[CLS]`, a learnable sequence-level embedding - `[GLOBAL]`, containing projected title-level metadata - Positional embeddings and self-attention allow each shot representation to incorporate surrounding narrative context. - A final projection maps contextualized representations back into the original 2,304-dimensional embedding space. ## Masked Shot Modeling - The model masks 20% of shot embeddings in each training sequence. - Masked inputs are replaced with a learnable `[MASK]` embedding. - The Transformer must reconstruct the original fused embedding for each masked shot. - Training minimizes cosine distance between predicted and ground-truth embeddings. - Hidden parameters are optimized with Muon, while other parameters use AdamW; Netflix reports noticeable gains after adopting Muon. ## Evaluation Through Linear Probes - Netflix evaluates MediaFM by freezing its representations and training task-specific linear layers on top. - Most evaluation tasks involve short clips extracted from larger titles. - Embedding a clip within the context of its surrounding episode or film performs better than embedding the clip in isolation, demonstrating the value of long-range contextualization. ## Downstream Applications - **Ad relevancy:** Multilabel classification identifies clips suitable for relevant advertising; MediaFM helps retrieve candidate clips before ad-serving optimization. - **Clip popularity ranking:** The model predicts relative clip performance and click-through rate within a title, evaluated using Kendall’s tau. - **Clip tone:** Clips are classified into 100 categories, such as creepy, scary, or humorous. - **Clip genre:** Clips are assigned to core genres including Action, Comedy, Documentary, Drama, Horror, Romance, and Thriller. - **Clip retrieval:** The system distinguishes “clip-worthy” content from unsuitable clips based on human annotations, using Average Precision. MediaFM’s main practical lesson is that effective media understanding depends on fusing all available modalities and preserving long-form temporal context. Netflix’s approach provides a reusable embedding foundation for recommendation, promotion, advertising, and content-analysis systems rather than building a separate representation for every task.

Read original(opens in new tab)
discord2 min readCurated summary

Checkpoint Reached: New Updates on our Quest to Connect More Game Developers with Players

Discord reports early success for Quests, its advertising format that rewards players for discovering and playing games. Campaigns involving titles such as Fortnite, Genshin Impact, and World of Warcraft produced a 16% increase in average playtime and a 9% increase in average player counts. Building on these results, Discord is piloting Video Quests to help developers promote trailers, launches, seasons, and other content. ## Quests Are Increasing Gameplay - Millions of players have completed Quests since the program launched. - Genshin Impact’s first Quest generated: - An 80% increase in gameplay hours. - A threefold increase in friend-to-friend game streams. - World of Warcraft: The War Within Quest attracted more than one million participants and contributed to a 63% increase in the number of people playing the game on Discord. - Krunker Strike’s Quest reached largely new or returning players: 90% of participants from Discord Activities were new or lapsed users. - Krunker Strike saw a 33% increase in player count during launch week. - Developers have requested more tools for promoting upcoming games, new seasons, DLC, and major content releases. ## Introducing Video Quests - Video Quests are a new pilot format designed to promote game-related video content. - Developers can feature: - Trailers. - Gameplay reveals. - Season launches. - Other development and marketing announcements. - Videos appear through Discord’s Quest Bar and can be watched without significantly interrupting the user’s Discord experience. - Players choose when and how to engage, while still earning rewards for completing the Quest. - Discord is initially testing Video Quests with a limited group of developers. ## Discord’s Broader Gaming Strategy - Discord aims to become an important platform for discovering, building, and launching games. - The company says its advertising products will prioritize both developer results and the player experience. - Discord plans to refine Quests based on feedback from players and developers and will share more information as the Video Quest pilot expands. Discord’s early data suggests Quests can drive meaningful engagement and attract lapsed or new players. Developers interested in promoting game releases or video content should monitor the Video Quest rollout and consider joining Discord’s pilot updates.

Read original(opens in new tab)