QFix:通过查询历史诊断错误
QFix: Diagnosing errors through query histories
摘要:
数据驱动的应用程序依赖于其数据的正确性来正确有效地运行。数据中的错误可能会带来令人难以置信的代价和破坏性,导致收入损失,错误的结论和错误的政策决策。虽然数据清理工具可以在使用数据之前清除数据集的许多错误,但与数据交互的应用程序和用户可能会引入新的错误。后续的有效更新可能会掩盖这些错误,并将其传播到数据集,从而导致更多的差异。即使发现了其中的一些差异,也往往是在个案的基础上进行表面上的纠正,进一步模糊了真正的根本原因,并使发现剩余错误变得更加困难。在本文中,我们提出了QFix,一个框架,通过分析对数据进行操作的查询的效果,并识别这些查询中的潜在错误,来解释和修复关系数据中的差异。QFix是灵活的,可以处理只有一部分真实差异是已知的情况,并且对不同类型的更新工作负载具有鲁棒性。我们做了四个重要贡献:(a)我们正式诊断的问题的基础上,操作和引入错误的数据集的查询的数据错误的原因;(b)我们开发了精确的方法,用于导出诊断和修复识别的错误使用国家的最先进的工具;(c)我们提出了几种优化技术,这些技术在不影响精度的情况下改进了我们的基本方法,以及(d)我们利用准确性和性能之间的权衡来将诊断扩展到大型数据集和查询日志,同时实现接近最优的结果。我们通过对基准数据和合成数据的广泛评估证明了QFix的有效性。
英文摘要:
Data-driven applications rely on the correctness of their data to function properly and effectively. Errors in data can be incredibly costly and disruptive, leading to loss of revenue, incorrect conclusions, and misguided policy decisions. While data cleaning tools can purge datasets of many errors before the data is used, applications and users interacting with the data can introduce new errors. Subsequent valid updates can obscure these errors and propagate them through the dataset causing more discrepancies. Even when some of these discrepancies are discovered, they are often corrected superficially, on a case-by-case basis, further obscuring the true underlying cause, and making detection of the remaining errors harder. In this paper, we propose QFix, a framework that derives explanations and repairs for discrepancies in relational data, by analyzing the effect of queries that operated on the data and identifying potential mistakes in those queries. QFix is flexible, handling scenarios where only a subset of the true discrepancies is known, and robust to different types of update workloads. We make four important contributions: (a) we formalize the problem of diagnosing the causes of data errors based on the queries that operated on and introduced errors to a dataset; (b) we develop exact methods for deriving diagnoses and fixes for identified errors using state-of-the-art tools; (c) we present several optimization techniques that improve our basic approach without compromising accuracy, and (d) we leverage a tradeoff between accuracy and performance to scale diagnosis to large datasets and query logs, while achieving near-optimal results. We demonstrate the effectiveness of QFix through extensive evaluation over benchmark and synthetic data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。