USE: Dynamic User Modeling with Stateful Sequence Models

Zhihan Zhou, Qixiang Fang, Leonardo Neves, Francesco Barbieri, Yozen Liu +3 more
3/20/2024
cs.SIcs.AIcs.CL

No official code found. Best implementation: snap-research/USE (7 stars, last commit 2024-04-17).

Abstract

User embeddings play a crucial role in user engagement forecasting and personalized services. Recent advances in sequence modeling have sparked interest in learning user embeddings from behavioral data. Yet behavior-based user embedding learning faces the unique challenge of dynamic user modeling. As users continuously interact with the apps, user embeddings should be periodically updated to account for users' recent and long-term behavior patterns. Existing methods highly rely on stateless sequence models that lack memory of historical behavior. They have to either discard historical data and use only the most recent data or reprocess the old and new data jointly. Both cases incur substantial computational overhead. To address this limitation, we introduce User Stateful Embedding (USE). USE generates user embeddings and reflects users' evolving behaviors without the need for exhaustive reprocessing by storing previous model states and revisiting them in the future. Furthermore, we introduce a novel training objective named future W-behavior prediction to transcend the limitations of next-token prediction by forecasting a broader horizon of upcoming user behaviors. By combining it with the Same User Prediction, a contrastive learning-based objective that predicts whether different segments of behavior sequences belong to the same user, we further improve the embeddings' distinctiveness and representativeness. We conducted experiments on 8 downstream tasks using Snapchat users' behavioral logs in both static (i.e., fixed user behavior sequences) and dynamic (i.e., periodically updated user behavior sequences) settings. We demonstrate USE's superior performance over established baselines. The results underscore USE's effectiveness and efficiency in integrating historical and recent user behavior sequences into user embeddings in dynamic user modeling.

View on arXivView PDF

Code Implementations(1)

snap-research/USECommunity100%

USE: Dynamic User Modeling with Stateful Sequence Models

72PythonApr 11, 20242 years ago
behavior-modelingrecommendationsequence-modelstransformer

Similar Papers

Cite this paper

@article{zhou2024use,
  title  = {USE: Dynamic User Modeling with Stateful Sequence Models},
  author = {Zhihan Zhou and Qixiang Fang and Leonardo Neves and Francesco Barbieri and Yozen Liu and Han Liu and Maarten W. Bos and Ron Dotsch},
  year   = {2024},
  eprint = {2403.13344},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.13344v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.13344.svg)](https://codeofpaper.com/paper/2403.13344)

Discussion