paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Neurosymbolic repair for low-code formula languages

低代码公式语言的神经符号修复
OOPSLA 6(OOPSLA2)2022匹配度 4/10 · 论文属于神经符号程序修复与低代码公式语言,和 PL+ML 有交集且有真实基准;但未涉及用户核心关注的静态分析、LLM/Agentic 程序分析、浮点或贝叶斯程序分析,AI→PL 方向也更偏修复而非静态分析/形式化验证。引用 11 inbox
Rohan Bavishi, Harshit Joshi, José Cambronero, Anna Fariha, Sumit Gulwani, Vu Le, Ivan Radiček, Ashish Tiwari
crossref: 2026-09-10

AI 速览

一句话:提出 LaMirage,融合符号与神经技术修复低代码公式语言中的最后一英里错误,在真实基准上超越基线。

低代码平台(如 Excel、PowerApps)用户常以领域特定公式语言编写程序,但容易引入少量语法或语义错误,导致公式失效;这些错误虽只需少量编辑即可修复,用户却难以定位和修正。论文将生成这类编辑的问题形式化为“最后一英里修复”(last-mile repair)问题,并提出 LaMirage:一种最后一英里修复引擎生成器。LaMirage 接收文法与领域特定约束/规则,用符号方法生成满足文法与约束的候选编辑,用神经方法定位错误并对候选修复排序,从而选出最自然的修复。作者在 400 个真实 Excel 和 Power Fx 公式上与当前最好的神经与符号方法比较,LaMirage 均取得更优结果,并公开基准以推动低代码领域研究。

问题
低代码用户编写的公式常因少量语法或语义错误而失效,这些错误难以定位和修复;论文将其形式化为最后一英里修复问题。
方法
LaMirage 从文法和领域约束生成修复引擎:符号方法生成候选编辑,神经方法定位错误并排序候选修复,以选出满足约束且最自然的修复。
评估
在 400 个真实 Excel 和 Power Fx 公式上与最先进的神经与符号方法比较,LaMirage 优于所有基线,并发布了该基准。
原文摘要(Abstract)

Most users of low-code platforms, such as Excel and PowerApps, write programs in domain-specific formula languages to carry out nontrivial tasks. Often users can write most of the program they want, but introduce small mistakes that yield broken formulas. These mistakes, which can be both syntactic and semantic, are hard for low-code users to identify and fix, even though they can be resolved with just a few edits. We formalize the problem of producing such edits as the last-mile repair problem. To address this problem, we developed LaMirage, a LAst-MIle RepAir-engine GEnerator that combines symbolic and neural techniques to perform last-mile repair in low-code formula languages. LaMirage takes a grammar and a set of domain-specific constraints/rules, which jointly approximate the target language, and uses these to generate a repair engine that can fix formulas in that language. To tackle the challenges of localizing errors and ranking candidate repairs, LaMirage leverages neural techniques, whereas it relies on symbolic methods to generate candidate edits. This combination allows LaMirage to find repairs that satisfy the provided grammar and constraints, and then pick the most natural repair. We compare LaMirage to state-of-the-art neural and symbolic approaches on 400 real Excel and Power Fx formulas, where LaMirage outperforms all baselines. We release these benchmarks to encourage subsequent work in low-code domains.

链接与引用

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

BibTeX
@article{paperbot1431,
  title = {Neurosymbolic repair for low-code formula languages},
  author = {Rohan Bavishi and Harshit Joshi and José Cambronero and Anna Fariha and Sumit Gulwani and Vu Le and Ivan Radiček and Ashish Tiwari},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {6},
  number = {OOPSLA2},
  year = {2022},
  doi = {10.1145/3563327}
}