Beyond Item IDs: Scaling Short-Form-Video Recommendation via Semantic-Native Long Sequence Modeling
This paper presents a production-deployed framework for short-form video recommendation at a billion-user scale that overcomes traditional sequence modeling limitations by replacing sparse Video IDs with compact Semantic IDs and introducing a Global-Aware Compression Transformer to efficiently model ultra-long user behavior sequences, resulting in significant reductions in computational cost and substantial improvements in user engagement.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a librarian trying to recommend the perfect book to a reader. But instead of a few books, this reader has watched thousands and thousands of short videos. Your job is to remember all of them to guess what they want to see next.
The paper describes a new system Google built to do exactly this for short-form videos (like TikTok or YouTube Shorts). They faced two massive problems that made this task nearly impossible, and they solved them with two clever tricks.
The Two Big Problems
1. The "Name Tag" Problem (Representation Bottleneck)
Imagine every video in the world has a unique, random ID number, like a serial number on a toaster.
- The Issue: If you have a billion videos, you need a billion different ID tags. These tags are just random numbers; they don't tell you anything about the video. A video about "cats" and a video about "cars" might have IDs that look nothing alike.
- The Result: The computer has to memorize every single interaction separately. It's like trying to remember a billion random phone numbers. Also, when a new video (a "cold start") appears, the system has no idea what it's about because it has never seen that random ID before.
2. The "Memory Overload" Problem (Computational Bottleneck)
Imagine trying to read a book where every page is connected to every other page.
- The Issue: To understand a user's history of 2,000 videos, a standard computer brain (a Transformer) tries to compare every single video against every other video. If you double the number of videos, the work doesn't just double; it quadruples. It gets so heavy that the computer runs out of memory and crashes, or takes too long to answer.
The Solution: Two New Tricks
The authors built a system that fixes both problems at once.
Trick #1: The "Smart Category" System (Semantic-Native IDs)
Instead of using random serial numbers, they gave videos meaningful labels based on what they are actually about.
- The Analogy: Imagine instead of random numbers, every video is labeled with a "Category" and a "Sub-category."
- Old Way: Video #99283 (Random).
- New Way: Video = "Gaming" + "Shooter".
- How it works: They used a special AI to group videos into a hierarchy. For the long history of videos, they only used the top two levels of this hierarchy (e.g., just "Gaming" and "Shooter").
- The Benefit:
- Smaller Library: They don't need a billion tags anymore; they just need tags for the categories. This shrinks the memory needed for the "dictionary" of videos.
- Better Guessing: If a user loves "Gaming-Shooter" videos, and a new video comes out that is also "Gaming-Shooter," the system instantly knows to recommend it, even if it's never seen it before. It solves the "cold start" problem.
Trick #2: The "Grouping" Strategy (Global-Aware Compression)
Instead of looking at every single video one by one, the system groups them into "super-chunks."
- The Analogy: Imagine you are reading a 2,000-page diary.
- Old Way: You read every single word and try to connect every word to every other word. Exhausting!
- New Way: You take 4 pages at a time and glue them together into one "Super-Page." Now you only have 500 Super-Pages to read.
- How it works: They take 4 consecutive videos and stack them together into one big "Super-Token." This reduces the number of items the computer has to process by 4 times.
- The Benefit:
- Speed: Because there are fewer items to compare, the computer works much faster and uses way less memory (92% less!).
- Smarter Reading: By gluing the pages together, the computer can see the details within that group (like how the user reacted to a specific sequence of videos) while still keeping the big picture.
- The "Global Anchor": They added a special "Global Question" token at the start of the list. Think of it as a librarian asking, "What is the overall vibe of this person's life?" This helps the system balance the specific details of the recent videos with the user's long-term personality.
The Results
When they tested this in the real world with billions of users:
- It was faster: The system used much less computer memory and ran much quicker.
- It remembered more: Because it was faster, they could feed it 2,000 videos of history instead of just 800.
- People were happier: Users watched more videos they liked, spent more time watching, and discovered more new content they enjoyed.
Summary
The paper is about building a recommendation engine that can remember a user's entire video history without getting a headache. They did this by giving videos meaningful names instead of random numbers, and by grouping videos into chunks so the computer doesn't have to do math on every single one individually. The result is a system that is faster, cheaper to run, and makes better recommendations.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.