Analyzing Deviations from Monotonic Trends through Database Repair

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Agmon, Shunit, Gal, Jonathan, Gilad, Amir, Livshits, Ester, Mutay, Or, Youngmann, Brit, Kimelfeld, Benny
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918239620038656
author Agmon, Shunit
Gal, Jonathan
Gilad, Amir
Livshits, Ester
Mutay, Or
Youngmann, Brit
Kimelfeld, Benny
author_facet Agmon, Shunit
Gal, Jonathan
Gilad, Amir
Livshits, Ester
Mutay, Or
Youngmann, Brit
Kimelfeld, Benny
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2512_08526
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Analyzing Deviations from Monotonic Trends through Database Repair
Agmon, Shunit
Gal, Jonathan
Gilad, Amir
Livshits, Ester
Mutay, Or
Youngmann, Brit
Kimelfeld, Benny
Databases
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.
title Analyzing Deviations from Monotonic Trends through Database Repair
topic Databases
url https://arxiv.org/abs/2512.08526