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 条
  • [1] Automatic Generation of CVs from Online Social Networks
    Dias, Sergio Maia
    Gancarski, Alda Lopes
    Henriques, Pedro Rangel
    LANGUAGES, APPLICATIONS AND TECHNOLOGIES, SLATE 2015, 2015, 563 : 258 - 263
  • [2] Online and batch algorithms for VNFs placement and chaining
    Soualah, Oussama
    Mechtri, Marouen
    Ghribi, Chaima
    Zeghlache, Djamal
    COMPUTER NETWORKS, 2019, 158 : 98 - 113
  • [3] Automatic Generation of Metaheuristic Algorithms
    Iturra, Sergio
    Contreras-Bolton, Carlos
    Parada, Victor
    METAHEURISTICS AND NATURE INSPIRED COMPUTING, META 2021, 2022, 1541 : 48 - 58
  • [4] ONLINE AUTOMATIC CONTINGENCY SELECTION ALGORITHMS
    VEMURI, S
    USHER, RE
    IEEE TRANSACTIONS ON POWER APPARATUS AND SYSTEMS, 1983, 102 (02): : 346 - 354
  • [5] Automatic generation of parallel programs from affine iterative algorithms
    Marongiu, A
    Palazzari, P
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, VOLS I-V, 2000, : 2623 - 2629
  • [6] Optimization Algorithms for Scalable Stream Batch Clustering with k Estimation
    Candido, Paulo Gustavo Lopes
    Silva, Jonathan Andrade
    Faria, Elaine Ribeiro
    Naldi, Murilo Coelho
    APPLIED SCIENCES-BASEL, 2022, 12 (13):
  • [7] A COMPARISON OF ALGORITHMS FOR INTRUDER DETECTION ON BATCH AND DATA STREAM ENVIRONMENTS
    Rivero Perez, Jorge Luis
    Ribeiro, Bernardete
    Hector Ortiz, Kadir
    REVISTA UNIVERSIDAD Y SOCIEDAD, 2016, 8 (04): : 31 - 41
  • [8] ONLINE BATCH NORMALIZATION ADAPTATION FOR AUTOMATIC SPEECH RECOGNITION
    Mana, Franco
    Weninger, Felix
    Gemello, Roberto
    Zhan, Puming
    2019 IEEE AUTOMATIC SPEECH RECOGNITION AND UNDERSTANDING WORKSHOP (ASRU 2019), 2019, : 875 - 880
  • [9] Mini-batch algorithms with online step size
    Yang, Zhuang
    Wang, Cheng
    Zhang, Zhemin
    Li, Jonathan
    KNOWLEDGE-BASED SYSTEMS, 2019, 165 : 228 - 240
  • [10] Evolutionary algorithms for the online optimization of batch production schedules
    Sand, Guido
    Till, Jochen
    Tometzki, Thomas
    Urselmann, Maren
    Emmerich, Michael
    Engell, Sebastian
    AT-AUTOMATISIERUNGSTECHNIK, 2008, 56 (02) : 80 - 89