Abstract
Next Point-of-Interest (POI) recommendation is a critical personalized service in Location-based Social Networks (LBSNs). While decentralized on-device learning offers privacy benefits over traditional cloud-based paradigms, existing frameworks assume model homogeneity, which is impractical given the diverse hardware configurations of mobile devices. We propose MAC (Model-Agnostic Collaborative Learning), a decentralized framework that enables collaboration between heterogeneous on-device models. By utilizing knowledge distillation on privacy-preserving reference datasets and intelligent neighbor sampling, MAC achieves state-of-the-art recommendation accuracy with significantly lower communication and storage overhead.
Introduction
Traditional POI recommendation systems rely on centralized cloud servers to process sensitive user check-in data, raising significant privacy concerns. On-device learning, such as Federated Learning, has emerged as a privacy-preserving alternative. However, these methods typically require all participating devices to share the same model architecture to facilitate parameter or gradient aggregation. In reality, mobile devices vary widely in computational power, necessitating a framework that supports model heterogeneity.
Furthermore, on-device learning faces challenges like data sparsity and high communication costs. The MAC framework addresses these by decoupling the collaboration process from specific model architectures and optimizing neighbor selection for efficient knowledge transfer.
The MAC Framework
Knowledge Distillation for Model Agnosticism
Instead of sharing raw model weights or gradients, MAC uses a Knowledge Distillation (KD) approach. Devices share "soft decisions" (probability distributions) over a common, preloaded reference dataset. This allows a device to learn from a neighbor's model regardless of its internal structure (e.g., different embedding dimensions or hidden layers). To further improve performance, MAC incorporates mutual information maximization to align specific POI embeddings with broader category-level preferences.
Neighbor Selection and Sampling
To combat data sparsity, MAC identifies potential collaborators (neighbors) based on geographical proximity, semantic similarity (category preferences), and social network ties. To maintain training efficiency, we implement two sampling strategies:
- Performance-triggered Sampling (MAC-P): Neighbors are swapped when local model progress plateaus.
- Similarity-based Sampling (MAC-S): Neighbors are selected based on the highest preference similarity.
Privacy-Preserving Reference Data
To avoid using real user data for the distillation process, MAC generates synthetic reference datasets. The Transformative method obfuscates real trajectories between friends, while the Probabilistic method synthesizes entirely new sequences based on global category transition statistics.
Experimental Evaluation
Datasets and Setup
We evaluated MAC on two large-scale real-world datasets: Foursquare (7,507 users, 1.2M check-ins) and Weeplace (4,560 users, 923K check-ins). We compared MAC against various baselines, including centralized models (STAN), federated models (PREFER), and decentralized models (DCLR, SQMD).
Performance Results
As shown in the experimental results, MAC consistently outperforms existing decentralized and federated baselines. MAC-P achieved an HR@10 of 0.4319 on Foursquare, surpassing the decentralized DCLR (0.4297) and significantly outperforming the federated PREFER (0.3607).
Efficiency and Resource Usage
MAC demonstrates superior resource efficiency. For a latent dimension of $d=32$, MAC's model size is approximately 700-750 KB, whereas competing decentralized frameworks like SQMD and DCLR require 3.6-4.5 MB. Additionally, MAC-S converged in just 29 hours on the Foursquare dataset, compared to 76 hours for weight-averaging methods like DCLR, representing a significant reduction in training time.
Conclusion
MAC introduces a robust, model-agnostic framework for decentralized POI recommendation. By leveraging knowledge distillation on reference datasets, it successfully bridges the gap between heterogeneous on-device models while preserving user privacy and reducing resource consumption. Future work will explore fully peer-to-peer neighbor discovery to further reduce reliance on central coordination.
Summary updated