This repository presents a blockchain-based framework, TrustFed, for Cross-Device Federated Learning systems to detect the model poisoning attacks, enable fair training settings, and maintain the participating devices' reputation. TrustFed provides fairness by detecting and removing the attackers from the training distributions. It uses blockchain smart contracts to maintain participating devices' reputations to compel the participants in bringing active and honest model contributions. We implemented the TrustFed using a python-simulated FL framework, blockchain smart contracts, and statistical outlier detection techniques.
Thanks for sharing your code. I am wondering that I did not find how to integrate the blockchain to your application. Is it missing?