Patent attributes
Methods, systems, and apparatuses, including computer programs encoded on computer storage media, for federal learning are disclosed. One exemplary method may include receiving, by a client device from a server device, model parameters of a global machine learning model being collaboratively trained by the client device and the server device; constructing, by the client device, a local machine learning model based on the model parameters of the global machine learning model, wherein the local machine learning model comprises two branches corresponding to two loss functions; training, by the client device, the local machine learning model based on local training data, wherein the training comprises updating the model parameters to minimize a first loss function of the two loss functions and maximize a second loss function of the two loss functions; and sending, by the client device, the updated model parameters back to the server device.