arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.07789cs.CYcs.AI
收藏

AI助手是否帮助学生编写形式化规范?基于ChatGPT和B方法的研究

Do AI assistants help students write formal specifications? A study with ChatGPT and the B-Method

University of Luxembourg(卢森堡大学);Universidad Nacional de Rosario(罗萨里奥国立大学);CIFASIS

Alfredo Capozucca, Daniil Yampolskyi, Alexander Goldberg, Maximiliano Cristiá

AI总结:

本研究以ChatGPT和B方法为对象,探究AI助手对本科生编写形式化规范的作用,发现AI未提升规范正确性、低信任度对应更好结果,并识别出影响规范正确性的ChatGPT交互行为模式。

摘要:

本文研究了AI助手(具体为OpenAI的ChatGPT)在向本科生教授形式化方法(FM)时的作用,采用B方法作为形式化规范技术。现有研究表明AI在编码任务中有效,但尚无研究报告其对形式化规范的影响。我们考察ChatGPT在编写B规范时是否提供优势,并分析学生对其输出的信任度。研究发现,AI未帮助学生提升规范正确性,低信任度与更好结果相关;此外,我们识别出一种与ChatGPT交互的行为模式,可能影响B规范的正确性。

英文摘要:

This paper investigates the role of AI assistants, specifically OpenAI's ChatGPT, in teaching formal methods (FM) to undergraduate students, using the B-method as a formal specification technique. While existing studies demonstrate the effectiveness of AI in coding tasks, no study reports on its impact on formal specifications. We examine whether ChatGPT provides an advantage when writing B-specifications and analyse student trust in its outputs. Our findings indicate that the AI does not help students to enhance the correctness of their specifications, with low trust correlating to better outcomes. Additionally, we identify a behavioural pattern with which to interact with ChatGPT which may influence the correctness of B-specifications.

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

↑