{"title":"Provenance-based explanations: are they useful?","authors":"Sarah Oppold, Melanie Herschel","doi":"10.1145/3530800.3534529","DOIUrl":"https://doi.org/10.1145/3530800.3534529","url":null,"abstract":"As machine-learning models and data-driven decisions continue to be on the rise, interpreting and explaining their results has recently gained increased interest as well. In this context, provenance has often been advertised as metadata that can be used to provide explanations about some data processing. Advantages of such explanations are possibly many: they may help data engineers get a better sense of their data processing pipelines, offer transparency to auditors or end users, and ultimately, improve the trust one has in the data processing. While today, provenance can be efficiently captured for a large variety of data processing pipelines, systematic research on how useful explanations based on provenance actually is scarce. This paper advocates that there is an urgent need to study in which settings what type of provenance-based explanation is useful, given the somewhat mitigated results that have become available for explanations of machine learning results. This is underlined by a first study that shows that provenance-based explanations of record linkage decisions may not have the desired effect.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129887219","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Efficient approximate search for sets of lineage vectors","authors":"Michael Leybovich, O. Shmueli","doi":"10.1145/3530800.3534532","DOIUrl":"https://doi.org/10.1145/3530800.3534532","url":null,"abstract":"One can approximate the lineage of a Database (DB) tuple using a small set of low dimensional vectors. To identify actual lineage tuples using these vector sets, given a set of vectors (of the target tuple), one needs to locate \"close\" sets of vectors associated with the lineage tuples. We first consider a similarity measure between two sets A and B of vectors, that balances the average and maximum cosine distance between pairs of vectors, one from set A and one from set B. The proposed similarity measure is intuitive and permutation invariant. To practically realize this measure, we need an approximate search algorithm that given a set of vectors A and sets of vectors B1, ..., Bn, the algorithm quickly locates the k-closest sets Bi1 ..., Bik that maximize the similarity measure. For the case where all sets are singleton sets, essentially each is a single vector, there are known efficient approximate search algorithms, e.g., approximated versions of tree search algorithms, locality-sensitive hashing (LSH), vector quantization (VQ) and proximity graph algorithms. We utilize the mathematical properties of the cosine distance measure to transform the set-set search problem into a vector-vector search problem. However, this abovementioned transformation cannot handle the Euclidean-based version of the similarity measure. For this version, we devise a more elaborate transformation. For this latter transformation, we present algorithms for the general case, with sets of differing cardinalities. The underlying idea in both of these transformations is encoding a set of vectors A via |A| \"long\" independent representative vectors. Then, we are able to transform the set-set search problem into the well-studied approximate (ordinary) vector search problem. For both cosine-based and Euclidean-based similarity measures, the proposed approximate search achieves significant performance gains over an optimized, exact search on vector sets.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"306 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132564594","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Towards practical approximate lineage","authors":"Michael Leybovich, O. Shmueli","doi":"10.1145/3530800.3534530","DOIUrl":"https://doi.org/10.1145/3530800.3534530","url":null,"abstract":"Traditionally, provenance and lineage mainly referred to query results. We take a more holistic approach. We consider a system in which tuples (records) that are produced by a query may affect other tuple insertions into the DB, as part of a normal workflow. Therefore, we consider both direct lineage (dependence of a query result on database tuples directly used in solving the query) and distant lineage (dependence on older tuples that caused the existence of the tuples directly used in solving the query). We aim to formulate practical methods for supporting direct and distant lineage. We use a novel genetics-inspired approach for approximating lineage tracking, which is based on word embedding to endow an explicitly inserted tuple with a small set of vectors that \"encode\" its content, and on an algebra on such sets of vectors that derives a set of vectors which encodes the lineage of a query-inserted tuple. During the execution of a query, we construct the lineage vectors of the final (and intermediate) result tuples in a similar fashion to that of semiring-based exact provenance calculations. We extend the + and operations to generate sets of lineage vectors, while retaining the ability to propagate information and preserve the compact representation. Therefore, our solution does not suffer from space complexity blow-up over time, and it \"naturally ranks\" explanations to the existence of a tuple. We introduce several fundamental improvements and extensions to the basic method of [19]. The aim is to make the basic scheme practical by taking advantage of additional knowledge regarding timing, query structure, and relative importance. The improvements include: tuple creation timestamps and a temporal sequence of search structures, column emphasis and query dependency DAG. We integrate our lineage computations with these improvements into the PostgreSQL system via an extension (ProvSQL) and perform extensive experiments. The experiments exhibit useful results in terms of accuracy against (the gold-standard) exact, semiring-based, tuple justifications, especially for the column-based (CV) method which exhibits high precision and high per-level recall. We focus on target tuples with multiple generations of tuples in their lineage, namely having a distant lineage, and analyze them in terms of generational lineage accuracy.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"37 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122706087","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"DCM explorer: a tool to support transparent data cleaning through provenance exploration","authors":"N. Parulian, Bertram Ludäscher","doi":"10.1145/3530800.3534539","DOIUrl":"https://doi.org/10.1145/3530800.3534539","url":null,"abstract":"Data cleaning and preparation are essential phases of data science and machine learning (ML) workflows. Unfortunately, data cleaning processes are rarely well documented, despite the fact that they are error-prone and often involve hundreds of individual transformation steps. We have developed DCM (Data Cleaning Model) which captures provenance information for data cleaning. In this paper, we present DCM Explorer, a companion tool for DCM to explore and use data cleaning provenance. With DCM Explorer, a user can query and visualize the data cleaning workflows that are \"hidden\" in recorded provenance information, show different states of the data (as it underwent cleaning), explore an individual cell's history, etc. Through query-driven provenance reports, DCM Explorer adds valuable process documentation, making data cleaning more transparent, self-explanatory, and reusable.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"49 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126497611","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Data provenance for recursive SQL queries","authors":"B. Dietrich, T. Müller, Torsten Grust","doi":"10.1145/3530800.3534536","DOIUrl":"https://doi.org/10.1145/3530800.3534536","url":null,"abstract":"The adoption of recursion in SQL---framed either in terms of recursive common table expressions (CTEs) or recursive user-defined functions (UDFs)---marked a jump in the expressivity of the query language. The resulting queries can perform complex computation close to database-resident data but, at the same time, often prove challenging to understand and debug. We build on earlier work on the derivation of where- and why-provenance for complex (yet non-recursive) SQL queries to also embrace recursive SQL CTEs and UDFs. Fine-grained data provenance for recursive SQL is derived through language-level query rewriting and a two-phase evaluation strategy that does not invade the underlying RDBMS.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"27 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127647841","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Measuring information gain using provenance","authors":"Shemon Rawat, Seok-Gyun Lee, Taeho Jung","doi":"10.1145/3530800.3534534","DOIUrl":"https://doi.org/10.1145/3530800.3534534","url":null,"abstract":"In recent years, a large amount of data is collected from multiple sources and the demands for analyzing these data have increased enormously. Data sharing is a valuable part of this data-intensive and collaborative environment due to the synergies and added values created by multi-modal datasets generated from different sources. In this work, we introduce a technique that can be used for quantifying the degree of information gain (IG) that may be obtained over data sharing. Our method captures both where- (to compute the IG over values) and how-provenance (to find matching records) and accurately computes the IG based on them. We conduct a preliminary evaluation to show the runtime of our approach over a real-world dataset.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130411952","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Bias analysis and mitigation in data-driven tools using provenance","authors":"Y. Moskovitch, Jinyang Li, H. Jagadish","doi":"10.1145/3530800.3534528","DOIUrl":"https://doi.org/10.1145/3530800.3534528","url":null,"abstract":"Fairness and bias mitigation in data-driven systems has been extensively studied in recent years. In this paper, we suggest a novel approach towards fairness analysis and bias mitigation utilizing the notion of provenance, which was shown to be useful for similar tasks in the context of data and process analyses. We illustrate the idea using a simple use-case demonstrating a scenario of mitigating bias caused by inadequate minority group representation. We conclude with an outline of opportunities and challenges in developing provenance-based solutions for bias analysis and mitigation in data-driven systems.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"73 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130618971","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Runtime provenance refinement for notebooks","authors":"Nachiket Deo, Boris Glavic, Oliver Kennedy","doi":"10.1145/3530800.3534535","DOIUrl":"https://doi.org/10.1145/3530800.3534535","url":null,"abstract":"Computational notebooks (e.g., Jupyter or Apache Zeppelin) have become a popular choice for data exploration, preparation, and ETL. Notebooks are more suited for interactive development of data pipelines than classical workflow systems, because they provide immediate feedback for the results of a computation and do not require the full computation to be specified upfront. However, the notebook model suffers from poor reproducibility, does not support automatic incremental re-evaluation of code when the code or inputs change, and does not allow for parallel execution of cells --- all symptoms of its kernel-based evaluation strategy. We propose a new \"workbook\" model that combines the usability of notebooks with the provenance and parallel execution capabilities of workflow systems. This is made possible through a novel approach that refines a static approximation of provenance for Python code at runtime and a scheduler that dynamically adapts the execution order of cells based on data dependencies detected or refuted at runtime. We demonstrate the feasibility of this approach using a prototype implementation in our notebook engine Vizier.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"21 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115713391","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Universal provenance for regular path queries","authors":"G. Grahne, Tianyi Liu, Nematollaah Shiri","doi":"10.1145/3530800.3534531","DOIUrl":"https://doi.org/10.1145/3530800.3534531","url":null,"abstract":"We study the question of universal provenance for regular path queries in graph databases. Universal provenance was introduced by Green, Karvounarakis, and Tannen in 2007 as the most general form of semiring provenance for positive relational algebra query results. According to this methodology, the universal provenance is to be computed during query evaluation, and any application provenance, such as e.g. the multiplicity of a tuple in the answer, can then be obtained by a homomorphic projection from the universal provenance. The methodology has subsequently been applied to SPARQL-queries and queries expressed in first order and fixed point logics, but for regular path queries only application provenance has been considered. We remedy the situation in this paper, by elucidating the classical theoretical framework and results that enable us to show that certain regular expressions form the universal provenance for regular path queries. In addition, we show experimentally that computing the universal provenance, as opposed to computing the application provenance directly, does not incur any significant overhead.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"18 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126343631","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Worst-case analysis for interactive evaluation of Boolean provenance","authors":"Antoine Amarilli, Yael Amsterdamer","doi":"10.1145/3530800.3534538","DOIUrl":"https://doi.org/10.1145/3530800.3534538","url":null,"abstract":"In recent work, we have introduced a framework for fine-grained consent management in databases, which combines Boolean data provenance with the field of interactive Boolean evaluation. In turn, interactive Boolean evaluation aims at unveiling the underlying truth value of a Boolean expression by frugally probing the truth values of individual values. The required number of probes depends on the Boolean provenance structure and on the (a-priori unknown) probe answers. Prior work has analyzed and aimed to optimize the expected number of probes, where expectancy is with respect to a probability distribution over probe answers. This paper gives a novel worst-case analysis for the problem, inspired by the decision tree depth of Boolean functions. Specifically, we introduce a notion of evasive provenance expressions, namely expressions, where one may need to probe all variables in the worst case. We show that read-once expressions are evasive, and identify an additional class of expressions (acyclic monotone 2-DNF) for which evasiveness may be decided in PTIME. As for the more general question of finding the optimal strategy, we show that it is coNP-hard in general. We are still able to identify a sub-class of provenance expressions that is \"far from evasive\", namely, where an optimal worst-case strategy probes only O(log n) out of the n variables in the expression, and show that we can find this optimal strategy in polynomial time.","PeriodicalId":132979,"journal":{"name":"Proceedings of the 14th International Workshop on the Theory and Practice of Provenance","volume":"56 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-05-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129707945","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}