Longitudinal federal learning method and system
Патент · CN B
Полный текст
The invention discloses a longitudinal federation learning method and a longitudinal federation learning system, which belong to the technical field of artificial intelligence, wherein an asynchronous framework is adopted to realize longitudinal federation learning on a client, transmission of an embedded vector and reception of a gradient value are respectively executed in two sub-threads, and operations of generating the embedded vector and updating local model parameters are asynchronously executed in a main thread, wherein when the embedded vector is generated, if the gradient of a previous round is not received and a stale upper bound is reached, generation of the embedded vector is suspended so as to ensure that the model time-out does not exceed a preset limit.