← Latest papers
🤖 AI

WHALE: A Scalable Unified Model for Recommendation with Wukong-HSTU Architecture

The paper introduces WHALE, a scalable unified recommendation architecture that integrates Wukong and HSTU backbones through a novel fusion mechanism to jointly model non-sequence and sequence features, achieving significant offline and online performance gains in industrial production systems.

Original authors: Renqin Cai, Dawei Sun, Yuanjun Yao, Zhiyong Wang, Velvin Fu, Maggie Zhuang, Yu Shi, Zhongnan Fang, Xuan Cao, Jing Qian, Rui Li

Published 2026-07-21
📖 4 min read☕ Coffee break read

Original authors: Renqin Cai, Dawei Sun, Yuanjun Yao, Zhiyong Wang, Velvin Fu, Maggie Zhuang, Yu Shi, Zhongnan Fang, Xuan Cao, Jing Qian, Rui Li

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 walking through a massive, bustling digital city where millions of people are constantly scrolling, clicking, and watching. This is the world of online recommendation systems, the invisible engines behind your social media feeds, video suggestions, and shopping lists. Their job is to guess what you want to see next. To do this, they usually look at two very different types of clues. First, there are your "static" details: who you are, what you like, the time of day, and the specific item being shown. It's like a detective looking at a suspect's file and the crime scene. Second, there are your "dynamic" actions: the long, messy trail of everything you've clicked, watched, or bought in the past. This is like a detective watching a suspect's entire life story unfold in real-time.

For a long time, recommendation systems treated these two clues separately. Some super-smart models were great at mixing the static details (like "this user likes sci-fi" + "it's Friday night"), while other models were experts at reading the long story of your past behavior (like "you watched three space movies in a row, so you probably want a fourth"). The big question was: could we build one super-model that was equally brilliant at both, without getting too slow or too expensive to run? If we could, it might mean seeing content that feels perfectly tailored to exactly who you are and what you've been doing lately, all at the same time.

Enter WHALE, a new architecture developed by researchers at Meta that tries to solve this puzzle. Think of WHALE as a giant, multi-layered team of detectives working together. Instead of having one detective read the file and another watch the video, WHALE puts them in the same room, layer by layer. In every single layer of the model, there is a "Wukong" team (the expert at mixing static details) and an "HSTU" team (the expert at reading the long history of your actions). But here is the magic trick: they don't just work side-by-side; they constantly chat. The Wukong team asks the HSTU team, "Hey, based on this specific item I'm looking at, which part of the user's long history is most important right now?" The HSTU team then zooms in on that specific memory and hands it back. This happens over and over again as the data moves through the model, allowing the system to constantly refine its understanding.

The paper suggests that this "progressive exchange" is a game-changer. When the researchers tested WHALE on massive amounts of real-world data from a social media platform, they found that it consistently got better at predicting what users would click on as they made the model bigger and gave it longer history to read. Specifically, when they increased the length of the user history the model could see, the quality of recommendations improved. They also found that making the model deeper (more layers) and wider (more processing power) continued to yield better results, suggesting the system scales up well.

However, the researchers also tested a simpler way to combine these two types of models, which they call a "shallow-hybrid" approach. In this older method, the history is compressed into a tiny summary before being mixed with the static details. The paper argues that this is a mistake because it throws away the fine-grained details. Their experiments showed that WHALE's deep, layer-by-layer chatting was significantly better than this shallow approach, proving that keeping the two teams in constant communication is crucial.

Of course, building such a complex system is expensive. The team had to invent special, custom computer code (using something called "Triton kernels") to make sure WHALE could run fast enough to be used by millions of people at once. In real-world tests, WHALE did improve the main metrics for user engagement, but it did come with a small cost: the system could handle about 5% fewer requests per second compared to the old system. Despite this slight slowdown, the improvement in recommendation quality was considered a win, and the system has already been deployed in production. The paper concludes that while we can't just make models infinitely big to solve everything, unifying these two different ways of thinking about data—static details and dynamic history—into a single, interacting architecture is a powerful and practical path forward for the future of 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.

Try Digest →