liveBook · Manning

Dimensionality reduction

As explained in Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI

Dimensionality reduction is the process of representing data with fewer dimensions while retaining relevant information.

Dimensionality reduction creates a smaller feature representation for modeling. PCA combines highly correlated features; model embeddings can instead use hidden layers as representations. PCA is described as more common in industry and neural-model embeddings as more common in academia. section 4.3.4

For clustering, one option is to distill the original feature space into a learned representation:

  • Cluster items using their high-dimensional features, train a model to predict cluster labels, then use its hidden layer as the new feature set and reassign items to clusters. section 4.3.4
  • For text, a single hidden layer with 128 neurons may suffice; for images, use more layers and a CNN or similar architecture to generalize beyond specific pixel locations. section 4.3.4

How Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI covers it

How deep it goes
Compares PCA and learned representations, then outlines cluster-based distillation; PCA implementation is outside scope.
Examples
Uses cluster labels and hidden-layer features, suggesting a 128-neuron text layer or a CNN for images.
What it assumes
Assumes an existing high-dimensional feature space and modeling judgment to match architecture to data and cluster labels.
What you can do after
Apply model distillation by clustering high-dimensional items, training a cluster classifier, and reusing its hidden layer as features.
How it connects
Connects PCA, singular value decomposition, model embeddings, model distillation, and clustering.

Also explained in

Compare how 12 books explain dimensionality reduction →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI. The section links point to the parts of the book it draws on.