xiaolan wang
play

Xiaolan Wang Xin Luna Dong Alexandra Meliou U NIVERSITY OF M - PowerPoint PPT Presentation

Data X-Ray: A diagnostic tool for data errors Xiaolan Wang Xin Luna Dong Alexandra Meliou U NIVERSITY OF M ASSACHUSETTS , A MHERST College of Information and Computer Sciences MANY APPLICATIONS RELY ON DATA Data is not perfect! Erroneous


  1. Data X-Ray: A diagnostic tool for data errors Xiaolan Wang Xin Luna Dong Alexandra Meliou U NIVERSITY OF M ASSACHUSETTS , A MHERST • College of Information and Computer Sciences

  2. MANY APPLICATIONS RELY ON DATA Data is not perfect! Erroneous data can be extremely costly! Social network analytics Shopping systems of retail companies Knowledge graph (www.google.com) 2 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  3. KNOWLEDGE VAULT [Dong14] 3.0 billion extracted triples More than 70% are wrong prKB prKB Fusion Extraction System Extractor Extractor Extractor … … Web Sources TXT DOM TBL ANO 3 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  4. KNOWLEDGE VAULT [Dong14] Traditional method: identify errors Traditional method: identify errors and drop them Perfect prKB KB Fusion Extraction System Extractor Extractor Extractor … … Web Sources TXT DOM TBL ANO 4 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  5. KNOWLEDGE VAULT [Dong14] Bad Perfect prKB extraction KB rules Fusion Extraction System Errors are Systematic Extractor Extractor Extractor … … Web Sources TXT DOM TBL ANO Faulty information 5 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  6. KNOWLEDGE VAULT [Dong14] Continue to generate erroneous data … … prKB prKB prKB Fusion Extraction System Extractor Extractor Extractor … … Web Sources TXT DOM TBL ANO 6 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  7. KNOWLEDGE VAULT [Dong14] … … prKB prKB prKB Fusion Extraction System Diagnose root reason for errors Extractor Extractor Extractor … … Web Sources TXT DOM TBL ANO 7 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  8. REAL-WORLD SYSTEMATIC ERRORS Default Value Error (besoccer.com, date_of_birth, 1986_02_18) # Triples 630 Error Rate 100% Context: Date of birth of athletes extracted from besoccer.com is set to default value 1986_02_18 8 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  9. REAL-WORLD SYSTEMATIC ERRORS Reconciliation Error (Extractor S, obj: Baseball Coach) # Triples 674,000 Error Rate 89.3% Context: reconciling all coaches to baseball coaches E.g., [Bob Barton, profession, Baseball Coach] 9 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  10. REAL-WORLD SYSTEMATIC ERRORS Coreference Errors (Extractor T, pred:namesakes, obj:the county) # Triples 4878 Error Rate 99.8% E.g., [Salmon P. Chase, namesakes, the county] Contexts: The county was named for Salmon P. Chase, former senator and governor of Ohio 10 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  11. HOW TO DERIVE A DIAGNOSIS? Knowledge triple Correct? Knowledge triple Correct? Leveraging on existing data cleaning methods <Domenico Modugno, DoB, False <Domenico Modugno, DoB, 01/09/1958> [Abiteboul99, Fan08, 01/09/1958> Kalashnikov06, Rahm00, <Bert Kaempfert, DoB, 09/01/1961> False <Bert Kaempfert, DoB, 09/01/1961> Raman01] <The Singing Nun, DoB, 07/12/1963> False <The Singing Nun, DoB, 07/12/1963> <Paul Mauriat, DoB, 10/02/1963> False <Paul Mauriat, DoB, 10/02/1963> <Shocking Blue, DoB, 02/07/1968> True <Shocking Blue, DoB, 02/07/1968> <U2, DoB, 05/16/1987> True <U2, DoB, 05/16/1987> Q: Can we treat the error triples as a diagnosis? A: No; for two reasons: • Too many erroneous triples (more than 2B in KV) • Due to a variety of errors 11 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  12. WHAT IS A DIAGNOSIS? Knowledge triple Knowledge triple Knowledge triple Correct? Correct? Correct? Subject Subject Predicate Predicate Object Object Web Web Extractor Extractor source source <Domenico Modugno, DoB, 01/09/1958> <Domenico Modugno, DoB, 01/09/1958> <Domenico Modugno, DoB, 01/09/1958> False False False People / People / Bio/DoB Bio/DoB Date/ Date/ euromusic euromusic Extractor 1 Extractor 1 D.M. D.M. 01091958 01091958 xx.com xx.com <Bert Kaempfert, DoB, 09/01/1961> <Bert Kaempfert, DoB, 09/01/1961> <Bert Kaempfert, DoB, 09/01/1961> False False False People / People / Bio/DoB Bio/DoB Date/ Date/ euromusic euromusic Extractor 1 Extractor 1 B.K. B.K. 09011961 09011961 xx.com xx.com <The Singing Nun, DoB, 07/12/1963> <The Singing Nun, DoB, 07/12/1963> <The Singing Nun, DoB, 07/12/1963> False False False People/ People/ Bio/DoB Bio/DoB Date/ Date/ euromusic euromusic Extractor 1 Extractor 1 TSN TSN 07121963 07121963 xx.com xx.com <Paul Mauriat, DoB, 10/02/1963> <Paul Mauriat, DoB, 10/02/1963> <Paul Mauriat, DoB, 10/02/1963> False False False People/ People/ Bio/DoB Bio/DoB Date / Date / euromusic euromusic Extractor 1 Extractor 1 P.M. P.M. 10021963 10021963 xx.com xx.com <Shocking Blue, DoB, 02/07/1968> <Shocking Blue, DoB, 02/07/1968> <Shocking Blue, DoB, 02/07/1968> True True True People/ People/ Bio/DoB Bio/DoB Date/ Date/ wiki.com wiki.com Extractor 1 Extractor 1 S.B. S.B. 02071968 02071968 <U2, DoB, 05/16/1987> <U2, DoB, 05/16/1987> <U2, DoB, 05/16/1987> True True True People/U2 People/U2 Bio/DoB Bio/DoB Date/ Date/ wiki.com wiki.com Extractor 1 Extractor 1 05161987 05161987 Group error data: Date from website (euromusicxx.com) extracted by Extractor 1 is wrong. (Bad extraction rule: use U.S. date format rule to extract date information from European website). 12 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  13. WHAT IS A DIAGNOSIS? Knowledge triple Correct? Subject Predicate Object Web Extractor source <Domenico Modugno, DoB, 01/09/1958> False People / Bio/DoB Date/ euromusic Extractor 1 D.M. 01091958 xx.com <Bert Kaempfert, DoB, 09/01/1961> False People / Bio/DoB Date/ euromusic Extractor 1 B.K. 09011961 xx.com <The Singing Nun, DoB, 07/12/1963> False People/ Bio/DoB Date/ euromusic Extractor 1 TSN 07121963 xx.com <Paul Mauriat, DoB, 10/02/1963> False People/ Bio/DoB Date / euromusic Extractor 1 P.M. 10021963 xx.com <Shocking Blue, DoB, 02/07/1968> True People/ Bio/DoB Date/ wiki.com Extractor 1 S.B. 02071968 <U2, DoB, 05/16/1987> True People/U2 Bio/DoB Date/ wiki.com Extractor 1 05161987 Input1: Element Input2: Features And its correctness Combination of meta-data information Output (diagnosis): set of features Which diagnosis is the best? 13 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  14. DATAXRAY: COST MODEL Bayesian estimate of causal likelihood False elements in the Probability of being the cause of errors F feature under the observation of data items E ↵✏ | f i . E − i | (1 − ✏ i ) | f i . E + i | Y Pr( F|E ) = i True elements in the f i ∈ F feature Error rate of the feature Cost Model: Conciseness: fewer features preferred Specificity: higher error rate preferred Consistency: fewer true elements preferred Theorem 1: Derive a diagnosis with minimum cost is NP-Complete 14 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  15. DATAXRAY: ALGORITHM Top-down iterative traversal Theorem 2: The DataXRay traversal has linear complexity in the number of features; with O( # of features) approximation. (all, wiki, extractor1) (all, all, extractor1) (all, euromusic, extractor1) (all, all, all) (all, all, all) (all, all, all) (all, wiki, all) (all, wiki, all) (date, all, extractor1) (all, euromusicxx, all) (all, euromusicxx, all) (date, wiki, all) (date, all, all) (date, euromusic, all) Split Compare Merge Split Compare Merge 15 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  16. EVALUATION (ReVerb ClueWeb Extraction dataset) DataXRay vs. SetCover[Chvatal79] Execution time: 0.43 sec vs. 3 sec DataXRay+Greedy Greedy DataAuditor FeatureSelection DataXRay RedBlue 1 . 0 0 . 8 0 . 6 0 . 4 0 . 2 0 . 0 Recall Precision F-measure 16 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  17. EVALUATION (ReVerb ClueWeb Extraction dataset) DataXRay vs. RedBlue[Peleg07] Execution time: 0.43 sec vs. 4.2 sec DataXRay+Greedy Greedy DataAuditor FeatureSelection DataXRay RedBlue 1 . 0 Finer-granularity features preferred 0 . 8 0 . 6 0 . 4 0 . 2 0 . 0 Recall Precision F-measure 17 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

  18. EVALUATION (ReVerb ClueWeb Extraction dataset) DataXRay vs. FeatureSelection[Tibshirani96, Ng04] Execution time: 0.43 sec vs. 5.5 sec DataXRay+Greedy Greedy DataAuditor FeatureSelection DataXRay RedBlue 1 . 0 Target on predication Redundant features 0 . 8 Low error rate features 0 . 6 0 . 4 0 . 2 0 . 0 Recall Precision F-measure 18 U NIVERSITY OF M ASSACHUSETTS A MHERST • College of Information and Computer Sciences

Recommend


More recommend