arXiv:2610.17546cs.DCOct 2026

Manuscript Offprint

arXiv:2610.17546

FLAI Protocol: Decentralized Federated Learning with On-Chain Rewards and sPEG-Based Contribution Scoring

Eli Yune, Mahesh Balan

Eli Yune

Balkeum Labs

Email: ceo@balkeumlabs.ai

Mahesh Balan

Claremont Graduate University

Email: balan.mahesh@cgu.edu

Abstract—Federated learning (FL) enables collaborative model training without data centralization but struggles with incentive alignment, accountability, and robustness under heterogeneous non-IID data. Existing decentralized FL (DeFL) systems leverage blockchains for coordination yet face high on-chain overhead, unverifiable self-reports, and weak fairness guarantees. We present the FLAI Protocol, a trusted execution environment (TEE)-backed DeFL framework that integrates enclave-validated aggregation, sparse Peer Evaluation Graph (sPEG) scoring, and on-chain settlement. sPEG incorporates peer-based quality, class coverage, promptness, effort, and reputation into composite contribution scores. The protocol formalizes contribution evaluation and tokenized incentive distribution, ensuring verifiable fairness and resilience against free-riding and collusion. We evaluate FLAI on image, text, and healthcare datasets and demonstrate parity with FedAvg in utility while improving fairness and accountability. A case study in consumer eHealth—aggregating wearable and electronic health record data for real-world evidence generation—illustrates the protocol's applicability to privacy-critical domains where equitable rewards, auditability, and data sovereignty are essential.

Index Terms—Federated learning, decentralized AI, trusted execution environments, blockchain, incentive mechanisms, contribution evaluation

I. INTRODUCTION

Federated learning (FL) shares model updates instead of raw data to respect privacy and locality [1]. Adoption is hindered by unverifiable contribution claims [2], free-riding and poisoning [3], [4], and limited accountability [5]. Blockchain-backed decentralized FL (DeFL) introduces immutable logging and incentives [6], [7], but on-chain aggregation is costly [8], self-reports are unverifiable, and fairness under non-IID data is often ignored [9].

Trusted execution environments (TEEs), such as Intel SGX, provide enclaves with attestation [10], enabling secure aggregation and scoring with practical performance [11], [12]. We propose FLAI, combining TEEs, blockchains, and a sparse Peer Evaluation Graph (sPEG) to align incentives and strengthen robustness.

Contributions:

  1. A TEE-backed DeFL design with enclave-validated aggregation and sealed pay-per-inference serving.

  2. sPEG: scalable neighbor-limited peer evaluation with multi-factor scoring: quality, coverage, promptness, effort, reputation.

  3. A formal specification of client, validator, enclave, and blockchain state machines.

  4. Security and privacy analysis including collusion, Sybil, and poisoning defenses.

  5. Implementation on SGX and Ethereum testnet; evaluation on CIFAR-10, FEMNIST, and healthcare datasets; full consumer health RWE case study.

In the rest of this paper, we introduce the background and related work in Section II, present the system architecture and threat model in Section III, describe the contribution scoring and protocol specification in Section IV, outline the incentive mechanisms and security guarantees in Section V, detail the implementation and evaluation in Section VI, demonstrate an application through a consumer health case study in Section VII, discuss broader implications in Section VIII, and conclude the paper with future directions in Section IX.

References (33)