Multi-modal Program Inference: a Marriage of Pre-trainedLanguage Models and Component-based Synthesis
Not on the map. Why?
Abstract (arXiv)
Multi-modal program synthesis refers to the task of synthesizing programs (code) from their specification given in different forms, such as a combination of natural language and examples. Examples provide a precise but incomplete specification, and natural language provides an ambiguous but more "complete" task description. Machine-learned pre-trained models (PTMs) are adept at handling ambiguous natural language, but struggle with generating syntactically and semantically precise code. Program synthesis techniques can generate correct code, often even from incomplete but precise specifications, such as examples, but they are unable to work with the ambiguity of natural languages. We present an approach that combines PTMs with component-based synthesis (CBS): PTMs are used to generate candidates programs from the natural language description of the task, which are then used to guide the CBS procedure to find the program that matches the precise examples-based specification. We use our combination approach to instantiate multi-modal synthesis systems for two programming domains: the domain of regular expressions and the domain of CSS selectors. Our evaluation demonstrates the effectiveness of our domain-agnostic approach in comparison to a state-of-the-art specialized system, and the generality of our approach in providing multi-modal program synthesis from natural language and examples in different programming domains.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 15 of its 46 references that are in the map. First posted on arXiv 3 Sep 2021.
Builds on
15 of 46 references.
References · 15
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
- 2016DeepCoder: Learning to Write Programscited by 145
- 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 97
- 2019Ablation Studies in Artificial Neural Networkscited by 58
- 2018Natural Language to Structured Query Generation via Meta-Learningcited by 33
- 2016Neural Generation of Regular Expressions from Natural Language with Minimal Domain Knowledgecited by 24
- 2015Program Synthesis from Polymorphic Refinement Typescited by 20
- 2019Multi-modal Synthesis of Regular Expressionscited by 13
3 more
Built on by
Citing papers per year: 2022: 4; 2023: 6; 2024: 1; 2025: 1.
12 papers.
- 2023SatLM: Satisfiability-Aided Language Models Using Declarative Promptingcited by 100
- 2022Interactive Code Generation via Test-Driven User-Intent Formalizationcited by 50
- 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Codecited by 46
- 2022Repairing Bugs in Python Assignments Using Large Language Modelscited by 28
- 2023FLAME: A small language model for spreadsheet formulascited by 15
- 2022Neurosymbolic Repair for Low-Code Formula Languagescited by 12
- 2025Hallucination by Code Generation LLMs: Taxonomy, Benchmarks, Mitigation, and Challengescited by 9
- 2023FormaT5: Abstention and Examples for Conditional Table Formatting with Natural Languagecited by 7
- 2023DataVinci: Learning Syntactic and Semantic String Repairscited by 6
- 2023Toward Reproducing Network Research Results Using Large Language Modelscited by 3
- 2022ObSynth: An Interactive Synthesis System for Generating Object Models from Natural Language Specificationscited by 1
- 2024Integrating Explanations in Learning LTL Specifications from Demonstrationscited by 1
- 2025Hallucination by Code Generation LLMs: Taxonomy, Benchmarks, Mitigation, and Challenges29 Apr 2025
- 2024Integrating Explanations in Learning LTL Specifications from Demonstrations3 Apr 2024
- 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Code30 Oct 2023
- 2023FormaT5: Abstention and Examples for Conditional Table Formatting with Natural Language26 Oct 2023
- 2023Toward Reproducing Network Research Results Using Large Language Models9 Sep 2023
- 2023DataVinci: Learning Syntactic and Semantic String Repairs21 Aug 2023
- 2023SatLM: Satisfiability-Aided Language Models Using Declarative Prompting16 May 2023
- 2023FLAME: A small language model for spreadsheet formulas31 Jan 2023
- 2022ObSynth: An Interactive Synthesis System for Generating Object Models from Natural Language Specifications20 Oct 2022
- 2022Repairing Bugs in Python Assignments Using Large Language Models29 Sep 2022
- 2022Interactive Code Generation via Test-Driven User-Intent Formalization11 Aug 2022
- 2022Neurosymbolic Repair for Low-Code Formula Languages24 Jul 2022