Who Improved the AI? Collaborative Learning

← Back to Research Lab

Distributed Systems · Machine Learning · Consensus

Five organisations train one AI model. Who improved it, and who should get paid? This film follows the questions behind collaborative learning: how to evaluate an update, what a training record can establish, how contribution rewards work, and why local data still needs privacy protection. A blockchain is one mechanism in the story, with its limits made explicit.

Research basis: Survey on Blockchain-Enhanced Machine Learning (Ural & Yoshigoe, IEEE Access, 2023). The SUM reward and deposit rules and the DeepChain prototype are systems reviewed in the survey. The generalisation example and proposed cross-organisation use are teaching illustrations, not new experimental results. The closing design perspective is Dr. Ozgur Ural’s.

Prefer the technical version? Watch the original animation: the same idea step by step, with its diagrams and formulas.

🧠 What did you just learn?

The ledger records the process, not the data. ML has three problems a distributed ledger may help address: contributors can poison training data while collecting rewards, models can leak training data, and finished weights carry no native record of how they were produced. Recording transactions tied to training can make later alteration evident. In the federated designs reviewed here, raw data remains with its owner while parameters, transactions and validation results are shared. That limits one direct exposure path; it does not by itself guarantee privacy against model leakage or inference attacks.

Consensus work can be aimed at a useful artifact. Proof of Work spends electricity on a puzzle whose answer has no independent utility once found. The proposals reviewed here instead aim consensus work at training: Proof of Learning makes a training run the work, Proof of Deep Learning targets model integrity and authenticity, and Proof of Training Quality asks the network to assess contribution quality. The aim is useful work rather than hash-search alone, but it inherits one hard question: how do you verify the claimed training was really performed?

Pay for the improvement, not the volume. In the Sharing Updatable Model framework a smart contract, CollaborativeTrainer, accepts data, runs an incentive mechanism and updates the model in one place. The prediction-market reward moves a contributor's balance by bt = bt−1 + L(ht−1, D) − L(ht, D): the loss on a held-out set before your update minus the loss after it. A contribution that increases loss receives a negative balance change; the result depends on the evaluation data and the order of contributions. A separate mechanism (deposit, refund, take) requires a stake when submitting. After a waiting period, model agreement permits a refund; disagreement can cost part of the deposit. Agreement is a rule for settlement, not a guarantee of ground truth. In the reported simulation, honest and dishonest populations separate while accuracy is preserved.

Then read the prototypes honestly. DeepChain was implemented as a Corda prototype on MNIST, with parties uploading local gradients and workers paid through a processing contract. In the reported experiment, accuracy improves as more parties join; throughput degrades as the gradient count grows, and total training time climbs with every party added. LearningChain combines differential privacy for local gradients with an l-nearest aggregation rule intended to resist Byzantine workers. Privacy and robustness require mechanisms beyond the ledger itself.

Which is why the survey closes on challenges. Scalability, energy cost, and the need for consensus mechanisms designed for machine learning rather than inherited from cryptocurrency. The useful contribution is knowing precisely where the seams are. One of those seams, verifying that a claimed training run really happened, became the subject of the author's Proof-of-Learning research and dissertation.

📐 The math, precisely

Rendered on load. If equations appear as raw text, reload the page.