A defect code block positioning method based on model structure evolution

By constructing a computing framework object library and a code security defect library, and utilizing neural network model mutation and output difference analysis, combined with statement operation methods, the problem of prior knowledge dependence and universality in defect localization in intelligent computing frameworks is solved, achieving higher-precision defect code block localization and enhancing the security and determinism of the computing framework.

CN114706764BActive Publication Date: 2026-07-03ZHEJIANG UNIV OF TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG UNIV OF TECH
Filing Date
2022-03-21
Publication Date
2026-07-03

Smart Images

  • Figure CN114706764B_ABST
    Figure CN114706764B_ABST
Patent Text Reader

Abstract

This invention discloses a defective code block localization method based on model structure evolution. First, based on several deep learning computing framework libraries, its object libraries and security issues are summarized to construct a computing framework object library. Then, a computing framework security defect library and a code security defect library are constructed. Next, a neural network model is constructed and mutated to obtain a set of mutated models. Output differences are extracted from the mutated model set to obtain feature difference vectors, and the prediction matching rate is calculated to determine whether the neural network model contains defective code blocks. Finally, the defective code in the neural network model is verified and traced using statement manipulation methods, and compared with the computing framework security defect library and the code security defect library to achieve defective code block localization. This invention reduces computational costs, has wider deployment and application scenarios, and improves the accuracy of code block defect localization.
Need to check novelty before this filing date? Find Prior Art