[Paper Review] Biscotti: A Ledger for Private and Secure Peer-to-Peer Machine Learning
Biscotti is a decentralized P2P system that uses blockchain, verifiable random functions, differential privacy, and secure aggregation to enable privacy-preserving, Byzantine-resistant multi-party SGD without a central coordinator. It defends against poisoning and information leakage while preserving model utility.
Federated Learning is the current state of the art in supporting secure multi-party machine learning (ML): data is maintained on the owner's device and the updates to the model are aggregated through a secure protocol. However, this process assumes a trusted centralized infrastructure for coordination, and clients must trust that the central service does not use the byproducts of client data. In addition to this, a group of malicious clients could also harm the performance of the model by carrying out a poisoning attack. As a response, we propose Biscotti: a fully decentralized peer to peer (P2P) approach to multi-party ML, which uses blockchain and cryptographic primitives to coordinate a privacy-preserving ML process between peering clients. Our evaluation demonstrates that Biscotti is scalable, fault tolerant, and defends against known attacks. For example, Biscotti is able to protect the privacy of an individual client's update and the performance of the global model at scale when 30% of adversaries are trying to poison the model. The implementation can be found at: https://github.com/DistributedML/Biscotti
Motivation & Objective
- Motivate private multi-party ML without a trusted centralized authority.
- Propose a fully decentralized P2P system that coordinates SGD via a blockchain ledger.
- Protect individual updates with privacy-preserving techniques and detect/mitigate poisoning attacks.
- Ensure robustness against Sybil and adversarial behavior through stake-based role selection.
Proposed method
- Use a blockchain ledger to coordinate SGD iterations with a global model snapshot per block.
- Mask SGD updates with pre-committed differential privacy noise sourced by VRF-selected noising peers.
- Validate updates with a verification committee applying Multi-KRUM to filter poisoned updates.
- Aggregate updates privately using Shamir secret sharing and polynomial commitments to protect individual updates while enabling verifiable aggregation.
- Select noisers, verifiers, and aggregators per iteration using stake-weighted consistent hashing and VRFs.
- Bootstrap with a genesis block containing model state, keys, and pre-committed noise; synchronize peers via gossip; ensure ledger integrity with cryptographic commitments.
Experimental results
Research questions
- RQ1Can a decentralized P2P system coordinate privacy-preserving multi-party ML without a central aggregator?
- RQ2How can poisoning and information leakage attacks be mitigated in a decentralized SGD setting?
- RQ3What are the privacy-utility trade-offs of different aggregation strategies in Biscotti?
- RQ4Is stake-based role assignment sufficient to resist Sybil attacks and ensure fault tolerance?
- RQ5Does Biscotti maintain model accuracy comparable to federated learning while protecting privacy?
Key findings
- Biscotti trains an MNIST softmax model with 200 peers on 60,000 images in 266.7 minutes.
- The system remains fault tolerant to node churn every 15 seconds across 100 nodes and converges under churn.
- Multi-KRUM-based verification can defend against poisoning from up to 30% malicious clients.
- Differential privacy noise is pre-committed and masked during verification to prevent information leakage attacks; privacy is preserved via secure aggregation.
- Aggregated updates can achieve utility identical to federated learning when aggregating un-noised updates (noising is optional for higher utility).
- The implementation scales on Azure across multiple locations and uses a combination of cryptographic techniques to ensure privacy and verifiability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.