TL;DR
This paper bridges the gap between database theory and formal AI argumentation by showing how to find "repairs" for inconsistent databases using Set-Based Argumentation Frameworks (SETAFs). By translating database facts into arguments and integrity violations into collective attacks, the authors map out the exact computational complexity of repairing databases under highly expressive constraints.
What Problem Does This Paper Address?
Real-world databases are frequently messy and inconsistent, often violating predefined rules called Integrity Constraints (ICs). To clean up the data without losing too much valuable information, database theorists use a concept called subset-maximal repairs—deleting the minimum number of facts necessary to restore consistency.
Separately, the field of formal argumentation studies how to determine which arguments are acceptable when they conflict with one another. While prior work successfully connected simple database constraints to plain argumentation frameworks, a major gap remained for more expressive constraints. This paper tackles how to formally model complex constraints—specifically Denial Constraints (DCs) and Local-As-View Tuple-Generating Dependencies (LTGDs)—using argumentation frameworks, providing a unified way to reason about database conflicts.
Methods
The authors establish a formal translation from an inconsistent database into a Set-Based Argumentation Framework (SETAF). Unlike standard argumentation frameworks where one argument attacks another, SETAFs allow collective attacks, where a group of arguments jointly attacks an individual argument.
- Facts as Arguments: Every individual fact in the database is treated as an argument.
- Modeling Denial Constraints (DCs): A DC dictates that a certain combination of facts cannot coexist. The authors model this as a collective attack: if a set of facts violates a constraint, any subset of those facts collectively attacks the remaining fact.
- Modeling Tuple-Generating Dependencies (LTGDs): LTGDs are trickier because they require a notion of support (e.g., "if an employee exists, their department must also exist"). The authors elegantly simulate support within an attack-only framework by introducing auxiliary arguments with self-attacks. These auxiliary arguments are only neutralized if the proper supporting database facts are present.
- Polynomial Pre-processing: For databases dealing purely with LTGDs, the authors introduce a polynomial-time pre-processing algorithm (
PRE(SD)) that recursively weeds out unsupported facts, efficiently converging on a single, unique database repair. - Downscaling to Plain AFs: Finally, they prove that if you restrict the constraints to less expressive counterparts—Functional Dependencies (FDs) and Inclusion Dependencies (IDs)—collective attacks are no longer needed. The database can be translated into a plain Dung Argumentation Framework (AF) with simple binary attacks.
Datasets
No empirical datasets or training benchmarks were used in this work. This is a purely theoretical paper focused on computational complexity analysis and formal mathematical proofs.
Key Insights and Ideas
- Collective Attacks are Essential for Expressiveness: While simple functional dependencies can be modeled using binary (one-on-one) conflicts, general denial constraints inherently require collective attacks because the conflict is fundamentally tied to a group of facts acting together.
- Simulating Support via Attack: Argumentation frameworks are traditionally built on conflict (attacks). Successfully modeling LTGDs required capturing support. The authors achieved this by using self-attacking auxiliary arguments that act as "gatekeepers," which are only defeated when valid supporting facts are accepted.
- The Cost of Combining Constraints: When handled in isolation, databases with only DCs or only LTGDs are highly tractable (often solvable in polynomial time). However, combining them breaks these nice properties. The interplay between conflict and support forces the framework to rely on "preferred semantics," driving the computational complexity up significantly.
Key Results
The paper provides a complete complexity mapping for three primary database repair problems: determining if a non-empty repair exists (REP), checking if a fact is in at least one repair ($\exists$-REP), and checking if a fact is in all repairs ($\forall$-REP).
- DCs or FDs alone: Highly tractable; reasoning and repair checking can be done in polynomial time ($\mathbf{P}$).
- LTGDs or IDs alone: Yields a unique preferred repair that can be computed efficiently in polynomial time ($\mathbf{P}$) using the authors' pre-processing algorithm.
- The Combined Setting (DCs+LTGDs or FDs+IDs): Combining conflict and support makes the problems significantly harder. Repair existence (REP) and brave reasoning ($\exists$-REP) become NP-complete, while cautious reasoning ($\forall$-REP) jumps to $\Pi_2^\mathbf{P}$-complete.
Limitations and Future Work
- Deletions Only: The current approach is strictly limited to subset repairs, meaning the only way to fix an inconsistency is by deleting data. In practice, satisfying dependencies often requires inserting missing data (e.g., creating a missing department record), which this framework cannot currently model.
- Expressivity Ceiling: While LTGDs are a step forward, they are still a fragment of general Tuple-Generating Dependencies (TGDs). The authors note that modeling arbitrary TGDs will likely require moving to even more complex formalisms, such as Hyper-Argumentation Frameworks.
- Lack of Data Priorities: The framework treats all database facts as equally trustworthy. Integrating tuple priorities (e.g., preferring newer sensor data over old data) remains an open challenge for the LTGD and ID translations.
- Explainability: A promising future direction is using the generated argumentation graphs to provide human-readable explanations (e.g., "Fact X was deleted because it was collectively attacked by facts Y and Z under Constraint W").
Summary updated