Optimal aggregation algorithms for middleware

被引:976
|
作者
Fagin, R
Lotem, A
Naor, M
机构
[1] IBM Corp, Almaden Res Ctr, San Jose, CA 95120 USA
[2] Univ Maryland, Dept Comp Sci, College Pk, MD 20742 USA
[3] Weizmann Inst Sci, Dept Comp Sci & Appl Math, IL-76100 Rehovot, Israel
关键词
D O I
10.1016/S0022-0000(03)00026-6
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Assume that each object in a database has m grades, or scores, one for each of m attributes. For example, an object can have a color grade, that tells how red it is, and a shape grade, that tells how round it is. For each attribute, there is a sorted list, which lists each object and its grade under that attribute, sorted by grade (highest grade first). Each object is assigned an overall grade, that is obtained by combining the attribute grades using a fixed monotone aggregation function, or combining rule, such as min or average. To determine the top k objects, that is, k objects with the highest overall grades, the naive algorithm must access every object in the database, to find its grade under each attribute. Fagin has given an algorithm ("Fagin's Algorithm", or FA) that is much more efficient. For some monotone aggregation functions, FA is optimal with high probability in the worst case. We analyze an elegant and remarkably simple algorithm ("the threshold algorithm", or TA) that is optimal in a much stronger sense than FA. We show that TA is essentially optimal, not just for some monotone aggregation functions, but for all of them, and not just in a high-probability worst-case sense, but over every database. Unlike FA, which requires large buffers (whose size may grow unboundedly as the database size grows), TA requires only a small, constant-size buffer. TA allows early stopping, which yields, in a precise sense, an approximate version of the top k answers. We distinguish two types of access: sorted access (where the middleware system obtains the grade of an object in some sorted list by proceeding through the list sequentially from the top), and random access (where the middleware system requests the grade of object in a list, and obtains it in one step). We consider the scenarios where random access is either impossible, or expensive relative to sorted access, and provide algorithms that are essentially optimal for these cases as well. (C) 2003 Elsevier Science (USA). All rights reserved.
引用
收藏
页码:614 / 656
页数:43
相关论文
共 50 条
  • [11] Optimal judgment aggregation
    Bonilla, Jesus Zamora
    PHILOSOPHY OF SCIENCE, 2007, 74 (05) : 813 - 824
  • [12] Optimal rates of aggregation
    Tsybakov, AB
    LEARNING THEORY AND KERNEL MACHINES, 2003, 2777 : 303 - 313
  • [13] Aggregation Correct Operations on Algorithms
    Shibzukhov, Z. M.
    DOKLADY MATHEMATICS, 2015, 91 (03) : 391 - 393
  • [14] Aggregation correct operations on algorithms
    Z. M. Shibzukhov
    Doklady Mathematics, 2015, 91 : 391 - 393
  • [15] Online Algorithms for Multilevel Aggregation
    Bienkowski, Marcin
    Bohm, Martin
    Byrka, Jaroslaw
    Chrobak, Marek
    Durr, Christoph
    Folwarczn, Lukas
    Jez, Lukasz
    Sgall, Jiri
    Nguyen Kim Thang
    Vesely, Pavel
    OPERATIONS RESEARCH, 2020, 68 (01) : 214 - 232
  • [16] Modified Iterative Aggregation Algorithms
    Shuvar, B. A.
    Kopach, M., I
    RUSSIAN MATHEMATICS, 2007, 51 (03) : 68 - 71
  • [17] Correct aggregation operations with algorithms
    Shibzukhov Z.M.
    Pattern Recognition and Image Analysis, 2014, 24 (3) : 377 - 382
  • [18] Modified iterative aggregation algorithms
    B. A. Shuvar
    M. I. Kopach
    Russian Mathematics, 2007, 51 (3) : 68 - 71
  • [19] Aggregation of reinforcement learning algorithms
    Jiang, Ju
    Kamel, Mohamed S.
    2006 IEEE INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORK PROCEEDINGS, VOLS 1-10, 2006, : 68 - +
  • [20] Adaptive optimal scheduling query middleware based on Grid
    Hu, Naijing
    Wang, Yingying
    Zhao, Liang
    Journal of Computational Information Systems, 2007, 3 (05): : 1795 - 1800