Counting and Covering in Nearest-Neighbour Representations of Boolean Functions
Abstract
We study the number of prototypes needed to represent Boolean functions by nearest-neighbour classification. There are two distinct settings: the prototypes may be arbitrary points of Euclidean space, or they may themselves be required to lie in the Boolean cube. For unrestricted prototypes, we strengthen a known lower bound for almost all Boolean functions. The bound applies simultaneously to nearest-neighbour voting rules with any number of voting neighbours, and substantially narrows the gap with the known general upper bound. We obtain a VC-dimension bound for classes with a bounded number of prototypes, and show that it is sharp in order in dimensions at least four. We then study Boolean prototypes, beginning with symmetric threshold functions. A connection with covering designs expresses the minimum number of prototypes at every threshold level exactly in terms of a covering number, and leads to further exact results for related monotone functions, including disjunctive extensions and a characterisation of when a representation with a single negative prototype is possible. For a uniformly random Boolean function, the Boolean nearest-neighbour complexity, as a proportion of the cube, is asymptotically close either to one half or to one, with explicit limiting probabilities. In particular, almost every Boolean function requires at least approximately half as many prototypes as there are points in the cube, and one half is the largest proportion for which such a lower bound holds. Finally, we consider arbitrary symmetric Boolean functions. Their Boolean nearest-neighbour complexity is closely approximated by a weighted vertex-cover problem on paths. As a consequence, a uniformly random symmetric function typically requires prototypes amounting to of the cube. This is much larger than the upper bounds known when the prototypes are allowed to lie anywhere in Euclidean space.
Create a lesson
Metadata
- Categories
- cs.DM, cs.LG, math.CO
- Comments
- 55 pages, 1 diagram, 1 table
Related papers
Almost every Boolean function has central threshold degree
Shared title terminologycs.DMMartin Anthony
Chamber geometry and specification numbers of Boolean threshold functions
Shared title terminologycs.DMMartin Anthony
Full-Cover and Non-Overlapping Uni-domination in Graphs: Bounds and Complexity
Shared title terminologycs.DMFlorent Foucaud, Yan Gerard, Christian Laforest et al.
Constrained intersection representations and forbidden patterns
Shared title terminologycs.DMLaurent Feuilloley, Michel Habib, Amalia Sorondo
Positivity Proofs for Third-Order Holonomic Sequences via Differences Scaled by Rational Functions
Shared title terminologycs.DMFugen Hagihara
Re-Ordering the Generalized Hofstadter Functions G, H, and Beyond
Shared title terminologycs.DMPierre Letouzey