[Paper Review] Repair-Based Degrees of Database Inconsistency: Computation and Complexity
This paper proposes a repair-based inconsistency measure for relational databases using cardinality-repairs to quantify inconsistency with respect to integrity constraints. It shows that the measure can be computed via answer-set programming (ASP), is NP-complete in data complexity, but admits polynomial-time deterministic and randomized approximations, with fixed-parameter tractability under small updates.
We propose a generic numerical measure of the inconsistency of a database with respect to a set of integrity constraints. It is based on an abstract repair semantics. In particular, an inconsistency measure associated to cardinality-repairs is investigated in detail. More specifically, it is shown that it can be computed via answer-set programs, but sometimes its computation can be intractable in data complexity. However, polynomial-time deterministic and randomized approximations are exhibited. The behavior of this measure under small updates is analyzed, obtaining fixed-parameter tractability results. Furthermore, alternative inconsistency measures are proposed and discussed.
Motivation & Objective
- To develop a generic, repair-based numerical measure of inconsistency in relational databases that reflects the complexity of restoring consistency.
- To investigate the computational complexity of measuring inconsistency in data complexity, focusing on denial constraints and functional dependencies.
- To provide practical computation mechanisms using answer-set programming (ASP) for the inconsistency measure.
- To analyze the behavior of the inconsistency measure under small database updates, establishing fixed-parameter tractability.
- To explore connections between inconsistency measures, database causality, and tuple-level responsibility.
Proposed method
- The inconsistency measure is defined based on cardinality-repairs, where the degree of inconsistency corresponds to the minimum number of tuples to delete to restore consistency.
- Answer-set programming (ASP) is used as a computational framework to encode and compute the inconsistency measure, leveraging its expressive power for non-monotonic reasoning.
- The measure is formalized as the reciprocal of the maximum size of a subset-repair, ensuring that 0 indicates perfect consistency.
- Approximation algorithms are developed using deterministic and randomized techniques with approximation ratio $ d $, achieving polynomial-time complexity.
- Fixed-parameter tractability results are derived by analyzing the impact of small updates on the inconsistency degree, parameterized by update size.
- The connection between inconsistency and tuple-level causality is established via the responsibility of tuples as causes for constraint violations.
Experimental results
Research questions
- RQ1How can a generic, repair-based inconsistency measure be defined for relational databases that reflects the cost of restoring consistency?
- RQ2What is the data complexity of computing the cardinality-repair-based inconsistency measure for denial constraints and functional dependencies?
- RQ3Can answer-set programming (ASP) be used to effectively compute the inconsistency measure, and does it provide the necessary expressive power?
- RQ4How does the inconsistency measure behave under small database updates, and is its computation fixed-parameter tractable with respect to update size?
- RQ5Can the global inconsistency measure be decomposed into local contributions from individual tuples, and how does this relate to causality in databases?
Key findings
- The inconsistency measure based on cardinality-repairs is NP-complete in data complexity for denial constraints and certain functional dependencies.
- The measure can be computed using answer-set programming, which provides the exact expressive and computational power required for its specification and evaluation.
- Polynomial-time deterministic and randomized approximation algorithms exist with an approximation ratio of $ d $, enabling efficient estimation of the inconsistency degree.
- The inconsistency measure exhibits fixed-parameter tractability under small updates, meaning its computation remains efficient when the number of changes is bounded.
- The global inconsistency measure can be expressed as the reciprocal of the maximum responsibility of any tuple as a cause for constraint violations, linking it to database causality.
- The measure is well-behaved under updates, with small changes to the database resulting in bounded changes to the inconsistency degree.
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.