CGGNet: Compiler-Guided Generation Network for Smart Contract Data Augmentation

被引:1
|
作者
Hwang, Seon-Jin [1 ]
Ju, Seong Ho [2 ]
Choi, Yoon-Ho [1 ]
机构
[1] Pusan Natl Univ, Sch Comp Sci & Engn, Busan 46241, South Korea
[2] KEPCO Res Inst, Daejeon 305380, South Korea
来源
IEEE ACCESS | 2024年 / 12卷
基金
新加坡国家研究基金会;
关键词
Codes; Smart contracts; Task analysis; Deep learning; Data models; Programming; Training; Blockchains; Blockchain; smart contract; code generation; compiler guided; smart contract dataset; DEEP NEURAL-NETWORKS; GO;
D O I
10.1109/ACCESS.2024.3427829
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The emergence of blockchain and smart contracts has revolutionized various industries by enabling automated code execution. However, the development of smart contracts, rooted in programming languages, inherits common challenges in traditional software development, notably concerning efficiency, reliability, and security. The application of deep learning techniques holds promise for addressing these challenges. However, a critical issue in applying deep learning to smart contracts is the lack of extensive datasets, as smart contracts have only recently emerged compared to traditional programming languages. To address this problem, we propose a novel approach called Compiler-Guided Generation Networks (CGGNet) for augmenting smart contract datasets. In contrast to existing methods, CGGNet utilizes a compiler as an oracle in generative networks, ensuring the augmentation of a valid smart contract. By incorporating the Montecarlo tree search, CGGNet significantly enhances the diversity and validity of the generated contracts, overcoming the limitations posed by GAN-based models in code augmentations. To the best of our knowledge, this is the first study on code augmentation targeting smart contracts. Our experiments show that millions of unique and valid smart contracts can be augmented from thousands of valid smart contracts, and augmented datasets can mitigate the underfitting problem in practical deep learning applications.
引用
收藏
页码:97515 / 97532
页数:18
相关论文
共 11 条
  • [1] Bytecode Similarity Detection of Smart Contract across Optimization Options and Compiler Versions Based on Triplet Network
    Zhu, Di
    Yue, Feng
    Pang, Jianmin
    Zhou, Xin
    Han, Wenjie
    Liu, Fudong
    ELECTRONICS, 2022, 11 (04)
  • [2] Cancer Disease Prediction Using Integrated Smart Data Augmentation and Capsule Neural Network
    Ravindran, U.
    Gunavathi, C.
    IEEE ACCESS, 2024, 12 : 81813 - 81826
  • [3] An Improved Prototype Network and Data Augmentation Algorithm for Few-Shot Structural Health Monitoring Using Guided Waves
    Du, Fei
    Wu, Shiwei
    Tian, Zhenxiong
    Qiu, Fei
    Xu, Chao
    Su, Zhongqing
    IEEE SENSORS JOURNAL, 2023, 23 (08) : 8714 - 8726
  • [4] Guided Generative Adversarial Neural Network for Representation Learning and Audio Generation Using Fewer Labelled Audio Data
    Haque, Kazi Nazmul
    Rana, Rajib
    Liu, Jiajun
    Hansen, John H. L.
    Cummins, Nicholas
    Busso, Carlos
    Schuller, Bjorn W.
    IEEE-ACM TRANSACTIONS ON AUDIO SPEECH AND LANGUAGE PROCESSING, 2021, 29 : 2575 - 2590
  • [5] Adversarial generation method for smart contract fuzz testing seeds guided by chain-based LLM
    Sun, Jiaze
    Yin, Zhiqiang
    Zhang, Hengshan
    Chen, Xiang
    Zheng, Wei
    AUTOMATED SOFTWARE ENGINEERING, 2025, 32 (01)
  • [6] MASK-GUIDED DATA AUGMENTATION FOR MULTIPARAMETRIC MRI GENERATION WITH A RARE HEPATOCELLULAR CARCINOMA
    Sanchez, Karen
    Hinojosa, Carlos
    Arias, Kevin
    Arguello, Henry
    Kouame, Denis
    Meyrignac, Olivier
    Basarab, Adrian
    2023 IEEE 20TH INTERNATIONAL SYMPOSIUM ON BIOMEDICAL IMAGING, ISBI, 2023,
  • [7] An Attention-Based Cycle-Consistent Generative Adversarial Network for IoT Data Generation and Its Application in Smart Energy Systems
    Ma, Zhengjing
    Mei, Gang
    Piccialli, Francesco
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2023, 19 (04) : 6170 - 6181
  • [8] Variational Autoencoder Generative Adversarial Network for Synthetic Data Generation in Smart Home
    Razghandi, Mina
    Zhou, Hao
    Erol-Kantarci, Melike
    Turgut, Damla
    IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC 2022), 2022, : 4781 - 4786
  • [9] REL-SAGAN: Relative Generation Adversarial Network Integrated With Attention Mechanism for Scene Data Augmentation of Remote Sensing
    Cao, Yungang
    Sui, Baikai
    Zhang, Wei
    IEEE JOURNAL OF SELECTED TOPICS IN APPLIED EARTH OBSERVATIONS AND REMOTE SENSING, 2022, 15 : 3107 - 3119
  • [10] A Pipe Ultrasonic Guided Wave Signal Generation Network Suitable for Data Enhancement in Deep Learning: US-WGAN
    Peng, Lisha
    Li, Shisong
    Sun, Hongyu
    Huang, Songling
    ENERGIES, 2022, 15 (18)