Skip to main content

Smart Contracts Implementation Based on Bidirectional Encoder Representations from Transformers

  • Conference paper
  • First Online:
Product Lifecycle Management. Green and Blue Technologies to Support Smart and Sustainable Organizations (PLM 2021)

Abstract

The distribution and immutability properties of blockchains made it possible to use them in various fields, such as Supply Chain, finance and health. The automation of the creation and execution of transactions in a blockchain in a decentralized and transparent manner is realized through Smart Contracts programming codes. This paper presents the implementation of Smart Contracts in specific manufacturing Supply Chains and discusses their life cycle and impact on the Supply Chain management. The presented application deals with the possibility of transforming natural language contracts of a given Supply Chain to automated Smart Contracts that makes the Supply Chain management faster and safer. A first solution is proposed based on Bidirectional Encoder Representations from Transformers (BERT) model and limited to the implementation of Smart Contracts of the Supply Chain legal contracts. Also described here is the ways of extracting contract elements from legal contracts by applying the BERT Deep Learning method on annotated contract dataset of a corpus of 13000 annotations over 510 contracts.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://bitcoin.org/bitcoin.pdf.

  2. 2.

    https://www.atticusprojectai.org/.

  3. 3.

    http://nlp.stanford.edu/software/CRF-NER.shtml.

  4. 4.

    http://spacy.io.

  5. 5.

    http://nlp.cs.aueb.gr/.

  6. 6.

    https://www.supplyledger.qa/.

  7. 7.

    https://arxiv.org/abs/2009.04968.

References

  1. Koulu, R.: Blockchains and online dispute resolution: smart contracts as an alternative to enforcement. SCRIPTed 13, 40 (2016)

    Google Scholar 

  2. Ben, F.R., Lahami, M.: Application of blockchain technology in healthcare: a comprehensive study. In: Jmaiel, M., Mokhtari, M., Abdulrazak, B., Aloulou, H., Kallelm, S. (eds.) The Impact of Digital Technologies on Public Health in Developed and Developing Countries. ICOST 2020. Lecture Notes in Computer Science, vol. 12157. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-51517-1_23

  3. Jabbar, S., Lloyd, H., Hammoudeh, M., Adebisi, B., Raza, U.: Blockchain-enabled supply chain: analysis, challenges, and future directions. Multimedia Syst. 27(4), 787–806 (2020). https://doi.org/10.1007/s00530-020-00687-0

    Article  Google Scholar 

  4. Huckle, S., Bhattacharya, R., White, M., Beloff, N.: Internet of things, blockchain and shared economy applications. Proc. Comput. Sci. 98, 461–466 (2016)

    Article  Google Scholar 

  5. Belhi, A., Bouras, A., Patel, M.K., Aouni, B.: Blockchains: a conceptual assessment from a product lifecycle implementation perspective. In: Nyffenegger, F., Ríos, J., Rivest, L., Bouras, A. (eds.) Product Lifecycle Management Enabling Smart X: 17th IFIP WG 5.1 International Conference, PLM 2020, Rapperswil, Switzerland, July 5–8, 2020, Revised Selected Papers, pp. 576–589. Springer International Publishing, Cham (2020). https://doi.org/10.1007/978-3-030-62807-9_46

    Chapter  Google Scholar 

  6. Christidis, K., Devetsikiotis, M.: Blockchains and smart contracts for the internet of things. IEEE Access 4, 2292–2303 (2016)

    Google Scholar 

  7. Hammi, A., Bouras, A.: Towards safe-bim curricula based on the integration of cybersecurity and blockchains features, Valencia Spain (2018)

    Google Scholar 

  8. Sillaber, C., Waltl, B.: Life cycle of smart contracts in blockchain ecosystems. Datenschutz und Datensicherheit - DuD 41(8), 497–500 (2017). https://doi.org/10.1007/s11623-017-0819-7

    Article  Google Scholar 

  9. Szabo, N.: The idea of Smart Contracts. Nick Szabo’s papers and concise tutorials (1997)

    Google Scholar 

  10. Dannen, C.: Introducing Ethereum and Solidity: Foundations of Cryptocurrency and Blockchain Programming for Beginners. Apress, Berkeley, CA (2017). https://doi.org/10.1007/978-1-4842-2535-6

    Book  Google Scholar 

  11. Lambert, D.M., Cooper, M.C.: Issues in supply chain management, industrial Marketing Management, vol. 29, no. 1, pp. 65–83, Jan. (2000)

    Google Scholar 

  12. Chalkidis I, Androutsopoulos I, Michos,: A Extracting contract elements. In: Proceed-ings of the 16th International Conference on Artificial Intelligence and Law, London, UK, pp 19–28 (2017)

    Google Scholar 

  13. Chalkidis, I., Androutsopoulos, I.: A deep learning approach to contract element extraction. In: Proceedings of the 30th International Conference on Legal Knowledge and Information Systems, Luxembourg, pp 155–164 (2017)

    Google Scholar 

  14. Hendrycks, D., Burns, C., Chen, A., Ball, S.: CUAD: an expert-annotated NLP dataset for legal contract review (2021)

    Google Scholar 

  15. Rahman, M., Khalil, I., Bouras, A.: A framework for modelling blockchain based supply chain management system to ensure soundness of smart contract workflow (2021). https://doi.org/10.24251/HICSS.2021.675

  16. Wolf, T., et al. Transformers: state-of-the-art natural language processing. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. Association for Computational Linguistics (2020)

    Google Scholar 

  17. Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding. In: NAACL HLT 2019 - 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies - Proceedings Conference, vol. 1, no. Mlm, pp. 4171–4186 (2019)

    Google Scholar 

  18. Badji, I.: Legal entity extraction with NER Systems. Thesis (Master thesis), E.T.S. de Ingenieros Informáticos (UPM). http://oa.upm.es/view/institution/ETSI=5FInformatica (2018)

  19. Sun, P., Yang, X., Zhao, X., Wang, Z.: An overview of named entity recognition. In: 2018 International Conference on Asian Language Processing (IALP), Bandung, Indonesia, pp. 273–278 (2018). https://doi.org/10.1109/IALP.2018.8629225

  20. Vaswani, A., et al.: Attention is all you need. arXiv abs/1706.03762 (2017)

    Google Scholar 

Download references

Acknowledgement

This research is part of the National Priority Research Program (NPRP) research project: NPRP11S-1227–170135, funded by the Qatar National Research Fund (QNRF).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bajeela Aejas .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Aejas, B., Bouras, A., Belhi, A., Gasmi, H. (2022). Smart Contracts Implementation Based on Bidirectional Encoder Representations from Transformers. In: Canciglieri Junior, O., Noël, F., Rivest, L., Bouras, A. (eds) Product Lifecycle Management. Green and Blue Technologies to Support Smart and Sustainable Organizations. PLM 2021. IFIP Advances in Information and Communication Technology, vol 639. Springer, Cham. https://doi.org/10.1007/978-3-030-94335-6_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-94335-6_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-94334-9

  • Online ISBN: 978-3-030-94335-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics