Code Property Graph based Cross-Domain Vulnerability Detection via Deep Fused Feature

被引:0
|
作者
Du, Gewangzi [1 ,2 ]
Chen, Liwei [1 ,2 ]
Wu, Tongshuai [1 ,2 ]
Zheng, Xiong [1 ,2 ]
Shi, Gang [1 ,2 ]
机构
[1] Chinese Acad Sci, Inst Informat Engn, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Sch Cyber Secur, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
vulnerability detection; cross-domain; code property graph; feature fusion; cyber security;
D O I
10.1109/ISCAS58744.2024.10558497
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Deep learning is becoming an important means to detect source code vulnerabilities. However, the most severe problem is the compromise of detection performance when there is a scarcity of labeled data. Researchers employed transfer learning skills to solve the problem but existing approaches utilised limited information, which failed to contain various of vulnerability patterns. The code property graph (CPG), which encapsulates abundant syntax and semantic information, is able to accommodate more vulnerability patterns. In this paper, we propose the first CPG-based cross-domain vulnerability detection system which includes an approach to represent the CPG of code snippet into vector. A deep fusion model is devised to generate the fused deep features; Moreover, we extend a metric learning algorithm to reduce data distributions from different domains. Experimental results prove our system is much more effective compared with other state-of-the-art cross-domain approaches.
引用
收藏
页数:5
相关论文
共 50 条
  • [41] Taxonomy Construction of Unseen Domains via Graph-based Cross-Domain Knowledge Transfer
    Shang, Chao
    Dash, Sarthak
    Chowdhury, Faisal Mahbub
    Mihindukulasooriya, Nandana
    Gliozzo, Alfio
    [J]. 58TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2020), 2020, : 2198 - 2208
  • [42] CPVD: Cross Project Vulnerability Detection Based on Graph Attention Network and Domain Adaptation
    Zhang, Chunyong
    Liu, Bin
    Xin, Yang
    Yao, Liangwei
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (08) : 4152 - 4168
  • [43] AFAN: Augmented Feature Alignment Network for Cross-Domain Object Detection
    Wang, Hongsong
    Liao, Shengcai
    Shao, Ling
    [J]. IEEE TRANSACTIONS ON IMAGE PROCESSING, 2021, 30 : 4046 - 4056
  • [44] DIVERGENCE-GUIDED FEATURE ALIGNMENT FOR CROSS-DOMAIN OBJECT DETECTION
    Li, Zongyao
    Togo, Ren
    Ogawa, Takahiro
    Haseyama, Miki
    [J]. 2022 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2022, : 2240 - 2244
  • [45] Domain-adaptive Graph based on Post-hoc Explanation for Cross-domain Hate Speech Detection
    Jiang, Yushan
    Zhou, Bin
    Zhao, Xuechen
    Zou, Jiaying
    Xie, Feng
    Li, Liang
    [J]. 2022 IEEE 34TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, ICTAI, 2022, : 1271 - 1276
  • [46] Cross-Domain Adaptive Learning Model Based on Feature Separation
    Li, Xin
    Li, Zhemin
    Wei, Juhui
    Yang, Yating
    Wang, Hongxia
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2022, 59 (01): : 105 - 117
  • [47] Cross-Domain Developer Recommendation Algorithm Based on Feature Matching
    Yu, Xu
    He, Yadong
    Fu, Yu
    Xin, Yu
    Du, Junwei
    Ni, Weijian
    [J]. COMPUTER SUPPORTED COOPERATIVE WORK AND SOCIAL COMPUTING, CHINESECSCW 2019, 2019, 1042 : 443 - 457
  • [48] Cross-Domain Recommendation for Cold-Start Users via Neighborhood Based Feature Mapping
    Wang, Xinghua
    Peng, Zhaohui
    Wang, Senzhang
    Yu, Philip S.
    Fu, Wenjing
    Hong, Xiaoguang
    [J]. DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2018, PT I, 2018, 10827 : 158 - 165
  • [49] Cross-domain depression detection via harvesting social media
    Shen T.
    Jia J.
    Shen G.
    Feng F.
    He X.
    Luan H.
    Tang J.
    Tiropanis T.
    Chua T.-S.
    Hall W.
    [J]. Physical Review Letters, 2021, : 1611 - 1617
  • [50] Cross-Domain Depression Detection via Harvesting Social Media
    Shen, Tiancheng
    Jia, Jia
    Shen, Guangyao
    Feng, Fuli
    He, Xiangnan
    Luan, Huanbo
    Tang, Jie
    Tiropanis, Thanassis
    Chua, Tat-Seng
    Hall, Wendy
    [J]. PROCEEDINGS OF THE TWENTY-SEVENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2018, : 1611 - 1617