TL;DR
DeFSM is a novel architecture that decentralizes Federated Submodular Maximization (FSM) by replacing a central server with a lightweight smart contract and a pool of independent agents. By leveraging 2D geometric projections and Tukey depth, its core aggregation rule, SafeGM, provides provable Byzantine robustness and high communication efficiency, retaining over 90% of the solution quality of a trusted central server even when 30% of participants are malicious.
What Problem Does This Paper Address?
In the era of edge computing, devices generate massive amounts of data. Submodular Maximization (SM) is a classic technique used to select the most informative subset of this data (e.g., for image annotation or document summarization). In a Federated (FSM) setting, multiple clients collaborate to find this subset without sharing their raw data.
Traditionally, FSM relies on a central server to aggregate client updates. However, this creates a "trilemma":
- Decentralization: A central server is a single point of failure and requires absolute trust.
- Efficiency: Moving to a blockchain or peer-to-peer system often incurs massive communication and computation overhead.
- Security: Malicious ("Byzantine") clients can submit fake updates to steer the global solution toward poor results.
While robust aggregators exist for standard Federated Learning (FL), FSM has unique properties—like monotone objectives and sparse binary updates—that make existing FL defenses less effective. DeFSM aims to solve this trilemma specifically for the FSM domain.
Methods
The authors propose DeFSM, which splits the aggregation task between a smart contract (on-chain) and a pool of agents (off-chain).
The SafeGM Aggregation Rule
The heart of DeFSM is SafeGM, a rule designed to be computed efficiently by a smart contract. It works in three main steps:
- 2D Projection: High-dimensional client updates are projected onto a random 2D plane. This makes the data manageable for a smart contract.
- Depth-Based Decision: In this 2D space, the contract finds a "deep" point—either the geometric median or a Tukey median. A point with high Tukey depth is guaranteed to be "safe," meaning it lies within the convex hull of the "good" updates, regardless of what the "bad" updates contain.
- Capped Lifting: The contract solves a small linear program to express this 2D point as a convex combination of the original high-dimensional updates. This "lifts" the robust 2D decision back into the original space.
Decentralized Workflow
As shown in Figure 1, the process is highly coordinated yet trustless:
- Clients commit hashes of their updates to the contract and upload the data to IPFS.
- Agents (who can be anyone, including clients) download samples of client data, perform local SafeGM aggregations, and post their 2D results back to the contract.
- The Smart Contract makes the final robust decision based on these 2D points and publishes the weights.
- Clients then reconstruct the global update themselves using only a few selected agent aggregates.
Datasets
The authors evaluated DeFSM using two real-world datasets, each containing 60,000 images:
- CIFAR10: A standard benchmark for object classification (10 classes).
- PathMNIST: A medical imaging dataset consisting of 9 classes of pathology tissue.
Images were represented by 512-dimensional features extracted from a pretrained ResNet18 model. The task was to select a representative subset of $r=10$ images from a ground set of $d=200$ candidates.
Key Insights and Ideas
- Safety over Distance: Traditional robust aggregators rely on distances between updates. However, attackers can "shape" distances. SafeGM focuses on safety—ensuring the aggregate is a convex combination of good updates. This is a much harder guarantee for an attacker to break.
- The Power of 2D: While computing Tukey depth is intractable in high dimensions, it is extremely efficient in 2D. By projecting to 2D and then "lifting" back, DeFSM makes classical combinatorial geometry tools usable for high-dimensional machine learning.
- Count-Based Robustness: The paper proves that the influence of bad updates in SafeGM is bounded only by their count, not their content. This makes the system resilient to sophisticated, coordinated attacks that would collapse distance-based methods.
- Sparse Communication: Because the contract's linear program produces sparse coefficients, clients only need to download a handful of agent aggregates to reconstruct the global solution, drastically reducing bandwidth.
Key Results
- High Accuracy: DeFSM retains roughly 91% of the quality of an ideal, trusted central server. In contrast, non-robust methods (like the arithmetic mean) lose up to 60% of quality under attack.
- Byzantine Resilience: The system remains stable even with 30% Byzantine clients and agents. It successfully defended against five different types of attacks, including "Mimic" and "Near-Include" attacks specifically designed to fool depth-based rules.
- Efficiency Gains: Compared to a "naive" decentralized geometric median, DeFSM requires agents to download 6x less data and clients to download 2x less data.
- No Prior Knowledge Needed: Unlike many robust rules that require knowing the exact number of malicious participants beforehand, SafeGM's tolerance adapts to the data automatically through the depth test.
Limitations and Future Work
- FSM Specificity: The theoretical guarantees rely on the monotonicity and sparsity of FSM updates. Extending this "count-based" robustness to general Federated Learning (where gradients can be dense and have mixed signs) remains an open challenge.
- Real-World Deployment: The current evaluation is based on a simulator. The authors note that future work will involve implementing DeFSM on a live blockchain to measure actual gas fees, storage overheads, and network latency.
- Sample Size Sensitivity: Small sample sizes for agents can hurt performance if they accidentally capture too many Byzantine updates. The authors suggest a sample size of $L \geq 20$ for reliable results.
Summary updated