paper-with-me

Papers

Transformer-based Program Synthesis for Low-Data Environments

2022-05-18 · Jack Roper

Recent advancements in large pre-trained transformer models (GPT2/3, T5) have found use in program synthesis to generate programs that satisfy a set of input/output examples. However, these models perform poorly on long-horizon and low-data tasks, and often don't seem to understand the semantics of the languages they generate. We investigate an approach that tackles both of these issues, by using attributed context-free-grammars of programming languages to generate programs, and then analyzing generated programs so that they can be annotated with compile and runtime attributes, such as types, so that information about the program can be remembered during long-horizon generation. We firstly find that synthesized datasets can be made efficiently and can provide transformer models with enough data in order to perform well on some synthesis tasks. We also find that giving models access to program attributes is especially effective in low-data environments, and tends improve the quality and reduce errors of transformer-generated programs.

📄 PDF Abstract BibTeX arXiv:2205.09246

Code (1)

jroper18/haskell-scraper 공식 구현

Tasks

Program Synthesis

Similar Papers 제목 키워드 기반

AutoCoder: Leveraging Transformers for Automatic Code Synthesis

2021-10-08 · NeurIPS Workshop AIPLANS 2021 12 · Mrinal Anand, Pratik Kayal, Mayank Singh

Program synthesis from natural language descriptions is a challenging task. This paper explores two variants of transformer models for the task of program synthesis and showcase higher performance than the existing SOTA …

Program Synthesis

Adversarial Robustness of Program Synthesis Models

2021-10-08 · NeurIPS Workshop AIPLANS 2021 12 · Mrinal Anand, Pratik Kayal, Mayank Singh

The resurgence of automatic program synthesis has been observed with the rise of deep learning. In this paper, we study the behaviour of the program synthesis model under adversarial settings. Our experiments suggest tha…

Adversarial RobustnessProgram Synthesis

Are Transformers All That Karel Needs?

2021-10-08 · NeurIPS Workshop AIPLANS 2021 12 · Abhay Garg, Anand Sriraman, Kunal Pagarey, Shirish Karande

Recent works have shown the incredible promise of using neural networks for the task of program synthesis from input-output examples. In this paper, we propose using Transformer-based architectures as a baseline for the …

AllDecoderProgram Synthesis

LTLf Synthesis on First-Order Agent Programs in Nondeterministic Environments

2024-10-01 · Till Hofmann, Jens Claßen

We investigate the synthesis of policies for high-level agent programs expressed in Golog, a language based on situation calculus that incorporates nondeterministic programming constructs. Unlike traditional approaches f…

Program Synthesis Guided Reinforcement Learning for Partially Observed Environments

2021-02-22 · NeurIPS 2021 12 · Yichen David Yang, Jeevana Priya Inala, Osbert Bastani, Yewen Pu 외

A key challenge for reinforcement learning is solving long-horizon planning problems. Recent work has leveraged programs to guide reinforcement learning in these settings. However, these approaches impose a high manual b…

MinecraftProgram Synthesisreinforcement-learningReinforcement Learning+1