Smart-Contract-Based Automation for OF-RAN Processes: A Federated Learning Use-Case
Abstract
:1. Introduction
- We propose a smart-contract-based mechanism for automating OF-RAN processes to provide trusted and distributed offloading services to resource-limited devices;
- We design four smart contracts for automating three OF-RAN processes and one application-specific (i.e., federated DL) process;
- We implement a v-FAP testbed to experimentally investigate our proposed system;
- We analyze the impact of various process parameters on the OF-RAN, blockchain, and federated DL performances.
2. Related Works
3. System Model
- Smart Contract: Defines the rules and logic for automating the OF-RAN processes through four sub-contracts: (i) registration; (ii) selection and placement; (iii) service; and (iv) mining. The registration contract registers interested resourceful user devices as potential service nodes. The selection and placement contract firstly selects a set of user devices based on the cost of using their resources as service nodes in a v-FAP, and then executes OF-RAN’s task-to-node assignment (TNA) as defined in our follow-up work in [13]. The TNA is a process for the placement of the service tasks into the service nodes based on performance criteria such as node energy, process latency, and fairness in workload distribution. The service contract implements the service logic, which is application-specific. As a use-case of our proposed smart contract for OF-RAN, the federated learning application is chosen. The mining contract is responsible for new block generation from the transaction data generated upon executing the service contract to update the ledger;
- I/O Interface: For both seed node and service nodes to exchange information when serving a client;
- Local Application Model: A service node’s application model that processes information from the seed node and generates a local outcome for the client;
- Global Application Model: A seed node’s application model that collates the local outcome from each service node and generates a global outcome for the client;
- Lookup Table: Records the identity and performance of each service node, which can be looked up for future selection of service nodes when a new v-FAP is to be formed;
- Application Output: The global outcome generated by the global application model. In federated learning use-case, the application output is the aggregated weight, also referred to as global update for the client’s DL model.
4. Process Design
4.1. Registration Contract
Algorithm 1: Registration Contrac |
|
Algorithm 2: Selection & Placement Contract |
|
Algorithm 3: Service Contract for Federated DL Process |
|
Algorithm 4: Mining Contract |
|
4.2. Selection and Placement Contract
4.3. Service Contract
4.4. Mining Contract
5. Evaluation Methodology
5.1. Emulation
- Mean precision accuracy (MPA): The percentage of correctly predicted test instances using the global model from the total number of test data instances;
- Latency: The total time incurred for one epoch operation of the federated DL process. This includes both computation and communication time.
5.2. Simulation
- Block interval: The time interval between blocks being added to the blockchain. Herein, the interval depends on the average time for service nodes to compute and send their transactions to a seed node for a new block to be generated;
- Stale block: Refers to a block not added to the blockchain due to concurrency or conflicts between miners. It triggers chain forks that slow the growth of main chain and, thus, is detrimental to the security of the blockchain;
- Stale block rate: The percentage of stale blocks among the total number of blocks mined;
- Throughput: The number of transactions in a block per unit of block interval time, in units of transactions per second (tps).
6. Results and Discussion
6.1. Effect of Varying Service Nodes
6.2. Effect of Varying Block Size and Block Interval
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Habibi, M.A.; Nasimi, M.; Han, B.; Schotten, H.D. A comprehensive survey of RAN architectures toward 5G mobile communication system. IEEE Access 2019, 7, 70371–70421. [Google Scholar] [CrossRef]
- Peng, M.; Yan, S.; Zhang, K.; Wang, C. Fog computing-based radio access networks: Issues and challenges. IEEE Netw. Mag. 2016, 30, 46–53. [Google Scholar] [CrossRef]
- Jijin, J.; Seet, B.-C. Opportunistic fog computing for 5G radio access networks: A position paper. In Proceedings of the Third International Conference on Smart Grid and Innovative Frontiers in Telecommunications (SmartGIFT), Auckland, New Zealand, 23–24 April 2018. [Google Scholar]
- Lilien, L.; Gupta, A.; Kamal, Z.; Yang, Z. Opportunistic resource utilization networks—a new paradigm for specialized ad hoc networks. Comput. Electr. Eng. 2010, 36, 328–340. [Google Scholar] [CrossRef]
- Jijin, J.; Seet, B.-C.; Chong, P.H.J. Blockchain enabled opportunistic fog-based radio access network: A position paper. In Proceedings of the 29th International Telecommunication Networks and Applications Conference (ITNAC), Auckland, New Zealand, 27–29 November 2019. [Google Scholar]
- Rathore, S.; Pan, Y.; Park, J.H. BlockDeepNet: A Blockchain-based secure deep learning for IoT network. Sustainability 2019, 11, 3974. [Google Scholar] [CrossRef]
- Cui, L.; Su, X.; Ming, Z.; Chen, Z.; Yang, S.; Zhou, Y.; Xiao, W. CREAT: Blockchain-assisted compression algorithm of federated learning for content caching in edge computing. IEEE Internet Things J. 2022, 9, 14151–14161. [Google Scholar] [CrossRef]
- Rathore, S.; Kwon, B.W.; Park, J.H. BlockSecIoTNet: Blockchain-based decentralized security architecture for IoT network. J. Netw. Comput. Appl. 2019, 143, 167–177. [Google Scholar] [CrossRef]
- Zhu, H.; Huang, C.; Zhou, J. Edgechain: Blockchain-based multi-vendor mobile edge application placement. In Proceedings of the 4th IEEE Conference on Network Softwarization and Workshops, Montreal, QC, Canada, 25–29 June 2018. [Google Scholar]
- Liu, Y.; Wang, K.; Lin, Y.; Xu, W. LightChain: A lightweight Blockchain system for industrial Internet of Things. IEEE Trans. Ind. Inform. 2019, 15, 3571–3581. [Google Scholar] [CrossRef]
- Weng, J.; Zhang, J.; Li, M.; Zhang, Y.; Luo, W. Deepchain: Auditable and privacy-preserving deep learning with blockchain-based incentive. IEEE Trans. Dependable Secur. Comput. 2021, 18, 2438–2455. [Google Scholar] [CrossRef]
- Lu, Y.; Huang, X.; Zhang, K.; Maharjan, S.; Zhang, Y. Low-latency federated learning and Blockchain for edge association in digital twin empowered 6G networks. IEEE Trans. Ind. Inform. 2021, 17, 5098–5107. [Google Scholar] [CrossRef]
- Jijin, J.; Seet, B.-C.; Chong, P.H.J. Multi-objective optimization of task-to-node assignment in opportunistic fog RAN. Electronics 2020, 9, 474. [Google Scholar] [CrossRef] [Green Version]
- Gervais, A.; Karame, G.O.; Wüst, K.; Glykantzis, V.; Ritzdorf, H.; Capkun, S. On the security and performance of proof of work blockchains. In Proceedings of the ACM SIGSAC Conference on Computer and Communications Security, Vienna, Austria, 24–28 October 2016. [Google Scholar]
- Zhao, Z.; Feng, C.; Yang, H.H.; Luo, X. Federated-learning-enabled intelligent fog radio access networks: Fundamental theory, key techniques, and future trends. IEEE Wirel. Commun. Mag. 2020, 27, 22–28. [Google Scholar] [CrossRef]
- The MINST Database. Available online: http://yann.lecun.com/exdb/mnist/ (accessed on 5 August 2022).
Parameter | Value | Unit |
---|---|---|
Block size δ | 0.25–4 | MB |
Block interval τ | 2–7 | minutes |
Transaction size | 1 | KB |
Number of miners | 16 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Jijin, J.; Seet, B.-C.; Chong, P.H.J. Smart-Contract-Based Automation for OF-RAN Processes: A Federated Learning Use-Case. J. Sens. Actuator Netw. 2022, 11, 53. https://doi.org/10.3390/jsan11030053
Jijin J, Seet B-C, Chong PHJ. Smart-Contract-Based Automation for OF-RAN Processes: A Federated Learning Use-Case. Journal of Sensor and Actuator Networks. 2022; 11(3):53. https://doi.org/10.3390/jsan11030053
Chicago/Turabian StyleJijin, Jofina, Boon-Chong Seet, and Peter Han Joo Chong. 2022. "Smart-Contract-Based Automation for OF-RAN Processes: A Federated Learning Use-Case" Journal of Sensor and Actuator Networks 11, no. 3: 53. https://doi.org/10.3390/jsan11030053
APA StyleJijin, J., Seet, B. -C., & Chong, P. H. J. (2022). Smart-Contract-Based Automation for OF-RAN Processes: A Federated Learning Use-Case. Journal of Sensor and Actuator Networks, 11(3), 53. https://doi.org/10.3390/jsan11030053