arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.08526cs.DB
收藏

通过数据库修复分析单调趋势的偏差

Analyzing Deviations from Monotonic Trends through Database Repair

Hebrew University(希伯来大学)

Shunit Agmon, Jonathan Gal, Amir Gilad, Ester Livshits, Or Mutay, Brit Youngmann, Benny Kimelfeld

AI总结:

本文提出通过数据库修复分析数据集偏离单调趋势的问题,引入AODs概念并设计算法模板,实验验证了算法效率及启发式方法的有效性。

摘要:

数据集经常表现出违反预期的单调趋势 - 例如,教育水平越高平均工资越高,新房子更贵,或糖尿病患病率随年龄增加而增加。我们解决的问题是量化数据集偏离此类趋势的程度。为此,我们引入了Aggregate Order Dependencies(AODs),这是一种以聚合为中心的顺序依赖扩展。AOD规定目标属性(如平均工资)的聚合值应随着分组属性(如教育水平)单调增加或减少。我们把AOD修复问题定义为找到删除表中最小元组集以满足给定AOD。我们分析了该问题的计算复杂性,并提出了一种通用的算法模板来解决它。我们为常见的聚合函数实例化模板,引入了优化技术,显著提高了模板实例的运行时间,并开发了高效的启发式替代方案。我们的实验研究在真实世界和合成数据集上进行,证明了算法的实用性,并提供了启发式方法性能的见解。我们还通过案例研究揭示并解释了使用框架发现的意外AOD违规情况。

英文摘要:

Datasets often exhibit violations of expected monotonic trends - for example, higher education level correlating with higher average salary, newer homes being more expensive, or diabetes prevalence increasing with age. We address the problem of quantifying how far a dataset deviates from such trends. To this end, we introduce Aggregate Order Dependencies (AODs), an aggregation-centric extension of the previously studied order dependencies. An AOD specifies that the aggregated value of a target attribute (e.g., mean salary) should monotonically increase or decrease with the grouping attribute (e.g., education level). We formulate the AOD repair problem as finding the smallest set of tuples to delete from a table so that the given AOD is satisfied. We analyze the computational complexity of this problem and propose a general algorithmic template for solving it. We instantiate the template for common aggregation functions, introduce optimization techniques that substantially improve the runtime of the template instances, and develop efficient heuristic alternatives. Our experimental study, carried out on both real-world and synthetic datasets, demonstrates the practical efficiency of the algorithms and provides insight into the performance of the heuristics. We also present case studies that uncover and explain unexpected AOD violations using our framework.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑