[Paper Review] Nearest Neighbor Complexity and Boolean Circuits
This paper establishes a deep connection between nearest neighbor representations of Boolean functions and min-plus polynomial threshold functions (mpPTF), enabling new exponential lower bounds on k-nearest neighbors complexity for explicit functions when k ≤ n¹⁻⁰. It shows that proving superpolynomial k-NN complexity lower bounds would require breakthroughs in circuit complexity, and demonstrates an exponential separation between nearest neighbor and k-NN complexity for unrestricted k.
A nearest neighbor representation of a Boolean function $f$ is a set of vectors (anchors) labeled by $0$ or $1$ such that $f(\vec{x}) = 1$ if and only if the closest anchor to $\vec{x}$ is labeled by $1$. This model was introduced by Hajnal, Liu, and Turán (2022), who studied bounds on the number of anchors required to represent Boolean functions under different choices of anchors (real vs. Boolean vectors) as well as the more expressive model of $k$-nearest neighbors. We initiate the study of the representational power of nearest and $k$-nearest neighbors through Boolean circuit complexity. To this end, we establish a connection between Boolean functions with polynomial nearest neighbor complexity and those that can be efficiently represented by classes based on linear inequalities -- min-plus polynomial threshold functions -- previously studied in relation to threshold circuits. This extends an observation of Hajnal et al. (2022). We obtain exponential lower bounds on the $k$-nearest neighbors complexity of explicit $n$-variate functions, assuming $k \leq n^{1-ε}$. Previously, no superlinear lower bound was known for any $k>1$. Next, we further extend the connection between nearest neighbor representations and circuits to the $k$-nearest neighbors case. As a result, we show that proving superpolynomial lower bounds for the $k$-nearest neighbors complexity of an explicit function for arbitrary $k$ would require a breakthrough in circuit complexity. In addition, we prove an exponential separation between the nearest neighbor and $k$-nearest neighbors complexity (for unrestricted $k$) of an explicit function. These results address questions raised by Hajnal et al. (2022) of proving strong lower bounds for $k$-nearest neighbors and understanding the role of the parameter $k$. Finally, we devise new bounds on the nearest neighbor complexity for several explicit functions.
Motivation & Objective
- To systematically study the representational power of nearest neighbor and k-nearest neighbor rules on the Boolean hypercube using Boolean circuit complexity.
- To address open questions from Hajnal et al. (2022) on proving strong lower bounds for k-NN complexity and understanding the role of the parameter k.
- To establish connections between nearest neighbor representations and classes of functions based on linear inequalities, particularly min-plus polynomial threshold functions (mpPTF).
- To derive new upper and lower bounds on nearest neighbor complexity for explicit functions such as disjointness, CNFs, and majority.
- To show that proving superpolynomial k-NN complexity lower bounds for arbitrary k would require major advances in circuit complexity theory.
Proposed method
- Introduce and analyze the closure of NN and HNN classes (nearest neighbor and Boolean nearest neighbor) under variable substitution and duplication, characterizing them via min-plus polynomial threshold functions (mpPTF).
- Extend the mpPTF characterization to k-NN representations by introducing a new class, kSTAT, generalizing mpPTF to inequalities over k-statistics of linear forms.
- Use the mpPTF and kSTAT characterizations to derive exponential lower bounds on k-NN complexity for explicit n-variate functions when k ≤ n¹⁻⁰.
- Apply combinatorial and geometric arguments on the Hamming cube to bound the number of anchors needed in HNN representations, particularly relating to connected components of the function's support.
- Leverage known circuit complexity results (e.g., Razborov's lower bound for disjointness) to derive tight bounds on the minimum number of anchors required.
- Construct explicit CNF formulas with polynomially many clauses but exponentially many connected components to demonstrate exponential HNN complexity.
Experimental results
Research questions
- RQ1What is the relationship between nearest neighbor complexity and min-plus polynomial threshold functions (mpPTF) in Boolean circuit complexity?
- RQ2Can exponential lower bounds be established for k-nearest neighbors complexity of explicit Boolean functions when k > 1?
- RQ3How does the parameter k affect the representational power of k-NN models, and what is the trade-off between k and complexity?
- RQ4Can there be an exponential separation between nearest neighbor and k-nearest neighbors complexity for unrestricted k?
- RQ5To what extent does polynomial nearest neighbor complexity imply efficient learnability or circuit efficiency?
Key findings
- The closure of the HNN class (Boolean nearest neighbor) under variable substitution and duplication is exactly the class of min-plus polynomial threshold functions of polynomial complexity (mpPTF), extending prior containment results.
- For any ǫ > 0, there exists an explicit n-variate Boolean function requiring 2Ω(n) anchors in any HNN representation when k ≤ n¹⁻⁰, establishing the first exponential lower bound for k > 1.
- The k-NN complexity of any explicit function cannot be superpolynomial unless there is a breakthrough in circuit complexity, as k-NN representations are characterized by the new kSTAT class.
- An explicit k-CNF with poly(n) clauses exists that requires 2Ω(n) anchors in any HNN representation, demonstrating an exponential separation between HNN and NN complexity.
- The majority function on even n variables requires exactly n/2 + 2 anchors in any HNN representation, proving a tight lower bound that matches the best known upper bound.
- CNFs with polynomially many clauses can have polynomial NN complexity with constant bit-complexity, but some such CNFs still require exponential HNN complexity due to their component structure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.