Trustless Decentralized Training: What It Is, Why It's Hard, and How We'll Get There
Authors: Tamaz Gadaev, Egor Shulgin

Bitcoin proved that strangers on the internet can build and maintain infrastructure at global scale, without trusting each other. The network's aggregate computing power exceeds that of many traditional data centers. So here's a question worth taking seriously: what if we could do the same thing for AI training?
Picture it. Thousands of volunteers, each contributing their GPUs, collectively training models without any central coordination. But in a network where anyone can join, some will lie, others will cheat, and a few will actively try to break things. Training models in a room full of potential saboteurs is a challenge. Let's break down the problem, the defenses, and where it's all heading.
1. The Landscape: Three Dimensions of Distributed Training
"Distributed training" gets thrown around a lot, and it tends to blur several distinct ideas together. Untangling them shows where the hard problems actually live.
Distributed ≠ Decentralized
Distributed training means multiple machines work on one training job. A GPU cluster in a data center counts: split the batches, compute gradients in parallel, aggregate. For an overview of geo-distributed setups, see our previous article. Decentralized training goes further: it removes the central orchestrator entirely. Peers communicate directly and make local decisions based on what their neighbors tell them, with no single point of failure and no central authority enforcing behavior.
Orchestration, Trust, and Data Control
Three questions shape any distributed training setup's threat surface:
Orchestration: Central coordinator, or peer self-organization?
Trust: Can you assume honest participants, or must you defend against adversaries?
Data Control: Does the system control data assignment, or do participants hold private datasets you never see?
These axes carve out distinct scenarios:
Trust | Data Control | Orchestration | |
Data-center training | ✓ | ✓ | Centralized |
Federated learning | ✗ | ✗ | Centralized |
Collaborative learning | ✗ | ✓ | Either |
Federated learning is the most studied trustless variant. A central server coordinates workers who train on private data they won't expose, as is common in healthcare and finance. Collaborative learning is less explored and potentially more transformative. Independent participants train one model on a public dataset (like Common Crawl), without guaranteed trust. It can work with centralized or decentralized orchestration, but the hardest variant drops the central server entirely, removing all single points of failure and letting anyone participate. That's our focus.
Chaos Before Trust
Hardware failure in a data center is managed, but it still takes real engineering effort. In collaborative training, failures are the norm. Volunteers join, disconnect, and lose their internet connection mid-step. Any system has to be fault-tolerant before it can be Byzantine-tolerant, meaning able to produce correct results even when some participants are actively malicious. Asynchrony and fault tolerance matter in their own right, but here we're zeroing in on the trust problem: how do you learn from contributors you can't verify?
2. The Threat: Learning from People You Can't Trust
When independent parties contribute updates to a shared model, how do you know they're playing fair, especially when there's a reward mechanism paying each contributor for work done? You can't assume good faith. A permissionless network has to treat some participants as Byzantine actors: they might inject poisoned updates, skip computations while claiming rewards, or collude to steer the model.
The Attack Triangle
Threats break down by motivation, and each corner demands a different defense.
Attacker | Motivation | Behavior | Detection Difficulty |
Lazy | Greed | Claims work; submits random numbers or replays old updates | Medium |
Saboteur | Destruction | Sends NaNs, infinities, or extreme noise to blow up the loss | Low (loud) |
Backdoor | Control | Crafts plausible updates that cause the model to misclassify specific inputs | High (blends in) |
The Backdoor is arguably the scariest. A coordinated group could embed a trigger so the model assigns an attacker-chosen label to any input containing a specific pixel pattern (Bagdasaryan et al., 2020). The updates look statistically normal and pass simple variance checks.
The Meta-Threat: Validator Collusion
To catch these attacks, you typically need validators: nodes that spot-check others' work. But that raises an old question: who verifies the verifiers?
If validation pays less than training, a rational validator might just rubber-stamp everything. Worse, workers and validators can form a cartel: fake work, fake approval, split the reward. A badge doesn't guarantee honesty in a decentralized system.
So how do we get around this? Not by solving trust in one step, but by layering defenses on top of each other.
3. The Defense Stack
Defending against these threats takes three main approaches: filtering suspicious updates statistically, verifying that computation actually happened, and making cheating financially irrational. Let's look at each.
Layer 1: Robust Aggregation (Statistical Filtering)
We may not know who is lying, but we can analyze what they submit. The core assumption, Honest Majority, says most participants are honest. Their updates cluster around the true value; malicious ones look like outliers.
The Coordinate-wise Median and Trimmed Mean (Yin et al., 2018) examine each parameter's distribution and chop off the tails. The median is provably tolerant of up to 50% corruption; the trimmed mean tolerates a fraction proportional to its trimming parameter (e.g., a 10% trim handles up to ~10% corrupted participants). The downside: both methods can throw away honest updates sitting at the extremes, even when nothing's wrong.
Blanchard et al. (2017) took a different approach with Krum, which treats each update as a vector and computes pairwise Euclidean distances. Honest updates cluster together; attackers land far away. It picks the single update closest to its neighbors. More robust than coordinate-wise methods, but O(N² · d) in compute cost, where N is the number of participants and d is the number of model parameters. For large models, that's expensive.
Karimireddy et al. (2021) found a more efficient path with Centered Clipping. Their method tracks a momentum-based "center" from prior rounds. If a new update exceeds a safe radius, instead of getting tossed, it gets scaled down. O(N) cost, direction preserved, and honest high-variance updates survive.
Layer 2: Verification (Integrity Checks)
Statistical filters handle malicious updates, but they can't catch malicious laziness. A participant who generates statistically plausible random numbers might pass aggregation without doing any real work. That's "work fraud," and you need a different tool to stop it.
The naive solution is redundancy: assign the same computation to multiple workers and compare results. Secure? Yes. But it triples your compute cost. In a race to train frontier models, that's a non-starter. A smarter approach: assume work is valid by default, but have a separate pool of verifiers re-compute a random sample, say 1% of submissions. Think ticket inspectors on a train. You don't check every passenger. You just make sure the fine for riding without a ticket hurts enough that most people buy one. A participant who consistently fakes work will get caught eventually.
There's a wrinkle, though. Deep learning isn't perfectly reproducible. GPUs reorder operations for speed, floating-point rounding drifts across runs, and bit-for-bit matching between two honest runs of the same computation is impossible. Proof of Learning (PoL) (Jia et al., 2021) works around this. Instead of demanding exact equality, it records intermediate checkpoints and verifies that the training trajectory is consistent with the claimed computation, making it as hard to fake a proof as to do the actual work.
Why not ZK-proofs? Zero-knowledge SNARKs could, in theory, prove correctness cryptographically. In practice, generating a proof for the billions of floating-point ops in a single training step is currently orders of magnitude slower than the training itself. ZK is making rapid progress and becoming viable for certain inference tasks, but the sheer arithmetic volume of training keeps it out of reach for now.
Layer 3: Economic Incentives
Even sophisticated attackers respond to cost. If the expected penalty for cheating exceeds the expected reward, rational actors stay honest.
Staking and slashing is the first mechanism. Participants lock up a deposit to join. Get caught by a spot-check? You lose the stake: not just the reward for that task, but the whole deposit. A 100× penalty-to-reward ratio means you only need to verify about 1% of submissions to make cheating irrational.
What about lazy validators? The protocol can use honeypots: injecting tasks with known answers. Any validator who rubber-stamps a wrong result proves they weren't checking, and gets slashed. Zhao et al. (2024) formalize this intuition with provable incentive-security guarantees.
Finally, there's reputation. Creating a new identity costs nothing. Building a track record does. Nodes that consistently pass verification accumulate a reputation score, which multiplies their weight in aggregation. A veteran with six months of honest work might carry 10× the influence of a newcomer. An attacker can spin up 1,000 fresh identities overnight, but they can't fake the history. By the time they'd built that reputation, they'd have contributed more honest value than the attack could destroy.
4. Where We Are and What's Next
None of these defenses works alone:
Verification catches fraud but costs compute.
Robust aggregation filters outliers but misses subtle backdoors.
Economics deters rational adversaries but won't stop someone acting out of ideology or spite.
The path forward is combining all three. A real system needs enough verification to make fraud risky, enough statistical filtering to catch what slips through, and enough economic pain to keep honest participation the dominant strategy.
The building blocks exist: Byzantine-resilient aggregators, probabilistic verification schemes, game-theoretic incentive models. Researchers have published them. What's left is the engineering: composing them into a coherent protocol and stress-testing it at scale.
Decentralized training isn't solved. But it's no longer a fantasy, either.
References
Blanchard, P., et al. (2017). Machine Learning with Adversaries: Byzantine Tolerant Gradient Descent. NIPS.
Yin, D., et al. (2018). Byzantine-Robust Distributed Learning: Towards Optimal Statistical Rates. ICML.
Karimireddy, S. P., et al. (2021). Learning from History for Byzantine Robust Optimization. ICML.
Jia, H., et al. (2021). Proof-of-Learning: Definitions and Practice. IEEE Symposium on Security and Privacy.
Bagdasaryan, E., et al. (2020). How To Backdoor Federated Learning. AISTATS.
Zhao, Z., et al. (2024). Proof-of-Learning with Incentive Security. arXiv preprint.
About the author
Co-creator of Gonka. Researcher working on optimization for machine learning
Comments
Join the discussionNo comments yet. Be the first to comment.



