intermediateadvanced-ml

Curse of Dimensionality

The more features you add, the emptier and stranger your data's space becomes.

Key Points

What it is

The curse of dimensionality describes how adding more features causes data to become increasingly sparse in the feature space, making distances between points less meaningful and models harder to train reliably without exponentially more data.

Why it exists

It's not something anyone built — it's a mathematical property of high-dimensional geometry that data scientists have to actively work around. It matters as a named concept because it explains why 'just add more features' often backfires rather than helps.

Intuition

Imagine finding a friend's house on a single street (1D) — easy, there are only so many houses to check. Now imagine finding them somewhere in an entire 3D city grid of buildings, floors, and rooms — the search space has exploded, and 'nearby' becomes a much weaker signal. Keep adding dimensions like this, and eventually every point looks almost equally far from every other point, and 'closeness' stops being useful information.

When to use

When not to use

Common mistakes

Notes

In practice

A key reason PCA, feature selection, and regularization are standard steps before applying distance-based or otherwise dimension-sensitive algorithms to high-dimensional data like genomics, text embeddings, or sensor data.

Was this concept helpful?

Spot an error or gap? Suggest an edit →

Related concepts

principal-component-analysisk-means-clusteringdbscan
Chirp at me!