paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Training Automated Test Oracles to Identify Semantic Bugs

训练自动测试预言以识别语义缺陷
ASE 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)2021匹配度 4/10 · 论文属于机器学习与程序语言/软件测试的交叉,关注自动测试预言与语义缺陷检测,与用户“AI→PL”中利用学习技术改进软件分析有一定宽泛关联;但它不涉及静态分析、形式化验证、LLM/Agent、浮点程序分析或贝叶斯程序分析等核心方向,因此匹配度有限。引用 2 inbox
Charaka Geethal
crossref: 2026-09-12

AI 速览

一句话:研究用学习技术自动构建测试预言,以识别不会导致程序崩溃的语义缺陷,并探索融入人类知识的方法。

语义缺陷指程序对某些输入产生错误输出、偏离预期行为,但与崩溃或挂起不同,它通常不会在执行过程中显现失败,因此必须借助对预期程序行为的了解才能发现,而完全依赖人工识别对大多数软件并不现实。测试预言(test oracle)是区分程序正确与错误行为的任何过程。本博士论文聚焦于开发学习技术,为含有语义缺陷的程序生成自动化测试预言,并关注如何将人类知识有效地融入这些学习技术之中。作者期望,自动测试预言能让语义缺陷检测更为高效,同时为自动程序修复工具提供引导,使其针对语义缺陷生成更准确的修复。摘要未给出具体实验评估细节。

问题
语义缺陷不引发崩溃或挂起,只有掌握正确程序行为知识的人通过观察输出才能发现,而纯人工识别对所有软件都不可行。
方法
开发学习技术自动生成测试预言,以区分程序的正确与错误行为,并研究把人类知识有效融入学习过程的方法。
评估
摘要未报告具体实验设置与结果,仅论证自动测试预言可提升语义缺陷检测效率,并能为自动程序修复工具提供更准确的修复指导。
原文摘要(Abstract)

Can a machine find and fix a Semantic Bug? A Semantic Bug is a deviation from the expected program behaviour that causes to produce incorrect outputs for certain inputs. To identify this category of bugs, the knowledge on the expected program behaviour is essential. The reason is that a program with a semantic bug does not fail (i.e., crash or hang) in the middle of the execution in most scenarios. Thus, only a human (a user or a developer) knowing the correct program behaviour can detect this kind of bug by observing the output. However, identifying bugs solely through human effort is not practical for all software. A Test Oracle is any procedure used to differentiate the correct and incorrect behaviours of a program. This dissertation mainly focuses on developing learning techniques to produce Automated Test Oracles for programs with semantic bugs. Also, discovering methods to incorporate human knowledge effectively for the learning techniques is another concern. The automated test oracles could make semantic bug detection more efficient. Also, such test oracles could guide Automated Program Repair tools to generate more accurate fixes for semantic bugs.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6603,
  title = {Training Automated Test Oracles to Identify Semantic Bugs},
  author = {Charaka Geethal},
  booktitle = {ASE},
  year = {2021},
  doi = {10.1109/ase51524.2021.9678886}
}