Practice on Long Behavior Sequence Modeling in Tencent Advertising

Xian Hu, Ming Yue, Zhixiang Feng, Junwei Pan, Junjie Zhai, Ximei Wang, Xinrui Miao, Qian Li, Xun Liu, Shangyu Zhang, Letian Wang, Hua Lu, Zijian Zeng, Chen Cai, Wei Wang, Fei Xiong, Pengfei Xiong, Jintao Zhang, Zhiyuan Wu, Chunhui Zhang, Anan Liu, Jiulong You, Chao Deng, Yuekui Yang, Shudong Huang, Dapeng Liu, Haijie GuarXiv 2025 · OpenReview

In online advertising, predicting user intent relies heavily on historical behavior. However, while users consume content (videos, articles) frequently, direct interactions with ads are sparse. This sparsity hinders the construction of long behavioral sequences necessary for capturing long-term preferences. Tencent researchers addressed this by building "unified commercial behavior trajectories" that integrate data across diverse scenarios and domains.

The Challenge of Sparse Ad Data

Most recommendation systems focus on short-term history. Long-sequence modeling (looking back months or years) is more effective but difficult when ad-click data is limited. Tencent's solution involves aggregating behaviors from WeChat Moments, Channels, and Tencent News, spanning both content and advertising domains.

Dimensions of unified commercial behavior trajectories across types, periods, and domains.

This integration introduces three primary challenges:

  1. Inter-field Interference: Mixing heterogeneous actions (e.g., a video "like" vs. an ad "click") creates noise.
  2. Target-wise Interference: Different interests decay at different rates; a global temporal model fails to capture these nuances.
  3. System Bottlenecks: Processing 10,000+ items in real-time creates significant memory-access constraints.

Proposed Framework: Search and Modeling

The researchers developed a two-stage framework to handle these challenges effectively.

1. The Search Stage (Retrieval)

To find relevant past behaviors even without exact matches, they implemented Hierarchical Hard Search, which traverses taxonomy hierarchies (e.g., from "Red Wine" up to "Alcohol"). Additionally, they introduced DARE (Decoupled Attention and Representation Embeddings). Standard models often use the same embedding for both attention and representation, leading to parameter conflict. DARE separates these functions to improve learning stability.

2. The Modeling Stage (Ranking)

The modeling stage utilizes several "decoupling" innovations to mitigate interference:

  • DSI-TIN (Decoupled Side Info Temporal Interest Network): Processes features like temporal info and action types through separate attention modules to reduce cross-feature noise.
  • Target-Decoupled Positional Encoding: Learns specific temporal decay patterns for different target categories rather than applying a uniform decay.
  • Stacked TIN (STIN): A multi-layer architecture capturing high-order correlations between behaviors in different scenarios.
Target-aware architecture for decoupled attention and representation.

System Optimizations

Scaling to sequences of tens of thousands required significant engineering. The team implemented Incremental-Exchange, which swaps embedding parameters between RAM and GPU based on usage frequency, and moved pre-processing to the GPU to eliminate CPU bottlenecks.

Key Results and Business Impact

The framework was deployed on Tencent's large-scale advertising platforms with significant success:

  • GMV Lift: An overall 4.22% GMV increase in WeChat Channels and 1.96% in WeChat Moments.
  • Model Performance: Offline tests on the Alipay dataset showed a 1.1% AUC lift over vanilla baselines.
  • Efficiency: The optimized platform maintained its resource footprint while improving performance by 3-5x, despite a 100x increase in sparse features.

Conclusion

Tencent’s approach demonstrates that content behavior is a vital bridge for overcoming ad-data sparsity. By mapping diverse behaviors to a Standard Product Unit (SPU) and employing decoupling techniques to manage interference, they successfully modeled long-term user interests at a massive scale. Future work will explore more granular cross-domain alignment and generative recommendation tasks.

Summary updated

BibTeX
@misc{hu2025practice,
  author = {Xian Hu and Ming Yue and Zhixiang Feng and Junwei Pan and Junjie Zhai and Ximei Wang and Xinrui Miao and Qian Li and Xun Liu and Shangyu Zhang and Letian Wang and Hua Lu and Zijian Zeng and Chen Cai and Wei Wang and Fei Xiong and Pengfei Xiong and Jintao Zhang and Zhiyuan Wu and Chunhui Zhang and Anan Liu and Jiulong You and Chao Deng and Yuekui Yang and Shudong Huang and Dapeng Liu and Haijie Gu},
  title = {{Practice on Long Behavior Sequence Modeling in Tencent Advertising}},
  year = {2025},
  eprint = {2510.21714},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.21714},
}
Figure