The NWDAF acting as VFL server determines the VFL clients that participate in VFL procedure in the VFL clients discovery and preparation phase as described in the clause 6.2H.2.1 and clause 6.2H.2.2.
Steps 2-6 are repeated until the training termination condition is reached.
To start the VFL training, the VFL server sends a request to start the training to all selected VFL clients The request includes VFL correlation ID, at least the parameters negotiated during the preparation phase, Optionally, the VFL Server includes: Analytic filter information, maximum response time (i.e. the maximum time between VFL clients receive intermediate model training information and send back intermediate training result).
If the VFL procedure continues in subsequent iterations, the VFL server sends a request for a new VFL training iteration containing the VFL correlation ID and intermediate model training information to each of the VFL clients for next round of VFL training.
For each selected untrusted AF VFL clients, the NEF sends a Naf_VFLTraining_Subscribe to that AF. The NEF may also translate the analytic filter information if needed, e.g. TAIs into geographical area.
[Optional] Each VFL client collects its local data by using the current mechanism if the VFL client has no local data already available. The data used by each VFL Client is collected as per alignment information.
During VFL training procedure, each VFL client further trains the local ML model associated with the same VFL Correlation ID based on their own collected or available data and when applicable (e.g. after the first round of training) and possible intermediate model training information distributed by the VFL server in the previous training iteration. Each VFL Client computes and reports the client intermediate training result of the local ML model to the VFL server.
For each untrusted AF VFL client , the NEF converts any external identifiers to internal identifiers and sends a Nnef_VFLTraining_AFClient_Notify to the VFL server.
The VFL server may collect the local data and generate its own local intermediate training result. The NWDAF acting as VFL Server computes the intermediate model training information (e.g. gradient information or loss information) based on the VFL Client(s) intermediate training result(s) received in step 4, its own local intermediate results and the label. The intermediate model training information is used for updating the models of VFL clients. Different intermediate model training information may be computed for different VFL clients and for the VFL Server itself.
The VFL server may also compute the ML model metric (e.g. ML model accuracy) based on all the intermediate training result received from VFL clients and the label.
[Optional] The NWDAF acting as VFL server evaluates (e.g. based on the convergence of a loss function or loss value and/or if the pre-set iteration number is reached) whether VFL Training process converged. If the VFL Server evaluates the VFL Training process did not converge, the NWDAF acting as a VFL Server determines another round of VFL training is required and repeats step 2 - 6. If the VFL Server evaluates the VFL training process converged, it determines the VFL Training is completed. In this case, the VFL Server terminates the current VFL training process via step 7.
The VFL training termination decision may be also made as follows:
Based on the consumer request, the VFL server sends VFL status report to the consumer. The status report may include model metric (e.g. ML model accuracy).
The consumer decides whether the current model can fulfil the requirement, e.g. ML model metric is satisfactory for the consumer and determines to stop or continue the training process. The consumer continues the training process or stops the training process.
Based on the subscription request sent from the consumer, the VFL server updates or terminates the current VFL training process.
The VFL server sends VFL training termination message to VFL Client if it decides to terminate the VFL training process, the termination message contains VFL Correlation ID.
The VFL Server, stores VFL correlation ID, the local trained ML Model, the mapping information of the VFL correlation ID to the following parameters: Analytics ID related to the VFL training process, locally trained Model. Additionally, the VFL server stores the VFL client information, which may be used to determine associated VFL client in the VFL inference.
Each VFL client stores VFL correlation ID, the locally trained ML Model, the mapping information of the VFL correlation ID to locally trained Model
For an untrusted AF acting as VFL server, the NEF converts any internal identifiers to external identifiers, provides the external NWDAF ID and sends a Nnef_VFLTrainingNotify to the VFL server.
For each NWDAF VFL client, the untrusted AF as VFL server sends a Nnef_VFLTraining Unsubscribe to the NEF handling that AF. The untrusted AF identifies the VFL client using the external NWDAF ID assigned in the discovery procedure (see clause 6.2H.2.1.1).