Lune

OOPSLA2022Top-tier venue

Neurosymbolic repair for low-code formula languages

Rohan Bavishi, Harshit Joshi, José Cambronero, Anna Fariha, Sumit Gulwani, Vu Le, Ivan Radicek, Ashish Tiwari

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 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • TFix: Learning to Fix Coding Errors with a Text-to-Text Transformer cites CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • TFix: Learning to Fix Coding Errors with a Text-to-Text Transformer cites Graph-based, Self-Supervised Program Repair from Diagnostic Feedback
  • Repair Is Nearly Generation: Multilingual Program Repair with LLMs cites TFix: Learning to Fix Coding Errors with a Text-to-Text Transformer
  • Repair Is Nearly Generation: Multilingual Program Repair with LLMs cites CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • Repair Is Nearly Generation: Multilingual Program Repair with LLMs cites Graph-based, Self-Supervised Program Repair from Diagnostic Feedback
  • Repair Is Nearly Generation: Multilingual Program Repair with LLMs cites Synchromesh: Reliable Code Generation from Pre-trained Language Models
  • FLAME: A Small Language Model for Spreadsheet Formulas cites TFix: Learning to Fix Coding Errors with a Text-to-Text Transformer
  • FLAME: A Small Language Model for Spreadsheet Formulas cites Repair Is Nearly Generation: Multilingual Program Repair with LLMs
  • FLAME: A Small Language Model for Spreadsheet Formulas cites CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • FLAME: A Small Language Model for Spreadsheet Formulas cites Graph-based, Self-Supervised Program Repair from Diagnostic Feedback
  • FLAME: A Small Language Model for Spreadsheet Formulas cites Synchromesh: Reliable Code Generation from Pre-trained Language Models
  • Graph-based, Self-Supervised Program Repair from Diagnostic Feedback cites CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • A syntax-guided edit decoder for neural program repair cites Graph-based, Self-Supervised Program Repair from Diagnostic Feedback
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Repair Is Nearly Generation: Multilingual Program Repair with LLMsHarshit Joshi, José Pablo Cambronero Sánchez, Sumit Gulwani, Vu Le et al.AAAI 2023 · 182 citations
  2. FLAME: A Small Language Model for Spreadsheet FormulasHarshit Joshi, Abishai Ebenezer, José Pablo Cambronero Sánchez, Sumit Gulwani et al.AAAI 2024 · 21 citations
  3. Automated Feedback Generation for Competition-Level CodeJialu Zhang, De Li, John Charles Kolesar, Hanyuan Shi et al.ASE 2022 · 16 citations

Builds on12

  1. CodeBERT: A Pre-Trained Model for Programming and Natural LanguagesZhangyin Feng, Daya Guo, Duyu Tang, Nan Duan et al.EMNLP Findings 2020 · 2,828 citations
  2. A syntax-guided edit decoder for neural program repairQihao Zhu, Zeyu Sun, Yuan-an Xiao, Wenjie Zhang et al.FSE 2021 · 214 citations
  3. Synchromesh: Reliable Code Generation from Pre-trained Language ModelsGabriel Poesia, Alex Polozov, Vu Le, Ashish Tiwari et al.ICLR 2022 · 200 citations
  4. Graph-based, Self-Supervised Program Repair from Diagnostic FeedbackMichihiro Yasunaga, Percy LiangICML 2020 · 198 citations
  5. TFix: Learning to Fix Coding Errors with a Text-to-Text TransformerBerkay Berabi, Jingxuan He, Veselin Raychev, Martin T. VechevICML 2021 · 143 citations

Related papers

  1. PyDex: Repairing Bugs in Introductory Python Assignments using LLMsJialu Zhang, José Pablo Cambronero, Sumit Gulwani, Vu Le et al.OOPSLA 2024 · 38 citations
  2. Automated Repair of Programs from Large Language ModelsZhiyu Fan, Xiang Gao, Martin Mirchev, Abhik Roychoudhury et al.ICSE 2023 · 213 citations
  3. SynthFix: Adaptive Neuro-Symbolic Code Vulnerability RepairYifan Zhang, Jieyu Li, Kexin Pei, Yu Huang et al.ACL Findings 2026
  4. Seq2Parse: neurosymbolic parse error repairGeorgios Sakkas, Madeline Endres, Philip J. Guo, Westley Weimer et al.OOPSLA 2022 · 6 citations
  5. CORNET: Learning Table Formatting Rules By ExampleMukul Singh, José Pablo Cambronero Sánchez, Sumit Gulwani, Vu Le et al.VLDB 2023 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines