The invention discloses a
federated learning method based on a model deviation and variance
distribution model, and relates to the field of
machine learning. According to the method, the variance of the model uploaded by the
client in each round is calculated on the
server, the offset parameter of the model of each
client relative to the
global model is learned, the personalized information of each
client is extracted, and a personalized initial model is provided for
local learning of the client in each round. Through personalized
model learning, the learned model has better performance on local data, the problem that existing personalized
federated learning depends on extra overhead on the client is solved, extra data does not need to be transmitted between the client and the
server, and privacy of
client data is better protected. In addition, by means of hierarchical calculation of the model, calculation and storage expenses in the learning process are reduced, meanwhile, the performance of the personalized model is further improved, and the prediction accuracy of the data is improved.