Proceedings of the 6th ACM SIGPLAN International Symposium on Machine Programming 2022
DOI: 10.1145/3520312.3534866
|View full text |Cite
|
Sign up to set email alerts
|

Predictive synthesis of API-centric code

Abstract: Today's programmers, especially data science practitioners, make heavy use of data-processing libraries (APIs) such as PyTorch, Tensorflow, NumPy, and the like. Program synthesizers can provide significant coding assistance to this community of users; however program synthesis also can be slow due to enormous search spaces.In this work, we examine ways in which machine learning can be used to accelerate enumerative program synthesis. We present a deep-learning-based model to predict the sequence of API functio… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2

Citation Types

0
4
0

Year Published

2023
2023
2024
2024

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 6 publications
(4 citation statements)
references
References 21 publications
0
4
0
Order By: Relevance
“…Early work looked at generating Excel commands from a few examples [31]. The same concept and has been used for other tasks [21,73], including generating PyTorch or TensorFlow code from tensor inputs [46,59]. TF-Coder [59] takes as input a single userprovided example to generate equivalent TensorFlow code using type constraints and bottom-up enumerative synthesis.…”
Section: Program Synthesismentioning
confidence: 99%
See 1 more Smart Citation
“…Early work looked at generating Excel commands from a few examples [31]. The same concept and has been used for other tasks [21,73], including generating PyTorch or TensorFlow code from tensor inputs [46,59]. TF-Coder [59] takes as input a single userprovided example to generate equivalent TensorFlow code using type constraints and bottom-up enumerative synthesis.…”
Section: Program Synthesismentioning
confidence: 99%
“…TF-Coder [59] takes as input a single userprovided example to generate equivalent TensorFlow code using type constraints and bottom-up enumerative synthesis. Alternative schemes [16,46] use deep learning models trained on IO samples to guide the generation of code.…”
Section: Program Synthesismentioning
confidence: 99%
“…The use of input/output examples to synthesize high-level code has been explored in a number of projects [32], [58], [21], [20]. It has been used to generate pytorch or tensor-flow code from tensor inputs [49], [43]. TF-coder [49] uses type-constraints and equivalences to efficiently apply enumerative program search while [43] uses a DeepCoder [11] style predictive model to guide code generation.…”
Section: Related Workmentioning
confidence: 99%
“…It has been used to generate pytorch or tensor-flow code from tensor inputs [49], [43]. TF-coder [49] uses type-constraints and equivalences to efficiently apply enumerative program search while [43] uses a DeepCoder [11] style predictive model to guide code generation. AutoPandas [13] uses a more powerful graph neural network based model to guide the generation of Panda code.…”
Section: Related Workmentioning
confidence: 99%