← Latest papers
🤖 machine learning

Tokens are All You Need: Dual-purpose Semantic IDs for Achieving LLM-Level I/O Efficiency in recommendation systems

This paper proposes Dual-purpose Semantic IDs, a method that uses hierarchical quantization to convert dense embeddings into discrete tokens for both collaborative identity and content reconstruction, thereby achieving LLM-level I/O efficiency and successfully deploying in production-scale recommendation systems to overcome memory bottlenecks.

Original authors: Baolei Li, Yiping Yuan, Yilin Zheng, Likang Yin, Ling Liu, Fabio Soldo, Romer Rosales, Xinyang Yi, Lichan Hong

Published 2026-07-29
📖 3 min read☕ Coffee break read

Original authors: Baolei Li, Yiping Yuan, Yilin Zheng, Likang Yin, Ling Liu, Fabio Soldo, Romer Rosales, Xinyang Yi, Lichan Hong

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 trying to build the ultimate recommendation engine for a massive video platform, one that knows exactly what you want to watch next. To do this, the system needs to understand two things: who you are (your history) and what the videos are (their content). Traditionally, computers have stored this information as giant, heavy lists of numbers called "dense embeddings." Think of these like massive, high-resolution blueprints for every single video and user. While these blueprints are detailed, they are incredibly heavy to carry around. Every time the computer tries to make a suggestion, it has to haul these heavy blueprints from the storage room to the processor, creating a traffic jam known as the "Memory Wall." This slows everything down, especially when you have billions of users and videos.

On the other side of the tech world, Large Language Models (LLMs)—the brains behind smart chatbots—have figured out a trick. They don't use heavy blueprints; they use simple, discrete "tokens," like words in a sentence. These tokens are light, fast, and easy to process. The big question for recommendation systems has been: Can we swap those heavy, slow blueprints for these lightweight tokens without losing the rich details needed to make good suggestions? If we could, we might finally give recommendation systems the same speed and efficiency as the smartest AI chatbots.

This paper, titled "Tokens are All You Need," proposes a clever solution to this problem by introducing "Dual-purpose Semantic IDs." The authors, working at a major video sharing platform, suggest that we can compress those heavy video blueprints into a short sequence of tokens, much like turning a high-definition photo into a simple code. But here is the magic trick: these tokens do double duty. First, they act as a unique ID to help the system learn from user interactions (like which videos you clicked). Second, and more importantly, they can be instantly "decoded" back into a rough approximation of the original video details whenever the computer needs them.

The researchers tested this idea in a real-world production system with billions of examples. They found that by using this "on-the-fly" reconstruction method, they could drastically reduce the amount of data the system had to move around. In their experiments, this approach didn't just save space; it actually made the system faster and improved the quality of recommendations, particularly for new users or obscure videos that the system didn't have much data on yet. The paper suggests that by treating high-dimensional data as tokens, recommendation systems can break free from the "Memory Wall" and become as efficient as the most advanced AI models, proving that sometimes, you really do just need tokens to get the job done.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →