-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Experimental Workflow Interface) Aggregator private attributes visible to Collaborators #1052
Comments
Is this solvable using the |
@MasterSkepticista: Participant private attributes are not meant to be filtered by using exclude keyword arguments inside the flow steps. Workflow Interface should ensure that aggregator private attributes are always filtered out of the current state when transferring from aggregator to collaborators |
Issue was analysed in detail and following problems were found in Aggregator based workflow (FederatedRuntime): #1: For FederatedRuntime, clones are created in the next method of the FLSpec class After the aggregator executes the start step, FLSpec object contains the aggregator’s private attributes. Since clones are created from this object, aggregator private attributes are also passed to the clone objects #2: For FederatedRuntime, the filter_exclude_include functionality is called in the next method of the FLSpec class during the transition from aggregator to collaborator This results in same issue as above. As the FLSpec object already contains the aggregator private attributes therefore these are again filtered into the clones |
Describe the bug
In the Experimental aggregator-based workflow, private attributes of the aggregator object are passed to the collaborator step. This behavior does not occur in
LocalRuntime
.To Reproduce
Steps to reproduce the behavior in the experimental setup:
Path:
openfl/openfl-workspace/experimental/301_torch_cnn_mnist_watermarking
aggregated_model_validation
as follows:Logs
Expected behavior
The aggregator’s private attributes should not be visible in the collaborator step.
The text was updated successfully, but these errors were encountered: