基于Intel SGX的推荐系统的水平联邦学习和安全分布式训练
Horizontal Federated Learning and Secure Distributed Training for Recommendation System with Intel SGX
摘要:
随着大数据时代的到来和人工智能等技术的发展,数据安全和隐私保护变得更加重要。推荐系统在社会中有着广泛的应用,但推荐系统的模型构建往往离不开用户数据。特别是对于基于深度学习的推荐系统,由于模型的复杂性和深度学习本身的特点,其训练过程不仅需要较长的训练时间和丰富的计算资源而且需要使用大量的用户数据,这在数据安全和隐私保护方面带来了相当大的挑战。如何训练一个分布式推荐系统,同时保证数据安全,已成为一个亟待解决的问题。本文基于可信执行环境的实现Intel SGX(Software Guard Extensions)和TensorFlow框架,实现了水平联邦学习和安全分布式训练两种方案,以实现不同场景下基于推荐系统的安全分布式学习方案。我们对经典的深度学习推荐模型(DLRM)进行了实验,DLRM是一种基于神经网络的机器学习模型,专为个性化和推荐而设计,结果表明我们的实现几乎没有引入模型性能损失。训练速度在可接受的范围内。
英文摘要:
With the advent of big data era and the development of artificial intelligence and other technologies, data security and privacy protection have become more important. Recommendation systems have many applications in our society, but the model construction of recommendation systems is often inseparable from users' data. Especially for deep learning-based recommendation systems, due to the complexity of the model and the characteristics of deep learning itself, its training process not only requires long training time and abundant computational resources but also needs to use a large amount of user data, which poses a considerable challenge in terms of data security and privacy protection. How to train a distributed recommendation system while ensuring data security has become an urgent problem to be solved. In this paper, we implement two schemes, Horizontal Federated Learning and Secure Distributed Training, based on Intel SGX(Software Guard Extensions), an implementation of a trusted execution environment, and TensorFlow framework, to achieve secure, distributed recommendation system-based learning schemes in different scenarios. We experiment on the classical Deep Learning Recommendation Model (DLRM), which is a neural network-based machine learning model designed for personalization and recommendation, and the results show that our implementation introduces approximately no loss in model performance. The training speed is within acceptable limits.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。