Neurosymbolic repair for low-code formula languages
Rohan Bavishi, Harshit Joshi, José Cambronero, Anna Fariha, Sumit Gulwani, Vu Le, Ivan Radicek, Ashish Tiwari
摘要
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 the errors and ranking the candidate repairs, LaMirage leverages neural techniques, whereas it relies on symbolic methods to generate candidate repairs. 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 PowerFx formulas, where LaMirage outperforms all baselines. We release these benchmarks to encourage subsequent work in low-code domains.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TFix: Learning to Fix Coding Errors with a Text-to-Text Transformer 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- TFix: Learning to Fix Coding Errors with a Text-to-Text Transformer 引用了 Graph-based, Self-Supervised Program Repair from Diagnostic Feedback
- Repair Is Nearly Generation: Multilingual Program Repair with LLMs 引用了 TFix: Learning to Fix Coding Errors with a Text-to-Text Transformer
- Repair Is Nearly Generation: Multilingual Program Repair with LLMs 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- Repair Is Nearly Generation: Multilingual Program Repair with LLMs 引用了 Graph-based, Self-Supervised Program Repair from Diagnostic Feedback
- Repair Is Nearly Generation: Multilingual Program Repair with LLMs 引用了 Synchromesh: Reliable Code Generation from Pre-trained Language Models
- FLAME: A Small Language Model for Spreadsheet Formulas 引用了 TFix: Learning to Fix Coding Errors with a Text-to-Text Transformer
- FLAME: A Small Language Model for Spreadsheet Formulas 引用了 Repair Is Nearly Generation: Multilingual Program Repair with LLMs
- FLAME: A Small Language Model for Spreadsheet Formulas 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- FLAME: A Small Language Model for Spreadsheet Formulas 引用了 Graph-based, Self-Supervised Program Repair from Diagnostic Feedback
- FLAME: A Small Language Model for Spreadsheet Formulas 引用了 Synchromesh: Reliable Code Generation from Pre-trained Language Models
- Graph-based, Self-Supervised Program Repair from Diagnostic Feedback 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- A syntax-guided edit decoder for neural program repair 引用了 Graph-based, Self-Supervised Program Repair from Diagnostic Feedback
引用它的顶会 Paper3
- Repair Is Nearly Generation: Multilingual Program Repair with LLMsHarshit Joshi, José Pablo Cambronero Sánchez, Sumit Gulwani, Vu Le 等AAAI 2023 · 182 次引用
- FLAME: A Small Language Model for Spreadsheet FormulasHarshit Joshi, Abishai Ebenezer, José Pablo Cambronero Sánchez, Sumit Gulwani 等AAAI 2024 · 21 次引用
- Automated Feedback Generation for Competition-Level CodeJialu Zhang, De Li, John Charles Kolesar, Hanyuan Shi 等ASE 2022 · 16 次引用
它引用的 Paper12
- CodeBERT: A Pre-Trained Model for Programming and Natural LanguagesZhangyin Feng, Daya Guo, Duyu Tang, Nan Duan 等EMNLP Findings 2020 · 2,828 次引用
- A syntax-guided edit decoder for neural program repairQihao Zhu, Zeyu Sun, Yuan-an Xiao, Wenjie Zhang 等FSE 2021 · 214 次引用
- Synchromesh: Reliable Code Generation from Pre-trained Language ModelsGabriel Poesia, Alex Polozov, Vu Le, Ashish Tiwari 等ICLR 2022 · 200 次引用
- Graph-based, Self-Supervised Program Repair from Diagnostic FeedbackMichihiro Yasunaga, Percy LiangICML 2020 · 198 次引用
- TFix: Learning to Fix Coding Errors with a Text-to-Text TransformerBerkay Berabi, Jingxuan He, Veselin Raychev, Martin T. VechevICML 2021 · 143 次引用
相关 Paper
- PyDex: Repairing Bugs in Introductory Python Assignments using LLMsJialu Zhang, José Pablo Cambronero, Sumit Gulwani, Vu Le 等OOPSLA 2024 · 38 次引用
- Automated Repair of Programs from Large Language ModelsZhiyu Fan, Xiang Gao, Martin Mirchev, Abhik Roychoudhury 等ICSE 2023 · 213 次引用
- SynthFix: Adaptive Neuro-Symbolic Code Vulnerability RepairYifan Zhang, Jieyu Li, Kexin Pei, Yu Huang 等ACL Findings 2026
- Seq2Parse: neurosymbolic parse error repairGeorgios Sakkas, Madeline Endres, Philip J. Guo, Westley Weimer 等OOPSLA 2022 · 6 次引用
- CORNET: Learning Table Formatting Rules By ExampleMukul Singh, José Pablo Cambronero Sánchez, Sumit Gulwani, Vu Le 等VLDB 2023 · 11 次引用
