General-Purpose User Embeddings based on Mobile App Usage

Junqi Zhang, Bing Bai, Ye Lin, Jian Liang, Kun Bai, Fei Wang

Introduction

User modeling serves as the cornerstone for personalized digital services, including recommendation systems and targeted advertising. While traditional approaches often rely on user interactions like clicks or purchases, mobile app usage data—encompassing app retention, installations, and uninstallations—offers a unique and comprehensive perspective on both long-term user interests and short-term behavioral shifts. However, effectively leveraging this data is challenging due to its inherent heterogeneity and irregularity.

Mobile app usage data consists of a temporal sequence of installation and uninstallation events alongside a static snapshot of currently retained apps.

Problem Statement

The researchers identify three primary hurdles in modeling app usage data:

  1. Heterogeneity: Data consists of static "retention" snapshots (what is currently on the phone) and dynamic "behavior sequences" (installs/uninstalls). These require different modeling paradigms.
  2. Irregularity: App behaviors are often "bursty." Unlike the steady flow of natural language, a user might download several apps in a single day followed by weeks of inactivity. Standard sequence models like RNNs struggle with these uneven intervals.
  3. Sparsity: While popular apps have massive user bases, millions of "long-tail" apps have very few users, making it difficult to learn robust representations for them.

The AETN Framework

To address these challenges, the authors propose the AutoEncoder-coupled Transformer Network (AETN). This hybrid architecture combines the strengths of Autoencoders for static state modeling and Transformers for sequential modeling.

The AETN architecture consists of a Retention Autoencoder coupled with a Transformer Encoder and Decoder, utilizing shared embeddings and a bottleneck layer for user representation.

Architectural Pillars

  • Retention Autoencoder: This component processes a multi-hot vector representing the user's currently installed apps. It compresses this state into a dense "user embedding" at the bottleneck layer, effectively capturing long-term preferences.
  • Transformer with Date Embeddings: To handle temporal irregularity, the model replaces standard positional encodings with absolute Date Embeddings. This allows the Transformer to distinguish between rapid-fire downloads and those spread over months.
  • Modified Multi-Head Self-Attention: AETN injects global context into the sequence modeling by concatenating the retention state (or bottleneck embedding) to the keys and values of every attention layer. This ensures that every individual install or uninstall action is interpreted within the context of the user's overall profile.
  • Weight Tying and Category Awareness: To mitigate data sparsity, the model employs weight tying across the pipeline. Additionally, app embeddings are constructed by combining App IDs with Category IDs, allowing rare apps to inherit semantic information from their broader categories.

Experimental Evaluation

The model was trained on a massive industrial dataset from Tencent, comprising 20 million users and 500 million records over a six-month period (July–December 2019). The vocabulary included over 10,000 unique apps.

Key Results

  • Offline Performance: AETN demonstrated superior predictive power, outperforming Denoising Autoencoders (DAE) by 0.0631 in AUC for next-week installation prediction. It also significantly outperformed a "vanilla" Transformer (V-AETN), validating the necessity of the architectural modifications.
  • Online Impact: In production environments within Tencent Mobile Manager and Tencent Wi-Fi Manager, AETN embeddings led to a 5.96% increase in Click-Through Rate (CTR) and an 8.14% increase in user stay time.

Conclusion and Future Work

AETN provides a robust framework for generating universal user embeddings from heterogeneous mobile data. While the model shows significant gains, the authors note challenges regarding computational costs for billion-user scales and "embedding drift" during model updates. Future research will focus on fine-tuning the Transformer encoder for specific downstream tasks to further enhance personalization.

Summary updated

BibTeX
@inproceedings{zhang2020general,
  author = {Junqi Zhang and Bing Bai and Ye Lin and Jian Liang and Kun Bai and Fei Wang},
  title = {{General-Purpose User Embeddings based on Mobile App Usage}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2020},
  doi = {10.1145/3394486.3403334},
}
Figure