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
来源
ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING | 2019年
基金
美国国家科学基金会;
关键词
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 条
  • [31] Permeability of multi-layer structures
    Solovyov, Stanislav E.
    Goldman, Anatoliy Ya.
    E-Polymers, 2004,
  • [32] Multi-Layer Thick Shells
    Chen, Yunuo
    Xie, Tianyi
    Yuksel, Cem
    Kaufman, Danny
    Yang, Yin
    Jiang, Chenfanfu
    Li, Minchen
    PROCEEDINGS OF SIGGRAPH 2023 CONFERENCE PAPERS, SIGGRAPH 2023, 2023,
  • [33] Permeability of multi-layer structures
    Solovyov, SE
    Goldman, AY
    E-POLYMERS, 2004,
  • [34] Design of Multi-layer Weaves
    Nie, Jianbin
    Lu, Shiyan
    PROCEEDING OF THE THIRD WORLD CONFERENCE ON 3D FABRICS AND THEIR APPLICATIONS, 2010, : 24 - 28
  • [35] Multi-layer photopolymer micromachining
    Huang, JR
    Bai, B
    Shaw, J
    Jackson, TN
    Wei, CY
    Manivannan, V
    Durocher, K
    MICRO- AND NANOSYSTEMS-MATERIALS AND DEVICES, 2005, 872 : 175 - 188
  • [36] Multi-layer Nylon tubing
    Colbert, JA
    Williams, M
    Kirk, P
    ANTEC'97 - PLASTICS SAVING PLANET EARTH, CONFERENCE PROCEEDINGS, VOLS 1 - 3, 1997, : 2789 - 2793
  • [37] MULTI-LAYER TABLET PRODUCTION
    不详
    DRUG & COSMETIC INDUSTRY, 1968, 102 (01): : 84 - &
  • [38] Multi-Layer Hierarchical Structures
    Xia, Jianlin
    CSIAM TRANSACTIONS ON APPLIED MATHEMATICS, 2021, 2 (02): : 263 - 296
  • [39] Multi-Layer Community Detection
    Farzad, Babak
    Pichugina, Oksana
    Koliechkina, Liudmyla
    2018 INTERNATIONAL CONFERENCE ON CONTROL, ARTIFICIAL INTELLIGENCE, ROBOTICS & OPTIMIZATION (ICCAIRO), 2018, : 133 - 140
  • [40] A Multi-layer Solver for XPBD
    Mercier-Aubine, A.
    Kry, P. G.
    ACM SIGGRAPH / EUROGRAPHICS SYMPOSIUM OF COMPUTER ANIMATION 2024, 2024,