General-distribution nearest-neighbor optimality conjecture
Let and be independent draws from arbitrary unknown probability distributions with densities and , satisfying
Let be drawn from the mixture distribution
The decision rule classifies as coming from when , and from otherwise. Nearest-neighbor optimality conjecture. This rule is correct more than half the time and minimizes classification error among all decision rules. The paper establishes the result for Gaussian densities, while the general-distribution claim and optimality remain open.
References
Primary source
Kevin Bleakley, “Extreme change-point detection”, arXiv:2403.19237 (2024).
Progress summary
A posted counterexample claims the rule can perform worse than chance and fail to be best, but this has not been independently verified.
Kevin Bleakley posed the conjecture in 2024: with arbitrary one-dimensional distributions, classifying a mixture observation by whichever of one sample from each distribution is nearer should beat chance and be optimal among distribution-free rules.
Known results
- Bleakley (2024): the above-chance guarantee is proved for Gaussian distributions, including unknown unequal variances.
- Bleakley (2024): optimality is explicitly left open, even in the Gaussian settings.
- Bleakley (2024): the general case is reduced to an integral inequality, for which the manuscript reports no proof or disproof.
Posted attempt
A posted construction using compactly supported densities claims success probability , with a reversed rule achieving ; it therefore claims a complete counterexample to both conjectures. The calculation has not been independently verified.
Current status (as of August 2026): The Gaussian above-chance result is recorded, but the general claim and optimality remain unverified; a posted counterexample would refute both if correct.
Sources
Solutions 1
CounterexampleThis solution needs a summarySee full solution
The nearest-neighbor rule can perform strictly worse than a coin flip, even when both distributions have probability densities.
For , let
and take the distinct probability densities
At centers , their component masses are
Write . Conditional on labeled observations , the nearest-neighbor classifier has success probability
For , the sign of the second term reverses. Therefore its unconditional success probability is
For component centers , all midpoints lie inside a common gap between supports, so is constant on that block. The complete block data are
Hence the excess success probability equals
and consequently
The reverse nearest-neighbor rule instead succeeds with probability . Thus the nearest-neighbor rule neither necessarily beats chance nor minimizes classification error.
Replacing every by a translate of the same normalized smooth bump supported in leaves all block calculations unchanged, so the counterexample also holds for smooth densities.