IDEAS home Printed from https://ideas.repec.org/a/abq/ijist1/v7y2025i5p79-90.html

Machine Learning-Based Improvement of Smart Contract Security in Fog Computing Using Word2vec And Ber

Author

Listed:
  • Tahmina Ehsan, Muhammad Usman Sana*, Tayybah Kiren*, Alvena Ehsan, Mustabeen Aziz, Fateha Minahi

    (University of Gujrat, Pakistan. University of Engineering and Technology Lahore, Pakistan)

Abstract

Fog computing extends cloud computing services closer to users, improving efficiency and reducing latency. Smart contracts play a key role in authentication and resource access management within this framework. As the adoption of smart contracts in fog computing grows, ensuring their security has become a major challenge.This study enhances smart contract attack detection in fog computing using machine learning techniques. A dataset of 818 smart contracts was collected from “etherscan.io.” Feature extraction was performed using Word2Vec and BERT, while feature selection was done using the information gain method. The Random Forest (RF) and Extra Trees Classifier (ETC) achieved the highest accuracy of 0.91 with Word2Vec, while the LightGBM (LGBM) classifier attained 0.90 accuracy using BERT.These results demonstrate the effectiveness of machine learning models in improving smart contract security within fog computing environments.

Suggested Citation

  • Tahmina Ehsan, Muhammad Usman Sana*, Tayybah Kiren*, Alvena Ehsan, Mustabeen Aziz, Fateha Minahi, 2025. "Machine Learning-Based Improvement of Smart Contract Security in Fog Computing Using Word2vec And Ber," International Journal of Innovations in Science & Technology, 50sea, vol. 7(5), pages 79-90, March.
  • Handle: RePEc:abq:ijist1:v:7:y:2025:i:5:p:79-90
    as

    Download full text from publisher

    File URL: https://journal.50sea.com/index.php/IJIST/article/view/1243/1779
    Download Restriction: no

    File URL: https://journal.50sea.com/index.php/IJIST/article/view/1243
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:abq:ijist1:v:7:y:2025:i:5:p:79-90. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Iqra Nazeer (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.