STL:令人惊讶地棘手的逻辑(用于系统验证)
STL: Surprisingly Tricky Logic (for System Validation)
AI总结:
本文通过人类实验检验形式化规范对人类可解释的假设,发现STL验证准确率仅45%,并揭示肯定性偏差与过度自信问题,建议改进数据呈现与验证培训。
摘要:
近期许多开发形式化方法技术以指定或学习自主系统行为的工作,都基于这样一种信念:在检查系统时,形式化规范对人类是可解释且有用的。尽管这一假设被频繁断言,却很少得到检验。我们开展了一项人类实验(N = 62),参与者中既有事先熟悉形式化方法的人,也有不熟悉的人,要求他们验证一组信号时序逻辑(STL)约束是否能使智能体在网格世界夺旗场景中免受伤害并完成任务。验证准确率为 $45\\% \pm 20\\%$(均值 $\pm$ 标准差)。研究发现,规范的真实有效性、受试者对形式化方法的熟悉程度以及受试者的教育水平是决定验证正确性的显著因素。参与者表现出肯定性偏差,导致其在有效规范上的准确率显著提高,但在无效规范上的准确率显著降低。此外,参与者——尤其是熟悉形式化方法的人——往往对自己的答案过度自信,并且无论实际正确与否,其自信程度都相似。我们的数据不支持形式化规范在系统验证中本质上对人类具有有意义可解释性的这一信念。我们建议对数据呈现方式和验证培训进行人机工程学改进,并应在可解释性主张重新进入形式化方法文献之前对这些改进进行测试。
英文摘要:
Much of the recent work developing formal methods techniques to specify or learn the behavior of autonomous systems is predicated on a belief that formal specifications are interpretable and useful for humans when checking systems. Though frequently asserted, this assumption is rarely tested. We performed a human experiment (N = 62) with a mix of people who were and were not familiar with formal methods beforehand, asking them to validate whether a set of signal temporal logic (STL) constraints would keep an agent out of harm and allow it to complete a task in a gridworld capture-the-flag setting. Validation accuracy was $45\% \pm 20\%$ (mean $\pm$ standard deviation). The ground-truth validity of a specification, subjects' familiarity with formal methods, and subjects' level of education were found to be significant factors in determining validation correctness. Participants exhibited an affirmation bias, causing significantly increased accuracy on valid specifications, but significantly decreased accuracy on invalid specifications. Additionally, participants, particularly those familiar with formal methods, tended to be overconfident in their answers, and be similarly confident regardless of actual correctness. Our data do not support the belief that formal specifications are inherently human-interpretable to a meaningful degree for system validation. We recommend ergonomic improvements to data presentation and validation training, which should be tested before claims of interpretability make their way back into the formal methods literature.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。