Skip to content
DraconiticResearch
Search Sources API
203,203 studies31 sourcesUpdated 26 min ago
PreprintarXiv licencearXiv

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 11/20 of the cube. This is much larger than the upper bounds known when the prototypes are allowed to lie anywhere in Euclidean space.

Related

  1. Nearest-neighbour baselines for fingerprint prediction from MS/MS spectra under different assumptions
    Ling Min Serena Khoo
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  2. Spatial Functional k-Nearest-Neighbour Regression under Polynomial Dependence
    Stéphane Bouka
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  3. Gaussian and non-Gaussian limits for the total edge-length of random directional nearest-neighbour graphs
    Nicholas Georgiou, Qasem M. Tawhari, Andrew Wade
    arXivPreprintarXiv licenceFull textProbabilityarXiv
  4. Scalene Yang-Baxter triples realize all nearest-neighbour Hamiltonians with global additive symmetries
    Pramod Padmanabhan, Somnath Maity, Akash Sinha +1
    arXivPreprintCC BY-NC-ND 4.0Full textMathematical physicsHigh-energy & particle physicsarXiv
  5. Round-Trip KNN Clustering: multiscale hierarchical cluster detection on directed nearest-neighbour graphs
    Eraldo Pereira Marinho, Caetano Mazzoni Ranieri, Fabricio Aparecido Breve
    arXivPreprintarXiv licenceFull textStatisticsarXiv
BibTeX
@misc{anthony2026counting,
  title = {{Counting and Covering in Nearest-Neighbour Representations of Boolean Functions}},
  author = {Martin Anthony},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.23094},
  eprint = {2609.23094},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.23094},
}
RIS
TY  - UNPB
TI  - Counting and Covering in Nearest-Neighbour Representations of Boolean Functions
AU  - Martin Anthony
PY  - 2026
DA  - 2026/09/19
PB  - arXiv
DO  - 10.48550/arxiv.2609.23094
UR  - https://arxiv.org/abs/2609.23094
AB  - 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 11/20 of the cube. This is much larger than the upper bounds known when the prototypes are allowed to lie anywhere in Euclidean space.
ER  -