[Paper Review] Detecting Ambiguity in Prioritized Database Repairing
This paper investigates the complexity of determining whether a prioritized database repair is uniquely determined—i.e., whether exactly one optimal repair exists under three semantics: Pareto, global, and completion optimality. It shows that while Pareto and global optimality are computationally hard (coNP-complete and Πp₂-complete, respectively), completion optimality admits a polynomial-time algorithm for all functional dependencies, making it the most tractable option for unambiguous database cleaning.
In its traditional definition, a repair of an inconsistent database is a consistent database that differs from the inconsistent one in a "minimal way." Often, repairs are not equally legitimate, as it is desired to prefer one over another; for example, one fact is regarded more reliable than another, or a more recent fact should be preferred to an earlier one. Motivated by these considerations, researchers have introduced and investigated the framework of preferred repairs, in the context of denial constraints and subset repairs. There, a priority relation between facts is lifted towards a priority relation between consistent databases, and repairs are restricted to the ones that are optimal in the lifted sense. Three notions of lifting (and optimal repairs) have been proposed: Pareto, global, and completion. In this paper we investigate the complexity of deciding whether the priority relation suffices to clean the database unambiguously, or in other words, whether there is exactly one optimal repair. We show that the different lifting semantics entail highly different complexities. Under Pareto optimality, the problem is coNP-complete, in data complexity, for every set of functional dependencies (FDs), except for the tractable case of (equivalence to) one FD per relation. Under global optimality, one FD per relation is still tractable, but we establish Pi-2-p-completeness for a relation with two FDs. In contrast, under completion optimality the problem is solvable in polynomial time for every set of FDs. In fact, we present a polynomial-time algorithm for arbitrary conflict hypergraphs. We further show that under a general assumption of transitivity, this algorithm solves the problem even for global optimality. The algorithm is extremely simple, but its proof of correctness is quite intricate.
Motivation & Objective
- To determine when a prioritized database repair is uniquely determined—i.e., when only one optimal repair exists.
- To compare the computational complexity of deciding this uniqueness (categoricity) across three semantics: Pareto, global, and completion optimality.
- To identify tractable cases and establish complexity dichotomies for each semantics under functional dependencies.
- To develop a polynomial-time algorithm for completion optimality and prove its correctness under general conflict hypergraphs.
- To explore the implications of transitivity in priority relations and its impact on global optimality.
Proposed method
- The authors formalize three lifting semantics—Pareto, global, and completion—for transforming fact-level priorities into subinstance-level optimality.
- They analyze the data complexity of deciding whether a database has exactly one optimal repair (categoricity) under each semantics.
- For completion optimality, they design a simple but intricate polynomial-time algorithm that works on arbitrary conflict hypergraphs.
- They prove the correctness of the algorithm under a general transitivity assumption, extending its applicability to global optimality in certain cases.
- They use reductions and complexity-theoretic techniques to establish coNP-completeness for Pareto and Πp₂-completeness for global optimality.
- They establish dichotomies in complexity for p-categoricity and g-categoricity, identifying tractable cases based on functional dependency structure.
Experimental results
Research questions
- RQ1Under what conditions is there exactly one optimal repair under Pareto semantics, and what is the complexity of deciding this?
- RQ2What is the complexity of determining unique optimal repair under global semantics, and does it depend on the number of functional dependencies?
- RQ3Can a polynomial-time algorithm be constructed for deciding unique optimal repair under completion semantics, and does it extend to general conflict hypergraphs?
- RQ4Does the transitivity of the priority relation enable tractable categoricity under global semantics?
- RQ5How do the three semantics compare in terms of computational efficiency for unambiguous database repair?
Key findings
- Pareto categoricity is coNP-complete for all sets of functional dependencies, except when there is exactly one FD per relation, which is tractable.
- Global categoricity is coNP-complete for one FD per relation but becomes Πp₂-complete when two FDs are present in a relation.
- Completion categoricity is solvable in polynomial time for all functional dependencies, and the algorithm works for arbitrary conflict hypergraphs.
- The proposed polynomial-time algorithm for completion optimality is simple but its correctness relies on a non-trivial proof involving transitivity and hypergraph duality.
- Under the assumption of transitivity, the same algorithm solves global categoricity, suggesting a potential bridge between completion and global semantics.
- The results establish that completion optimality is the most efficient semantics for ensuring unambiguous repairs, outperforming Pareto and global in terms of computational complexity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.