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 条
  • [41] OVERPRESSURED MULTI-LAYER CHROMATOGRAPHY
    TYIHAK, E
    MINCSOVICS, E
    SZEKELY, TJ
    JOURNAL OF CHROMATOGRAPHY, 1989, 471 : 375 - 387
  • [42] Multi-layer insulation fabric
    High Performance Textiles,
  • [43] A Multi-layer Solver for XPBD
    Mercier-Aubin, A.
    Kry, P. G.
    COMPUTER GRAPHICS FORUM, 2024, 43 (08)
  • [44] GMPLS multi-layer network
    Otani, Tomohiro
    Ogaki, Kenichi
    Network Architectures, Management, and Applications IV, 2006, 6354 : U288 - U295
  • [45] Multi-layer optimization algorithm
    Abdalla, M.
    Yamin, J.
    Al-Khawaldeh, E.
    JOURNAL OF ALGORITHMS & COMPUTATIONAL TECHNOLOGY, 2022, 16
  • [46] On the formation of multi-layer hierarchies
    Manousakis, Kyriakos
    McAuley, Antony
    2007 IEEE MILITARY COMMUNICATIONS CONFERENCE, VOLS 1-8, 2007, : 3226 - 3232
  • [47] EXCITONS IN MULTI-LAYER SYSTEMS
    FOMIN, VM
    POKATILOV, EP
    PHYSICA STATUS SOLIDI B-BASIC RESEARCH, 1985, 129 (01): : 203 - 209
  • [48] Multi-layer breakwater optimization
    Arsie, A
    Belorgey, M
    PROCEEDINGS OF THE EIGHTH INTERNATIONAL OFFSHORE AND POLAR ENGINEERING CONFERENCE, VOL 3, 1998, : 578 - 583
  • [49] The multi-layer RSIP framework
    Luo, JN
    Shieh, SP
    NINTH IEEE INTERNATIONAL CONFERENCE ON NETWORKS, PROCEEDINGS, 2001, : 166 - 171
  • [50] Multi-layer resist strategies
    Slezak, M
    SOLID STATE TECHNOLOGY, 2003, 46 (07) : 36 - +