From Batch to Stream: Automatic Generation of Online Algorithms

被引:0
|
作者
Wang, Ziteng [1 ]
Pailoor, Shankara [1 ]
Prakash, Aaryan [1 ]
Wang, Yuepeng [2 ]
Dillig, Isil [1 ]
机构
[1] Univ Texas Austin, Austin, TX 78712 USA
[2] Simon Fraser Univ, Burnaby, BC, Canada
基金
加拿大自然科学与工程研究理事会; 美国国家科学基金会;
关键词
Program Synthesis; Online Algorithms; Incremental Computation; Stream Processing; LIBRARY;
D O I
10.1145/3656418
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Online streaming algorithms, tailored for continuous data processing, offer substantial benefits but are often more intricate to design than their offline counterparts. This paper introduces a novel approach for automatically synthesizing online streaming algorithms from their offline versions. In particular, we propose a novel methodology, based on the notion of relational function signature (RFS), for deriving an online algorithm given its offline version. Then, we propose a concrete synthesis algorithm that is an instantiation of the proposed methodology. Our algorithm uses the RFS to decompose the synthesis problem into a set of independent subtasks and uses a combination of symbolic reasoning and search to solve each subproblem. We implement the proposed technique in a new tool called Opera and evaluate it on over 50 tasks spanning two domains: statistical computations and online auctions. Our results show that Opera can automatically derive the online version of the original algorithm for 98% of the tasks. Our experiments also demonstrate that Opera significantly outperforms alternative approaches, including adaptations of SyGuS solvers to this problem as well as two of Opera's own ablations.
引用
收藏
页数:26
相关论文
共 50 条
  • [31] Random Number Generation with LFSR Based Stream Cipher Algorithms
    Tuncer, Taner
    Avaroglu, Erdinc
    2017 40TH INTERNATIONAL CONVENTION ON INFORMATION AND COMMUNICATION TECHNOLOGY, ELECTRONICS AND MICROELECTRONICS (MIPRO), 2017, : 171 - 175
  • [32] Semi-Automatic Generation of Stream Surfaces via Sketching
    Tao, Jun
    Wang, Chaoli
    IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2018, 24 (09) : 2622 - 2635
  • [33] Automatic generation of multipath algorithms in the cellular nonlinear network
    Preciado, VM
    Guinea, D
    Montúfar, R
    APPLICATIONS OF ARTIFICIAL NEURAL NETWORKS IN IMAGE PROCESSING VI, 2001, 4305 : 149 - 159
  • [34] Show, Reward and Tell: Automatic Generation of Narrative Paragraph from Photo Stream by Adversarial Training
    Wang, Jing
    Fu, Jianlong
    Tang, Jinhui
    Li, Zechao
    Mei, Tao
    THIRTY-SECOND AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTIETH INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE / EIGHTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2018, : 7396 - 7403
  • [35] Behavior-Informed Algorithms for Automatic Documentation Generation
    Rodeghero, Paige
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2017, : 660 - 664
  • [36] On the automatic generation of metaheuristic algorithms for combinatorial optimization problems
    Martin-Santamaria, Raul
    Lopez-Ibanez, Manuel
    Stutzle, Thomas
    Colmenar, J. Manuel
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2024, 318 (03) : 740 - 751
  • [37] Algorithms for Automatic Generation of Logical Questions on Mobile Devices
    Wang, Kun
    Li, Tao
    Han, Jungang
    Lei, Yani
    INTERNATIONAL CONFERENCE ON FUTURE COMPUTER SUPPORTED EDUCATION, 2012, 2 : 258 - 263
  • [38] CALEX: Automatic generation of timetables for examinations with genetic algorithms
    Moreira, Jose Joaquim M.
    Godinho, Antonio M. de A. L.
    NOVAS PERSPECTIVAS EM SISTEMAS E TECNOLOGIAS DE INFORMACAO, VOL I, 2007, : 211 - 222
  • [39] Set differentiation: A method for the automatic generation of filtering algorithms
    Darche, FD
    PROCEEDINGS OF THE 11TH KNOWLEDGE-BASED SOFTWARE ENGINEERING CONFERENCE, 1996, : 134 - 143
  • [40] Automatic generation of interlock designs using genetic algorithms
    Lepar, Yeremia Yehuda
    Wang, Yu-Chih
    Chang, Chuei-Tin
    COMPUTERS & CHEMICAL ENGINEERING, 2017, 101 : 167 - 192