• Aucun résultat trouvé

The Veracity of Big Data Pierre Senellart

N/A
N/A
Protected

Academic year: 2022

Partager "The Veracity of Big Data Pierre Senellart"

Copied!
96
0
0

Texte intégral

(1)

The Veracity of Big Data

Pierre Senellart

(2)

23 April 2013, Dow Jones (cnn.com)

Twitter feed of Associated Press hacked

Algorithmic trading systems reacting to tweets

(3)

23 April 2013, Dow Jones (cnn.com)

Twitter feed of Associated Press hacked

Algorithmic trading systems reacting to tweets

(4)

23 April 2013, Dow Jones (cnn.com)

Twitter feed of Associated Press hacked

Algorithmic trading systems reacting to tweets

(5)

The Four Vs of Big Data

Volume: Data volumes beyond what is manageable by traditional data management systems (from TB to PB to EB) Variety: Very diverse forms of data (text, multimedia, graphs,

structured data), very diverse organization of data Velocity: Data produced or changing at high speed (LHC:

100,000,000 collisions / second), more than able to store Veracity: Data quality very diverse; imprecise, imperfect,

untrustworthy information

(6)

The Four Vs of Big Data

Volume: Data volumes beyond what is manageable by traditional data management systems (from TB to PB to EB)

Variety: Very diverse forms of data (text, multimedia, graphs, structured data), very diverse organization of data Velocity: Data produced or changing at high speed (LHC:

100,000,000 collisions / second), more than able to store Veracity: Data quality very diverse; imprecise, imperfect,

untrustworthy information

(7)

The Four Vs of Big Data

Volume: Data volumes beyond what is manageable by traditional data management systems (from TB to PB to EB) Variety: Very diverse forms of data (text, multimedia, graphs,

structured data), very diverse organization of data

Velocity: Data produced or changing at high speed (LHC:

100,000,000 collisions / second), more than able to store Veracity: Data quality very diverse; imprecise, imperfect,

untrustworthy information

(8)

The Four Vs of Big Data

Volume: Data volumes beyond what is manageable by traditional data management systems (from TB to PB to EB) Variety: Very diverse forms of data (text, multimedia, graphs,

structured data), very diverse organization of data Velocity: Data produced or changing at high speed (LHC:

100,000,000 collisions / second), more than able to store

Veracity: Data quality very diverse; imprecise, imperfect, untrustworthy information

(9)

The Four Vs of Big Data

Volume: Data volumes beyond what is manageable by traditional data management systems (from TB to PB to EB) Variety: Very diverse forms of data (text, multimedia, graphs,

structured data), very diverse organization of data Velocity: Data produced or changing at high speed (LHC:

100,000,000 collisions / second), more than able to store Veracity: Data quality very diverse; imprecise, imperfect,

untrustworthy information

(10)

Uncertain data is everywhere

Numerous sources of uncertain data:

Measurement errors

Data integration from contradicting sources

Imprecise mappings between heterogeneous schemas Imprecise automatic processes (information extraction, classification, natural language processing, etc.)

Imperfect human judgment Lies, opinions, rumors

(11)

Uncertain data is everywhere

Numerous sources of uncertain data:

Measurement errors

Data integration from contradicting sources

Imprecise mappings between heterogeneous schemas Imprecise automatic processes (information extraction, classification, natural language processing, etc.)

Imperfect human judgment Lies, opinions, rumors

(12)

Uncertainty in Web information extraction

Never-ending Language Learning (NELL, CMU), http://rtw.ml.cmu.edu/rtw/kbbrowser/

(13)

Uncertainty in Web information extraction

Google Squared (terminated),

(14)

Uncertainty in Web information extraction

Subject Predicate Object Confidence

Elvis Presley diedOnDate 1977-08-16 97.91%

Elvis Presley isMarriedTo Priscilla Presley 97.29%

Elvis Presley influences Carlo Wolff 96.25%

YAGO,http://www.mpi-inf.mpg.de/yago-naga/yago (Suchanek et al. 2007)

(15)

Dealing with Uncertainty

Three main research questions:

How to estimate theveracity of a source, or of a piece of information? )truth finding

How to ensure the provenanceof a piece of information, to know where it comes from? ) provenance management

How to efficiently processuncertain dataat scale? ) probabilistic database management systems

(16)

Dealing with Uncertainty

Three main research questions:

How to estimate theveracity of a source, or of a piece of information? )truth finding

How to ensure the provenanceof a piece of information, to know where it comes from? ) provenance management

How to efficiently processuncertain dataat scale? ) probabilistic database management systems

(17)

Dealing with Uncertainty

Three main research questions:

How to estimate theveracity of a source, or of a piece of information? )truth finding

How to ensure the provenanceof a piece of information, to know where it comes from? ) provenance management

How to efficiently processuncertain dataat scale? ) probabilistic database management systems

(18)

Outline

Introduction Truth Finding

Setting Model Experiments

Probabilistic Databases Conclusion

(19)

Outline

Introduction Truth Finding

Setting Model Experiments

Probabilistic Databases Conclusion

(20)

Motivating Example

What are the capital cities of European countries?

France Italy Poland Romania Hungary Alice Paris Rome Warsaw Bucharest Budapest

Bob ? Rome Warsaw Bucharest Budapest

Charlie Paris Rome Katowice Bucharest Budapest David Paris Rome Bratislava Budapest Sofia Eve Paris Florence Warsaw Budapest Sofia

Fred Rome ? ? Budapest Sofia

George Rome ? ? ? Sofia

(21)

Voting

Information: redundance

France Italy Poland Romania Hungary Alice Paris Rome Warsaw Bucharest Budapest

Bob ? Rome Warsaw Bucharest Budapest

Charlie Paris Rome Katowice Bucharest Budapest David Paris Rome Bratislava Budapest Sofia

Eve Paris Florence Warsaw Budapest Sofia

Fred Rome ? ? Budapest Sofia

George Rome ? ? ? Sofia

Frequence P.0.67 R.0.80 W.0.60 Buch.0.50 Bud. 0.43 R. 0.33 F. 0.20 K. 0.20 Bud.0.50 S.0.57

B. 0.20

(22)

Evaluating Trustworthiness of Sources

Information: redundance, trustworthiness of sources (= average frequence of predicted correctness)

France Italy Poland Romania Hungary Trust Alice Paris Rome Warsaw Bucharest Budapest 0.60

Bob ? Rome Warsaw Bucharest Budapest 0.58

Charlie Paris Rome Katowice Bucharest Budapest 0.52 David Paris Rome Bratislava Budapest Sofia 0.55

Eve Paris Florence Warsaw Budapest Sofia 0.51

Fred Rome ? ? Budapest Sofia 0.47

George Rome ? ? ? Sofia 0.45

Frequence P.0.70 R.0.82 W.0.61 Buch. 0.53 Bud. 0.46 weighted R. 0.30 F. 0.18 K. 0.19 Bud. 0.47 S.0.54

by trust B 0.20

(23)

Iterative Fixpoint Computation

Information: redundance, trustworthiness of sources with iterative fixpoint computation

France Italy Poland Romania Hungary Trust Alice Paris Rome Warsaw Bucharest Budapest 0.65

Bob ? Rome Warsaw Bucharest Budapest 0.63

Charlie Paris Rome Katowice Bucharest Budapest 0.57 David Paris Rome Bratislava Budapest Sofia 0.54

Eve Paris Florence Warsaw Budapest Sofia 0.49

Fred Rome ? ? Budapest Sofia 0.39

George Rome ? ? ? Sofia 0.37

Frequence P.0.75 R.0.83 W.0.62 Buch. 0.57 Bud.0.51 weighted R. 0.25 F. 0.17 K. 0.20 Bud. 0.43 S. 0.49

by trust B 0.19

(24)

Context and problem

Context:

Set of sources stating facts

(Possible) functional dependencies between facts

Fully unsupervised setting: we do not assume any information on truth values of facts or inherent trust in sources

Problem: determine which facts are true and which facts are false Real world applications: query answering, source selection, data quality assessment on the web, making good use of the wisdom of crowds

(25)

Outline

Introduction Truth Finding

Setting Model Experiments

Probabilistic Databases Uncertainty Management

Querying Probabilistic Databases Conclusion

(26)

Outline

Introduction Truth Finding

Setting Model Experiments

Probabilistic Databases Conclusion

(27)

General Model

Set of factsF = ff1:::fng

Examples: “Paris is capital of France”, “Rome is capital of France”,

“Rome is capital of Italy”

Set of views (= sources) V = fV1:::Vmg, where a view is a partial mapping fromF to {T, F}

Example:

:“Paris is capital of France” ^“Rome is capital of France”

Objective: find themost likely real worldW givenV where the real world is a total mapping from F to {T, F}

Example:

“Paris is capital of France” ^ :“Rome is capital of France” ^

“Rome is capital of Italy” ^...

(28)

Generative Probabilistic Model

(Galland et al. 2010)

Vi,fj

?

'(Vi)'(fj)

1 '(Vi)'(fj)

:W(fj)

"(Vi)"(fj)

W(fj)

1 "(Vi)"(fj)

'(Vi)'(fj): probability thatVi “forgets” fj

"(Vi)"(fj): probability that Vi “makes an error” onfj Number of parameters: n + 2(n + m)

Size of data: 'nm~ with '~ the average forget rate

(29)

Obvious Approach

Method: use this generative model to find the most likely parameters given the data

Inverse the generative model to compute the probability of a set of parameters given the data

Not practically applicable:

Non-linearityof the model andboolean parameter W(fj) )equations for inversing the generative model very complex Large number of parameters(n andmcan both be quite large)) Any exponential technique unpractical

) Heuristic fix-point algorithms (many proposed ones!)

(30)

Outline

Introduction Truth Finding

Setting Model Experiments

Probabilistic Databases Conclusion

(31)

Hubdub (1/2)

http://www.hubdub.com/

357 questions, 1 to 20 answers, 473 participants

(32)

Hubdub (2/2)

Number of errors Number of errors (no post-filtering) (with post-filtering)

Voting 278 292

Counting 340 327

TruthFinder 458 274

(Yin et al. 2007)

3-Estimates 272 270

(Galland et al. 2010)

(33)

General-Knowledge Quiz (1/2)

http://www.madore.org/~david/quizz/quizz1.html

(34)

General-Knowledge Quiz (2/2)

Number of errors Number of errors (no post-filtering) (with post-filtering)

Voting 11 6

Counting 12 6

TruthFinder 78 77

(Yin et al. 2007)

3-Estimates 9 0

(Galland et al. 2010)

(35)

Many variations. . .

Modeling of various real-world phenomena:

Sources copying each other(Dong et al. 2010)

Complex source dependencies (Pochampally et al. 2014)

Similarity between attribute values(Yin et al. 2008)

Correlated group of attributes (Ba et al. 2015)

Heterogeneous data types(Q. Li et al. 2014)

. . .

See extensive evaluations of different techniques (X. Li et al. 2012; Waguih and Berti-Equille 2014). General problem far from being solved!

(36)

Outline

Introduction Truth Finding

Probabilistic Databases Uncertainty Management

Querying Probabilistic Databases Conclusion

(37)

Outline

Introduction Truth Finding

Probabilistic Databases Uncertainty Management

Querying Probabilistic Databases Conclusion

(38)

Different types of uncertainty

Two dimensions:

Different types:

Unknownvalue: NULL in an RDBMS

Alternativebetween several possibilities: either A or B or C Imprecision on a numeric value: a sensor gives a value that is an approximation of the actual value

Confidence in a fact as a whole: cf. information extraction Structural uncertainty: the schema of the data itself is uncertain Qualitative (NULL) orQuantitative(95%, low-confidence, etc.) uncertainty

(39)

Managing uncertainty

Objective

Not to pretend this imprecision does not exist, and manage it as rigor- ously as possible throughout a long, automatic and human, potentially complex, process.

Especially:

Representall different forms of uncertainty

Useprobabilities to represent quantitative information on the confidence in the data

Query data and retrieve uncertain results

Allow adding, deleting, modifying data in an uncertain way Bonus (if possible): Keep as well lineage/provenanceinformation, so as to ensuretraceability

(40)

Managing uncertainty

Objective

Not to pretend this imprecision does not exist, and manage it as rigor- ously as possible throughout a long, automatic and human, potentially complex, process.

Especially:

Representall different forms of uncertainty

Useprobabilities to represent quantitative information on the confidence in the data

Query data and retrieve uncertain results

Allow adding, deleting, modifying data in an uncertain way Bonus (if possible): Keep as well lineage/provenanceinformation, so as to ensuretraceability

(41)

Why probabilities?

Not the only option: fuzzy set theory(Galindo et al. 2005), Dempster-Shafer theory (Zadeh 1986)

Mathematically rich theory, nice semantics with respect to traditional database operations (e.g., joins)

Some applications already generate probabilities(e.g., statistical information extraction or natural language probabilities)

In other cases, we “cheat” and pretend that (normalized) confidence scores are probabilities: see this as a first-order approximation

(42)

Outline

Introduction Truth Finding

Probabilistic Databases Uncertainty Management

Querying Probabilistic Databases Conclusion

(43)

Tuple-independent databases (TID)

S

a a 1

b v 0:5 b w 0:2

aa 1

b

v 0.5

w 0.2

This TID instance represents the following probability distribution: 0:50:2

S a a b v b w

0:5 (1 0:2) S

a a

b v

(1 0:5) 0:2 S

a a

b w

(1 0:5) (1 0:2) S

a a

(44)

Tuple-independent databases (TID)

S

a a 1

b v 0:5

b w 0:2 aa

1

b

v 0.5

w 0.2

This TID instance represents the following probability distribution: 0:50:2

S a a b v b w

0:5 (1 0:2) S

a a

b v

(1 0:5) 0:2 S

a a

b w

(1 0:5) (1 0:2) S

a a

(45)

Tuple-independent databases (TID)

S

a a 1

b v 0:5

b w 0:2 aa

1

b

v 0.5

w 0.2

This TID instance represents the following probability distribution:

0:50:2 S a a b v b w

0:5 (1 0:2) S

a a

b v

(1 0:5) 0:2 S

a a

b w

(1 0:5) (1 0:2) S

a a

(46)

Tuple-independent databases (TID)

S

a a 1

b v 0:5

b w 0:2 aa

1

b

v 0.5

w 0.2

This TID instance represents the following probability distribution:

0:50:2 S a a b v b w

0:5 (1 0:2) S

a a

b v

(1 0:5) 0:2 S

a a

b w

(1 0:5) (1 0:2) S

a a

(47)

Tuple-independent databases (TID)

S

a a 1

b v 0:5

b w 0:2 aa

1

b

v 0.5

w 0.2

This TID instance represents the following probability distribution:

0:50:2 S a a b v b w

0:5 (1 0:2) S

a a

b v

(1 0:5) 0:2 S

a a

b w

(1 0:5) (1 0:2) S

a a

(48)

Tuple-independent databases (TID)

S

a a 1

b v 0:5

b w 0:2 aa

1

b

v 0.5

w 0.2

This TID instance represents the following probability distribution:

0:50:2 S a a b v b w

0:5 (1 0:2) S

a a

b v

(1 0:5) 0:2 S

a a

b w

(1 0:5) (1 0:2) S

a a

(49)

Tuple-independent databases (TID)

S

a a 1

b v 0:5

b w 0:2 aa

1

b

v 0.5

w 0.2

This TID instance represents the following probability distribution:

0:50:2 S a a b v b w

0:5 (1 0:2) S

a a

b v

(1 0:5) 0:2 S

a a

b w

(1 0:5) (1 0:2) S

a a

(50)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance

q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of: S(b; v)andT (v)are here

S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(51)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of: S(b; v)andT (v)are here

S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(52)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of: S(b; v)andT (v)are here

S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(53)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of: S(b; v)andT (v)are here

S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(54)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of: S(b; v)andT (v)are here

S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(55)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9xy R(x) ^ S(x;y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of: S(b; v)andT (v)are here

S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(56)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9xy R(x) ^ S(x;y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of: S(b; v)andT (v)are here

S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(57)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of:

S(b; v)andT (v)are here S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(58)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of:

S(b;v)andT (v)are here

S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(59)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of:

S(b; v)andT (v)are here S(b;w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(60)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of:

S(b; v)andT (v)are here S(b; w)andT (w)are here

! Probability:

0:4 1 (1 0:50:3) (1 0:20:7)

(61)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of:

S(b; v)andT (v)are here S(b; w)andT (w)are here

! Probability: 0:4

1 (1 0:50:3) (1 0:20:7)

(62)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of:

S(b; v)andT (v)are here S(b; w)andT (w)are here

! Probability: 0:4 1

(1 0:50:3) (1 0:20:7)

(63)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of:

S(b; v)andT (v)are here S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3)

(1 0:20:7)

(64)

Query evaluation on probabilistic instances

We want to evaluate the probability of aquery on a TID instance q : 9x y R(x) ^ S(x; y) ^ T (y)

R

a 1

b 0:4 c 0:6

S

a a 1

b v 0:5 b w 0:2

T v 0:3 w 0:7

b 1

The query is true iffR(b) is here and one of:

S(b; v)andT (v)are here S(b; w)andT (w)are here

! Probability: 0:4 1 (1 0:50:3) (1 0:20:7)

(65)

Complexity of probabilistic query evalua- tion (PQE)

What is the data complexity of probabilistic query evaluation on TID depending on the class Q ofqueries and classI of instances?

Existing dichotomy result: (Dalvi and Suciu 2012)

Qare (unions of) conjunctive queries,I is all TID instances There is a classS Qofsafe queries

PQE isPTIMEfor any q 2 Son all instances PQE is#P-hardfor anyq 2 QnS on all instances q : 9x y R(x) ^ S(x; y) ^ T (y)is unsafe!

Is there asmaller class I such that PQE is tractable for a largerQ?

(66)

Complexity of probabilistic query evalua- tion (PQE)

What is the data complexity of probabilistic query evaluation on TID depending on the class Q ofqueries and classI of instances?

Existing dichotomy result: (Dalvi and Suciu 2012)

Qare (unions of) conjunctive queries,I is all TID instances There is a classS Q ofsafe queries

PQE isPTIMEfor any q 2 Son all instances PQE is#P-hardfor anyq 2 QnS on all instances q : 9x y R(x) ^ S(x; y) ^ T (y)is unsafe!

Is there asmaller class I such that PQE is tractable for a largerQ?

(67)

Complexity of probabilistic query evalua- tion (PQE)

What is the data complexity of probabilistic query evaluation on TID depending on the class Q ofqueries and classI of instances?

Existing dichotomy result: (Dalvi and Suciu 2012)

Qare (unions of) conjunctive queries,I is all TID instances There is a classS Q ofsafe queries

PQE isPTIMEfor any q 2 Son all instances

PQE is#P-hardfor anyq 2 QnS on all instances q : 9x y R(x) ^ S(x; y) ^ T (y)is unsafe!

Is there asmaller class I such that PQE is tractable for a largerQ?

(68)

Complexity of probabilistic query evalua- tion (PQE)

What is the data complexity of probabilistic query evaluation on TID depending on the class Q ofqueries and classI of instances?

Existing dichotomy result: (Dalvi and Suciu 2012)

Qare (unions of) conjunctive queries,I is all TID instances There is a classS Q ofsafe queries

PQE isPTIMEfor any q 2 Son all instances PQE is#P-hardfor anyq 2 QnS on all instances

q : 9x y R(x) ^ S(x; y) ^ T (y)is unsafe!

Is there asmaller class I such that PQE is tractable for a largerQ?

(69)

Complexity of probabilistic query evalua- tion (PQE)

What is the data complexity of probabilistic query evaluation on TID depending on the class Q ofqueries and classI of instances?

Existing dichotomy result: (Dalvi and Suciu 2012)

Qare (unions of) conjunctive queries,I is all TID instances There is a classS Q ofsafe queries

PQE isPTIMEfor any q 2 Son all instances PQE is#P-hardfor anyq 2 QnS on all instances q : 9x y R(x) ^ S(x; y) ^ T (y)is unsafe!

Is there asmaller class I such that PQE is tractable for a largerQ?

(70)

Complexity of probabilistic query evalua- tion (PQE)

What is the data complexity of probabilistic query evaluation on TID depending on the class Q ofqueries and classI of instances?

Existing dichotomy result: (Dalvi and Suciu 2012)

Qare (unions of) conjunctive queries,I is all TID instances There is a classS Q ofsafe queries

PQE isPTIMEfor any q 2 Son all instances PQE is#P-hardfor anyq 2 QnS on all instances q : 9x y R(x) ^ S(x; y) ^ T (y)is unsafe!

Is there asmaller class I such that PQE is tractable for a largerQ?

(71)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth 1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(72)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(73)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(74)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(75)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(76)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(77)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(78)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth 1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(79)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(80)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(81)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(82)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(83)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(84)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(85)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(86)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(87)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is in linear time

! Does this extend to probabilistic QE?

(88)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is inlinear time

! Does this extend to probabilistic QE?

(89)

Trees and treelike instances

Idea: let I be treelike instances(constant bound ontreewidth)

Treeshave treewidth1 Cycleshave treewidth2

k-cliquesand(k 1)-gridshave treewidthk 1

! Known results(Courcelle 1990):

I: treelikeinstances; Q: monadic second-orderqueries

! non-probabilisticQE is inlinear time

(90)

Dichotomy for PQE

An instance-baseddichotomy result:

Upper bound. (Amarilli et al. 2015)

ForI the treelikeinstances andQ theMSO queries

! PQE is inlinear timemodulo arithmetic costs

Also for expressive provenance representations Also with bounded-treewidth correlations Lower bound. (Amarilli et al. 2016)

Forany unbounded-tw familyI and Qthe FO queries

! PQE is #P-hard under RP reductionsassuming: High-tw instances inI areeasily constructible Signaturearity is 2 (graphs)

(91)

Dichotomy for PQE

An instance-baseddichotomy result:

Upper bound. (Amarilli et al. 2015)

ForI the treelikeinstances andQ theMSO queries

! PQE is inlinear timemodulo arithmetic costs Also for expressive provenance representations Also with bounded-treewidth correlations

Lower bound. (Amarilli et al. 2016)

Forany unbounded-tw familyI and Qthe FO queries

! PQE is #P-hard under RP reductionsassuming: High-tw instances inI areeasily constructible Signaturearity is 2 (graphs)

(92)

Dichotomy for PQE

An instance-baseddichotomy result:

Upper bound. (Amarilli et al. 2015)

ForI the treelikeinstances andQ theMSO queries

! PQE is inlinear timemodulo arithmetic costs Also for expressive provenance representations Also with bounded-treewidth correlations Lower bound. (Amarilli et al. 2016)

Forany unbounded-tw familyI and Qthe FO queries

! PQE is #P-hard under RP reductionsassuming:

High-tw instances inI areeasily constructible Signaturearity is 2 (graphs)

(93)

Application: Efficient querying of uncertain graphs

(Maniu et al. 2014)

0 6

5

6 0

2

0 6

4 3 4

2 6

1

1 6 3: 0.14 4: 0.01

2: 0.18 3: 0.01

1: 0.75

1: 0.75 2: 0.06 1: 0.75

1: 0.75

1: 0.5

1: 0.75

1: 0.25

1: 0.75

1: 0.5 1: 0.5

1: 1

(α)

(β)

(γ)

(ε)

(δ)

(ζ)

Problem: Optimize query evaluation on probabilistic graphs

Challenge: Real graph data isnot treelike

Methodology: Build partial tree decompositions and use different query evaluation techniques on treelike parts and on the rest of the data

(94)

Outline

Introduction Truth Finding

Probabilistic Databases Conclusion

(95)

Conclusion

The real world is uncertain

Tools we use to process the real world introduce uncertainty Need for principled methods to:

Estimateuncertainty (veracity, truthfulness. . . ) of information Properlymanagethe confidence (probability, level of certainty. . . ) in the information

Keep information on theprovenanceof data

Merci.

(96)

Conclusion

The real world is uncertain

Tools we use to process the real world introduce uncertainty Need for principled methods to:

Estimateuncertainty (veracity, truthfulness. . . ) of information Properlymanagethe confidence (probability, level of certainty. . . ) in the information

Keep information on theprovenanceof data

Merci.

Références

Documents relatifs

The key issues here are: (i) being able to associate a cost model for the data market, i.e., associate a cost to raw data and to processed data according on the amount of data

Having applied it to a small subset of available datasets, our future work aims at the automatic profiling of all available LOD datasets, towards providing a more descriptive catalog

this is exactly the time the american this is exactly the time the american people need to hear from the person who in approx 40 days will be responsible for dealing with this

We believe that three aspects are key for dealing with intensive Big Data management: (i) dealing with efficient simple storage systems that focus efficient read and write

And while these data paradigms are commonly described as “having less structure than relational databases”, the industry is also recognising the advantages of pairing the data with

These problems can be distributed into three well-known domains in the world of data, which are data security and privacy, data variety, and data volume.. The

Two types of spatiotemporal databases are mainly considered: databases containing trajecto- ries of moving objects located in both space and time (e.g. bird or aircraft

A layered architecture, DMEs and KVSs The idea is simple: A DME (the data consumer, DC) wants to use a data manipulation task at another DME (the data producer, DP).. For