A Context-Aware Recommendation System for Mobile Devices

Jaehun Lee, Taeho Hwang, Jungho Park, Yunsu Lee, Boris Motik, Ian HorrocksISWC (Demos/Industry) 2020

Introduction

Traditional recommendation systems, such as those used by Netflix or Amazon, typically operate on a client-server model. While effective, this architecture necessitates the transfer of sensitive personal data to cloud servers, raising significant privacy concerns. Furthermore, the "context" utilized by these systems is often superficial, limited to basic sensor data like GPS or time, due to the bandwidth and privacy costs of uploading more granular information.

Researchers from Samsung and the University of Oxford have proposed a paradigm shift: an on-device recommendation system that leverages semantic reasoning. By utilizing a high-performance graph database (RDFox) directly on a smartphone, the system can process rich, private local data—such as emails, SMS, and calendar events—to provide highly personalized suggestions without compromising user privacy.

System Architecture

The proposed system is built around a local Knowledge Graph (KG) and a reasoning engine that operates entirely within the mobile environment.

Architecture of the on-device context-aware recommendation system.

As illustrated in the architecture, the system populates its Knowledge Graph from three primary sources:

  1. On-Device Data: Contextual information extracted from local applications (contacts, emails, SMS, calendar) using template-based techniques.
  2. Demographic Analysis: Domain knowledge derived from the user's profile and interests.
  3. Knowledge Resources: External commonsense and background knowledge from open-source repositories like Wikidata, ConceptNet, and SenticNet.

The core of the system is the RDFox reasoning engine. Unlike deep learning models that require extensive training, this reasoning-based approach uses logical rules to "materialize" triples—pre-calculating logical conclusions from the integrated data sources. This allows the system to respond to SPARQL queries near-instantly, even as the user's context changes.

Evaluation and Results

The researchers evaluated the system's performance and quality using a Samsung Galaxy Note 9 (Exynos 9810, 6GB RAM).

Performance Benchmarking

Using the Lehigh University Benchmark (LUBM) datasets, the system demonstrated remarkable efficiency. Even with a dataset containing 1 million triples, the materialization phase (the system's "thinking" process) took less than one second. Most subsequent queries were answered in under 1ms, with the slowest query recorded at 116ms. Additionally, the system handled incremental updates to the data in just a few milliseconds, ensuring the recommendations remain current with the user's activities.

User Satisfaction

A subjective study involving 30 participants compared the context-aware system against a baseline system using the standard Alternating Least Square (ALS) algorithm. The results indicated a significant preference for the reasoning-based approach, which received average ratings 73% higher than the baseline.

Key Advantages and Future Directions

The shift toward on-device reasoning offers several distinct advantages:

  • Efficiency: Reasoning-based systems are computationally economical, requiring far less power than GPU-intensive neural networks, making them ideal for mobile hardware.
  • Cold-Start Mitigation: By applying logical rules to commonsense knowledge (e.g., suggesting leisure content during a holiday), the system can provide relevant recommendations even for new users with limited history.
  • Explainability: Unlike "black box" machine learning models, this system follows explicit logical rules, allowing it to provide clear explanations for its recommendations.

While the current implementation is robust, the authors acknowledge the memory constraints of mobile devices. Future work involves developing a client-server hybrid architecture. In this model, the on-device reasoner would manage sensitive personal context, while a server would provide access to massive, non-sensitive domain knowledge. The researchers also plan to integrate this technology into voice assistants to enable more personalized and contextually aware interactions.

Summary updated

BibTeX
@inproceedings{lee2020context,
  author = {Jaehun Lee and Taeho Hwang and Jungho Park and Yunsu Lee and Boris Motik and Ian Horrocks},
  title = {{A Context-Aware Recommendation System for Mobile Devices}},
  booktitle = {ISWC (Demos/Industry)},
  year = {2020},
}
Figure