Introduction
Point-of-Interest (POI) recommendation systems are essential for modern location-based services, helping users discover relevant venues based on their history. However, traditional approaches rely on Centralized Matrix Factorization (MF), which requires users to upload sensitive location histories to a central server. This centralized model introduces significant privacy risks, high resource demands for the service provider, and potential efficiency bottlenecks as the user base scales. This paper introduces Decentralized Matrix Factorization (DMF), a framework that allows recommendation models to be trained directly on users' devices without ever uploading sensitive raw data.
The Decentralized Matrix Factorization (DMF) Framework
The DMF framework treats each user's device (e.g., a smartphone) as an autonomous learner. Instead of a central authority collecting all check-in data, each device maintains its own data and local model parameters, collaborating with others to improve the global recommendation quality.
Key Technical Components
To maintain high recommendation accuracy without centralized data, DMF incorporates several novel strategies:
- Geographically-Aware Communication: Recognizing that POI activity is inherently localized (e.g., users typically visit venues within their own city), DMF constructs a "user adjacent graph" based on geographical proximity. Devices only communicate with nearby neighbors, which significantly reduces bandwidth requirements and aligns with real-world mobility patterns.
- Random Walk Gradient Exchange: To prevent the model from becoming too localized and to capture broader collaborative filtering effects, DMF uses a random-walk-based protocol. This allows a device to intelligently select and collaborate with "higher-order" neighbors (neighbors of neighbors), expanding the learning context without flooding the network.
- Privacy-Preserving Decomposition: Users decompose their item preferences into a global factor (common trends) and a local factor (personal preferences). Only the gradients of the global factor are exchanged with neighbors. This ensures that raw check-in data and specific latent factors remain private on the device, making it extremely difficult for malicious actors to reconstruct a user's history.
Experimental Evaluation
The DMF framework was evaluated using two large-scale real-world datasets: Foursquare (user check-ins across 117 cities) and Alipay (offline merchant check-ins across 298 cities).
Performance and Scalability
DMF consistently outperformed both traditional centralized MF and the state-of-the-art Bayesian Personalized Ranking (BPR) model. On the Alipay dataset, DMF achieved a 27.75% improvement in Precision@5 and a 25.89% improvement in Recall@5 compared to standard MF. Furthermore, complexity analysis confirms that communication and computation costs scale linearly with the training data size, making the system highly scalable for massive user networks.
Convergence and Neighborhood Effects
Despite the decentralized nature of the training process, empirical results show that the model demonstrates stable convergence, with training and test losses stabilizing within 100 to 200 epochs across both datasets. Additionally, performance gains from the random walk mechanism tend to stabilize quickly (around a walk distance of $D=3$), suggesting that users only need to collaborate with a small, relevant neighborhood to achieve high-quality recommendations.
Conclusion and Future Work
The DMF framework provides a viable path for high-performance POI recommendations that prioritize user privacy. By leveraging localized communication and random-walk-based collaboration, it achieves superior accuracy while keeping sensitive data on-device. Future research will focus on model compression techniques, such as binary latent matrices, to further reduce the storage footprint on mobile devices and better accommodate "cold-start" users with limited activity history.
Summary updated