Fast and Reliable Program Synthesis via User Interaction
Yanju Chen, Chenglong Wang, Xinyu Wang, Osbert Bastani, Yu Feng
摘要
The performance of programming-by-example systems varies significantly across different tasks and even across different examples in one task. The key issue is that the search space depends on the given examples in a complex way. In particular, scalable synthesizers typically rely on a combination of machine learning to prioritize search order and deduction to prune search space, making it hard to quantitatively reason about how much an example speeds up the search. We propose a novel approach for quantifying the effectiveness of an example at reducing synthesis time. Based on this technique, we devise an algorithm that actively queries the user to obtain additional examples that significantly reduce synthesis time. We evaluate our approach on 30 challenging benchmarks across two different data science domains. Even with ineffective initial user-provided examples for pruning, our approach on average achieves a 6.0× speed-up in synthesis time compared to state-of-the-art synthesizers.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Abstraction Refinement-Guided Program Synthesis for Robot Learning from Demonstrations 引用了 Program Synthesis Using Deduction-Guided Reinforcement Learning
- Abstraction Refinement-Guided Program Synthesis for Robot Learning from Demonstrations 引用了 Reward-Guided Synthesis of Intelligent Agents with Control Structures
- Program Synthesis Using Deduction-Guided Reinforcement Learning 引用了 Visualization by example
- Choose, Don't Label: Multiple-Choice Query Synthesis for Program Disambiguation 引用了 Question selection for interactive program synthesis
- Choose, Don't Label: Multiple-Choice Query Synthesis for Program Disambiguation 引用了 Multi-modal synthesis of regular expressions
- Choose, Don't Label: Multiple-Choice Query Synthesis for Program Disambiguation 引用了 Interactive Program Synthesis by Augmented Examples
- Reward-Guided Synthesis of Intelligent Agents with Control Structures 引用了 Program Synthesis Using Deduction-Guided Reinforcement Learning
- Interactive Program Synthesis by Augmented Examples 引用了 Visualization by example
- Interactive Program Synthesis by Augmented Examples 引用了 Multi-modal synthesis of regular expressions
引用它的顶会 Paper4
- Reward-Guided Synthesis of Intelligent Agents with Control StructuresGuofeng Cui, Yuning Wang, Wenjie Qiu, He ZhuPLDI 2024 · 3 次引用
- Abstraction Refinement-Guided Program Synthesis for Robot Learning from DemonstrationsGuofeng Cui, Yuning Wang, Wensen Mao, Yuanlin Duan 等OOPSLA 2025 · 1 次引用
- Inductive Program Synthesis by Meta-Analysis-Guided Hole FillingDoyoon Lee, Woosuk Lee, Kwangkeun YiPOPL 2026
- Choose, Don't Label: Multiple-Choice Query Synthesis for Program DisambiguationCeleste Barnaby, Danny Ding, Osbert Bastani, Isil DilligPLDI 2026
它引用的 Paper7
- Multi-modal synthesis of regular expressionsQiaochu Chen, Xinyu Wang, Xi Ye, Greg Durrett 等PLDI 2020 · 81 次引用
- Interactive Program Synthesis by Augmented ExamplesTianyi Zhang, London Lowmanstone, Xinyu Wang, Elena L. GlassmanUIST 2020 · 57 次引用
- Visualization by exampleChenglong Wang, Yu Feng, Rastislav Bodík, Alvin Cheung 等POPL 2020 · 36 次引用
- Question selection for interactive program synthesisRuyi Ji, Jingjing Liang, Yingfei Xiong, Lu Zhang 等PLDI 2020 · 33 次引用
- Program Synthesis Using Deduction-Guided Reinforcement LearningYanju Chen, Chenglong Wang, Osbert Bastani, Isil Dillig 等CAV 2020 · 30 次引用
相关 Paper
- Example-guided synthesis of relational queriesAalok Thakkar, Aaditya Naik, Nathaniel Sands, Rajeev Alur 等PLDI 2021 · 12 次引用
- Grammar Filtering for Syntax-Guided SynthesisKairo Morton, William T. Hallahan, Elven Shum, Ruzica Piskac 等AAAI 2020 · 12 次引用
- Generating Pragmatic Examples to Train Neural Program SynthesizersSaujas Vaduguru, Daniel Fried, Yewen PuICLR 2024 · 7 次引用
- Guiding dynamic programing via structural probability for accelerating programming by exampleRuyi Ji, Yican Sun, Yingfei Xiong, Zhenjiang HuOOPSLA 2020 · 13 次引用
- Adaptive restarts for stochastic synthesisJason R. Koenig, Oded Padon, Alex AikenPLDI 2021 · 3 次引用
