Research & Papers

WHALE unifies Wukong and HSTU for scalable recommendation modeling

Combines non-sequence and sequence features with attention-based fusion for production gains.

Deep Dive

WHALE tackles a fundamental challenge in industrial recommendation: unifying two complementary modeling paths. Wukong scales high-order non-sequence feature interactions (e.g., user demographics, item attributes, cross features) while HSTU scales long user-behavior sequence modeling. Prior architectures kept these paths separate. WHALE introduces layers where a Wukong module, an HSTU module, and an attention-based fusion module coexist. The fusion layer lets Wukong-derived interaction representations query HSTU-derived behavior representations, enabling progressive exchange of high-order feature crosses with fine-grained sequence evidence.

For practical deployment, the team designed custom Triton kernels and co-optimized the model-system interface to improve training and inference efficiency. On large-scale industrial data, WHALE achieves consistent offline improvements and positive online gains with only a modest serving-throughput trade-off. The architecture is already in production. This work provides a scalable blueprint for merging two critical sources of ranking signals, potentially influencing the next generation of recommendation systems.

Key Points
  • WHALE combines Wukong (non-sequence features) and HSTU (user behavior sequences) with attention-based fusion per layer.
  • Custom Triton kernels and model-systems co-design boost training and inference efficiency for industrial scale.
  • Deployed in production, it delivers positive online gains with only a modest throughput penalty.

Why It Matters

WHALE offers a proven, scalable template for unifying distinct feature pathways in production recommendation systems.

📬 Get the top 10 AI stories daily