AppGen: Mobility-aware App Usage Behavior Generation for Mobile Users

Zihan Huang, Tong Li, Yong LiarXiv 2024 · OpenReview

Abstract

Mobile app usage behavior reveals human patterns and is crucial for stakeholders, but data collection is costly and raises privacy issues. Data synthesis can address this by generating artificial datasets that mirror real-world data. In this paper, we propose AppGen, an autoregressive generative model designed to generate app usage behavior based on users' mobility trajectories, improving dataset accessibility and quality. Specifically, AppGen employs a probabilistic diffusion model to simulate the stochastic nature of app usage behavior. By utilizing an autoregressive structure, AppGen effectively captures the intricate sequential relationships between different app usage events. Additionally, AppGen leverages latent encoding to extract semantic features from spatio-temporal points, guiding behavior generation. These key designs ensure the generated behaviors are contextually relevant and faithfully represent users' environments and past interactions. Experiments with two real-world datasets show that AppGen outperforms state-of-the-art baselines by over 12% in critical metrics and accurately reflects real-world spatio-temporal patterns. We also test the generated datasets in applications, demonstrating their suitability for downstream tasks by maintaining algorithm accuracy and order.

Introduction

Mobile app usage data is a goldmine for smartphone manufacturers, network operators, and developers, facilitating optimizations in battery life, network traffic management, and personalized recommendations. However, this data is notoriously difficult to obtain due to high collection costs and significant privacy and legal concerns. While data synthesis—creating statistically accurate "fake" data—is a promising solution, existing models struggle with the inherent uncertainty of human behavior, the intricate sequential dependencies between app events, and the contextual complexity where usage is deeply tied to the "where" and "when."

Methodology: The AppGen Framework

AppGen addresses these challenges by integrating a Conditional Diffusion Model within an Autoregressive framework. Unlike traditional GAN-based approaches, AppGen generates app usage events sequentially. The $i$-th generated app becomes part of the historical context used to predict the $(i+1)$-th app, effectively capturing sequential dependencies.

The graphical framework of the forward and reverse processes of the diffusion models.

The core engine of AppGen is a probabilistic diffusion model, which learns to reverse a process of adding Gaussian noise to data. This approach is superior for modeling the stochasticity of human choice compared to deterministic models. To incorporate contextual information, AppGen utilizes:

  • Latent Encoding: Word2Vec creates embeddings for apps based on co-usage patterns.
  • Urban Knowledge Graph (UKG): Locations are mapped to semantic entities (e.g., "Workplace," "Shopping Mall") using a knowledge graph and tensor factorization, providing a richer context than raw GPS coordinates.
  • Historical Feature Extraction: A self-attention mechanism with a sliding window allows the model to leverage recent user behavior to inform current generation.

Experimental Evaluation

The model was evaluated on two large-scale, real-world datasets: the Shanghai Dataset (2016), covering ~11,000 users, and the Nanchang Dataset (2022), covering ~2,000 users.

Key Insights and Results

AppGen demonstrated superior performance, outperforming state-of-the-art baselines like CSDI and TimeGAN by over 12% across multiple metrics, including RMSE and Jensen-Shannon Divergence. A key insight is that location is semantic; by understanding the type of Point of Interest (POI) a user is near, the model can more accurately predict relevant app categories.

Distribution of app usage categories across different Point of Interest (POI) categories.

Furthermore, synthetic data from AppGen proved to be a high-quality proxy for real data. In practical tests, app usage prediction algorithms trained on AppGen's synthetic data maintained the same performance rankings as those trained on real data. Interestingly, augmenting real training data with AppGen-synthetic data improved predictive performance, highlighting the model's ability to capture underlying behavioral distributions.

Conclusion and Future Work

AppGen provides a robust framework for synthesizing realistic app usage data conditioned on mobility trajectories. While highly effective, the model currently depends on pre-existing trajectory data. Future research will explore the simultaneous generation of both mobility and app usage patterns and address the "cold start" problem for new apps and locations that were not present in the training set.

Summary updated

BibTeX
@misc{huang2024appgen,
  author = {Zihan Huang and Tong Li and Yong Li},
  title = {{AppGen: Mobility-aware App Usage Behavior Generation for Mobile Users}},
  year = {2024},
  eprint = {2412.07267},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.07267},
}
Figure