Deploying Trusted and Immutable Predictive Models on a Public Blockchain Network

Deploying Trusted and Immutable Predictive Models on a Public Blockchain Network

Volume 9, Issue 3, Page No 72-83, 2024

Author’s Name: Brandon Wetzel, Haiping Xu

View Affiliations

Computer and Information Science Department, University of Massachusetts Dartmouth, Dartmouth, MA 02747, USA

a)whom correspondence should be addressed. E-mail: hxu@umassd.edu

Adv. Sci. Technol. Eng. Syst. J. 9(3), 72-83 (2024); a  DOI: 10.25046/aj090307

Keywords: Predictive model, Public blockchain, Smart contract, On-chain storage

Share

50 Downloads

Export Citations

Machine learning-based predictive models often face challenges, particularly biases and a lack of trust in their predictions when deployed by individual agents. Establishing a robust deployment methodology that supports validating the accuracy and fairness of these models is a critical endeavor. In this paper, we introduce a novel approach to deploying predictive models, such as pre-trained neural network models, in a public blockchain network using smart contracts. Smart contracts are encoded in our approach as self-executing protocols for storing various parameters of the predictive models. We develop efficient algorithms for uploading and retrieving model parameters from smart contracts on a public blockchain, thereby ensuring the trustworthiness and immutability of the stored models, making them available for testing and validation by all peers within the network. In addition, users can rate and comment on the models, which are permanently recorded in the blockchain. To demonstrate the effectiveness of our approach, we present a case study focusing on storing vehicle price prediction models and review comments. Our experimental results show that deploying predictive models on a public blockchain network provides a proficient and reliable way to ensure model security, immutability, and transparency.

Received: 25 March, 2024, Revised: 12 May, 2024, Accepted: 29 May, 2024, Published Online: 16 June, 2024

  1. Sarker, “AI‑based modeling: techniques, applications and research issues towards automation, intelligent and smart systems,” SN Computer Science, 3(158), 1-20, 2022, doi: 10.1007/s42979-022-01043-x.
  2. NYC 311, “Automated employment decision tools,” The Official Website of the City of New York, July 2023. Retrieved on September 1, 2023 from https://portal.311.nyc.gov/article/?kanumber=KA-03552.
  3. S. Nakamoto, “Bitcoin: a peer-to-peer electronic cash system,” White Paper, Bitcoin Project, October 2008. Retrieved on January 15, 2023 from https://bitcoin.org/bitcoin.pdf.
  4. V. Buterin, “Ethereum: a next-generation smart contract and decentralized application platform,” Ethereum Whitepaper, 2014. Retrieved on May 15, 2023 from https://ethereum.org/en/whitepaper/.
  5. O. Dib, K.-L. Brousmiche, A. Durand, E. Thea, E. B. Hamida, “Consortium blockchains: overview, applications and challenges,” International Journal on Advances in Telecommunications, 11(1&2), 51-64, 2018.
  6. H. Guo, X. Yu, “A survey on blockchain technology and its security,” Blockchain: Research and Applications, 3(2), February 2022, doi: 10.1016/ j.bcra.2022.100067.
  7. Thamrin, H. Xu, “Cloud-based blockchains for secure and reliable big data storage service in healthcare systems,” In Proceedings of the 15th IEEE International Conference on Service-Oriented System Engineering (IEEE SOSE 2021), 81-89, Oxford Brookes University, UK, August 2021, doi: 10.1109/SOSE52839.2021.00015.
  8. S. Kumar, A. K. Bharti, R. Amin, “Decentralized secure storage of medical records using blockchain and IPFS: a comparative analysis with future directions,” Security and Privacy, 4(5), 1-16, April 2021. doi: 10.1002/spy2.162.
  9. H. Wang, Y. Song, “Secure cloud-based EHR system using attribute-based cryptosystem and blockchain,” Journal of Medical Systems, 42(152), 1-9, July 2018, doi: 10.1007/s10916-018-0994-6.
  10. S. Liu, H. Tang, “A consortium medical blockchain data storage and sharing model based on IPFS,” In Proceedings of the 4th International Conference on Computers in Management and Business (ICCMB 2021), 147-153, Singapore, January 2021, doi: 10.1145/3450588. 3450944.
  11. Thamrin, H. Xu, “Hierarchical cloud-based consortium blockchains for healthcare data storage,” 2021 IEEE 21st International Conference on Software Quality, Reliability and Security Companion (QRS-C), 644-651, Hainan, China, December 2021, doi: 10.1109/QRS-C55045.2021.00098.
  12. S. D. Ashwini, A. P. Patil, S. K. Shetty, “Moving towards blockchain-based solution for ensuring secure storage of medical images,” In Proceedings of the 2021 IEEE 18th India Council International Conference (INDICON), 1-5, Guwahati, India, December 19-21, 2021, doi: 10.1109/INDICON52576. 2021.9691516.
  13. S. Ballal, Y. Chandre, R. Pise, B. Sonare, S. Patil, “Blockchain-based decentralized platform for electronic health records management,” In Proceedings of the 2023 IEEE International Conference on Blockchain and Distributed Systems Security (ICBDS), 1-5, New Raipur, India, October 06-08, 2023, doi: 10.1109/ICBDS58040.2023.10346392.
  14. S. Ajjarapu, S. K. Pasupuleti, “Blockchain based certificateless privacy preserving public auditing for cloud storage systems,” In Proceedings of the 2022 Seventh International Conference on Parallel, Distributed and Grid Computing (PDGC), 286-291, Solan, Himachal Pradesh, India, November 25-27, 2022, doi: 10.1109/PDGC56933.2022.10053241.
  15. Y. Jeong, D. Hwang, K. Kim, “Blockchain-based management of video surveillance systems,” In Proceedings of the 2019 International Conference on Information Networking (ICOIN), 465-468, Kuala Lumpur, Malaysia, January 2019, doi: 10.1109/ICOIN.2019.8718126.
  16. Z. Su, H. Wang, H. Wang, X. Shi, “A financial data security sharing solution based on blockchain technology and proxy re-encryption technology,” In Proceeedings of the IEEE 3rd International Conference of Safe Production and Informatization (IICSPI), 462-465, Chongqing City, China, 2020, doi: 10.1109/IICSPI51290.2020.9332363.
  17. N. Mehrabi, F. Morstatter, N. Saxena, K. Lerman, A. Galstyan, “A Survey on bias and fairness in machine learning,” ACM Computing Surveys, 54(6), Article No. 115, 1-35, July 2022, doi:10.1145/3457607.
  18. V. N. Mandhala, D. Bhattacharyya, D. Midhunchakkaravarthy, “Need of mitigating bias in the datasets using machine learning algorithms,” In Proceedings of the 2022 International Conference on Advances in Computing, Communication and Applied Informatics (ACCAI), 1-7, Chennai, India, 2022, doi: 10.1109/ACCAI53970.2022.9752643.
  19. M. Atay, H. Gipson, T. Gwyn, K. Roy, “Evaluation of gender bias in facial recognition with traditional machine learning algorithms,” In Proceedings of the 2021 IEEE Symposium Series on Computational Intelligence (SSCI), 1-7, Orlando, FL, USA, December 2021, doi: 10.1109/SSCI50451.2021. 9660186.
  20. S. Rohani, R. Baeza-Yates, “Measuring bias,” In Proceedings of the 2023 IEEE International Conference on Big Data (BigData), 1289-1298, Sorrento, Italy, 2023, doi: 10.1109/BigData59044.2023.10386679.
  21. H. Wang, S. Mukhopadhyay, Y. Xiao, S. Fang, “An interactive approach to bias mitigation in machine learning,” In Proceedings of the 2021 IEEE 20th International Conference on Cognitive Informatics & Cognitive Computing (ICCI*CC), 199-205, Banff, AB, Canada, October 2021, doi: 10.1109/ICCICC53683.2021.9811333.
  22. M. C. Cohen, S. Miao, Y. Wang, “Dynamic pricing with fairness constraints,” SSRN, September 2021. Retrieved on October 1, 2023 from
    https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3930622.
  23. Y. Wang, H. Liu, “De-biasing methods in neural networks: a survey,” In Proceedings of the 2023 International Conference on Machine Learning and Cybernetics (ICMLC), 458-463, Adelaide, Australia, July 2023, doi: 10.1109/ICMLC58545.2023.10327985.
  24. H. Maheshwari, U. Chandra, D. Yadav, A. Gupta, R. Kaur, “Machine learning and blockchain: a promising future,” In Proceedings of the 4th International Conference on Intelligent Engineering and Management (ICIEM), 1-6, London, United Kingdom, May 09-11, 2023, doi: 10.1109/ICIEM59379.2023.10166343.
  25. X. Chen, J. Ji, C. Luo, W. Liao, P. Li, “When machine learning meets blockchain: a decentralized, privacy-preserving and secure design,” In Proceedings of the 2018 IEEE International Conference on Big Data (Big Data), 1178-1187, Seattle, WA, USA, December 10-13, 2018, doi:10.1109/BigData.2018.8622598.
  26. T. Wang, “A unified analytical framework for trustable machine learning and automation running with blockchain,” In Proceedings of the 2018 IEEE International Conference on Big Data (Big Data), 4974-4983, Seattle, WA, USA, 2018, doi: 10.1109/BigData.2018.8622262.
  27. S. Badruddoja, R. Dantu, Y. He, A. Salau, K. Upadhyay, “Scalable smart contracts for linear regression algorithm,” International Conference on Blockchain Technology and Emerging Applications (BlockTEA 2022), Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, 498, 19-31, Springer, Cham, April 2023, doi: 10.1007/978-3-031-31420-9_2.
  28. B. Gu, A. Singh, Y. Zhou, J. Fang, F. Nawab, “ML on chain: the case and taxonomy of machine learning on blockchain,” In Proceedings of the 2023 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), 1-18, Dubai, United Arab Emirates, May 1-5, 2023, doi: 10.1109/ICBC56567.2023.10174908.
  29. M. Folk, G. Heber, Q. Koziol, E. Pourmal, D. Robinson, “An overview of the HDF5 technology suite and its applications,” In Proceedings of the EDBT/ICDT 2011 Workshop on Array Databases, 36-47, Uppsala Sweden, March 25, 2011, doi: 10.1145/1966895.1966900.
  30. ConsenSys, “What is Ganache?” Overview – Truffle Suite, ConsenSys Software Inc., 2022. Retrieved on March 15, 2024 from https://archive. trufflesuite.com/docs/ganache/.
  31. al-Qerem, A. Hammarsheh, A. M. Ali, Y. Alslman, M. Alauthman, “Using consensus algorithm for blockchain application of roaming services for mobile network,” International Journal of Advances in Soft Computing & its Applications, 15(1), 99-112, March 2023, doi: 10.15849/IJASCA. 230320.07.
  32. O’Hagan, T. Leonard, “Bayes estimation subject to uncertainty about parameter constraints,” Biometrika, 63(1), 201-203, 1976, doi: 10.1093/ biomet/63.1.201.
  33. S. K. Ashour, M. A. Abdel-hameed, “Approximate skew normal distribution,” Journal of Advanced Research, 1(4), 341-350, October 2010, doi: 10.1016/j.jare.2010.06.004.
  34. M. Felipe, H. Xu, “A scalable storage scheme for on-chain big data using historical blockchains,” In 2022 IEEE 22nd International Conference on Software Quality, Reliability and Security Companion (QRS-C), 54-61, IEEE BSC 2022, Guangzhou, China, December 5-9, 2022, doi: 10.1109/ QRS-C57518.2022.00017.
  35. Ethereum, “Blocks,” Ethereum Documents, Feburary 27, 2024. Retrieved on March 15, 2024 from https://ethereum.org/developers/docs/blocks.
  36. S. Ahn, T. Kim, Y. Kwon, S. Cho, “Packet aggregation scheme to mitigate the network congestion in blockchain networks,” In Proceedings of the 2020 International Conference on Electronics, Information, and Communication (ICEIC), 1-3, Barcelona, Spain, January 19-22, 2020, doi: 10.1109/ ICEIC49074.2020.9051158.
  37. J. R. Beckstrom, “Auditing machine learning algorithms: a white paper for public auditors,” International Journal of Government Auditing, 48(1), 40-41, Winter Edition, 2021.
  38. R. Ming, H. Xu, “Timely publication of transaction records in a private blockchain,” In 2020 IEEE 20th International Conference on Software Quality, Reliability and Security Companion (QRS-C), 116-123, IEEE BSC 2020, Macau, China, December 11-14, 2020, doi: 10.1109/QRS-C51114. 2020.00030.

Citations by Dimensions

Citations by PlumX

Crossref Citations

This paper is currently not cited.

No. of Downloads Per Month

No. of Downloads Per Country