Guiding dynamic programing via structural probability for accelerating programming by example
Ruyi Ji, Yican Sun, Yingfei Xiong, Zhenjiang Hu
Abstract
Programming by example (PBE) is an important subproblem of program synthesis, and PBE techniques have been applied to many domains. Though many techniques for accelerating PBE systems have been explored, the scalability remains one of the main challenges: There is still a gap between the performances of state-ofthe-art synthesizers and the industrial requirement. To further speed up solving PBE tasks, in this paper, we propose a novel PBE framework MaxFlash. MaxFlash uses a model based on structural probability, named topdown prediction models, to guide a search based on dynamic programming, such that the search will focus on subproblems that form probable programs, and avoid improbable programs. Our evaluation shows that MaxFlash achieves ×4.107 -×2080 speed-ups against state-of-the-art solvers on 244 real-world tasks.
CCS Concepts: • Software and its engineering → Software notations and tools; General programming languages.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1531416d-cd98-47bb-959b-a1159e066ce3Cited by top-tier papers5
- Generalizable synthesis through unificationRuyi Ji, Jingtao Xia, Yingfei Xiong, Zhenjiang HuOOPSLA 2021 · 14 citations
- Toward Improving the Robustness of Deep Learning Models via Model TransformationYingyi Zhang, Zan Wang, Jiajun Jiang, Hanmo You et al.ASE 2022 · 7 citations
- Improving Oracle-Guided Inductive Synthesis by Efficient Question SelectionRuyi Ji, Chaozhe Kong, Yingfei Xiong, Zhenjiang HuOOPSLA 2023 · 6 citations
- Accelerating Syntax-Guided Program Synthesis by Optimizing Domain-Specific LanguagesZhentao Ye, Ruyi Ji, Yingfei Xiong, Xin ZhangPOPL 2026 · 1 citation
- Tunneling through the Hill: Multi-way Intersection for Version-Space Algebras in Program SynthesisGuanlin Chen, Ruyi Ji, Shuhao Zhang, Yingfei XiongOOPSLA 2025
Builds on1
Related papers
- SynGuar: guaranteeing generalization in programming by exampleBo Wang, Teodora Baluta, Aashish Kolluri, Prateek SaxenaFSE 2021
- Grammar Filtering for Syntax-Guided SynthesisKairo Morton, William T. Hallahan, Elven Shum, Ruzica Piskac et al.AAAI 2020 · 12 citations
- FlashFill++: Scaling Programming by Example by Cutting to the ChaseJosé Cambronero, Sumit Gulwani, Vu Le, Daniel Perelman et al.POPL 2023 · 27 citations
- Fast and Reliable Program Synthesis via User InteractionYanju Chen, Chenglong Wang, Xinyu Wang, Osbert Bastani et al.ASE 2023 · 5 citations
- Generating Pragmatic Examples to Train Neural Program SynthesizersSaujas Vaduguru, Daniel Fried, Yewen PuICLR 2024 · 7 citations
