The invention discloses a personalized recommendation method based on
differential privacy and
federated learning, which comprises the following steps of: firstly, collecting user behavior data and carrying out preprocessing and behavior modeling on the user behavior data, and then adopting a dynamic privacy
budget allocation and
differential privacy noise injection mechanism in a local training stage of
federated learning; meanwhile, an adaptive gating layer is introduced to
cut low-importance parameters, then
data modeling and personalized model training are carried out based on a
Gaussian mixture model, finally, global aggregation of
federated learning is carried out by adopting a personalized
model aggregation strategy, and a
global model is dynamically updated according to data distribution of different clients. And the local personalized recommendation effect is ensured. According to the method, the problems of
privacy protection, overlarge calculation and communication overhead,
data heterogeneity and the like in a personalized recommendation
system are effectively solved, the model training efficiency and the
recommendation quality are improved, and the method is suitable for multiple fields of e-commerce, social platforms, video recommendation and the like and has wide application value.