Skip to content
Lambdian

Curse of dimensionality

In many dimensions data becomes sparse and distances lose meaning, which hurts many algorithms.

As the number of features grows, the volume of the space explodes: to keep the same density of examples you need exponentially more data. Points also become nearly equidistant, so "nearest neighbour" carries little information. Distance-based methods (k-NN, k-means, DBSCAN, kernel density) suffer most.

Remedies: feature selection, dimensionality reduction (PCA, autoencoders), models with strong inductive biases, or learned embeddings where distance is meaningful.

See it in action