TL;DR
Smartphone app usage prediction usually relies on rigid, scenario-specific models that struggle to generalize across different types of user contexts. This paper introduces CoSEM, a novel neural framework that jointly embeds a user's historical app usage and diverse semantic information (like search queries, tasks, or locations) to accurately predict which set of apps they will open next. By using a Dual-DNN architecture with point-wise multiplication, CoSEM achieves state-of-the-art performance across three highly varied real-world datasets.
What Problem Does This Paper Address?
Predicting which apps a user will open next is crucial for smartphone optimization—it allows operating systems to preload apps, improve user experience, and manage battery consumption. However, app usage is highly dependent on a user's current situation, which can be represented by vastly different types of data: sometimes it's a GPS location, sometimes it's a search query, and sometimes it's a calendar task.
Existing prediction models are usually custom-built for one specific type of context (e.g., a model designed exclusively for Point-of-Interest location data) or require heavy, domain-specific feature engineering. The authors tackle the challenge of creating a generalized prediction model that can seamlessly ingest whatever semantic context is available, combine it with the user's historical app habits, and accurately predict the next set of apps without compromising performance.
Methods
The authors propose CoSEM (Contextual and Semantic Embedding). Note that the paper uses specific terminology: Contextual information refers to the user's historically used apps, while Semantic information refers to the user's current intent or condition (e.g., search queries, location, time).
The architecture consists of three main components:
- Semantic Information Embedding: Takes chunks of available semantic data (e.g., words in a query, location IDs), maps them to low-dimensional dense vectors using an embedding lookup table, and summarizes them into a single vector.
- Contextual Information Embedding: Takes the last $n$ apps the user recently opened, maps them to dense vectors, and summarizes them.
- Dual-DNN: Instead of simply concatenating the semantic and contextual vectors (which treats them independently), CoSEM feeds them into two parallel Deep Neural Networks. The outputs are then merged using a Hadamard product (point-wise multiplication). This forces the network to learn the deep, interactive relationship between what the user is doing (semantics) and what they usually use (context). Finally, a sigmoid layer predicts the probability of a set of apps being used.
Datasets
To prove the model's generalizability, the authors evaluated CoSEM on three real-world datasets, each featuring entirely different semantic information:
- CPS-Task Dataset: 53 users and ~6.3k instances. Semantic feature: Text-based task descriptions (e.g., "travel from work").
- ISTAS Dataset: 255 users. Semantic feature: Search queries (e.g., "grocery store").
- China Telecom Dataset: A subset of 1,000 users. Semantic feature: Spatio-temporal data (base station ID and hour of the day).
Key Insights and Ideas
- Generalizability is achievable: You don't need a bespoke model for location data and a completely different one for search queries. A shared embedding approach can standardize diverse semantic inputs into a format a single neural network can use effectively.
- Point-wise multiplication beats concatenation: Using the Hadamard product to fuse semantic and contextual vectors is highly effective. It builds a joint representation that captures the intersection of a user's habits and their current situation better than simply stacking the features side-by-side.
- History is king, but semantics wear the crown: Ablation studies showed that removing historical app usage tanked the model's performance drastically. However, adding the semantic information is what pushes the model past existing state-of-the-art baselines.
- Resilience to dataset size: Heavy baseline models like Appusage2Vec require massive datasets (thousands of users) to perform well. CoSEM, by contrast, achieves high accuracy even on the small CPS-Task dataset (only 53 users).
Key Results
CoSEM was evaluated using Mean Reciprocal Rank (MRR@5) and Hit Rate (H@5), predicting the top 5 apps a user might open. It consistently outperformed baselines (MRU, NTAS2, CNTAS, Appusage2Vec) across all datasets.
- CPS-Task: Achieved an MRR of 0.868 and a Hit Rate of 0.958 (massively outperforming Appusage2Vec's MRR of 0.400).
- ISTAS: Achieved an MRR of 0.571 and a Hit Rate of 0.751.
- China Telecom: Achieved an MRR of 0.557 and a Hit Rate of 0.719.
Limitations and Future Work
- Limitations: The authors note in their preprocessing steps that they had to filter out users with fewer than 5 records, as well as rare apps used fewer than 10 times. This implies the model likely struggles with the "cold start" problem—it requires a baseline of historical data to make accurate predictions for new users or niche applications.
- Future Work: Specific directions for future work are not discussed in the paper.
Summary updated