Approximate Aggregate Queries Under Additive Inequalities

03/24/2020
by   Mahmoud Abo Khamis, et al.
0

We consider the problem of evaluating certain types of functional aggregation queries on relational data subject to additive inequalities. Such aggregation queries, with a smallish number of additive inequalities, arise naturally/commonly in many applications, particularly in learning applications. We give a relatively complete categorization of the computational complexity of such problems. We first show that the problem is NP-hard, even in the case of one additive inequality. Thus we turn to approximating the query. Our main result is an efficient algorithm for approximating, with arbitrarily small relative error, many natural aggregation queries with one additive inequality. We give examples of natural queries that can be efficiently solved using this algorithm. In contrast, we show that the situation with two additive inequalities is quite different, by showing that it is NP-hard to evaluate simple aggregation queries, with two additive inequalities, with any bounded relative error.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/11/2022

Edge and Pair Queries – Random Graphs and Complexity

We investigate two types of query games played on a graph, pair queries ...
research
01/26/2018

On bounded pitch inequalities for the min-knapsack polytope

In the min-knapsack problem one aims at choosing a set of objects with m...
research
09/21/2020

On uncertainty inequalities related to subcube partitions and additive energy

The additive energy plays a central role in combinatorial number theory....
research
06/08/2016

Clustering with Same-Cluster Queries

We propose a framework for Semi-Supervised Active Clustering framework (...
research
12/22/2018

On Functional Aggregate Queries with Additive Inequalities

Motivated by fundamental applications in databases and relational machin...
research
04/13/2021

Towards Better Understanding of User Authorization Query Problem via Multi-variable Complexity Analysis

User authorization queries in the context of role-based access control h...
research
09/27/2018

Entropy versions of additive inequalities

The connection between inequalities in additive combinatorics and analog...

Please sign up or login with your details

Forgot password? Click here to reset