|
Algorithm 1 Secured FL procedure |
|
Input: Set of Edge devices and their associated local data , No. of communication rounds R
|
|
Output: Global DID model |
| 1: Cloud server initialize model parameter and
|
| 2: Each informs the data size to server; |
| 3: Server computes contribution ratio ; |
| 4: For each KMC generates key pair using and establishes secure channel between each edge device and server; |
| 5: For r = 1 to R; |
| (i) computes round model gradients using Algorithm 2; |
| (ii) Encrypt model gradients as ; |
| (iii) Upload to cloud server; |
| End |
| 6: Cloud server aggregates as ; |
| 7: Server distributes C to all edge devices
|
| 8: To obtain new global model performs decryption as
|
| 9: updates model gradients using ; |
| 10: ; |