Abstract
Samsung has integrated a high-performance semantic reasoning engine, RDFox, into its Galaxy S25 flagship via the new Personal Data Engine (PDE). This represents the largest-ever deployment of knowledge graph technology, bringing sophisticated, privacy-preserving AI personalization to millions of users by performing complex data integration and reasoning entirely on-device.
Introduction
Modern AI personalization—like tailored recommendations and daily briefings—typically relies on cloud-based processing. This creates a fundamental tension between user experience and privacy: to understand a user, a system needs their data, but moving that data off-device exposes it to security risks. Furthermore, personal data is fragmented across various apps, system logs, and media files. Integrating this heterogeneous data into a coherent "holistic view" in real-time is a massive computational challenge, especially within the power and thermal constraints of a smartphone.
System Architecture and Methods
The core of the solution is an Android-optimized build of RDFox, a centralized, main-memory RDF triple store and reasoning engine. The PDE architecture manages the flow from raw data collection to the delivery of personalized experiences.
The system utilizes several key technical components:
- Knowledge Representation: Data is stored in RDF graphs, with an ontology defined by OWL RL axioms and Datalog rules. This enables the system to "reason" and derive new facts from existing information.
- Incremental Reasoning: To maintain an updated knowledge graph during user interaction, the system uses an extension of the Delete rederive (DRED) algorithm. RDFox improves this by interleaving checks to avoid excessive deletion, ensuring high efficiency.
- Lock-Free Data Structures: RDFox utilizes patented "lock-free" data structures to exploit modern multi-core mobile processors, allowing for massive parallelization of reasoning and querying without performance bottlenecks.
- Optimized Querying: A SPARQL query engine uses sideways information passing to optimize complex joins by passing constraints between query plan segments.
The PDE also employs a hybrid AI pipeline, using Machine Learning and LLMs to extract structured information from unstructured sources (text and images), which are then integrated into the RDFox knowledge graph.
Key Insights
This deployment marks a significant milestone for semantic technology, proving that symbolic AI (rules and logic) can be performant enough for mass-market consumer electronics. By running everything encrypted on-device, the PDE guarantees privacy by design; data never leaves the phone.
A critical design choice is the use of a "fully materialized" graph. RDFox pre-calculates all possible inferences from the rules. While memory-intensive, this allows for near-instantaneous SPARQL query responses, essential for a smooth mobile user interface. This represents a "neuro-symbolic" approach in production: LLMs handle perception (turning images/text into triples), while RDFox handles precise reasoning and data integration.
Results and Deployment
The system is currently deployed on the Samsung Galaxy S25, reaching millions of users. It powers the "Now Brief" function, providing a personalized, context-aware briefing that updates dynamically throughout the day. The engine provides real-time answers to complex queries, avoiding the latency associated with cloud round-trips.
Conclusion and Future Work
While the current implementation demonstrates the feasibility of on-device reasoning, future work will likely address quantitative metrics regarding battery consumption and memory footprint. Samsung aims to expand the PDE and RDFox across its entire ecosystem, including tablets, wearables, and IoT devices, to provide a consistent, private, and personalized experience across the user's digital life.
Summary updated