A Knowledge Graph based Approach for Mobile Application Recommendation

Mingwei Zhang, Jiawei Zhao, Hai Dong, Ke Deng, Ying Liu

Introduction

With millions of applications available on platforms like Google Play, users often struggle to discover relevant software, while developers find it increasingly difficult to reach their target audience. This "long tail" problem is typically addressed by recommendation systems. However, traditional approaches like Collaborative Filtering (CF) frequently fail due to data sparsity—the reality that most users interact with only a tiny fraction of available apps.

While some systems attempt to incorporate "side information" (such as app categories or developer details) as isolated features, this paper argues for a more integrated approach. The authors introduce the Knowledge Graph Convolutional Embedding Propagation (KGEP) model, which organizes app metadata into a unified Knowledge Graph (KG) to capture complex, multi-hop relationships between users, apps, and their attributes.

The KGEP Framework

The KGEP model is an end-to-end framework consisting of four primary stages: graph construction, initial embedding, convolutional propagation, and final prediction.

The four-stage architecture of the KGEP model, from graph construction to final prediction.

1. ARKG Construction

The process begins by building an "App Recommendation Knowledge Graph" (ARKG). This graph incorporates 13 types of entities (e.g., User, App, Category, Provider) and 18 types of relations. A key innovation here is the use of Latent Dirichlet Allocation (LDA) to process app "Readme" texts. By converting these descriptions into "Content-Topic" entities, the model can link apps based on latent textual themes rather than just explicit metadata.

2. General KG Embedding

To map these entities into a continuous vector space, the authors employ TransD, a translation-based embedding technique. This stage captures "first-order" structures—direct facts such as (App A, DevelopedBy, Company X). These embeddings provide the foundational representation for the subsequent layers.

3. Convolutional Embedding Propagation

This stage is the model's "secret sauce." Inspired by Graph Convolutional Networks (GCNs), this layer recursively aggregates information from an entity’s neighbors. While standard embeddings capture direct links, propagation allows the model to understand "high-order" structures. For example, if a user likes "Action Games" (first-order), and those games are produced by a "Provider" known for "High-Quality" content (high-order), the model can propagate this context to improve recommendations.

The mechanism of convolutional embedding propagation, showing (a) single-step aggregation and (b) multi-hop propagation across the graph.

As shown in Figure 2, the model uses a personalized attention-like mechanism to weight neighbors differently based on the specific user’s interests, ensuring that the most relevant context is prioritized during aggregation.

4. Prediction and Learning

Finally, the model combines the direct TransD embeddings with the propagated GCN embeddings. It calculates a matching score between a user and an app using an inner product, optimized via a binary cross-entropy loss function.

Experimental Evaluation

The researchers evaluated KGEP using a real-world dataset crawled from Google Play, consisting of 12,802 users, 4,539 apps, and nearly 200,000 rating observations. The dataset was highly sparse (0.341%), providing a rigorous test for the model's ability to handle limited interaction data.

Key Results

KGEP was compared against several baselines, including User-based Collaborative Filtering (UserCF), Bayesian Personalized Ranking Matrix Factorization (BPR-MF), and Neural Factorization Machines (NFM).

  • Superior Accuracy: KGEP consistently outperformed all baselines across Recall, Precision, and MAP (Mean Average Precision).
  • Ranking Performance: The model showed its most significant gains in MAP@10, achieving a score of 3.853%—nearly triple the performance of the next best baseline, BPR-MF (1.309%). This indicates that KGEP is exceptionally effective at placing the most relevant apps at the top of the recommendation list.
  • Optimal Embedding Size: Experiments revealed that an embedding size of 16 provided the best balance between performance and computational efficiency, with higher dimensions leading to potential overfitting.

Conclusion and Future Work

The KGEP model demonstrates that treating side information as an interconnected Knowledge Graph significantly mitigates the sparsity problem in app recommendations. By combining first-order translation embeddings with high-order convolutional propagation, the model uncovers latent user-app connections that traditional methods miss.

Future work includes exploring the model's generalizability to other domains, such as recommending Web APIs for software mashups, and optimizing the computational cost associated with training high-dimensional translation embeddings.

Summary updated

BibTeX
@inproceedings{zhang2020knowledge,
  author = {Mingwei Zhang and Jiawei Zhao and Hai Dong and Ke Deng and Ying Liu},
  title = {{A Knowledge Graph based Approach for Mobile Application Recommendation}},
  booktitle = {ICSOC},
  year = {2020},
  doi = {10.1007/978-3-030-65310-1\_25},
}
Figure