Proof of Reasoning for Privacy Enhanced Federated Blockchain Learning at the Edge
James Calo, Benny Lo
TL;DR
This paper tackles privacy concerns in blockchain-enabled federated learning for IoT and healthcare by introducing Proof of Reasoning (PoR), a three-stage, privacy-preserving consensus mechanism that uses a masked autoencoder (MAE) as a lightweight edge feature extractor and a downstream classifier, with encoded data shared via Encoder-Decoder Interface (EDI) transactions. PoR enables verifiable, ranking-based aggregation on the blockchain, reducing reliance on potentially malicious participants and supporting advanced aggregation schemes while maintaining low latency and storage growth. The approach is validated through CIFAR-10, transfer learning, and ChestMnist/PneumoniaMnist experiments, showing that high masking ratios can preserve downstream accuracy and that encoder-based transfer learning can boost performance in federated settings. Overall, PoR provides a practical, privacy-preserving pathway for scalable edge federated learning with blockchain-based verification, with potential extensions to multi-channel MAEs and enhanced privacy techniques.$PoR$ integrates masked encodings and verifiable aggregation to enable robust, privacy-preserving federated learning at the edge, addressing critical challenges in IoT healthcare deployments and beyond.
Abstract
Consensus mechanisms are the core of any blockchain system. However, the majority of these mechanisms do not target federated learning directly nor do they aid in the aggregation step. This paper introduces Proof of Reasoning (PoR), a novel consensus mechanism specifically designed for federated learning using blockchain, aimed at preserving data privacy, defending against malicious attacks, and enhancing the validation of participating networks. Unlike generic blockchain consensus mechanisms commonly found in the literature, PoR integrates three distinct processes tailored for federated learning. Firstly, a masked autoencoder (MAE) is trained to generate an encoder that functions as a feature map and obfuscates input data, rendering it resistant to human reconstruction and model inversion attacks. Secondly, a downstream classifier is trained at the edge, receiving input from the trained encoder. The downstream network's weights, a single encoded datapoint, the network's output and the ground truth are then added to a block for federated aggregation. Lastly, this data facilitates the aggregation of all participating networks, enabling more complex and verifiable aggregation methods than previously possible. This three-stage process results in more robust networks with significantly reduced computational complexity, maintaining high accuracy by training only the downstream classifier at the edge. PoR scales to large IoT networks with low latency and storage growth, and adapts to evolving data, regulations, and network conditions.
