arXiv:2610.34121cs.MAOct 2026

Manuscript Offprint

arXiv:2610.34121

BE-CTDE: Blockchain-Enabled Multi-Agent Reinforcement Learning with Anomaly Detection and Token Economics

Chih-Wei Huang, Hsin-Chieh Lee, Yun-Chen Yu, Ibrahim Althamary, Rongxing Lu, Phone Lin

Chih-Wei Huang, Hsin-Chieh Lee, Yun-Chen Yu, Ibrahim Althamary, Rongxing Lu, and Phone Lin

Abstract—Multi-agent reinforcement learning supports cooperative decision-making in Internet of Things systems, but strategic deviations can disrupt coordination and undermine confidence in the training process. This paper proposes Blockchain-Enabled Centralized Training and Decentralized Execution (BE-CTDE), which uses blockchain as an active training-management layer. A behavioral verifier compares executed trajectories with shared-policy recommendations; its flags drive a token mechanism combining slashing, burning, rewards, and compensation. Retained balances determine each agent's contribution to the global policy update, connecting auditable behavior to learning influence. We derive a one-round incentive condition that accounts for action-dependent compensation and the payoff from deviation, and a finite expected exclusion-time bound under explicit conditional detection and accounting assumptions, showing perfect detection is unnecessary. An exact finite-population capacity bound characterizes the limits of the population-relative detector. In multi-agent path finding experiments, BE-CTDE outperforms a state-of-the-art learning-based path planner with substantially higher success rates under attack, even when adversaries form the majority. It also outperforms partially defended baselines in all configurations, with collision rates up to 35% lower than under detection without economic consequences and up to 43% lower than under conventional stake slashing. Together, these results characterize how behavioral verification and token feedback can support accountable cooperative learning.

Index Terms—Anomaly detection, blockchain, incentive mechanism, Internet of Things (IoT), multi-agent reinforcement learning (MARL), smart contracts, token economics.

I. INTRODUCTION

The proliferation of the Internet of Things (IoT) drives applications such as smart logistics, urban traffic management, and autonomous drone swarms, in which many intelligent

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

(Corresponding author: Chih-Wei Huang.)

Chih-Wei Huang, Hsin-Chieh Lee, and Yun-Chen Yu are with the Department of Communication Engineering, National Central University, Taoyuan City 320317, Taiwan (e-mail: cwhuang@ce.ncu.edu.tw; 112523042@cc.ncu.edu.tw; 113523038@cc.ncu.edu.tw).

Ibrahim Althamary is with the Interdisciplinary Research Center for Intelligent Secure Systems, King Fahd University of Petroleum and Minerals (KFUPM), Dhahran 31261, Saudi Arabia (e-mail: ibrahim.thamary@kfupm.edu.sa).

Rongxing Lu is with the School of Computing, Queen's University, Kingston, ON K7L 2N8, Canada (e-mail: rongxing.lu@queensu.ca).

Phone Lin is with the Department of Computer Science and Information Engineering, the Graduate Institute of Networking and Multimedia, the Graduate Institute of Biomedical Electronics and Bioinformatics, the Internet of Things Research Center, and the Graduate Institute of Medical Device and Imaging, National Taiwan University, Taipei City 10617, Taiwan (e-mail: plin@csie.ntu.edu.tw).

agents collaborate in dynamic environments to accomplish complex tasks [1]. These interconnected agents share communication, storage, and computing resources for coordinated operations such as adaptive traffic-signal control, infrastructure monitoring, and synchronized drone missions [2]. Achieving high performance, security, and reliability in such resource-constrained, interactive settings remains challenging, particularly amid data tampering, privacy breaches, and adversarial disruption [3].

To address decision-making complexity in these settings, Multi-Agent Reinforcement Learning (MARL) has emerged as an essential paradigm in which agents optimize resource scheduling and actions through continuous learning over shared information [4], [5]. A widely adopted framework is Centralized Training and Decentralized Execution (CTDE), which derives global insights from centralized training while preserving the distributed execution that real-world IoT latency and connectivity constraints demand. Learning-based multi-agent path finding (MAPF) commonly adopts this framework [6], as does the state-of-the-art SCRIMP planner [7].

The traditional training process of the CTDE global model introduces critical vulnerabilities. These include untraceable data that hinder transparency, inherent weaknesses in the centralized architecture such as lack of accountability and a single point of failure [5], and policy disobedience where agents may execute malicious actions [8]. In open IoT deployments, these weaknesses are exacerbated by the broader threat landscape facing autonomous AI agents, including data poisoning, model evasion, and behavioral manipulation [9]. Purely on-device training, conversely, loses the global context cooperative tasks require. What is needed is a training framework that distributes management of the learning process for transparency and fault tolerance without sacrificing the coordination benefits of centralized training.

Blockchain can provide a replicated management layer [10], [11], in which commitments to model updates and interactions support an auditable coordination history [12], [13]. Commitments bind recorded inputs; they do not establish sensor truth or the correctness of off-chain inference. Such deployments commonly span several operators with no single party that all of them trust, which is the setting in which a replicated ledger repays its overhead. Trust is then bounded rather than eliminated, since the shared coordination infrastructure is trusted while the agents that participate in training are not. Blockchain alone, however, does not address policy disobedience, because it preserves submitted interaction records yet cannot determine whether recorded behavior reflects genuine cooperation or adversarial interference. Closing this loop requires behavioral verification and incentive alignment inside the training process itself, complementing recent advances in adversarial detection for cooperative multi-agent systems [14], [15].

Several architectures have been proposed at the convergence of blockchain and AI. Early frameworks pioneered decentralized machine learning on simulated blockchains, using token incentives to validate data quality [16]–[18]. Subsequent work added incentives for data and compute sharing on real chains but largely overlooked behavior verification and adversarial mitigation during training [19], [20]. In blockchain-integrated MARL specifically, recent efforts explore on-chain coordination for multi-object tracking, path planning in cognitive vehicular networks, and resource management for blockchain-based federated learning in IoT [21]–[23]. The most directly comparable framework, LearnChain [24], makes MARL model updates traceable, but its record is compiled after the fact, and an agent logged as deviant still contributes to the shared model exactly as a compliant one does. Across this literature the ledger observes training rather than participating in it, so the step from detecting misbehavior to withholding its influence over the learned policy remains open.

The gap is therefore not auditability but consequence, because evidence of how an agent actually behaved is not carried back into the update that trains the shared policy. We close that loop with Blockchain-Enabled Centralized Training and Decentralized Execution (BE-CTDE), in which blockchain is an active training-management layer. The contributions are:

• Closed-loop BE-CTDE. On-chain coordination and off-chain learning form an auditable training cycle: behavioral verification updates economic state, economic state determines aggregation weight, and insufficient balance ends an agent's training contribution.

• Detection and aggregation. A framework-agnostic verifier compares executed trajectories with shared-policy recommendations using a task-specific residual. The coupled token mechanism applies slashing, burning, rewards, and compensation, while retained balances weight the per-agent learning contributions. This makes detected deviations economically consequential without requiring gradient-space similarity between heterogeneous agents.

• Conditional theoretical guarantees. We derive the one-round incentive comparison with action-dependent compensation and deviation utility. Exclusion in finite expected time needs no perfect detector, only history-uniform detection above a threshold, at most 1/3 in our setting even with full compensation, and the excluded adversary then contributes no new gradient. An exact capacity result makes the threshold hold for every retained population.

• Implementation and MAPF evaluation. A private Ethereum/Solidity implementation evaluates BE-CTDE across population scales, adversary ratios, and obstacle densities. BE-CTDE achieves higher success rates under attack than the state-of-the-art SCRIMP planner and, in every configuration, lower collision rates than partially defended baselines, by up to 35% relative to detection without economic consequences and up to 43% relative to conventional stake slashing.

The rest of the paper is organized as follows. Section II reviews related work. Section III sets out the system model, threat model, and design problem, and Section IV develops the detection, incentive, and aggregation mechanisms with their guarantees. Section V describes the blockchain implementation, Section VI reports the MAPF evaluation, and Section VII concludes the paper.

References (42)