Neural-Guided Deductive Search for Real-Time Program Synthesis from Examples
Not on the map. Why?
Abstract (arXiv)
Synthesizing user-intended programs from a small number of input-output examples is a challenging problem with several important applications like spreadsheet manipulation, data wrangling and code refactoring. Existing synthesis systems either completely rely on deductive logic techniques that are extensively hand-engineered or on purely statistical models that need massive amounts of data, and in general fail to provide real-time synthesis on challenging benchmarks. In this work, we propose Neural Guided Deductive Search (NGDS), a hybrid synthesis technique that combines the best of both symbolic logic techniques and statistical models. Thus, it produces programs that satisfy the provided specifications by construction and generalize well on unseen examples, similar to data-driven systems. Our technique effectively utilizes the deductive search framework to reduce the learning problem of the neural component to a simple supervised learning setup. Further, this allows us to both train on sparingly available real-world data and still leverage powerful recurrent neural network encoders. We demonstrate the effectiveness of our method by evaluating on real-world customer scenarios by synthesizing accurate programs with up to 12x speed-up compared to state-of-the-art systems.
Key facts. Cited by 39 papers in the map (data through 14 Oct 2026). First posted on arXiv 3 Apr 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 10; 2022: 8; 2023: 12; 2024: 5; 2025: 2; 2026: 2.
39 papers.
Sort:
By area:
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2023Learning Performance-Improving Code Editscited by 106
- 2021From Statistical Relational to Neurosymbolic Artificial Intelligence: a Surveycited by 72
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmarkcited by 43
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2021A Survey on Neural-symbolic Learning Systemscited by 39
- 2021Latent Execution for Neural Program Synthesiscited by 35
- 2024Is Programming by Example solved by LLMs?cited by 27
- 2023InstructABSA: Instruction Learning for Aspect Based Sentiment Analysiscited by 23
- 2022CrossBeam: Learning to Search in Bottom-Up Program Synthesiscited by 18
- 2024HYSYNTH: Context-Free LLM Approximation for Guiding Program Synthesiscited by 15
- 2022Self-explaining deep models with logic rule reasoningcited by 13
27 more
- 2022Neurosymbolic Repair for Low-Code Formula Languagescited by 12
- 2021Context-NER : Contextual Phrase Generation at Scalecited by 11
- 2021Program Synthesis Guided Reinforcement Learning for Partially Observed Environmentscited by 8
- 2021Learning to Combine Per-Example Solutions for Neural Program Synthesiscited by 8
- 2024NL2Formula: Generating Spreadsheet Formulas from Natural Language Queriescited by 8
- 2023Program Synthesis with Best-First Bottom-Up Searchcited by 7
- 2021Scaling Neural Program Synthesis with Distribution-based Searchcited by 6
- 2022From Examples to Rules: Neural Guided Rule Synthesis for Information Extractioncited by 4
- 2022Learning to Improve Code Efficiencycited by 4
- 2024Learning Program Behavioral Models from Synthesized Input-Output Pairscited by 4
- 2021BF++: a language for general-purpose program synthesiscited by 3
- 2023EDM3: Event Detection as Multi-task Text Generationcited by 3
- 2022Synthesizing Programs with Continuous Optimizationcited by 2
- 2023Bayesian Program Learning by Decompiling Amortized Knowledgecited by 2
- 2022NeuroCERIL: Robotic Imitation Learning via Hierarchical Cause-Effect Reasoning in Programmable Attractor Neural Networkscited by 1
- 2023Transformer Models for Type Inference in the Simply Typed Lambda Calculus: A Case Study in Deep Learning for Codecited by 1
- 2023Can You Improve My Code? Optimizing Programs with Local Searchcited by 1
- 2021Learning Heuristics for Template-based CEGIS of Loop Invariants with Reinforcement Learningcited by 0
- 2022Example-based Synthesis of Static Analysis Rulescited by 0
- 2023Improved Tree Search for Automatic Program Synthesiscited by 0
- 2023WikiCoder: Learning to Write Knowledge-Powered Codecited by 0
- 2023Learning-Based Automatic Synthesis of Software Code and Configurationcited by 0
- 2023COOL: A Constraint Object-Oriented Logic Programming Language and its Neural-Symbolic Compilation Systemcited by 0
- 2025Neuro-symbolic Weak Supervision: Theory and Semanticscited by 0
- 2025Analysis of Error Sources in LLM-based Hypothesis Search for Few-Shot Rule Inductioncited by 0
- 2026Talking with Verifiers: Automatic Specification Generation for Neural Network Verificationcited by 0
- 2026SheetCompass: Hierarchical Relation Graphs for Agentic Spreadsheet Reasoningcited by 0
- 2026SheetCompass: Hierarchical Relation Graphs for Agentic Spreadsheet Reasoning14 Aug 2026
- 2026Talking with Verifiers: Automatic Specification Generation for Neural Network Verification13 Feb 2026
- 2025Analysis of Error Sources in LLM-based Hypothesis Search for Few-Shot Rule Induction31 Aug 2025
- 2025Neuro-symbolic Weak Supervision: Theory and Semantics24 Mar 2025
- 2024Learning Program Behavioral Models from Synthesized Input-Output Pairs11 Jul 2024
- 2024Is Programming by Example solved by LLMs?12 Jun 2024
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmark10 Jun 2024
- 2024HYSYNTH: Context-Free LLM Approximation for Guiding Program Synthesis24 May 2024
- 2024NL2Formula: Generating Spreadsheet Formulas from Natural Language Queries20 Feb 2024
- 2023COOL: A Constraint Object-Oriented Logic Programming Language and its Neural-Symbolic Compilation System7 Nov 2023
- 2023Program Synthesis with Best-First Bottom-Up Search6 Oct 2023
- 2023Can You Improve My Code? Optimizing Programs with Local Search10 Jul 2023
27 more
- 2023Bayesian Program Learning by Decompiling Amortized Knowledge13 Jun 2023
- 2023EDM3: Event Detection as Multi-task Text Generation25 May 2023
- 2023Learning-Based Automatic Synthesis of Software Code and Configuration25 May 2023
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation2 May 2023
- 2023Transformer Models for Type Inference in the Simply Typed Lambda Calculus: A Case Study in Deep Learning for Code15 Mar 2023
- 2023WikiCoder: Learning to Write Knowledge-Powered Code15 Mar 2023
- 2023Improved Tree Search for Automatic Program Synthesis13 Mar 2023
- 2023InstructABSA: Instruction Learning for Aspect Based Sentiment Analysis16 Feb 2023
- 2023Learning Performance-Improving Code Edits15 Feb 2023
- 2022NeuroCERIL: Robotic Imitation Learning via Hierarchical Cause-Effect Reasoning in Programmable Attractor Neural Networks11 Nov 2022
- 2022Synthesizing Programs with Continuous Optimization2 Nov 2022
- 2022Self-explaining deep models with logic rule reasoning13 Oct 2022
- 2022Learning to Improve Code Efficiency9 Aug 2022
- 2022Neurosymbolic Repair for Low-Code Formula Languages24 Jul 2022
- 2022Example-based Synthesis of Static Analysis Rules19 Apr 2022
- 2022CrossBeam: Learning to Search in Bottom-Up Program Synthesis20 Mar 2022
- 2022From Examples to Rules: Neural Guided Rule Synthesis for Information Extraction16 Jan 2022
- 2021A Survey on Neural-symbolic Learning Systems10 Nov 2021
- 2021Scaling Neural Program Synthesis with Distribution-based Search24 Oct 2021
- 2021Context-NER : Contextual Phrase Generation at Scale16 Sep 2021
- 2021From Statistical Relational to Neurosymbolic Artificial Intelligence: a Survey25 Aug 2021
- 2021Learning Heuristics for Template-based CEGIS of Loop Invariants with Reinforcement Learning16 Jul 2021
- 2021Latent Execution for Neural Program Synthesis29 Jun 2021
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Context26 Jun 2021
- 2021Learning to Combine Per-Example Solutions for Neural Program Synthesis14 Jun 2021
- 2021Program Synthesis Guided Reinforcement Learning for Partially Observed Environments22 Feb 2021
- 2021BF++: a language for general-purpose program synthesis23 Jan 2021
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2023Learning Performance-Improving Code Editscited by 106
- 2021From Statistical Relational to Neurosymbolic Artificial Intelligence: a Surveycited by 72
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmarkcited by 43
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2021A Survey on Neural-symbolic Learning Systemscited by 39
- 2021Latent Execution for Neural Program Synthesiscited by 35
- 2024Is Programming by Example solved by LLMs?cited by 27
- 2023InstructABSA: Instruction Learning for Aspect Based Sentiment Analysiscited by 23
- 2022CrossBeam: Learning to Search in Bottom-Up Program Synthesiscited by 18
- 2024HYSYNTH: Context-Free LLM Approximation for Guiding Program Synthesiscited by 15
- 2022Self-explaining deep models with logic rule reasoningcited by 13
12 most cited of 37 All 37 (JSON)
- 2026Talking with Verifiers: Automatic Specification Generation for Neural Network Verification13 Feb 2026
- 2025Analysis of Error Sources in LLM-based Hypothesis Search for Few-Shot Rule Induction31 Aug 2025
- 2025Neuro-symbolic Weak Supervision: Theory and Semantics24 Mar 2025
- 2024Learning Program Behavioral Models from Synthesized Input-Output Pairs11 Jul 2024
- 2024Is Programming by Example solved by LLMs?12 Jun 2024
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmark10 Jun 2024
- 2024HYSYNTH: Context-Free LLM Approximation for Guiding Program Synthesis24 May 2024
- 2024NL2Formula: Generating Spreadsheet Formulas from Natural Language Queries20 Feb 2024
- 2023COOL: A Constraint Object-Oriented Logic Programming Language and its Neural-Symbolic Compilation System7 Nov 2023
- 2023Program Synthesis with Best-First Bottom-Up Search6 Oct 2023
- 2023Can You Improve My Code? Optimizing Programs with Local Search10 Jul 2023
- 2023Bayesian Program Learning by Decompiling Amortized Knowledge13 Jun 2023
12 newest of 37 All 37 (JSON)