Computing Optimal Repairs for Functional Dependencies
Not on the map. Why?
Abstract (arXiv)
We investigate the complexity of computing an optimal repair of an inconsistent database, in the case where integrity constraints are Functional Dependencies (FDs). We focus on two types of repairs: an optimal subset repair (optimal S-repair) that is obtained by a minimum number of tuple deletions, and an optimal update repair (optimal U-repair) that is obtained by a minimum number of value (cell) updates. For computing an optimal S-repair, we present a polynomial-time algorithm that succeeds on certain sets of FDs and fails on others. We prove the following about the algorithm. When it succeeds, it can also incorporate weighted tuples and duplicate tuples. When it fails, the problem is NP-hard, and in fact, APX-complete (hence, cannot be approximated better than some constant). Thus, we establish a dichotomy in the complexity of computing an optimal S-repair. We present general analysis techniques for the complexity of computing an optimal U-repair, some based on the dichotomy for S-repairs. We also draw a connection to a past dichotomy in the complexity of finding a "most probable database" that satisfies a set of FDs with a single attribute on the left hand side; the case of general FDs was left open, and we show how our dichotomy provides the missing generalization and thereby settles the open problem.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Dec 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 0; 2024: 1; 2025: 1; 2026: 1.
5 papers.
- 2024OTClean: Data Cleaning for Conditional Independence Violations using Optimal Transportcited by 8
- 2022Certifiable Robustness for Nearest Neighbor Classifierscited by 3
- 2021Data Obsolescence Detection in the Light of Newly Acquired Valid Observationscited by 1
- 2025Stress-Testing Causal Claims via Cardinality Repairscited by 0
- 2026Inconsistent Databases and Argumentation Frameworks with Collective Attackscited by 0
- 2026Inconsistent Databases and Argumentation Frameworks with Collective Attacks5 May 2026
- 2025Stress-Testing Causal Claims via Cardinality Repairs2 Dec 2025
- 2024OTClean: Data Cleaning for Conditional Independence Violations using Optimal Transport4 Mar 2024
- 2022Certifiable Robustness for Nearest Neighbor Classifiers13 Jan 2022
- 2021Data Obsolescence Detection in the Light of Newly Acquired Valid Observations18 Jan 2021