Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Recurrent Neural Network (RNN)–Based Approach to Uncover the Relationship Between Block Size and Blockchain Performance

Published: 01 January 2024 Publication History

Abstract

Blockchain is a distributed system where transactions are recorded on blocks. The blocks are linked with previous blocks creating a chain of blocks that ensures the integrity of the blockchain. Throughput operates as a pivotal performance indicator in blockchain contributing to its popularity among organizations and individual users. To achieve optimized use of blockchain for an increasing number of users, accurate prediction of performance at different timestamps is necessary. In this paper, two recurrent neural network (RNN)–based predictive models, i.e., long short-term memory (LSTM) and gated recurrent unit (GRU) are proposed that predict the performance (throughput) of blockchain in different scenarios. Moreover, the study analyzes blockchain data to find optimal block size, impact of block size on performance, and uncover the relationship between performance and block size. The RNN models are evaluated using a dataset collected from Hyperledger Caliper on the HF framework 2.3. This study found that the performance of LSTM is approximately close to GRU regarding evaluation metrics MAE and RMSE. However, GRU is more suitable for practical applications and performs better overall. This study also shows a Spearman correlation value of 0.032, which is indicative of a weak association between the two factors.

References

[1]
M. H. Rehmani, “Blockchain Systems and Communication Networks: From Concepts to Implementation,” in Textbooks in Telecommunication Engineering, Springer International Publishing, Cham, 2021.
[2]
M. N. M. Bhutta, A. A. Khwaja, A. Nadeem et al., “A Survey on Blockchain Technology: Evolution, Architecture and Security,” IEEE Access, vol. 9, pp. 61048–61073, 2021.
[3]
P. Treleaven, R. Gendal Brown, and D. Yang, “Blockchain Technology in Finance,” Computer, vol. 50, no. 9, pp. 14–17, 2017.
[4]
P. Dutta, T.-M. Choi, S. Somani, and R. Butala, “Blockchain Technology in Supply Chain Operations: Applications, Challenges and Research Opportunities,” Transportation Research Part E: Logistics and Transportation Review, vol. 142, 2020.
[5]
N. Mohananthini, C. Ananth, and M. Y. Parvees, “Secured Different Disciplinaries in Electronic Medical Record Based on Watermarking and Consortium Blockchain Technology,” KSII Transactions on Internet and Information Systems, vol. 16, no. 3, pp. 947–971, 2022.
[6]
B. Koteska, E. Karafiloski, and A. Mishev, “Blockchain Implementation Quality Challenges: A Literature Review,” in Proceedings of the Sixth Workshop on Software Quality Analysis, Monitoring, Improvement, and Applications, Belgrade, Serbia, September 2017.
[7]
K. M. Khan, J. Arshad, and M. M. Khan, “Investigating Performance Constraints for Blockchain Based Secure E-Voting System,” Future Generation Computer Systems, vol. 105, pp. 13–26, 2020.
[8]
P. Thantharate and A. Thantharate, “ZeroTrustBlock: Enhancing Security, Privacy, and Interoperability of Sensitive Data Through ZeroTrust Permissioned Blockchain,” Big Data and Cognitive Computing, vol. 7, no. 4, p. 165, 2023.
[9]
A. Chauhan, O. P. Malviya, M. Verma, and T. S. Mor, “Blockchain and Scalability,” in Proceedings of the 2018 IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C), pp. 122–128, Lisbon, Portugal, July 2018.
[10]
J. Teutsch and C. Reitwießner, “A Scalable Verification Solution for Blockchains,” Lecture Notes Series, Institute for Mathematical Sciences, vol. 42, pp. 377–424, 2023.
[11]
M. Mahmud, M. S. H. Sohan, S. Reno, M. A. B. Sikder, and F. S. Hossain, “Advancements in Scalability of Blockchain Infrastructure Through IPFS and Dual Blockchain Methodology,” The Journal of Supercomputing, vol. 80, no. 6, pp. 8383–8405, 2024.
[12]
Y. Liu, B. Zhao, Z. Zhao et al., “SS-DID: A Secure and Scalable Web3 Decentralized Identity Utilizing Multi-Layer Sharding Blockchain,” IEEE Internet of Things Journal, vol. 11, no. 15, pp. 25694–25705, 2024.
[13]
Y. Xu and Y. Huang, “Segment Blockchain: A Size Reduced Storage Mechanism for Blockchain,” IEEE Access, vol. 8, pp. 17434–17441, 2020.
[14]
N. Singh and M. Vardhan, “Computing Optimal Block Size for Blockchain Based Applications With Contradictory Objectives,” Procedia Computer Science, vol. 171, pp. 1389–1398, 2020.
[15]
A. Almaghrabi and A. Alhogail, “Blockchain-Based Donations Traceability Framework,” Journal of King Saud University-Computer and Information Sciences, vol. 34, no. 10, pp. 9442–9454, 2022.
[16]
Y. Sompolinsky and A. Zohar, “Secure High-Rate Transaction Processing in Bitcoin,” in Financial Cryptography and Data Security, R. Böhme and T. Okamoto, Eds., pp. 507–527, Springer, Berlin, Heidelberg, 2015.
[17]
S. Shahriar Hazari and Q. H. Mahmoud, “Improving Transaction Speed and Scalability of Blockchain Systems Via Parallel Proof of Work,” Future Internet, vol. 12, no. 8, p. 125, 2020.
[18]
X. Xu, G. Sun, L. Luo, H. Cao, H. Yu, and A. V. Vasilakos, “Latency Performance Modeling and Analysis for Hyperledger Fabric Blockchain Network,” Information Processing & Management, vol. 58, no. 1, 2021.
[19]
P. Gaba, R. S. Raw, M. A. Mohammed, J. Nedoma, and R. Martinek, “Impact of Block Data Components on the Performance of Blockchain-Based VANET Implemented on Hyperledger Fabric,” IEEE Access, vol. 10, pp. 71003–71018, 2022.
[20]
J. Chen, Y. Cheng, Z. Xu, and Y. Cao, “Decision on Block Size in Blockchain Systems by Evolutionary Equilibrium Analysis,” Theoretical Computer Science, vol. 942, pp. 93–106, 2023.
[21]
M. Shafay, R. W. Ahmad, K. Salah, I. Yaqoob, R. Jayaraman, and M. Omar, “Blockchain for Deep Learning: Review and Open Challenges,” Cluster Computing, vol. 26, no. 1, pp. 197–221, 2023.
[22]
K. R. Ahmed and H. Hexmoor, Blockchain and Deep Learning: Future Trends and Enabling Technologies, Springer Nature, Cham, 2022.
[23]
V. Saravanan, M. Madiajagan, S. M. Rafee, P. Sanju, T. B. Rehman, and B. Pattanaik, “IoT-Based Blockchain Intrusion Detection Using Optimized Recurrent Neural Network,” Multimedia Tools and Applications, vol. 83, no. 11, pp. 31505–31526, 2023.
[24]
N. Metawa, M. I. Alghamdi, I. M. El-Hasnony, and M. Elhoseny, “Return Rate Prediction in Blockchain Financial Products Using Deep Learning,” Sustainability, vol. 13, no. 21, p. 11901, 2021.
[25]
E. S. Babu, B. V. R. N. Yadav, A. K. Nikhath, S. R. Nayak, and W. Alnumay, “MediBlocks: Secure Exchanging of Electronic Health Records (EHRs) Using Trust-Based Blockchain Network With Privacy Concerns,” Cluster Computing, vol. 26, no. 4, pp. 2217–2244, 2023.
[26]
R. Zhang, R. Xue, and L. Liu, “Security and Privacy on Blockchain,” ACM Computing Surveys, vol. 52, no. 3, pp. 1–34, 2020.
[27]
S. Ruiz-Villafranca, J. Carrillo-Mondéjar, J. M. Castelo Gómez, and J. Roldán-Gómez, “MECInOT: A Multi-Access Edge Computing and Industrial Internet of Things Emulator for the Modelling and Study of Cybersecurity Threats,” The Journal of Supercomputing, vol. 79, no. 11, pp. 11895–11933, 2023.
[28]
J. Wang, R. Zhu, T. Li, F. Gao, Q. Wang, and Q. Xiao, “ETC-Oriented Efficient and Secure Blockchain: Credit-Based Mechanism and Evidence Framework for Vehicle Management,” IEEE Transactions on Vehicular Technology, vol. 70, no. 11, pp. 11324–11337, 2021.
[29]
M. Kadadha, H. Otrok, R. Mizouni, S. Singh, and A. Ouali, “On-Chain Behavior Prediction Machine Learning Model for Blockchain-Based Crowdsourcing,” Future Generation Computer Systems, vol. 136, pp. 170–181, 2022.
[30]
F. Jamil, N. Iqbal, S. Ahmad, S. Ahmad, and D. Kim, “Peer-To-Peer Energy Trading Mechanism Based on Blockchain and Machine Learning for Sustainable Electrical Power Supply in Smart Grid,” IEEE Access, vol. 9, pp. 39193–39217, 2021.
[31]
V. R. Kebande, F. M. Awaysheh, R. A. Ikuesan, S. A. Alawadi, and M. D. Alshehri, “A Blockchain-Based Multi-Factor Authentication Model for a Cloud-Enabled Internet of Vehicles,” Sensors, vol. 21, no. 18, p. 6018, 2021.
[32]
I. Makhdoom, I. Zhou, M. Abolhasan, J. Lipman, and W. Ni, “PrivySharing: A Blockchain-Based Framework for Integrity and Privacy-Preserving Data Sharing in Smart Cities,” ICETE, vol. 2, pp. 363–371, 2019.
[33]
A. Yazdinejad, A. Dehghantanha, R. M. Parizi, G. Srivastava, and H. Karimipour, “Secure Intelligent Fuzzy Blockchain Framework: Effective Threat Detection in Iot Networks,” Computers in Industry, vol. 144, 2023.
[34]
A. Yazdinejad, A. Dehghantanha, R. M. Parizi, M. Hammoudeh, H. Karimipour, and G. Srivastava, “Block Hunter: Federated Learning for Cyber Threat Hunting in Blockchain-Based Iiot Networks,” IEEE Transactions on Industrial Informatics, vol. 18, no. 11, pp. 8356–8366, 2022.
[35]
A. Yazdinejad, H. HaddadPajouh, A. Dehghantanha, R. M. Parizi, G. Srivastava, and M.-Y. Chen, “Cryptocurrency Malware Hunting: A Deep Recurrent Neural Network Approach,” Applied Soft Computing, vol. 96, 2020.
[36]
P. Kumar, R. Kumar, G. P. Gupta, R. Tripathi, A. Jolfaei, and A. Najmul Islam, “A Blockchain-Orchestrated Deep Learning Approach for Secure Data Transmission in IoT-Enabled Healthcare System,” Journal of Parallel and Distributed Computing, vol. 172, pp. 69–83, 2023.
[37]
M. Liu, F. R. Yu, Y. Teng, V. C. Leung, and M. Song, “Performance Optimization for Blockchain-Enabled Industrial Internet of Things (IIoT) Systems: A Deep Reinforcement Learning Approach,” IEEE Transactions on Industrial Informatics, vol. 15, no. 6, pp. 3559–3570, 2019.
[38]
H. Dang, T. T. A. Dinh, D. Loghin, E.-C. Chang, Q. Lin, and B. C. Ooi, “Towards Scaling Blockchain Systems via Sharding,” in Proceedings of the 2019 International Conference on Management of Data, pp. 123–140, Amsterdam, Netherland, June 2019.
[39]
J. Zhang, Z. Hong, X. Qiu, Y. Zhan, S. Guo, and W. Chen, “SkyChain: A Deep Reinforcement Learning-Empowered Dynamic Blockchain Sharding System,” in Proceedings of the 49th International Conference on Parallel Processing-ICPP, pp. 1–11, Edmonton, August 2020.
[40]
H. Honar Pajooh, M. A. Rashid, F. Alam, and S. Demidenko, “Experimental Performance Analysis of a Scalable Distributed Hyperledger Fabric for a Large-Scale IoT Testbed,” Sensors, vol. 22, no. 13, p. 4868, 2022.
[41]
T. Ilsche, R. Schöne, J. Schuchart et al., “Power Measurement Techniques for Energy-Efficient Computing: Reconciling Scalability, Resolution, and Accuracy,” Software-Intensive Cyber-Physical Systems, vol. 34, no. 1, pp. 45–52, 2019.
[42]
O. Sanda, M. Pavlidis, S. Seraj, and N. Polatidis, “Long-Range Attack Detection on Permissionless Blockchains Using Deep Learning,” Expert Systems with Applications, vol. 218, 2023.
[43]
M. Swan, Blockchain: Blueprint for a New Economy, O’Reilly Media, Inc, Sebastopol, CA, 2015.
[44]
N. Zhu, X. Liu, Z. Liu et al., “Deep Learning for Smart Agriculture: Concepts, Tools, Applications, and Opportunities,” International Journal of Agricultural and Biological Engineering, vol. 11, no. 4, pp. 21–28, 2018.
[45]
H. H. Sak, A. Senior, and F. Beaufays Google, “Long Short-Term Memory Based Recurrent Neural Network Architectures for Large Vocabulary Speech Recognition,” 2014, https://arxiv.org/abs/1402.1128.
[46]
H. Sak and A. W. Senior, “Processing Acoustic Sequences Using Long Short-Term Memory (LSTM) Neural Networks That Include Recurrent Projection Layers,” 2017, https://patents.google.com/patent/US9620108B2/en.
[47]
J. Chung, C. Gulcehre, K. Cho, and Y. Bengio, “Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling,” 2014, https://arxiv.org/abs/1412.3555.
[48]
K. Cho, B. van Merrienboer, D. Bahdanau, and Y. Bengio, “On the Properties of Neural Machine Translation: Encoder-Decoder Approaches,” 2014, https://arxiv.org/abs/1409.1259.
[49]
K. Cho and B. V. Merriënboer, “Learning Phrase Representations Using RNN Encoder-Decoder for Statistical Machine Translation,” 2014, https://arxiv.org/abs/1406.1078.
[50]
R. Cahuantzi, X. Chen, and S. Güttel, “A Comparison of LSTM and GRU Networks for Learning Symbolic Sequences,” in Intelligent Computing, pp. 771–785, Springer Nature Switzerland, Cham, 2023.
[51]
W. Li, H. Wu, N. Zhu, Y. Jiang, J. Tan, and Y. Guo, “Prediction of Dissolved Oxygen in a Fishery Pond Based on Gated Recurrent Unit (GRU),” Information Processing in Agriculture, vol. 8, no. 1, pp. 185–193, 2021.
[52]
J. Wang, C. Zhu, C. Miao et al., “BPR: Blockchain-Enabled Efficient and Secure Parking Reservation Framework With Block Size Dynamic Adjustment Method,” IEEE Transactions on Intelligent Transportation Systems, vol. 24, no. 3, pp. 3555–3570, 2023.
[53]
H. Li, Y. Cao, and L. Su, “Pythagorean Fuzzy Multi-Criteria Decision-Making Approach Based on Spearman Rank Correlation Coefficient,” Soft Computing, vol. 26, no. 6, pp. 3001–3012, 2022.
[54]
S. R. H. Ali and E. Essam, “A Comparison of the Pearson, Spearman Rank and Kendall Tau Correlation Coefficients Using Quantitative Variables,” Asian Journal of Probability and Statistics, vol. 10, no. 2, pp. 870–878, 2021.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Applied Computational Intelligence and Soft Computing
Applied Computational Intelligence and Soft Computing  Volume 2024, Issue
2024
807 pages
ISSN:1687-9724
EISSN:1687-9732
Issue’s Table of Contents
This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Publisher

Hindawi Limited

London, United Kingdom

Publication History

Published: 01 January 2024

Author Tags

  1. blockchain
  2. block size
  3. correlation
  4. machine learning
  5. performance
  6. recurrent neural networks

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 08 Feb 2025

Other Metrics

Citations

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media