欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PPT文档下载
    分享到微信 分享到微博 分享到QQ空间

    A Formal Approach to Finding Explanations for Database .ppt

    • 资源ID:373149       资源大小:1.35MB        全文页数:22页
    • 资源格式: PPT        下载积分:2000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要2000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    A Formal Approach to Finding Explanations for Database .ppt

    1、A Formal Approach to Finding Explanations for Database Queries,Sudeepa Roy Dan Suciu University of Washington, Seattle,1,We need to understand “Big Data”,ref. Big data whitepaper, Jagadish et al., 2011-12,D1,D2,D3,Data Analysis System,1. Acquire Data,2. Prepare Data,Clean,Extract Feature,Integrate,5

    2、. Plot Graphs,6. Ask Questions!,4. Run Queries,Do you have an explanation?,2,Why is there a peak for #sigmod papers from industry during 2000-06,while #academia papers kept increasing?,Why is #SIGMOD papers #PODS papers in UK?,Sample Questions,Dataset: Pre-processed DBLP + Affiliation data Disclaime

    3、r: Not all authors have affiliation info,Explanations by our approach at the end,3,“What was the cause of the observation?” Not simple association or correlation e.g. People having headache drink coffeeDoes coffee cause headache?Does headache lead to drinking coffee?,Ideal goal: Why Causality,4,Has

    4、been studied for many years (Hume1748) Extensive study in AI over the last decade by Judea Pearl using the notion of intervention:X is a cause of Y, if removal of X also removes Y keeping other conditions unchangedNeeds controlled experiments Not always possible with a database ,But, causality is ha

    5、rd,5,Realistic Database-y goal: Why Explanation,Causality,Explanation,Controlled,Experiment,Input database and observed query outputs,Causal Paths,PK-FK constraints and their,generalization,Intervention,Remove input,tuples,query output should,change,Top Causes,Top explanations will change the output

    6、,in the expected direction to a greater extent,6,Previous/Related Work,Causality in databases Meliou et al.10, Meliou et al.11Explanations in databases Explaining outliers in aggregate queries: Wu-Madden13 Specific applications (Map-Reduce, Access log, User Rating,):e.g. Khoussainova et al.12, Fabbr

    7、i et al.12, Das et al.11Other related topics Provenance, deletion propagation: e.g. Green et al.07, Buneman et al.01 Missing answer/Why-Not: e.g. Herschel et al.09, Huang et al.10, Chapman-Jagadish09 Finding causal structure/data mining: e.g. Silverstein et al.00 OLAP: e.g. Sarawagi-Sathe01,Informal

    8、ly use interventionExplanation = predicateMostly single table, no join,Pearls notion of causality and interventionCausal structure from input to output by lineageCause = Individual input tuples, not predicatesNo inherent causal structure in input data,Upcoming VLDB 2014 Tutorial “Causality and Expla

    9、nations in Databases” Alexandra Meliou, Sudeepa Roy, Dan Suciu,This work: Formal framework of explanations (= predicates)and theoretical analysis causal structure within input data independent of queries or user questions allow multiple tables and joinsOptimizations and Evaluation find top explanati

    10、ons using data cube,7,Outline,FrameworkCausal Paths and InterventionComputing InterventionOptimization: Ranking Explanations by Data CubeEvaluationFuture Work,8,Input and Output,Run Group-By Queries and Plot,Toy DBLP database,Output Plot,User question Numerical expression EDirection: high/low,E = (q

    11、1/q3) / (q2/q4) Direction = high,Why is q1/q3 q2/q4,e.g. q1select count(distinct x.pubid) from Author x, Authored y, Publication z where x.id = y.id and y.pubid = z.pubidand z.venue = SIGMODand 2000 = z.yearand z.year = 2004and x.domain = com,These values will vary for q2, q3, q4,Input,Explanation(s

    12、) : Predicate on attributes e.g. name = JG name = JG inst = C.edu name = JG year = 2007 Note: attr from multiple tables,Output,E should change when database is “intervened “with ,9,Causal Paths by Foreign Key Constraints,Causal path X Y: removing X removes Y Analogy in DB: Foreign key constraints an

    13、d cascade delete semantics,Author (id, name, inst, dom),Authored (id, pubid),Publication (pubid, year, venue),Standard F.K. (cascade delete),Back and Forth F.K. (cascade delete + reverse cascade delete),Forward,Reverse,Intuition: An author can exist if one of her papers is deletedA paper cannot exis

    14、t if any of its co-authors is deleted,10,Causal Paths and Intervention,Candidate explanation : name = RR,Reverse,Forward,Intervention : Tuples T0 that satisfy + Tuples reachable from T0,Given , computation of requires a recursive query,Multiple tables require universal table,11,Objective: top-k expl

    15、anations,Consider user question: Why is E = (q1/q2)/(q3/q4) low, Find top-k explanations w.r.t a score = E(D - )The obvious approach:,Two sources of complexity,1. For all possible predicates Compute the intervention for Delete tuples in from D Evaluate q1, q2, q3, q4 on D Compute E(D - )2. Find top

    16、explanations with highest scores E(D - ) (top-k),Recursion,12,Computing by a Recursive Program,Properties: Program has a unique least fixpoint which can be obtained in poly-time (n = |D| steps)Program is not monotone in database, i.e., if D D, not necessarily (D) (D) Therefore not expressible in dat

    17、alog But expressible in datalog + negation,Delete from universal table tuples |= ,Cascade delete,Reverse Cascade delete,13, is fixed,Convergence Depends on Schema,Convergence in 4 steps,S,R,T,Convergence requires n - 1 steps,Can be generalized,14,Finding Top-k Explanations with Data Cube,For all pos

    18、sible predicates Compute the intervention for ,#Possible predicates is hugeRunning FOR LOOP is expensiveRunning RECURSION is expensiveOptimization: OLAP data cube,why (q1*q4)/(q2*q3) high?,Suppose we want predicates on attributes name, inst, venue as explanations,group by name, inst, venue with cube

    19、,name, inst, venue,e.g. Cube for q1,15,e.g. Query for q1,q1: com, 2000-04,q2: com, 2007-11,q3: edu, 2000-04,q4: edu, 2007-11,Sketch of Algorithm with Data Cube,1. (Outer)-join the cubes + compute score,Score,All computation done by DBMSBut,Cube Algorithm matches theory for some inputs (e.g. single t

    20、able, DBLP examples)For other inputs it is a heuristic (recursion is necessary),2. Run Top-K,16,Experiment 1: Data Cube Optimization vs. Iterative Algo,Natality Dataset 2010: (from National Center for Health Statistics (NCHS). Single table with 233 attributes, 4M entries, 2.89GB size.,More experimen

    21、ts in the paper,17,Data size vs. time,Experiment 2: Scalability of the Data Cube Optimization,No. of attributes,E1 E2,E1 E2,Why (q1/q2) low,Why (q1/q2)/(q3/q4) low,18,Data size vs. time,(Max) No. of attributes in explanation predicates vs. time,Qualitative Evaluation (DBLP),Q. Why is there a peak fo

    22、r #sigmod papers from industry during 2000-06, while #academia papers kept increasing?,Intuition: 1. If we remove these industrial labs and their senior researchers, the peak during 2000-04 is more flattened 2. If we remove these universities with relatively new but highly prolific db groups, the cu

    23、rve for academia is less increasing,19,Hard due to lack of gold standard,Qualitative Evaluation (DBLP),Intuition: If we remove these leading theoretical DB researchers or their universities/cities, the bar for UK will look different.e.g. for UK,Originally: PODS = 62%, SIGMOD = 38% Removing all publi

    24、cations by Libkin: PODS = 46%, SIGMOD = 54%,Q. Why is #SIGMOD papers #PODS papers in UK?,20,P = 32, S = 3,P = 24, S = 1,P = 9, S = 0,P = 15, S = 2,source: DBLP,Not top expl.: Wenfei Fan Peter Buneman ,P = 15, S = 12,P = 6, S = 12,Current/Future Work,Optimize for arbitrary SPJUA queries and schemas Go beyond data cube Model increasing/decreasing trend by linear regression (E = slope) Ranking algorithm: simple, meaningful, diverse explanations Prototype with a GUI,21,Thank you,Questions?,22,


    注意事项

    本文(A Formal Approach to Finding Explanations for Database .ppt)为本站会员(孙刚)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1 

    收起
    展开