Near-Optimal Encodings of Cardinality Constraints
Andrew Krapivin, Benjamin Przybocki, Bernardo Subercaseaux

TL;DR
This paper introduces new, more efficient CNF encodings for cardinality constraints, improving clause counts and providing new techniques with theoretical and practical implications in circuit complexity.
Contribution
It presents the first nontrivial lower bounds for AtMostOne encodings and introduces grid compression, a novel technique for more compact encodings.
Findings
A CNF encoding for AtMostOne with 2n + 2√(2n) + O(∛n) clauses.
A smaller monotone circuit for the threshold-2 function, solving a long-standing open problem.
New bounds for AtMost_k encodings using grid compression, reducing clause counts.
Abstract
We present several novel encodings for cardinality constraints, which use fewer clauses than previous encodings and, more importantly, introduce new generally applicable techniques for constructing compact encodings. First, we present a CNF encoding for the constraint using clauses, thus refuting the conjectured optimality of Chen's product encoding. Our construction also yields a smaller monotone circuit for the threshold-2 function, improving on a 50-year-old construction of Adleman and incidentally solving a long-standing open problem in circuit complexity. On the other hand, we show that any encoding for this constraint requires at least clauses, which is the first nontrivial unconditional lower bound for this constraint and answers a question of Ku\v{c}era, Savick\'y, and Vorel. We then turn…
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.
