To chain or not to chain: A reinforcement learning approach for blockchain-enabled IoT monitoring applications

Abstract Traceability and autonomous business logic execution are highly desirable features in IoT monitoring applications. Traceability enables verifying signals’ history for security or analytical purposes. On the other hand, the autonomous execution of pre-defined rules establishes trust between parties involved in such applications and improves the efficiency of their workflow. Smart Contracts (SCs) firmly guarantee these two requirements due to the blockchain’s immutable distributed ledger and secure cryptographic consensus rules. Thus, SCs emerged as an appealing technology for monitoring applications. However, the cost of using public blockchains to harvest these guarantees can be prohibitive, especially with the considerable fluctuation of coin prices and different use case requirements. In this paper, we introduce a general SC-based IoT monitoring framework that can leverage the security features of public blockchains while minimizing the corresponding monetary cost. The framework contains a reinforcement learning agent that adapts to users’ needs and acts in real-time to smartly set the data submission rate of IoT sensors. Results based on the Ethereum protocol show significant potential cost saving depending on users’ preferences.

[1]  Zibin Zheng,et al.  Online Deep Reinforcement Learning for Computation Offloading in Blockchain-Empowered Mobile Edge Computing , 2019, IEEE Transactions on Vehicular Technology.

[2]  Yung Po Tsang,et al.  Blockchain-Driven IoT for Food Traceability With an Integrated Consensus Mechanism , 2019, IEEE Access.

[3]  Hubert Ritzdorf,et al.  TLS-N: Non-repudiation over TLS Enablign Ubiquitous Content Signing , 2018, NDSS.

[4]  Andreas G. Veneris,et al.  Astraea: A Decentralized Blockchain Oracle , 2018, 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData).

[5]  Khaled Salah,et al.  Smart contract-based approach for efficient shipment management , 2019, Comput. Ind. Eng..

[6]  Raafat George Saadé,et al.  Blockchain Applications - Usage in Different Domains , 2019, IEEE Access.

[7]  Shuai Wang,et al.  Blockchain-Enabled Smart Contracts: Architecture, Applications, and Future Trends , 2019, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[8]  Petar Popovski,et al.  Delay and Communication Tradeoffs for Blockchain Systems With Lightweight IoT Clients , 2018, IEEE Internet of Things Journal.

[9]  Ning Zhang,et al.  A Secure Charging Scheme for Electric Vehicles With Smart Communities in Energy Blockchain , 2019, IEEE Internet of Things Journal.

[10]  Shane Legg,et al.  Human-level control through deep reinforcement learning , 2015, Nature.

[11]  Biplab Sikdar,et al.  A Survey on IoT Security: Application Areas, Security Threats, and Solution Architectures , 2019, IEEE Access.

[12]  Andreas Veneris,et al.  On Public Decentralized Ledger Oracles via a Paired-Question Protocol , 2019, 2019 IEEE International Conference on Blockchain and Cryptocurrency (ICBC).

[13]  Nenghai Yu,et al.  Healthchain: A Blockchain-Based Privacy Preserving Scheme for Large-Scale Health Data , 2019, IEEE Internet of Things Journal.

[14]  Gang Chen,et al.  Untangling Blockchain: A Data Processing View of Blockchain Systems , 2017, IEEE Transactions on Knowledge and Data Engineering.

[15]  Hari Om Harsh,et al.  Food quality traceability prototype for restaurants using blockchain and food quality data index , 2019 .

[16]  Shuchih Ernest Chang,et al.  Supply chain re-engineering using blockchain technology: A case of smart contract based tracking process , 2019, Technological Forecasting and Social Change.

[17]  Muhammad Imran,et al.  Securing IoTs in distributed blockchain: Analysis, requirements and open issues , 2019, Future Gener. Comput. Syst..

[18]  Nadra Guizani,et al.  The Best of Both Worlds: A General Architecture for Data Management in Blockchain-enabled Internet-of-Things , 2020, IEEE Network.

[19]  Liming Zhu,et al.  Analysis of Blockchain Solutions for IoT: A Systematic Literature Review , 2019, IEEE Access.

[20]  Victor C. M. Leung,et al.  Performance Optimization for Blockchain-Enabled Industrial Internet of Things (IIoT) Systems: A Deep Reinforcement Learning Approach , 2019, IEEE Transactions on Industrial Informatics.

[21]  Richard S. Sutton,et al.  Reinforcement Learning: An Introduction , 1998, IEEE Trans. Neural Networks.

[22]  Manuel Díaz,et al.  On blockchain and its integration with IoT. Challenges and opportunities , 2018, Future Gener. Comput. Syst..

[23]  Geoffrey E. Hinton,et al.  Deep Learning , 2015, Nature.

[24]  Zhuoran Yang,et al.  A Theoretical Analysis of Deep Q-Learning , 2019, L4DC.

[25]  Lucian Busoniu,et al.  Reinforcement learning for control: Performance, stability, and deep approximators , 2018, Annu. Rev. Control..

[26]  Jimmy Ba,et al.  Adam: A Method for Stochastic Optimization , 2014, ICLR.

[27]  Ralph Deters,et al.  Security, Performance, and Applications of Smart Contracts: A Systematic Survey , 2019, IEEE Access.

[28]  Minyi Guo,et al.  A Comprehensive Survey of Blockchain: From Theory to IoT Applications and Beyond , 2019, IEEE Internet of Things Journal.

[29]  Zibin Zheng,et al.  Blockchain for Internet of Things: A Survey , 2019, IEEE Internet of Things Journal.

[30]  Qi Xia,et al.  GridMonitoring: Secured Sovereign Blockchain Based Monitoring on Smart Grid , 2018, IEEE Access.

[31]  Richard S. Sutton,et al.  On Generalized Bellman Equations and Temporal-Difference Learning , 2017, Canadian Conference on AI.

[32]  Daniel Bumblauskas,et al.  A blockchain use case in food distribution: Do you know where your food has been? , 2020, Int. J. Inf. Manag..

[33]  Jaime Lloret,et al.  Elastic and cost-effective data carrier architecture for smart contract in blockchain , 2019, Future Gener. Comput. Syst..

[34]  Xiang-Yang Li,et al.  System Statistics Learning-Based IoT Security: Feasibility and Suitability , 2019, IEEE Internet of Things Journal.

[35]  Mohammed Samaka,et al.  Security Services Using Blockchains: A State of the Art Survey , 2018, IEEE Communications Surveys & Tutorials.

[36]  Mohsen Guizani,et al.  MeDShare: Trust-Less Medical Data Sharing Among Cloud Service Providers via Blockchain , 2017, IEEE Access.

[37]  Petri Helo,et al.  Blockchains in operations and supply chains: A model and reference implementation , 2019, Comput. Ind. Eng..

[38]  Michael Devetsikiotis,et al.  Blockchains and Smart Contracts for the Internet of Things , 2016, IEEE Access.

[39]  Vlado Stankovski,et al.  Trust management in a blockchain based fog computing platform with trustless smart oracles , 2019, Future Gener. Comput. Syst..

[40]  Wei Ni,et al.  Blockchain's adoption in IoT: The challenges, and a way forward , 2019, J. Netw. Comput. Appl..