The invention discloses a personalized federal learning method and
system based on optimal transmission, and the method comprises the steps: determining the number of clients participating in learning, initializing
global model parameters, transmitting the parameters to each
client, receiving the parameters by each
client, and transmitting the parameters to the
client; a local
global model is frozen, model training is performed by using local data to obtain new local
model parameters, and a
cost matrix is constructed by using an optimal transmission thought to reduce the distance between a local adapter and a global adapter, so that the local adapter learns
global information in the global adapter. And finally, summing the generated parameters and uploading the summed parameters to a
server, and adding the parameters by the
server according to a sample proportion and updating a new round of
global model parameters by aggregating hyper-parameters. According to the method, the model is decoupled at each client, the local generalization is improved, the data is not out of the local user, the
data security is ensured, the internal relationship of the
feature structure is considered by using the optimal transmission thought, and the feature capturing capability is enhanced.