Appformer: A novel framework for mobile app usage prediction leveraging progressive multi-modal data fusion and feature extraction

Chuike Sun, Junzhou Chen, Yue Zhao, Hao Han, Ruihai Jing, Guang Tan, Di Wu

TL;DR

Appformer is a state-of-the-art Transformer-based framework designed to predict which mobile app a user will open next. By employing a "progressive" multi-modal fusion strategy and specialized K-Modes clustering for location data, it effectively synthesizes user habits, time, and spatial context to outperform existing models by up to 7.89% in prediction accuracy.

What Problem Does This Paper Address?

Predicting mobile app usage is a "holy grail" for personalized user experiences, enabling everything from smarter battery management to proactive app suggestions. However, the task is notoriously difficult because the underlying data is:

  1. Multi-modal: It involves timestamps (time), base station IDs (space), user profiles, and historical sequences.
  2. Sparse and High-Dimensional: Users only use a fraction of available apps, and location data is often discrete and noisy.
  3. Privacy-Sensitive: Using raw GPS coordinates is a privacy risk, forcing researchers to rely on coarser base station data.

Traditional models (like LSTMs or simple MLPs) often struggle to extract deep features from these disparate sources or fail to capture the complex interplay between where you are and what time it is when you decide to open an app.

Methods

The authors introduce Appformer, which consists of two primary synergistic components:

1. Multi-Modal Data Progressive Fusion Module

Instead of simply "crunching" all data together (concatenation), Appformer uses a phased approach:

  • Encoding: App sequences and User IDs are converted into continuous vectors via word embeddings. Time is decomposed into five units (month, day, weekday, hour, minute) and embedded.
  • K-Modes Clustering: To handle location data privately and effectively, the authors use K-Modes clustering on Points of Interest (POI) data associated with base stations. This groups locations by their functional "vibe" (e.g., a business district vs. a residential area).
  • Progressive Fusion: Using Cross-Modal Attention, the model first fuses user and app data, then integrates the POI (spatial) features, and finally adds the temporal features. This step-by-step synthesis prevents information overload and highlights relevant context.

2. Feature Extraction Module

This module adopts a classic Encoder-Decoder architecture inspired by the original Transformer:

  • Encoder: Processes the fully fused multi-modal representation to capture complex dependencies.
  • Decoder: Interestingly, the authors found that the Decoder performs best when fed a specific subset of data (fused app and POI vectors). This avoids the "noise" of redundant data and focuses the model on the most discriminative signals for the final prediction.

Datasets

The model was evaluated using a real-world dataset from Shanghai, China, collected over one week in April 2016.

  • Scale: Includes anonymous user IDs, timestamps, base station IDs, and app usage records.
  • Context: Every base station is mapped to a 17-dimensional POI vector (covering categories like "Catering," "Hotels," and "Shopping") to provide environmental context without compromising exact user coordinates.

Key Insights and Ideas

  • The Power of "Progressive" Fusion: The "aha moment" here is that more data isn't always better if it's integrated poorly. By fusing modalities sequentially through attention mechanisms, the model learns the relationship between a user and an app before adjusting that relationship based on the current location and time.
  • K-Modes > K-Means for POIs: Since POI data is categorical and discrete, standard K-Means often produces irrational cluster centers. K-Modes proved superior at identifying distinct functional zones in the city, which significantly boosted spatial prediction accuracy.
  • Decoder Input Optimization: The researchers discovered that feeding the entire fused dataset into the Decoder actually hindered performance. The Decoder is most effective when it receives a streamlined "context" (App + POI), likely because app sequences are highly repetitive and the spatial context provides the necessary "nudge" to break ties.

Key Results

Appformer achieved State-of-the-Art (SOTA) results across multiple metrics when compared to baselines like GRU4Rec, DeepApp, and DUGN:

  • Hit@1 Accuracy: Reached 31.92%, representing a significant improvement of 4.75% to 7.89% over previous top-performing models.
  • Hit@5 Accuracy: Reached 61.05%, meaning the correct app was in the model's "Top 5" list over 60% of the time.
  • Robustness: Ablation studies confirmed that removing either the Time encoding (T) or the POI clustering (K) led to a measurable drop in performance, validating the multi-modal approach.

Limitations and Future Work

  • Computational Intensity: Transformer architectures are resource-heavy. Frequent model updates to account for evolving user habits could demand substantial GPU power.
  • Cold Start Problem: The paper does not deeply explore how the model handles entirely new users or apps with zero history (a common challenge in recommendation systems).
  • Static POIs: The current model treats POI data as static. Future work could involve dynamic environmental data (like weather or local events) to further refine predictions.
  • Real-time Adaptation: The authors suggest that future iterations should focus on making the model more adaptable to the "ever-changing digital ecosystem" in real-time.

Summary updated

BibTeX
@article{sun2025appformer,
  author = {Chuike Sun and Junzhou Chen and Yue Zhao and Hao Han and Ruihai Jing and Guang Tan and Di Wu},
  title = {{Appformer: A novel framework for mobile app usage prediction leveraging progressive multi-modal data fusion and feature extraction}},
  journal = {Expert Systems with Applications},
  year = {2025},
  doi = {10.1016/j.eswa.2024.125903},
}
Figure