Technology of Information Security
|
2170-2178

Cold start method for source code vulnerability detection model based on improved differential evolution algorithm

Yuan Zilong1
Wu Qiuxin1
Liu Ren2
Qin Yu3
1. School of Applied Science, Beijing Information Science & Technology University, Beijing 100192, China
2. Beijing Excellent Network Security Technology Co. , Ltd. , Beijing 100192, China
3. Trusted Computing & Information Assurance Laboratory, Institute of Software, Chinese Academy of Science, Beijing 100190, China

Abstract

As an important research topic, source code vulnerability detection has many problems in its traditional methods, such as high manual participation, weak detection ability of unknown vulnerabilities. Aiming at the above problems, based on the syntactic and semantic information of open source code and improved differential evolution algorithm, this paper proposed a cold start optimization method for source code vulnerability detection model. This paper used source code slicing technology, heuristic optimization algorithms and neural network models, which solved the problem that the hyperparameters couldn't be correctly selected at the beginning of the vulnerability detection model. For the case of sample information redundancy and mixture of positive and negative sample distinctive features in the experiment, it proposed an idea of cross-exclusion of positive and negative sample distinctive features to reduce the false negative rate and false positive rate of the model. Experiments show that this method can effectively accelerate the convergence of the model, and making the model stable within 10 epochs. While improving the accuracy of the source code vulnerability detection model, its convergence speed is 2~3 times higher than other models. In the subsequent improvement experiments, the source code vulnerability detection model has improved the accuracy of each type of vulnerability by 1~3 percentage points, which fully proves the effectiveness of the improvement measures. The optimization strategies and improvement measures of this method are also applicable to other neural network classification models, and it can provide ideas for exploring new methods and models in the field of vulnerability detection.

Foundation Support

国家自然科学基金资助项目(61872343)

Publish Information

DOI: 10.19734/j.issn.1001-3695.2022.11.0640
Publish at: Application Research of Computers Printed Article, Vol. 40, 2023 No. 7
Section: Technology of Information Security
Pages: 2170-2178
Serial Number: 1001-3695(2023)07-038-2170-09

Publish History

[2023-02-03] Accepted Paper
[2023-07-05] Printed Article

Cite This Article

袁子龙, 吴秋新, 刘韧, 等. 一种基于改进差分进化算法的源码漏洞检测模型的冷启动方法 [J]. 计算机应用研究, 2023, 40 (7): 2170-2178. (Yuan Zilong, Wu Qiuxin, Liu Ren, et al. Cold start method for source code vulnerability detection model based on improved differential evolution algorithm [J]. Application Research of Computers, 2023, 40 (7): 2170-2178. )

About the Journal

  • Application Research of Computers Monthly Journal
  • Journal ID ISSN 1001-3695
    CN  51-1196/TP

Application Research of Computers, founded in 1984, is an academic journal of computing technology sponsored by Sichuan Institute of Computer Sciences under the Science and Technology Department of Sichuan Province.

Aiming at the urgently needed cutting-edge technology in this discipline, Application Research of Computers reflects the mainstream technology, hot technology and the latest development trend of computer application research at home and abroad in a timely manner. The main contents of the journal include high-level academic papers in this discipline, the latest scientific research results and major application results. The contents of the columns involve new theories of computer discipline, basic computer theory, algorithm theory research, algorithm design and analysis, blockchain technology, system software and software engineering technology, pattern recognition and artificial intelligence, architecture, advanced computing, parallel processing, database technology, computer network and communication technology, information security technology, computer image graphics and its latest hot application technology.

Application Research of Computers has many high-level readers and authors, and its readers are mainly senior and middle-level researchers and engineers engaged in the field of computer science, as well as teachers and students majoring in computer science and related majors in colleges and universities. Over the years, the total citation frequency and Web download rate of Application Research of Computers have been ranked among the top of similar academic journals in this discipline, and the academic papers published are highly popular among the readers for their novelty, academics, foresight, orientation and practicality.


Indexed & Evaluation

  • The Second National Periodical Award 100 Key Journals
  • Double Effect Journal of China Journal Formation
  • the Core Journal of China (Peking University 2023 Edition)
  • the Core Journal for Science
  • Chinese Science Citation Database (CSCD) Source Journals
  • RCCSE Chinese Core Academic Journals
  • Journal of China Computer Federation
  • 2020-2022 The World Journal Clout Index (WJCI) Report of Scientific and Technological Periodicals
  • Full-text Source Journal of China Science and Technology Periodicals Database
  • Source Journal of China Academic Journals Comprehensive Evaluation Database
  • Source Journals of China Academic Journals (CD-ROM Version), China Journal Network
  • 2017-2019 China Outstanding Academic Journals with International Influence (Natural Science and Engineering Technology)
  • Source Journal of Top Academic Papers (F5000) Program of China's Excellent Science and Technology Journals
  • Source Journal of China Engineering Technology Electronic Information Network and Electronic Technology Literature Database
  • Source Journal of British Science Digest (INSPEC)
  • Japan Science and Technology Agency (JST) Source Journal
  • Russian Journal of Abstracts (AJ, VINITI) Source Journals
  • Full-text Journal of EBSCO, USA
  • Cambridge Scientific Abstracts (Natural Sciences) (CSA(NS)) core journals
  • Poland Copernicus Index (IC)
  • Ulrichsweb (USA)