{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,2]],"date-time":"2026-06-02T10:16:02Z","timestamp":1780395362897,"version":"3.54.1"},"reference-count":69,"publisher":"Oxford University Press (OUP)","issue":"4","license":[{"start":{"date-parts":[[2023,8,2]],"date-time":"2023-08-02T00:00:00Z","timestamp":1690934400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/academic.oup.com\/pages\/standard-publication-reuse-rights"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["62172407"],"award-info":[{"award-number":["62172407"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100004739","name":"Youth Innovation Promotion Association CAS","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100004739","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2024,4,21]]},"abstract":"<jats:title>Abstract<\/jats:title>\n               <jats:p>The key to deep learning vulnerability detection framework is pre-processing source code and learning vulnerability features. Traditional source code representation techniques take a complete normalization to user-defined symbols but ignore the semantic information associated with vulnerabilities. The current mainstream vulnerability feature learning model is Recurrent Neural Network (RNN), whose time-series structure determines its insufficient remote information acquisition capability. This paper proposes a new vulnerability detection framework to solve the above problems. We propose a new data normalization method in the source code pre-processing phase. The user-defined symbols are clustered using the unsupervised clustering algorithm K-means. The normalized classification is performed according to the clustering results, which preserves the primary semantic information in the source code and ensures the smoothness of the sample data. In the feature extraction stage, we input the source code after performing text representation into Bidirectional Encoder Representations for Transformers (BERT) for feature automation learning, which enhances semantic information extraction and remote information acquisition. Experimental results show that the vulnerability detection precision of this method is 18.3% higher than that of the current mainstream vulnerability detection framework in the real-world data collected by ourselves. Further, our method improves the precision of the state-of-the-art method by 4.2%.<\/jats:p>","DOI":"10.1093\/comjnl\/bxad080","type":"journal-article","created":{"date-parts":[[2023,8,3]],"date-time":"2023-08-03T21:18:52Z","timestamp":1691097532000},"page":"1538-1549","source":"Crossref","is-referenced-by-count":5,"title":["CDNM: Clustering-Based Data Normalization Method For Automated Vulnerability Detection"],"prefix":"10.1093","volume":"67","author":[{"given":"Tongshuai","family":"Wu","sequence":"first","affiliation":[{"name":"Institute of Information Engineering, Chinese Academy of Sciences , Beijing , China"},{"name":"School of Cyber Security, University of Chinese Academy of Sciences , Beijing , China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Liwei","family":"Chen","sequence":"additional","affiliation":[{"name":"Institute of Information Engineering, Chinese Academy of Sciences , Beijing , China"},{"name":"School of Cyber Security, University of Chinese Academy of Sciences , Beijing , China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Gewangzi","family":"Du","sequence":"additional","affiliation":[{"name":"Institute of Information Engineering, Chinese Academy of Sciences , Beijing , China"},{"name":"School of Cyber Security, University of Chinese Academy of Sciences , Beijing , China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chenguang","family":"Zhu","sequence":"additional","affiliation":[{"name":"Institute of Information Engineering, Chinese Academy of Sciences , Beijing , China"},{"name":"School of Cyber Security, University of Chinese Academy of Sciences , Beijing , China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ningning","family":"Cui","sequence":"additional","affiliation":[{"name":"Institute of Information Engineering, Chinese Academy of Sciences , Beijing , China"},{"name":"School of Cyber Security, University of Chinese Academy of Sciences , Beijing , China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Gang","family":"Shi","sequence":"additional","affiliation":[{"name":"Institute of Information Engineering, Chinese Academy of Sciences , Beijing , China"},{"name":"School of Cyber Security, University of Chinese Academy of Sciences , Beijing , China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"286","published-online":{"date-parts":[[2023,8,2]]},"reference":[{"key":"2024042316183126600_ref1","first-page":"462","article-title":"Spain: security patch analysis for binaries towards understanding the pain and pills","volume-title":"2017 IEEE\/ACM 39th International Conference on Software Engineering (ICSE), Buenos Aires, Argentina, May 20-28","author":"Xu","year":"2017"},{"key":"2024042316183126600_ref2","first-page":"678","article-title":"Bingo: Cross-architecture cross-os binary search","volume-title":"Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering, Seattle, WA, USA, November 13-18","author":"Chandramohan","year":"2016"},{"key":"2024042316183126600_ref3","first-page":"533","article-title":"Cerebro: context-aware adaptive fuzzing for effective vulnerability detection","volume-title":"Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Tallinn, Estonia, August 26-30","author":"Li","year":"2019"},{"key":"2024042316183126600_ref4","first-page":"2095","article-title":"Hawkeye: Towards a desired directed grey-box fuzzer","volume-title":"Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, Toronto, ON, Canada, October 15-19","author":"Chen","year":"2018"},{"key":"2024042316183126600_ref5","doi-asserted-by":"crossref","first-page":"627","DOI":"10.1145\/3106237.3106295","article-title":"Steelix: program-state based binary fuzzing","volume-title":"Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering, Paderborn, Germany, September 4-8","author":"Li","year":"2017"},{"key":"2024042316183126600_ref6","author":"FlawFinder"},{"key":"2024042316183126600_ref7","author":"Rough Audit Tool for Security"},{"key":"2024042316183126600_ref8","first-page":"257","article-title":"ITS4: A static vulnerability scanner for C and C++ code","volume-title":"Proceedings 16th Annual Computer Security Applications Conference (ACSAC\u201900), 11-15 December 2000, New Orleans, Louisiana, USA","author":"Viega","year":"2000"},{"key":"2024042316183126600_ref9","author":"Checkmarx"},{"key":"2024042316183126600_ref10","author":"Coverity"},{"key":"2024042316183126600_ref11","author":"HP Fortify"},{"key":"2024042316183126600_ref12","doi-asserted-by":"crossref","first-page":"595","DOI":"10.1109\/SP.2017.62","article-title":"Vuddy: A scalable approach for vulnerable code clone discovery","volume-title":"2017 IEEE Symposium on Security and Privacy (SP), San Jose, CA, USA, May 22-26","author":"Kim","year":"2017"},{"key":"2024042316183126600_ref13","first-page":"201","article-title":"Vulpecker: an automated vulnerability detection system based on code similarity analysis","volume-title":"Proceedings of the 32nd annual conference on computer security applications, Los Angeles, CA, USA, December 5-9","author":"Li","year":"2016"},{"key":"2024042316183126600_ref14","first-page":"383","article-title":"The beauty and the beast: vulnerabilities in red hat\u2019s packages","volume-title":"Proceedings of the 2009 USENIX Annual Technical Conference (USENIX ATC), San Diego, CA, USA, June 14-19","author":"Neuhaus","year":"2009"},{"key":"2024042316183126600_ref15","first-page":"85","article-title":"Toward large-scale vulnerability discovery using machine learning","volume-title":"Proceedings of the Sixth ACM Conference on Data and Application Security and Privacy, New Orleans, LA, USA, March 9-11","author":"Grieco","year":"2016"},{"key":"2024042316183126600_ref16","first-page":"499","article-title":"Chucky: Exposing missing checks in source code for vulnerability discovery","volume-title":"Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security, Berlin, Germany, November 4-8","author":"Yamaguchi","year":"2013"},{"key":"2024042316183126600_ref17","doi-asserted-by":"crossref","first-page":"797","DOI":"10.1109\/SP.2015.54","article-title":"Automatic inference of search patterns for taint-style vulnerabilities","volume-title":"2015 IEEE Symposium on Security and Privacy, San Jose, CA, USA, May 17-21","author":"Yamaguchi","year":"2015"},{"key":"2024042316183126600_ref18","first-page":"529","article-title":"Predicting vulnerable software components","volume-title":"Proceedings of the 14th ACM conference on Computer and communications security, Alexandria, Virginia, USA, October 28-31","author":"Neuhaus","year":"2007"},{"key":"2024042316183126600_ref19","first-page":"1","article-title":"Predicting vulnerable software components with dependency graphs","volume-title":"Proceedings of the 6th International Workshop on Security Measurements and Metrics, Bolzano, Italy, 15 September","author":"Nguyen","year":"2010"},{"key":"2024042316183126600_ref20","doi-asserted-by":"crossref","first-page":"772","DOI":"10.1109\/TSE.2010.81","article-title":"Evaluating complexity, code churn, and developer activity metrics as indicators of software vulnerabilities","volume":"37","author":"Shin","year":"2010","journal-title":"IEEE Trans. Softw. Eng."},{"key":"2024042316183126600_ref21","article-title":"Automatic feature learning for vulnerability prediction","author":"Dam","year":"2017"},{"key":"2024042316183126600_ref22","first-page":"757","article-title":"Automated vulnerability detection in source code using deep representation learning","volume-title":"2018 17th IEEE international conference on machine learning and applications (ICMLA), Orlando, FL, USA, December 17-20","author":"Russell","year":"2018"},{"key":"2024042316183126600_ref23","doi-asserted-by":"crossref","first-page":"352","DOI":"10.1109\/TSE.1984.5010248","article-title":"Program slicing","volume":"SE-10","author":"Weiser","year":"1984","journal-title":"IEEE Trans. Softw. Eng."},{"key":"2024042316183126600_ref24","doi-asserted-by":"crossref","DOI":"10.14722\/ndss.2018.23158","article-title":"Vuldeepecker: A deep learning-based system for vulnerability detection","volume-title":"25th Annual Network and Distributed System Security Symposium, NDSS 2018, San Diego, California, USA, February 18-21","author":"Li","year":"2018"},{"key":"2024042316183126600_ref25","doi-asserted-by":"crossref","first-page":"160","DOI":"10.1145\/1390156.1390177","article-title":"A unified architecture for natural language processing: Deep neural networks with multitask learning","volume-title":"Proceedings of the 25th international conference on Machine learning, Helsinki, Finland, June 5-9","author":"Collobert","year":"2008"},{"key":"2024042316183126600_ref26","first-page":"4171","article-title":"Pre-training of deep bidirectional transformers for language understanding","volume-title":"Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7","author":"Lee","year":"2019"},{"key":"2024042316183126600_ref27","doi-asserted-by":"crossref","first-page":"2244","DOI":"10.1109\/TDSC.2021.3051525","article-title":"Sysevr: A framework for using deep learning to detect software vulnerabilities","volume":"19","author":"Li","year":"2021","journal-title":"IEEE Trans. Dependable Secure Comput."},{"key":"2024042316183126600_ref28","first-page":"2224","article-title":"$\\mu $VulDeePecker: A Deep Learning-Based System for Multiclass Vulnerability Detection","volume":"18","author":"Zou","year":"2019","journal-title":"IEEE Trans. Dependable Secure Comput."},{"key":"2024042316183126600_ref29","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3436877","article-title":"Deepwukong: Statically detecting software vulnerabilities using deep graph neural network","volume":"30","author":"Cheng","year":"2021","journal-title":"ACM Trans. Softw. Eng. Methodol."},{"key":"2024042316183126600_ref30","first-page":"892","article-title":"Self-attention based automated vulnerability detection with effective data representation","volume-title":"2021 IEEE (ISPA\/BDCloud\/SocialCom\/SustainCom), New York City, NY, USA, September 30 - Oct. 3","author":"Wu","year":"2021"},{"key":"2024042316183126600_ref31","article-title":"Recurrent neural network regularization","author":"Zaremba","year":"2014"},{"key":"2024042316183126600_ref32","doi-asserted-by":"crossref","first-page":"438","DOI":"10.1109\/TDSC.2020.2984505","article-title":"CD-VulD: Cross-domain vulnerability discovery based on deep domain adaptation","volume":"19","author":"Liu","year":"2020","journal-title":"IEEE Trans. Dependable Secure Comput."},{"key":"2024042316183126600_ref33","doi-asserted-by":"crossref","first-page":"2821","DOI":"10.1109\/TDSC.2021.3076142","article-title":"Vuldeelocator: a deep learning-based fine-grained vulnerability detector","volume":"19","author":"Li","year":"2021","journal-title":"IEEE Trans. Dependable Secure Comput."},{"key":"2024042316183126600_ref34","doi-asserted-by":"crossref","first-page":"37","DOI":"10.1007\/978-3-642-24797-2_4","article-title":"Long short-term memory","volume":"385","author":"Graves","year":"2012","journal-title":"Supervised sequence labelling with recurrent neural networks"},{"key":"2024042316183126600_ref35","first-page":"1724","article-title":"Learning phrase representations using RNN encoder-decoder for statistical machine translation","volume-title":"Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2014, Doha, Qatar, October 25-29","author":"Cho","year":"2014"},{"key":"2024042316183126600_ref36","first-page":"100","article-title":"Algorithm AS 136: A k-means clustering algorithm","volume":"28","author":"Hartigan","year":"1979","journal-title":"J. R. Stat. Soc. c"},{"key":"2024042316183126600_ref37","doi-asserted-by":"crossref","first-page":"34","DOI":"10.14569\/IJARAI.2013.020206","article-title":"Comparison of supervised and unsupervised learning algorithms for pattern classification","volume":"2","author":"Sathya","year":"2013","journal-title":"Int. J. Adv. Res. Artif. Intell."},{"key":"2024042316183126600_ref38","first-page":"5998","article-title":"Attention is all you need","volume-title":"Annual Conference on Neural Information Processing Systems, December 4-9, 2017, Long Beach, CA, USA","author":"Vaswani","year":"2017"},{"key":"2024042316183126600_ref39","article-title":"Empirical evaluation of gated recurrent neural networks on sequence modeling","author":"Chung","year":"2014"},{"key":"2024042316183126600_ref40","first-page":"464","article-title":"Self-Attention with Relative Position Representations","volume-title":"Proceedings of NAACL-HLT, New Orleans, Louisiana, USA, June 1-6, 2018, Volume 2 (Short Papers)","author":"Shaw","year":"2018"},{"key":"2024042316183126600_ref41","first-page":"464","article-title":"Semi-supervised sequence learning","volume-title":"Advances in neural information processing systems, 28, December 7-12, Montreal, Quebec, Canada","author":"Dai","year":"2015"},{"key":"2024042316183126600_ref42","article-title":"Discourse-based objectives for fast unsupervised sentence representation learning","author":"Jernite","year":"2017"},{"key":"2024042316183126600_ref43","first-page":"2249","article-title":"A Decomposable Attention Model for Natural Language Inference","volume-title":"Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, Texas, USA, November 1-4","author":"Parikh","year":"2016"},{"key":"2024042316183126600_ref44","article-title":"Bidirectional attention flow for machine comprehension","author":"Seo","year":"2016"},{"key":"2024042316183126600_ref45","author":"Joern"},{"key":"2024042316183126600_ref46","first-page":"58","volume-title":"A survey of program slicing techniques","author":"Tip","year":"1994"},{"key":"2024042316183126600_ref47","author":"Word2vec"},{"key":"2024042316183126600_ref48","first-page":"3111","article-title":"Distributed representations of words and phrases and their compositionality","volume-title":"Advances in neural information processing systems, 26. 27th Annual Conference on Neural Information Processing Systems 2013. Proceedings of a meeting held December 5-8, 2013, Lake Tahoe, Nevada, United States","author":"Mikolov","year":"2013"},{"key":"2024042316183126600_ref49","article-title":"Efficient estimation of word representations in vector space","author":"Mikolov","year":"2013"},{"key":"2024042316183126600_ref50","doi-asserted-by":"crossref","first-page":"5528","DOI":"10.1109\/ICASSP.2011.5947611","article-title":"Extensions of recurrent neural network language model","volume-title":"2011 IEEE international conference on acoustics, speech and signal processing (ICASSP)","author":"Mikolov","year":"2011"},{"key":"2024042316183126600_ref51","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3005714","article-title":"A survey on systems security metrics","volume":"49","author":"Pendleton","year":"2016","journal-title":"ACM Comput. Surv."},{"key":"2024042316183126600_ref52","first-page":"10197","article-title":"Devign: Effective vulnerability identification by learning comprehensive program semantics via graph neural networks","volume-title":"Advances in neural information processing systems, 32, December 8-14, 2019, Vancouver, BC, Canada","author":"Zhou","year":"2019"},{"key":"2024042316183126600_ref53","doi-asserted-by":"crossref","first-page":"111","DOI":"10.1007\/978-981-16-5747-4_10","article-title":"Android Stack Vulnerabilities: Security Analysis of a Decade","volume-title":"Proceedings of the International Conference on Paradigms of Communication, Computing and Data Sciences: PCCDS 2021","author":"Garg","year":"2022"},{"key":"2024042316183126600_ref54","doi-asserted-by":"crossref","first-page":"1263","DOI":"10.1109\/TKDE.2008.239","article-title":"Learning from imbalanced data","volume":"21","author":"He","year":"2009","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"2024042316183126600_ref55","article-title":"Adam: A method for stochastic optimization","author":"Kingma","year":"2014"},{"key":"2024042316183126600_ref56","first-page":"118","article-title":"Vulnerability extrapolation: Assisted discovery of vulnerabilities using machine learning","volume-title":"5th USENIX Workshop on Offensive Technologies, WOOT\u201911, August 8, 2011, San Francisco, CA, USA, Proceedings","author":"Garcia","year":"2011"},{"key":"2024042316183126600_ref57","first-page":"359","article-title":"Generalized vulnerability extrapolation using abstract syntax trees","volume-title":"Proceedings of the 28th annual computer security applications conference, Orlando, FL, USA, 3-7 December 2012","author":"Yamaguchi","year":"2012"},{"key":"2024042316183126600_ref58","doi-asserted-by":"crossref","first-page":"10327","DOI":"10.1109\/JIOT.2020.3048038","article-title":"Adversarial attacks against network intrusion detection in IoT systems","volume":"8","author":"Qiu","year":"2020","journal-title":"IEEE Internet Things J."},{"key":"2024042316183126600_ref59","doi-asserted-by":"crossref","first-page":"2833","DOI":"10.1109\/TII.2020.3008010","article-title":"Intelligent fault diagnosis by fusing domain adversarial training and maximum mean discrepancy via ensemble learning","volume":"17","author":"Li","year":"2020","journal-title":"IEEE Trans. Ind. Inform."},{"key":"2024042316183126600_ref60","first-page":"274","article-title":"A data augmentation-based defense method against adversarial attacks in neural networks","volume-title":"Algorithms and Architectures for Parallel Processing: 20th International Conference, ICA3PP 2020, New York City, NY, USA, October 2\u20134, 2020, Proceedings, Part II 20","author":"Zeng","year":"2020"},{"key":"2024042316183126600_ref61","first-page":"2539","article-title":"POSTER: Vulnerability discovery with function representation learning from unlabeled projects","volume-title":"Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, Dallas, TX, USA, October 30 - November 03, 2017","author":"Lin","year":"2017"},{"key":"2024042316183126600_ref62","first-page":"2025","article-title":"Finding Bugs Using Your Own Code: Detecting Functionally-similar yet Inconsistent Code","volume-title":"USENIX Security Symposium, August 11-13, 2021","author":"Ahmadi","year":"2021"},{"key":"2024042316183126600_ref63","doi-asserted-by":"crossref","first-page":"3289","DOI":"10.1109\/TII.2018.2821768","article-title":"Cross-project transfer representation learning for vulnerable function discovery","volume":"14","author":"Lin","year":"2018","journal-title":"IEEE Trans. Ind. Inform."},{"key":"2024042316183126600_ref64","first-page":"757","article-title":"Automated vulnerability detection in source code using deep representation learning","volume-title":"2018 17th IEEE international conference on machine learning and applications (ICMLA), Orlando, FL, USA, December 17-20, 2018","author":"Russell","year":"2018"},{"key":"2024042316183126600_ref65","first-page":"1298","article-title":"Vulnerability detection with deep learning","volume-title":"2017 3rd IEEE international conference on computer and communications (ICCC), 13-16 Dec. 2017","author":"Wu","year":"2017"},{"key":"2024042316183126600_ref66","doi-asserted-by":"crossref","DOI":"10.1016\/j.infsof.2020.106289","article-title":"BVDetector: A program slice-based binary code vulnerability intelligent detection system","volume":"123","author":"Tian","year":"2020","journal-title":"Inf. Softw. Technol."},{"key":"2024042316183126600_ref67","doi-asserted-by":"crossref","first-page":"184","DOI":"10.1109\/ICAIT.2018.8686548","article-title":"CPGVA: code property graph based vulnerability analysis by deep learning","volume-title":"2018 10th International Conference on Advanced Infocomm Technology (ICAIT), Stockholm, Sweden, August 12-15","author":"Xiaomeng","year":"2018"},{"key":"2024042316183126600_ref68","doi-asserted-by":"crossref","first-page":"2004","DOI":"10.1109\/TIFS.2020.3047756","article-title":"Vuldetector: detecting vulnerabilities using weighted feature graph comparison","volume":"16","author":"Cui","year":"2020","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"2024042316183126600_ref69","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1109\/INFOCOMWKSHPS51825.2021.9484500","article-title":"Security vulnerability detection using deep learning natural language processing","volume-title":"IEEE INFOCOM 2021-IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Vancouver, BC, Canada, May 10-13","author":"Ziems","year":"2021"}],"container-title":["The Computer Journal"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/comjnl\/article-pdf\/67\/4\/1538\/57296001\/bxad080.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/comjnl\/article-pdf\/67\/4\/1538\/57296001\/bxad080.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,4,23]],"date-time":"2024-04-23T17:01:05Z","timestamp":1713891665000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/comjnl\/article\/67\/4\/1538\/7235534"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,8,2]]},"references-count":69,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2023,8,2]]},"published-print":{"date-parts":[[2024,4,21]]}},"URL":"https:\/\/doi.org\/10.1093\/comjnl\/bxad080","relation":{},"ISSN":["0010-4620","1460-2067"],"issn-type":[{"value":"0010-4620","type":"print"},{"value":"1460-2067","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2024,4]]},"published":{"date-parts":[[2023,8,2]]}}}