Skip to content

BCFLStrategy: Device Selection for Blockchain-Enabled FL #6799

@v1nayh3g

Description

@v1nayh3g

Hey everyone,

I recently published a paper in IEEE TCAS-II (DOI: 10.1109/TCSII.2023.3322340) on optimizing device selection in Blockchain-Enabled Federated Learning (BCFL) to minimize the massive latency and energy hits from miner verification overhead.

I built the solver into a custom Flower Strategy (BCFLStrategy) that wraps FedAvg. It dynamically selects the mathematically optimal subset of devices per round based on their computation/uplink constraints vs the blockchain consensus penalty ($A_{fork}$).

It's currently published as a standalone PyPI package (bcfl-optimizer): https://github.com/v1nayh3g/bcfl-optimizer

Since BCFL is getting pretty popular, would this be useful to have natively in Flower (maybe in a contrib/experimental folder)? If there's interest, I'd be happy to clean it up and submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions