Abstract
Points of interest (POI) recommendation has been drawn much attention recently due to the increasing popularity of location-based networks, e.g., Foursquare and Yelp. Among the existing approaches to POI recommendation, Matrix Factorization (MF) based techniques have proven to be effective. However, existing MF approaches suffer from two major problems: (1) Expensive computations and storages due to the centralized model training mechanism: the centralized learners have to maintain the whole user-item rating matrix, and potentially huge low rank matrices. (2) Privacy issues: the users' preferences are at risk of leaking to malicious attackers via the centralized learner. To solve these, we present a Decentralized MF (DMF) framework for POI recommendation. Specifically, instead of maintaining all the low rank matrices and sensitive rating data for training, we propose a random walk based decentralized training technique to train MF models on each user's end, e.g., cell phone and Pad. By doing so, the ratings of each user are still kept on one's own hand, and moreover, decentralized learning can be taken as distributed learning with multi-learners (users), and thus alleviates the computation and storage issue. Experimental results on two real-world datasets demonstrate that, comparing with the classic and state-of-the-art latent factor models, DMF significantly improvements the recommendation performance in terms of precision and recall.
Introduction
Location-based social networks (LBSNs) like Foursquare and Yelp rely heavily on Matrix Factorization (MF) to recommend Points of Interest (POIs) such as restaurants and hotels. Traditionally, these models are trained in a centralized manner: the platform aggregates all user-item interaction data on a central server to compute low-rank matrices.
However, this centralized approach faces significant hurdles. First, it requires massive computational and storage resources to manage the entire user-item rating matrix. Second, it creates a privacy bottleneck; users must surrender granular location histories to a central authority, making them vulnerable to data breaches or malicious insiders.
To address these issues, we propose Decentralized Matrix Factorization (DMF). In this framework, every user's device (e.g., smartphone) acts as an autonomous computing node, keeping sensitive data local while collaborating to build a global recommendation model.
Methodology
Decentralized Matrix Factorization (DMF)
The DMF framework treats each user as an individual learner. Instead of sending raw ratings to a server, users maintain their own local data and update their personal latent factors. To enable collaborative filtering without a central hub, users communicate with their neighbors in a "user adjacency graph" built on geographical proximity. This is based on the observation that POI check-ins are highly localized; users in the same city are more likely to share relevant preferences.
Random Walk Enhanced Communication
To ensure that users benefit from the broader community's knowledge beyond their immediate neighbors, we employ a random walk-based communication strategy. When a user interacts with a POI, the model update is propagated to higher-order neighbors (neighbors of neighbors) probabilistically.
As shown in the figure above, a random walk starting from node $i_0$ can reach direct neighbors (1st order) and their neighbors (2nd order). This allows the system to intelligently expand the collaborative network, capturing long-range dependencies without the exponential communication costs of a fully connected graph.
Privacy-Preserving Gradient Exchange
A critical challenge in decentralized systems is preventing peers from reverse-engineering a user's preferences from shared model updates. DMF solves this by splitting the latent factor for any item into two components: a global factor and a local factor. During training, users never share their raw ratings or personal latent factors. Instead, they compute the Stochastic Gradient Descent (SGD) loss locally and only exchange the gradients of the global item factors with their neighbors. This provides a robust layer of obfuscation, ensuring that sensitive check-in data remains private.
Experimental Evaluation
We evaluated DMF on two real-world datasets: Foursquare (a public benchmark) and Alipay (offline check-in records). The datasets were filtered and grouped by city to simulate the geographically clustered nature of real-world POI interactions.
Key Results
- Superior Accuracy: DMF consistently outperformed traditional centralized MF and Bayesian Personalized Ranking (BPR).
- Significant Gains: On the Alipay dataset, DMF improved Precision@5 by 27.75% and Recall@5 by 25.89% compared to standard centralized MF.
- Efficient Convergence: The model demonstrates steady convergence, typically reaching optimal performance within 100 to 200 epochs across both datasets.
Conclusion and Future Work
DMF offers a scalable, privacy-preserving alternative to centralized POI recommendation systems. By leveraging local computation and random walk-based communication, it achieves state-of-the-art accuracy while keeping user data secure on their own devices.
The primary limitation of the current approach is the storage overhead on mobile devices, as each user must store a portion of the global item latent matrix. Future work will explore model compression techniques, such as binary latent matrices, to reduce the memory footprint on edge devices without sacrificing recommendation quality.
Summary updated