The Complexity of Computing a Cardinality Repair for Functional Dependencies
Ester Livshits, Benny Kimelfeld

TL;DR
This paper investigates the computational complexity of finding maximum consistent subsets in relations with functional dependencies, providing a polynomial algorithm for some schemas and proving NP-hardness for others.
Contribution
It establishes a complexity dichotomy for computing cardinality repairs, offering an efficient algorithm to classify schemas as tractable or NP-hard.
Findings
Polynomial-time algorithm for certain schemas
NP-hardness proof for other schemas
Dichotomy classification of schema complexity
Abstract
For a relation that violates a set of functional dependencies, we consider the task of finding a maximum number of pairwise-consistent tuples, or what is known as a "cardinality repair." We present a polynomial-time algorithm that, for certain fixed relation schemas (with functional dependencies), computes a cardinality repair. Moreover, we prove that on any of the schemas not covered by the algorithm, finding a cardinality repair is, in fact, an NP-hard problem. In particular, we establish a dichotomy in the complexity of computing a cardinality repair, and we present an efficient algorithm to determine whether a given schema belongs to the positive side or the negative side of the dichotomy.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Advanced Database Systems and Queries · Data Management and Algorithms
