Learning to Synthesize

نویسندگان

  • Yingfei Xiong
  • Bo Wang
  • Guirong Fu
  • Linfei Zang
چکیده

In many scenarios we need to find the most likely program under a local context, where the local context can be an incomplete program, a partial specification, natural language description, etc. We call such problem program estimation. In this paper we propose an abstract framework, learning to synthesis, or L2S in short, to address this problem. L2S combines four tools to achieve this: syntax is used to define the search space and search steps, constraints are used to prune off invalid candidates at each search step, machinelearned models are used to estimate conditional probabilities for the candidates at each search step, and search algorithms are used to find the best possible solution. The main goal of L2S is to lay out the design space to motivate the research on program estimation. We have performed a preliminary evaluation by instantiating this framework for synthesizing conditions of an automated program repair (APR) system. The training data are from the project itself and related JDK packages. Compared to ACS, a state-of-the-art condition synthesis system for program repair, our approach could deal with a larger search space such that we fixed 4 additional bugs outside the search space of ACS, and relies only the source code of the current projects. ACM Reference format: Yingfei Xiong, Bo Wang, Guirong Fu, Linfei Zang. 2016. Learning to Synthesize. In Proceedings of ACM Conference, Washington, DC, USA, July 2017 (Conference’17), 8 pages. DOI: 10.1145/nnnnnnn.nnnnnnn

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

CNN based texture synthesize with Semantic segment

Deep learning algorithm display powerful ability in Computer Vision area, in recent year, the CNN has been applied to solve problems in the subarea of Image-generating, which has been widely applied in areas such as photo editing, image design, computer animation, real-time rendering for large scale of scenes and for visual effects in movies. However in the texture synthesize procedure. The sta...

متن کامل

Nonpher: computational method for design of hard-to-synthesize structures

In cheminformatics, machine learning methods are typically used to classify chemical compounds into distinctive classes such as active/nonactive or toxic/nontoxic. To train a classifier, a training data set must consist of examples from both positive and negative classes. While a biological activity or toxicity can be experimentally measured, another important molecular property, a synthetic fe...

متن کامل

Learning Invariants for Incomplete Heap Verification Engines

Existing learning algorithms for synthesizing invariants for program verification work using concrete counterexamples returned by a verification engine. However, when the verification engine implements incomplete procedures for undecidable logics (such as a rich separation logic), it cannot give concrete counterexamples that a learner can use. We present a new learning framework to synthesize c...

متن کامل

Learning Styles for K-12 Mathematics e-Learning

This review paper analyzes significant studies in learning style and e-Learning fields in order to synthesize an answer to the question “Does considering learning styles improve e-Learning performance especially for K-12 mathematics education?”. Included studies can be categorized into the following topics: learning style models, learning style detection methods, considering learning styles in ...

متن کامل

Synthesis of safe controller via supervised learning for truck lateral control

Correct-by-construction techniques such as control barrier function (CBF) have been developed to guarantee safety for control systems as supervisory controller. However, when the supervisor intervenes, the performance is typically compromised. On the other hand, machine learning is used to synthesize controllers that inherit good properties from the training data, but safety is typically not gu...

متن کامل

A comprehensive model of hidden curriculum management in medical education

Introduction: Hidden curriculum plays a main role in professionallearning, formation of professional identity, socialization,moral development and learning values, attitudes, beliefs, andknowledge in learners, so it needs to be managed. Althoughthe majority of the theorists believe in the existence of a hiddencurriculum and its greater effect and sustainability com...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1802.07608  شماره 

صفحات  -

تاریخ انتشار 2018