With the recent unprecedented advancements in Artificial Intelligence (AI) computing, progress in Large Language Models (LLMs) is accelerating rapidly, presenting challenges in establishing clear guidelines, particularly in the field of security. That being said, we thoroughly identify and describe three main technical challenges in the security and software engineering literature that spans the entire LLM workflow, namely; Data Collection and Labeling; System Design and Learning; and Performance Evaluation. Building upon these challenges, this paper introduces , an instruction-based LLM system designed to reliably , , and automatically vulnerable source code. Our system is accompanied by a list of actionable guides on Data Preparation and Augmentation Techniques; Selecting and Adapting state-of-the-art LLM Models; Evaluation Procedures. uses a reinforcement learning-based fine-tuning with a semantic reward that caters to the functionality and security aspects of the generated code. Our empirical analysis shows that achieves a % improvement in security code repair compared to other LLMs when trained using reinforcement learning. Furthermore, we demonstrate the capabilities of in generating reliable, functional, and compilable security code repairs against real-world test cases using automated evaluation metrics.

生成讲解博客的中文版本

生成AI智能校验的中文版本