Lune

OOPSLA2020Top-tier venue

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Tunneling through the Hill: Multi-way Intersection for Version-Space Algebras in Program Synthesis cites Generalizable synthesis through unification
  • Accelerating Syntax-Guided Program Synthesis by Optimizing Domain-Specific Languages cites Generalizable synthesis through unification
  • Improving Oracle-Guided Inductive Synthesis by Efficient Question Selection cites Generalizable synthesis through unification
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Generalizable synthesis through unificationRuyi Ji, Jingtao Xia, Yingfei Xiong, Zhenjiang HuOOPSLA 2021 · 14 citations
  2. Toward Improving the Robustness of Deep Learning Models via Model TransformationYingyi Zhang, Zan Wang, Jiajun Jiang, Hanmo You et al.ASE 2022 · 7 citations
  3. Improving Oracle-Guided Inductive Synthesis by Efficient Question SelectionRuyi Ji, Chaozhe Kong, Yingfei Xiong, Zhenjiang HuOOPSLA 2023 · 6 citations
  4. Accelerating Syntax-Guided Program Synthesis by Optimizing Domain-Specific LanguagesZhentao Ye, Ruyi Ji, Yingfei Xiong, Xin ZhangPOPL 2026 · 1 citation
  5. Tunneling through the Hill: Multi-way Intersection for Version-Space Algebras in Program SynthesisGuanlin Chen, Ruyi Ji, Shuhao Zhang, Yingfei XiongOOPSLA 2025

Builds on1

  1. Multi-modal synthesis of regular expressionsQiaochu Chen, Xinyu Wang, Xi Ye, Greg Durrett et al.PLDI 2020 · 81 citations

Related papers

  1. SynGuar: guaranteeing generalization in programming by exampleBo Wang, Teodora Baluta, Aashish Kolluri, Prateek SaxenaFSE 2021
  2. Fast and Reliable Program Synthesis via User InteractionYanju Chen, Chenglong Wang, Xinyu Wang, Osbert Bastani et al.ASE 2023 · 5 citations
  3. Grammar Filtering for Syntax-Guided SynthesisKairo Morton, William T. Hallahan, Elven Shum, Ruzica Piskac et al.AAAI 2020 · 12 citations
  4. FlashFill++: Scaling Programming by Example by Cutting to the ChaseJosé Cambronero, Sumit Gulwani, Vu Le, Daniel Perelman et al.POPL 2023 · 27 citations
  5. Example-guided synthesis of relational queriesAalok Thakkar, Aaditya Naik, Nathaniel Sands, Rajeev Alur et al.PLDI 2021 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines