arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.07491cs.SE
收藏

神经故障注入:从自然语言生成软件故障

Neural Fault Injection: Generating Software Faults from Natural Language

Domenico Cotroneo, Pietro Liguori

AI总结:

针对传统软件故障注入方法的诸多局限,本文提出结合RLHF增强的LLM的神经故障注入方法,通过人工反馈迭代优化故障生成效果,减少人工投入并提升软件测试可靠性。

摘要:

传统软件故障注入方法虽具基础性作用,但存在难以充分表征真实故障、定制性不足、需大量人工投入与专业知识等局限。本文提出一种新方法,利用经人类反馈强化学习(Reinforcement Learning from Human Feedback,RLHF)增强的大语言模型(Large Language Models,LLMs)攻克上述挑战。RLHF的应用采用迭代优化流程,测试人员可对生成的故障提供反馈,再用该反馈提升LLM的故障生成能力,确保生成的故障场景高度贴合实际运行风险。该创新方法旨在大幅减少构建故障场景的人工工作量,让测试人员可聚焦更高层级的测试策略,从而为提升软件系统可靠性开辟新可能。

英文摘要:

Traditional software fault injection methods, while foundational, face limitations in adequately representing real-world faults, offering customization, and requiring significant manual effort and expertise. This paper introduces a novel methodology that harnesses the capabilities of Large Language Models (LLMs) augmented with Reinforcement Learning from Human Feedback (RLHF) to overcome these challenges. The usage of RLHF emphasizes an iterative refinement process, allowing testers to provide feedback on generated faults, which is then used to enhance the LLM's fault generation capabilities, ensuring the generation of fault scenarios that closely mirror actual operational risks. This innovative methodology aims to significantly reduce the manual effort involved in crafting fault scenarios as it allows testers to focus on higher-level testing strategies, hence paving the way to new possibilities for enhancing the dependability of software systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑