Program Synthesis and Semantic Parsing with Learned Code Idioms
Not on the map. Why?
Abstract (arXiv)
Program synthesis of general-purpose source code from natural language specifications is challenging due to the need to reason about high-level patterns in the target program and low-level implementation details at the same time. In this work, we present PATOIS, a system that allows a neural program synthesizer to explicitly interleave high-level and low-level reasoning at every generation step. It accomplishes this by automatically mining common code idioms from a given corpus, incorporating them into the underlying language for neural synthesis, and training a tree-based neural synthesizer to use these idioms during code generation. We evaluate PATOIS on two complex semantic parsing datasets and show that using learned code idioms improves the synthesizer's accuracy.
Key facts. Cited by 34 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 10; 2022: 9; 2023: 6; 2024: 6; 2025: 2; 2026: 1.
34 papers.
Sort:
By area:
- 2025Inducing Programmatic Skills for Agentic Taskscited by 103
- 2024Symbolic Regression with a Learned Concept Librarycited by 76
- 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 70
- 2022Top-Down Synthesis for Library Learningcited by 57
- 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Codecited by 46
- 2021Leveraging Language to Learn Program Abstractions and Search Heuristicscited by 44
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
- 2022Towards Data-and Knowledge-Driven Artificial Intelligence: A Survey on Neuro-Symbolic Computingcited by 34
- 2022A Hazard Analysis Framework for Code Synthesis Large Language Modelscited by 22
- 2021Investigating Math Word Problems using Pretrained Multilingual Language Modelscited by 21
- 2021Improving Tree-Structured Decoder Training for Code Generation via Mutual Learningcited by 10
- 2021Exploring Dynamic Selection of Branch Expansion Orders for Code Generationcited by 10
22 more
- 2023R-U-SURE? Uncertainty-Aware Code Suggestions By Maximizing Utility Across Random User Intentscited by 10
- 2021Total Recall: a Customized Continual Learning Method for Neural Semantic Parserscited by 9
- 2022On the Effectiveness of Pretrained Models for API Learningcited by 9
- 2023CodeBPE: Investigating Subtokenization Options for Large Language Model Pretraining on Source Codecited by 9
- 2021Toward Code Generation: A Survey and Lessons from Semantic Parsingcited by 8
- 2022A Simple, Yet Effective Approach to Finding Biases in Code Generationcited by 8
- 2021Transcribing Natural Languages for The Deaf via Neural Editing Programscited by 7
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generationcited by 6
- 2022Predictive Querying for Autoregressive Neural Sequence Modelscited by 5
- 2021Autoencoders as Tools for Program Synthesiscited by 4
- 2024Full Line Code Completion: Bringing AI to Desktopcited by 4
- 2025Generating Planning Feedback for Open-Ended Programming Exercises with LLMscited by 4
- 2023Neural Machine Translation for Code Generationcited by 3
- 2023kNN-ICL: Compositional Task-Oriented Parsing Generalization with Nearest Neighbor In-Context Learningcited by 3
- 2021Mapping Language to Programs using Multiple Reward Components with Inverse Reinforcement Learningcited by 2
- 2023Bayesian Program Learning by Decompiling Amortized Knowledgecited by 2
- 2021Procedures as Programs: Hierarchical Control of Situated Agents through Natural Languagecited by 0
- 2022Iterative Genetic Improvement: Scaling Stochastic Program Synthesiscited by 0
- 2022Antecedent Predictions Are More Important Than You Think: An Effective Method for Tree-Based Code Generationcited by 0
- 2022Programming by Example and Text-to-Code Translation for Conversational Code Generationcited by 0
- 2024On the Efficient Marginalization of Probabilistic Sequence Modelscited by 0
- 2026Prospective Compression in Human Abstraction Learningcited by 0
- 2026Prospective Compression in Human Abstraction Learning11 May 2026
- 2025Generating Planning Feedback for Open-Ended Programming Exercises with LLMs11 Apr 2025
- 2025Inducing Programmatic Skills for Agentic Tasks9 Apr 2025
- 2024Symbolic Regression with a Learned Concept Library14 Sep 2024
- 2024Full Line Code Completion: Bringing AI to Desktop14 May 2024
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generation26 Apr 2024
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practices19 Mar 2024
- 2024On the Efficient Marginalization of Probabilistic Sequence Models6 Mar 2024
- 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Tasks23 Jan 2024
- 2023kNN-ICL: Compositional Task-Oriented Parsing Generalization with Nearest Neighbor In-Context Learning17 Dec 2023
- 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Code30 Oct 2023
- 2023CodeBPE: Investigating Subtokenization Options for Large Language Model Pretraining on Source Code1 Aug 2023
22 more
- 2023Bayesian Program Learning by Decompiling Amortized Knowledge13 Jun 2023
- 2023Neural Machine Translation for Code Generation22 May 2023
- 2023R-U-SURE? Uncertainty-Aware Code Suggestions By Maximizing Utility Across Random User Intents1 Mar 2023
- 2022Top-Down Synthesis for Library Learning29 Nov 2022
- 2022Programming by Example and Text-to-Code Translation for Conversational Code Generation21 Nov 2022
- 2022A Simple, Yet Effective Approach to Finding Biases in Code Generation31 Oct 2022
- 2022Towards Data-and Knowledge-Driven Artificial Intelligence: A Survey on Neuro-Symbolic Computing28 Oct 2022
- 2022Predictive Querying for Autoregressive Neural Sequence Models12 Oct 2022
- 2022Antecedent Predictions Are More Important Than You Think: An Effective Method for Tree-Based Code Generation22 Aug 2022
- 2022A Hazard Analysis Framework for Code Synthesis Large Language Models25 Jul 2022
- 2022On the Effectiveness of Pretrained Models for API Learning5 Apr 2022
- 2022Iterative Genetic Improvement: Scaling Stochastic Program Synthesis26 Feb 2022
- 2021Transcribing Natural Languages for The Deaf via Neural Editing Programs17 Dec 2021
- 2021Mapping Language to Programs using Multiple Reward Components with Inverse Reinforcement Learning2 Oct 2021
- 2021Procedures as Programs: Hierarchical Control of Situated Agents through Natural Language16 Sep 2021
- 2021Total Recall: a Customized Continual Learning Method for Neural Semantic Parsers11 Sep 2021
- 2021Autoencoders as Tools for Program Synthesis16 Aug 2021
- 2021Leveraging Language to Learn Program Abstractions and Search Heuristics18 Jun 2021
- 2021Exploring Dynamic Selection of Branch Expansion Orders for Code Generation1 Jun 2021
- 2021Improving Tree-Structured Decoder Training for Code Generation via Mutual Learning31 May 2021
- 2021Investigating Math Word Problems using Pretrained Multilingual Language Models19 May 2021
- 2021Toward Code Generation: A Survey and Lessons from Semantic Parsing26 Apr 2021
- 2025Inducing Programmatic Skills for Agentic Taskscited by 103
- 2025Inducing Programmatic Skills for Agentic Tasks9 Apr 2025
- 2024Symbolic Regression with a Learned Concept Librarycited by 76
- 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 70
- 2022Top-Down Synthesis for Library Learningcited by 57
- 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Codecited by 46
- 2021Leveraging Language to Learn Program Abstractions and Search Heuristicscited by 44
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
- 2022Towards Data-and Knowledge-Driven Artificial Intelligence: A Survey on Neuro-Symbolic Computingcited by 34
- 2022A Hazard Analysis Framework for Code Synthesis Large Language Modelscited by 22
- 2021Investigating Math Word Problems using Pretrained Multilingual Language Modelscited by 21
- 2021Improving Tree-Structured Decoder Training for Code Generation via Mutual Learningcited by 10
- 2021Exploring Dynamic Selection of Branch Expansion Orders for Code Generationcited by 10
- 2023R-U-SURE? Uncertainty-Aware Code Suggestions By Maximizing Utility Across Random User Intentscited by 10
12 most cited of 33 All 33 (JSON)
- 2026Prospective Compression in Human Abstraction Learning11 May 2026
- 2025Generating Planning Feedback for Open-Ended Programming Exercises with LLMs11 Apr 2025
- 2024Symbolic Regression with a Learned Concept Library14 Sep 2024
- 2024Full Line Code Completion: Bringing AI to Desktop14 May 2024
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generation26 Apr 2024
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practices19 Mar 2024
- 2024On the Efficient Marginalization of Probabilistic Sequence Models6 Mar 2024
- 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Tasks23 Jan 2024
- 2023kNN-ICL: Compositional Task-Oriented Parsing Generalization with Nearest Neighbor In-Context Learning17 Dec 2023
- 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Code30 Oct 2023
- 2023CodeBPE: Investigating Subtokenization Options for Large Language Model Pretraining on Source Code1 Aug 2023
- 2023Bayesian Program Learning by Decompiling Amortized Knowledge13 Jun 2023
12 newest of 33 All 33 (JSON)