Skip to main content

Advertisement

Log in

A hybrid blockchain and federated learning attention-based BERT transformer framework for medical records management

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

The integration of federated learning, attention-based models like BERT, and blockchain technology presents a transformative approach for managing medical records. This paper introduces a hybrid framework combining the latter technologies to solve critical challenges pertaining to the secure management of healthcare data. Federated learning provides a distributed learning of machine models, where sensitive patient data does not need to be transferred, while BERT models improve the precision in processing medical records using natural language understanding. Blockchain adds a layer of security by recording model updates transparently to ensure tamper-proofing and transactions. A concrete methodology for the implementation of the introduced framework including the design of the smart contract in Solidity is provided to secure recording the model updates. Various tests assessing the performance of the proposed system show a significant improvement in data privacy, model security and precision, compared to the other systems. This hybrid methodology offers advances in handling medical records and elaborates a new benchmark in integrating AI and blockchain for healthcare. This framework thus redefines secure and collaborative healthcare data management, setting the stage for further enhancements in privacy-focused AI applications in medical contexts.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Explore related subjects

Discover the latest articles and news from researchers in related subjects, suggested using machine learning.

Data availability

No datasets were generated or analyzed during the current study.

References

  1. Ancker JS, Silver M, Kaushal R (2014) Rapid growth in use of personal health records in New York, 2012–2013. J Gen Intern Med 29:850–854

    Article  Google Scholar 

  2. Madine MM, Battah AA, Yaqoob I et al (2020) Blockchain for giving patients control over their medical records. IEEE Access 8:193102–193115

    Article  Google Scholar 

  3. Daraghmi E-Y, Daraghmi Y-A, Yuan S-M (2019) MedChain: a design of blockchain-based system for medical records access and permissions management. IEEE Access 7:164595–164613

    Article  Google Scholar 

  4. He Y, Dai L, Zhang H (2020) Multi-branch deep residual learning for clustering and beamforming in user-centric network. IEEE Commun Lett 24(10):2221–2225

    Article  Google Scholar 

  5. Weng L, He Y, Peng J et al (2021) Deep cascading network architecture for robust automatic modulation classification. Neurocomputing 455:308–324

    Article  Google Scholar 

  6. Devlin J, Chang M-W, Lee K, Toutanova K (2019) BERT: pretraining of deep bidirectional transformers for language understanding. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), Minneapolis, Minnesota. Association for Computational Linguistics, pp 4171–4186

  7. Taloba AI, Elhadad A, Rayan A et al (2023) A blockchain-based hybrid platform for multimedia data processing in IoT-Healthcare. Alex Eng J 65:263–274

    Article  Google Scholar 

  8. Bharimalla PK, Choudhury H, Parida S et al. (2021) A blockchain and NLP based electronic health record system: Indian subcontinent context. Informatica 45(4)

  9. Ali A, Pasha MF, Ali J et al (2022) Deep learning based homomorphic secure search-able encryption for keyword search in blockchain healthcare system: a novel approach to cryptography. Sensors 22(2):528

    Article  Google Scholar 

  10. Singh H, Ahmed Z, Khare MD et al (2023) An IoT and blockchain-based secure medical care framework using deep learning and nature-inspired algorithms. Int J Intell Syst Appl Eng 11(8s):183–191

    Google Scholar 

  11. Kim S-K, Huh J-H (2020) Artificial neural network blockchain techniques for healthcare system: focusing on the personal health records. Electronics 9(5):763

    Article  Google Scholar 

  12. Mantey EA, Zhou C, Srividhya SR et al (2022) Integrated blockchain-deep learning approach for analyzing the electronic health records recommender system. Front Public Health 10:905265

    Article  Google Scholar 

  13. Khan AA, Laghari AA, Shafiq M et al (2022) Healthcare ledger management: A blockchain and machine learning-enabled novel and secure architecture for medical industry. Hum Cent Comput Inf Sci 12:55

    Google Scholar 

  14. Mantey EA, Zhou C, Mani V et al. (2023) Maintaining privacy for a recommender system diagnosis using blockchain and deep learning. Hum-Cent Comput Inf Sci 13

  15. Li Y, Chen C, Liu N et al (2020) A blockchain-based decentralized federated learning framework with committee consensus. IEEE Net 35(1):234–241

    Article  Google Scholar 

  16. Sammeta N, Parthiban L (2022) Hyperledger blockchain enabled secure medical record management with deep learning-based diagnosis model. Comp Intell Syst 8(1):625–640

    Article  Google Scholar 

  17. Li D, Han D, Weng T-H et al (2022) Blockchain for federated learning toward secure distributed machine learning systems: a systemic survey. Soft Comput 26(9):4423–4440

    Article  Google Scholar 

  18. Attia Q, Ahmad K, Huansheng N (2022) Securing federated learning with blockchain: a systematic literature review

  19. Hai T, Zhou J, Srividhya SR et al (2022) Bvflemr: an integrated federated learning and blockchain technology for cloud-based medical records recommendation system. J Cloud Comput 11(1):22

    Article  Google Scholar 

  20. Al Mamun A, Azam S, Gritti C (2022) Blockchain-based electronic health records management: a comprehensive review and future research direction. IEEE Access 10:5768–5789

    Article  Google Scholar 

  21. Shafay M, Ahmad RW, Salah K et al (2023) Blockchain for deep learning: review and open challenges. Cluster Comput 26(1):197–221

    Article  Google Scholar 

  22. Dataset 1: Available: https://github.com/Jiayue-Zhou/A-Blockchain-Based-Medical-Record-System-incorporated-with-Deep-Learning. Accessed 8 Aug 2024

  23. Dataset 2: Available: https://github.com/bonedaddy/deepblockchains. Accessed 10 Aug 2024

  24. Dataset 3: Available: https://github.com/xiaomaogy/Deep_learning--blockchain_readme_generator/tree/master. Accessed 5 Aug 2024

Download references

Author information

Authors and Affiliations

Authors

Contributions

This work is part of the work of the Phd student D.S. H.I. as a confirmed professor in his field is the director initiated this work in collaboration with the co-supervisor S.M. from the University of Tabuk. Discussions between the three researchers allow to define the framework of this work. The student then had the task of carrying out experiments after Pr. H.I. and Dr. S.M. checked her code. For the writing, the state of the art section was initiated by the student but the two confirmed professors rewrote and improved this part. Finally, the analysis of the experimental part was the subject of much discussion for the final writing of the text. The two professors then took the paper back to improve the writing and add missing elements. Revision 1 (refinement of manuscript and coding) was achieved mainly by Dr. Sami Mnasri.

Corresponding author

Correspondence to Sami Mnasri.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mnasri, S., Salah, D. & Idoudi, H. A hybrid blockchain and federated learning attention-based BERT transformer framework for medical records management. J Supercomput 81, 317 (2025). https://doi.org/10.1007/s11227-024-06816-0

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11227-024-06816-0

Keywords