TL;DR
Conventional user representation models fail to capture the complex, multi-source nature of mobile device interactions. This paper introduces CM-PTM, a pre-training framework that models device-level behavior across heterogeneous sources using a hierarchical, cascaded "mask-then-predict" approach. By progressively predicting intent from the high-level source down to fine-grained app actions, CM-PTM significantly boosts downstream mobile game recommendation performance in real-world industrial settings.
What Problem Does This Paper Address?
Most existing user behavior pre-training models assume a clean, single-source sequence of actions (like clicks on an e-commerce site). However, real-world mobile user behavior is messy, distributed across multiple apps, and inherently multi-granular.
The authors identify two major challenges in device-level user modeling:
- The Volume-Granularity Mismatch: Due to privacy constraints, mobile operating systems observe fine-grained interactions within system-level apps (e.g., searches in the App Store or Browser) but can only see coarse-grained events (e.g., launch, install, uninstall) for third-party apps. Crucially, interactions with third-party apps are far more frequent, creating an asymmetric data landscape.
- Cross-Source Intent Fragmentation: A user's true intent often spans multiple platforms. For instance, a user might see a game ad on a third-party app, search for it in a browser, and view it in the App Store before deciding whether to download it.
Directly flattening these diverse behaviors into a single chronological sequence destroys local continuity and ignores structural distinctions, leading to suboptimal user representations.
Methods
To tackle these challenges, the authors propose the Cross Multi-source Behavior Pre-Training Model (CM-PTM), which splits the problem into two core components:
1. Multi-Granularity User Model
Instead of merging all behaviors into one sequence, CM-PTM organizes sequences by their respective data sources (e.g., third-party GameApps, App Store, Game Center). It utilizes two distinct attention mechanisms:
- Granularity-Aware Self-Attention (GASA): Captures behavioral correlations and local continuity within a single source.
- Cross-Granularity Fusion Attention (CGFA): Uses multi-head cross-attention to integrate macro-level patterns from coarse-grained behaviors with micro-level insights from fine-grained system logs.
2. Cross-Source Cascaded Prediction
Instead of standard parallel multi-task learning, CM-PTM introduces a hierarchical decision structure that mirrors natural human behavior. It breaks next-behavior prediction into two sequential phases:
- Inter-Source Phase ($T_1$): Predicts which source the user will interact with next (e.g., opening the App Store).
- Intra-Source Phase ($T_2 \rightarrow T_3 \rightarrow T_4$): Progressively refines the prediction within that source—first predicting the App category ($T_2$), then the specific App ID ($T_3$), and finally the exact operation type ($T_4$, such as install or launch).
Each stage propagates a differentiable task state to the next, reducing the search space and mitigating label noise caused by cross-source ambiguity.
Datasets
The model was trained and evaluated on large-scale, anonymized, real-world industrial datasets provided by OPPO:
- Pre-training Dataset: Collected over a one-week period in July 2023, containing data from nearly 1.95 million users, over 83,000 apps, and hundreds of millions of behavioral events across third-party apps, the App Store, and Game Center.
- Downstream Datasets: Six distinct mobile game recommendation tasks ($G_1$ to $G_6$) designed around popular blockbuster games. These tasks covered three distinct marketing scenarios: attracting new users for old games, attracting old users for old games, and attracting new users for new games.
Key Insights and Ideas
- Cascading Beats Parallelism: Decomposing next-behavior prediction into a hierarchical tree (Source $\rightarrow$ Category $\rightarrow$ App $\rightarrow$ Action) performs significantly better than predicting all attributes simultaneously. It enforces a logical prior that prevents the model from making fine-grained predictions detached from high-level intent.
- Generative > Discriminative for Cross-Source Data: The authors found that generative pre-training methods (like mask-then-predict) generally outperform discriminative methods (like contrastive learning) in this domain. Contrastive learning relies heavily on data augmentation (masking/replacing actions), which easily disrupts fragile cross-source correlations (e.g., replacing an App Store search with a third-party app launch breaks the semantic chain).
Key Results
CM-PTM was evaluated against strong baselines including Bert4Rec, PeterRec, and MAFN.
- Offline Evaluation: CM-PTM achieved significant improvements across downstream tasks, showing an AUC gain of up to 2.85% over the best baseline models.
- Online A/B Testing: Deployed on OPPO's production mobile game recommendation system serving millions of active users, CM-PTM improved AUC by 1.28% and [email protected] by 1.07% compared to the production baseline (DeepFM), proving its practical viability in large-scale industrial environments.
Limitations and Future Work
While CM-PTM effectively captures relative sequential order within short-term windows using positional embeddings, it currently lacks an explicit time-aware mechanism. It treats a gap of 5 minutes and a gap of 5 days between actions identically if they are adjacent in the log. The authors note that incorporating absolute temporal encoding to capture time intervals is a promising direction for future iterations of device-level pre-training.
Summary updated