Federated Retraining
Every ~10,000 rounds, validators collaboratively update models.
🔄 Steps:
Compute local gradients from recent (features, truth) samples
Share gradients via MPC
Aggregate into new model weights
Generate zk-SNARK that loss is minimized
Submit:
function updateModel(bytes32 newHash, bytes calldata proof) external;
Nodes pull updated weights automatically
🤝 Keeps consensus models adaptive while preserving privacy and integrity.