Skip to content

aggregator rework #722

@tharvik

Description

@tharvik

we currently have two aggregators

  • mean which perform a mean of cleartext weights
    • also allow for weights over multiple rounds
  • secure which do a sum-mask of the weights

it is quite hard to follow where and how the aggregated weights are generated.

  • get rid of communication rounds which interact weirdly with Client
    • pass it an object with only the needed methods
  • have a better naming than "robust" or "secure" which are confusing
  • do not mutate aggregator while it's running (no Aggregator.add), not externally
  • should be started at beginning of round and stopped at the end, yielding the network weights if available
    • cross round support is another matter, we still don't have a good fix for slow nodes as we don't really have a catchup mechanism

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions