The invention provides a model training method, device and
system based on
federated learning and safety protection, and relates to the technical field of
artificial intelligence, and the method comprises the steps: carrying out the current training of a target model based on local training data, and obtaining a current
model parameter; the local training data is obtained by performing
quantum encryption on the original training data; performing
homomorphic encryption on the current
model parameter to obtain a current encrypted
model parameter; uploading the current
encryption model parameter to an aggregation node; and receiving
global model parameters distributed by the aggregation nodes, and carrying out next training on the target model based on the
global model parameters. According to the method, the device and the
system provided by the invention,
quantum encryption is adopted in an acquisition stage, and
homomorphic encryption is adopted in an interaction stage, so that the privacy of an aggregation process is ensured, and a potential attacker cannot obtain model updating details of any
single node; in the collaborative training process, it is ensured that data privacy is strictly protected, data are not attacked or tampered, and the efficiency of multi-party collaborative training is improved.