[Paper Review] Shared MF: A privacy-preserving recommendation system
This paper proposes SharedMF, a privacy-preserving distributed matrix factorization recommendation system that uses secret sharing to protect user data privacy while maintaining high efficiency. By replacing computationally heavy homomorphic encryption with secret sharing, SharedMF achieves significantly faster training speeds—up to 2.2x faster than homomorphic encryption-based methods—making it practical for large-scale recommendation systems without compromising security.
Matrix factorization is one of the most commonly used technologies in recommendation system. With the promotion of recommendation system in e-commerce shopping, online video and other aspects, distributed recommendation system has been widely promoted, and the privacy problem of multi-source data becomes more and more important. Based on Federated learning technology, this paper proposes a shared matrix factorization scheme called SharedMF. Firstly, a distributed recommendation system is built, and then secret sharing technology is used to protect the privacy of local data. Experimental results show that compared with the existing homomorphic encryption methods, our method can have faster execution speed without privacy disclosure, and can better adapt to recommendation scenarios with large amount of data.
Motivation & Objective
- To address the growing challenge of data privacy in distributed recommendation systems, especially in large-scale e-commerce and content platforms.
- To design a secure, efficient alternative to homomorphic encryption for protecting user data during collaborative model training.
- To enable privacy-presured matrix factorization in federated learning by leveraging secret sharing across multiple data sources.
- To evaluate the performance and scalability of the proposed method on real-world datasets under varying data volume and number of sources.
- To demonstrate that secret sharing can outperform homomorphic encryption in terms of speed while preserving strong privacy guarantees.
Proposed method
- The system distributes user data across multiple clients (e.g., Taobao, Amazon), while item features are stored and updated on a central server.
- Each client locally computes user vectors using matrix factorization, and shares encrypted sub-vectors via additive secret sharing to prevent exposure of raw data.
- Model updates (gradients) are exchanged in secret-shared form, ensuring no single party can reconstruct the original data.
- The central server aggregates the secret-shared gradients and updates the item vectors without ever accessing the underlying plaintext data.
- The method avoids homomorphic encryption’s high computational cost by relying on efficient secret sharing protocols for secure aggregation.
- The framework is evaluated using real-world datasets with varying numbers of users and items to test scalability and performance.
Experimental results
Research questions
- RQ1Can secret sharing be effectively used to protect user data privacy in distributed matrix factorization without sacrificing training efficiency?
- RQ2How does the performance of secret sharing compare to homomorphic encryption in large-scale recommendation systems?
- RQ3Does the proposed system maintain high recommendation accuracy while ensuring that no party can reconstruct sensitive user information?
- RQ4How does the system scale with increasing numbers of data sources and items?
- RQ5Can the system achieve near-baseline performance of non-encrypted distributed matrix factorization while preserving strong privacy guarantees?
Key findings
- SharedMF achieved up to 2.2x faster training than FedML, a homomorphic encryption-based system, on large-scale datasets (e.g., 500 items), demonstrating superior efficiency.
- With 500 items, SharedMF required 583.37 seconds for training, compared to 2064.62 seconds for FedML using Paillier encryption, showing a significant performance advantage.
- The communication cost of secret sharing remained low and did not scale significantly with the number of items, indicating strong adaptability to large-scale item sets.
- As the number of data sources increased, model loss decreased due to improved matrix completeness, confirming the benefit of federated learning in data-rich environments.
- The system maintained performance close to non-encrypted distributed matrix factorization, proving practicality and minimal overhead.
- Secret sharing outperformed homomorphic encryption in both speed and scalability, making it more suitable for real-world recommendation systems with large data volumes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.