paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Bounded Exhaustive Search of Alloy Specification Repairs

Alloy 规约修复的有界穷举搜索
ICSE 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)2021匹配度 2/10 · 论文属于形式化方法与声明式规约自动修复,涉及 Alloy 和约束求解,但未涉及 LLM/Agent、机器学习系统静态分析、浮点程序分析或贝叶斯程序分析,与用户画像的核心交叉方向距离较远。引用 26 inbox
Simon Gutierrez Brida, German Regis, Guolong Zheng, Hamid Bagheri, ThanhVu Nguyen, Nazareno Aguirre, Marcelo Frias
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 BeAFix,对有缺陷的 Alloy 规约进行有界穷举且可扩展的自动修复,并用断言剪枝。

声明式语言日益流行但难以调试,然而自动修复研究多集中于命令式程序,声明式语言修复工具稀缺。本文提出 BeAFix,面向基于一阶关系逻辑的声明式语言 Alloy,自动修复有缺陷的模型。其核心是一种有界穷举且可扩展的修复候选空间探索策略,并配合形式严谨的可靠剪枝,从而避免组合爆炸。与依赖单元测试的最先进 Alloy 修复方法不同,BeAFix 不需要测试,可直接利用形式声明式语言中常用的断言来定位与修复缺陷。作者用其他研究者收集的数千个真实故障模型进行评估,表明 BeAFix 能有效生成正确修复,并优于当前最先进方法。

问题
命令式程序修复已有进展,但声明式语言(如 Alloy)的自动修复技术稀缺,且现有 Alloy 修复方法依赖单元测试,难以适用。
方法
提出 BeAFix,通过有界穷举且可扩展的修复候选空间探索,结合形式严谨的可靠剪枝;不需测试,直接以断言驱动修复。
评估
在数千个真实世界故障 Alloy 模型上评估,显示能有效产生正确修复并超越现有最先进方法。
原文摘要(Abstract)

The rising popularity of declarative languages and the hard to debug nature thereof have motivated the need for applicable, automated repair techniques for such languages. However, despite significant advances in the program repair of imperative languages, there is a dearth of repair techniques for declarative languages. This paper presents BeAFix, an automated repair technique for faulty models written in Alloy, a declarative language based on first-order relational logic. BeAFix is backed with a novel strategy for bounded exhaustive, yet scalable, exploration of the spaces of fix candidates and a formally rigorous, sound pruning of such spaces. Moreover, different from the state-of-the-art in Alloy automated repair, that relies on the availability of unit tests, BeAFix does not require tests and can work with assertions that are naturally used in formal declarative languages. Our experience with using BeAFix to repair thousands of real-world faulty models, collected by other researchers, corroborates its ability to effectively generate correct repairs and outperform the state-of-the-art.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2103-00327,
  title = {Bounded Exhaustive Search of Alloy Specification Repairs},
  author = {Simon Gutierrez Brida and German Regis and Guolong Zheng and Hamid Bagheri and ThanhVu Nguyen and Nazareno Aguirre and Marcelo Frias},
  booktitle = {ICSE},
  year = {2021},
  doi = {10.1109/icse43902.2021.00105}
}