SLGPT:使用迁移学习直接生成Simulink模型文件并查找Simulink工具链中的错误
SLGPT: Using Transfer Learning to Directly Generate Simulink Model Files and Find Bugs in the Simulink Toolchain
摘要:
在商业网络物理系统(CPS)开发工具(如Simulink)中查找错误是很困难的,因为其代码库包含数百万行代码,并且没有完整的形式语言规范。虽然深度学习技术承诺从样本模型中学习这样的语言规范,但深度学习需要大量的训练数据才能很好地工作。SLGPT通过使用迁移学习来利用强大的生成预训练Transformer 2(GPT-2)模型来解决这个问题,该模型已经在大量训练数据上进行了预训练。SLGPT通过随机生成的模型和从开源存储库挖掘的模型将GPT-2适配到Simulink。SLGPT制作的Simulink模型比其最接近的竞争对手DeepFuzzSL更类似于开源模型,并发现了DeepFuzzSL发现的Simulink开发工具链错误的超集。
英文摘要:
Finding bugs in a commercial cyber-physical system (CPS) development tool such as Simulink is hard as its codebase contains millions of lines of code and complete formal language specifications are not available. While deep learning techniques promise to learn such language specifications from sample models, deep learning needs a large number of training data to work well. SLGPT addresses this problem by using transfer learning to leverage the powerful Generative Pre-trained Transformer 2 (GPT-2) model, which has been pre-trained on a large set of training data. SLGPT adapts GPT-2 to Simulink with both randomly generated models and models mined from open-source repositories. SLGPT produced Simulink models that are both more similar to open-source models than its closest competitor, DeepFuzzSL, and found a super-set of the Simulink development toolchain bugs found by DeepFuzzSL.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。