Modeling Black-Box Components with Probabilistic Synthesis

被引:6
|
作者
Collie, Bruce [1 ]
Woodruff, Jackson [1 ]
O'Boyle, Michael F. P. [1 ]
机构
[1] Univ Edinburgh, Sch Informat, Edinburgh, Midlothian, Scotland
基金
英国工程与自然科学研究理事会;
关键词
program synthesis; black box oracle; probabilistic model; PROGRAM SYNTHESIS; TRANSFORMATIONS;
D O I
10.1145/3425898.3426952
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper is concerned with synthesizing programs based on black-box oracles: we are interested in the case where there exists an executable implementation of a component or library, but its internal structure is unknown. We are provided with just an API or function signature, and aim to synthesize a program with equivalent behavior. To attack this problem, we detail PRESYN: a program synthesizer designed for flexible interoperation with existing programs and compiler toolchains. PRESYN uses high-level imperative control-flow structures and a pair of cooperating predictive models to efficiently narrow the space of potential programs. These models can be trained effectively on small corpora of synthesized examples. We evaluate PRESYN against five leading program synthesizers on a collection of 112 synthesis benchmarks collated from previous studies and real-world software libraries. We show that PRESYN is able to synthesize a wider range of programs than each of them with less human input. We demonstrate the application of our approach to real-world code and software engineering problems with two case studies: accelerator library porting and detection of duplicated library reimplementations.
引用
收藏
页码:1 / 14
页数:14
相关论文
共 50 条
  • [21] THE BLACK-BOX
    KYLE, SA
    NEW SCIENTIST, 1986, 110 (1512) : 61 - 61
  • [22] THE BLACK-BOX
    WISEMAN, J
    ECONOMIC JOURNAL, 1991, 101 (404): : 149 - 155
  • [23] Generative Perturbation Analysis for Probabilistic Black-Box Anomaly Attribution
    Ide, Tsuyoshi
    Abe, Naoki
    PROCEEDINGS OF THE 29TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, KDD 2023, 2023, : 845 - 856
  • [24] Explaining Black-Box Algorithms Using Probabilistic Contrastive Counterfactuals
    Galhotra, Sainyam
    Pradhan, Romila
    Salimi, Babak
    SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2021, : 577 - 590
  • [25] Probabilistic Stabilizability Certificates for a Class of Black-Box Linear Systems
    Fabiani, Filippo
    Margellos, Kostas
    Goulart, Paul J.
    IEEE CONTROL SYSTEMS LETTERS, 2022, 6 : 584 - 589
  • [26] Probabilistic Black-Box Checking via Active MDP Learning
    Shijubo, Junya
    Waga, Masaki
    Suenaga, Kohei
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2023, 22 (05)
  • [27] Deep Learning for Black-Box Modeling of Audio Effects
    Ramirez, Marco A. Martinez
    Benetos, Emmanouil
    Reiss, Joshua D.
    APPLIED SCIENCES-BASEL, 2020, 10 (02):
  • [28] Black-Box Modeling and Control of Steerable Ablation Catheters
    Khoshnam, Mahta
    Yadmellat, Peyman
    Patel, Rajni V.
    2016 IEEE INTERNATIONAL CONFERENCE ON ADVANCED INTELLIGENT MECHATRONICS (AIM), 2016, : 1192 - 1197
  • [29] BLACK-BOX MODELING OF THE SUBGLACIAL WATER-SYSTEM
    MURRAY, T
    CLARKE, GKC
    JOURNAL OF GEOPHYSICAL RESEARCH-SOLID EARTH, 1995, 100 (B6) : 10231 - 10245
  • [30] Computationally efficient black-box modeling for feasibility analysis
    Banerjee, Ipsita
    Pal, Siladitya
    Maiti, Spandan
    COMPUTERS & CHEMICAL ENGINEERING, 2010, 34 (09) : 1515 - 1521