Computing expected multiplicities for bag-TIDBs with bounded multiplicities

04/06/2022
by   Su Feng, et al.
0

In this work, we study the problem of computing a tuple's expected multiplicity over probabilistic databases with bag semantics (where each tuple is associated with a multiplicity) exactly and approximately. We consider bag-TIDBs where we have a bound c on the maximum multiplicity of each tuple and tuples are independent probabilistic events (we refer to such databases as c-TIDBs. We are specifically interested in the fine-grained complexity of computing expected multiplicities and how it compares to the complexity of deterministic query evaluation algorithms – if these complexities are comparable, it opens the door to practical deployment of probabilistic databases. Unfortunately, our results imply that computing expected multiplicities for c-TIDBs based on the results produced by such query evaluation algorithms introduces super-linear overhead (under parameterized complexity hardness assumptions/conjectures). We proceed to study approximation of expected result tuple multiplicities for positive relational algebra queries (RA^+) over c-TIDBs and for a non-trivial subclass of block-independent databases (BIDBs). We develop a sampling algorithm that computes a 1±ϵ approximation of the expected multiplicity of an output tuple in time linear in the runtime of the corresponding deterministic query for any RA^+ query.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/27/2022

Probabilistic Query Evaluation with Bag Semantics

We initiate the study of probabilistic query evaluation under bag semant...
research
12/28/2021

Monads for Measurable Queries in Probabilistic Databases

We consider a bag (multiset) monad on the category of standard Borel spa...
research
12/23/2019

Towards Deterministic Decomposable Circuits for Safe Queries

There exist two approaches for exact probabilistic inference of UCQs on ...
research
01/19/2018

Computing Possible and Certain Answers over Order-Incomplete Data

This paper studies the complexity of query evaluation for databases whos...
research
10/30/2020

Independence in Infinite Probabilistic Databases

Probabilistic databases (PDBs) model uncertainty in data. The current st...
research
06/26/2018

A General Framework for Anytime Approximation in Probabilistic Databases

Anytime approximation algorithms for computing query probabilities over ...
research
12/26/2019

Solving a Special Case of the Intensional vs Extensional Conjecture in Probabilistic Databases

We consider the problem of exact probabilistic inference for Union of Co...

Please sign up or login with your details

Forgot password? Click here to reset