Maximal Multi-layer Specification Synthesis

被引:22
|
作者
Chen, Yanju [1 ]
Martins, Ruben [2 ]
Feng, Yu [1 ]
机构
[1] Univ Calif Santa Barbara, Santa Barbara, CA 93106 USA
[2] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
基金
美国国家科学基金会;
关键词
program synthesis; machine learning; neural networks; Max-SMT; SQL QUERIES; TRANSFORMATIONS;
D O I
10.1145/3338906.3338951
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
There has been a significant interest in applying programming-by-example to automate repetitive and tedious tasks. However, due to the incomplete nature of input-output examples, a synthesizer may generate programs that pass the examples but do not match the user intent. In this paper, we propose Mars, a novel synthesis framework that takes as input a multi-layer specification composed by input-output examples, textual description, and partial code snippets that capture the user intent. To accurately capture the user intent from the noisy and ambiguous description, we propose a hybrid model that combines the power of an LSTM-based sequence-to-sequence model with the apriori algorithm for mining association rules through unsupervised learning. We reduce the problem of solving a multi-layer specification synthesis to a Max-SMT problem, where hard constraints encode well-typed concrete programs and soft constraints encode the user intent learned by the hybrid model. We instantiate our hybrid model to the data wrangling domain and compare its performance against MORPHEUS, a state-of-the-art synthesizer for data wrangling tasks. Our experiments demonstrate that our approach outperforms MORPHEUS in terms of running time and solved benchmarks. For challenging benchmarks, our approach can suggest candidates with rankings that are an order of magnitude better than MORPHEUS which leads to running times that are 15x faster than MORPHEUS.
引用
收藏
页码:602 / 612
页数:11
相关论文
共 50 条
  • [1] Coherent multi-layer landscape synthesis
    Argudo, Oscar
    Andujar, Carlos
    Chica, Antonio
    Guerin, Eric
    Digne, Julie
    Peytavie, Adrien
    Galin, Eric
    VISUAL COMPUTER, 2017, 33 (6-8): : 1005 - 1015
  • [2] IMPROVED SYNTHESIS OF MULTI-LAYER ABSORBER
    ONO, M
    SUZUKI, M
    ELECTRONICS & COMMUNICATIONS IN JAPAN, 1971, 54 (05): : 64 - &
  • [3] Multi-Layer Synthesis of HighlyStructured Texture
    TANG Li 1
    2. State Key Laboratary of Software Engineering
    3. Key Laboratory of Aerospace Information Security and Trust Computing
    4. Institute of Software Chinese Academy of Sciences
    Wuhan University Journal of Natural Sciences, 2012, 17 (04) : 302 - 308
  • [4] Coherent multi-layer landscape synthesis
    Oscar Argudo
    Carlos Andujar
    Antonio Chica
    Eric Guérin
    Julie Digne
    Adrien Peytavie
    Eric Galin
    The Visual Computer, 2017, 33 : 1005 - 1015
  • [5] Maximal Specification Synthesis
    Albarghouthi, Aws
    Dillig, Isil
    Gurfinkel, Arie
    ACM SIGPLAN NOTICES, 2016, 51 (01) : 789 - 801
  • [7] Multi-layer Pointillism
    Chi, Dongxiang
    Li, Ming
    Zhao, Ying
    Liu, Wenhong
    Hu, Jing
    2013 6TH INTERNATIONAL CONGRESS ON IMAGE AND SIGNAL PROCESSING (CISP), VOLS 1-3, 2013, : 1056 - 1060
  • [8] Multi-layer parallel shooting method for multi-layer boundary value problems
    Allan, Fathi M.
    Hajji, Mohamed Ali
    2009 INTERNATIONAL CONFERENCE ON INNOVATIONS IN INFORMATION TECHNOLOGY, 2009, : 315 - 319
  • [9] High performance multi-layer routing for VLSI circuit synthesis
    Bhowal, S
    Pal, RK
    TENCON 2004 - 2004 IEEE REGION 10 CONFERENCE, VOLS A-D, PROCEEDINGS: ANALOG AND DIGITAL TECHNIQUES IN ELECTRICAL ENGINEERING, 2004, : D328 - D331
  • [10] Individuality expressions synthesis using multi-layer facial model
    Xiong, Lei
    Bi, Duyan
    He, Linyuan
    Li, Quanhe
    Xiong, L. (xionglei12@sina.com), 1600, Institute of Computing Technology (25): : 1204 - 1212