English

Nearest neighbor representations of Boolean functions

Combinatorics 2020-04-07 v1 Information Theory math.IT

Abstract

A nearest neighbor representation of a Boolean function is a set of positive and negative prototypes in RnR^n such that the function has value 1 on an input iff the closest prototype is positive. For kk-nearest neighbor representation the majority classification of the kk closest prototypes is considered. The nearest neighbor complexity of a Boolean function is the minimal number of prototypes needed to represent the function. We give several bounds for this measure. Separations are given between the cases when prototypes can be real or are required to be Boolean. The complexity of parity is determined exactly. An exponential lower bound is given for mod 2 inner product, and a linear lower bound is given for its kk-nearest neighbor complexity. The results are proven using connections to other models such as polynomial threshold functions over {1,2}\{1, 2\}. We also discuss some of the many open problems arising.

Keywords

Cite

@article{arxiv.2004.01741,
  title  = {Nearest neighbor representations of Boolean functions},
  author = {Péter Hajnal and Zhihao Liu and György Turán},
  journal= {arXiv preprint arXiv:2004.01741},
  year   = {2020}
}

Comments

12 pages

R2 v1 2026-06-23T14:38:47.683Z