Article

Nearest Neighbours and Noise Features: An Exact Accuracy Formula and the Exponential Cost of Irrelevant Dimensions

Author(s) : Praveen Kumar Maharana

Nearest-neighbour classifiers degrade when irrelevant features are added, and the usual explanation is that distances concentrate in high dimensions. We make this exact for the one-nearest-neighbour rule in a Gaussian model with s signal dimensions, p noise dimensions and class separation d. Conditioning on the test point, the squared distances to training points are non-central chi-square variables, and the accuracy is a two-dimensional integral over the test point’s noise norm and signal offset (Eq. 4). The formula agreed with simulation to within 1.9 points in all 72 cells of a grid with 0 to 1,000 noise features and 20 to 5,000 training cases (mean absolute difference 0.7 points). It shows that the number of training cases needed for a fixed accuracy grows exponentially with the number of noise features, approximately as exp(p/d²): for d = 3, 80% accuracy needs 14 cases with 10 noise features, 61 with 20, 2,898 with 50 and 1.7 million with 100. With 1,000 noise features the nearest neighbour has the right class for only about 61% above chance even with 5,000 training cases. On the digits dataset, adding 1,000 noise features reduced 1-NN accuracy from 97% to 40% with 1,300 training cases, while logistic regression and a random forest fell far less. The formula, heat maps and contour plots in this paper replace the qualitative curse-of-dimensionality argument by numbers. Synthetic results are simulations; the real data are one small benchmark set with appended noise.

Read the article

Turn pages by dragging a corner, clicking a page, or with the ← → keys.

Download Open

Loading article…

Open the PDF instead
Cover
Readers Around the World
Similar Papers