liveBook · Manning

Dimensionality reduction

As explained in Inside Deep Learning: Math, Algorithms, Models

The process of mapping data from a higher-dimensional space into a lower-dimensional representation while retaining important structure.

Dimensionality reduction maps a feature vector from D dimensions into a smaller D′-dimensional representation while preserving important structure. PCA provides a classic approach; autoencoders extend the same encoder–decoder idea with larger, more expressive networks. section 7.1.1 section 7.2

PCA can be viewed as a bottleneck autoencoder: a weight matrix encodes, its transpose decodes, and a reconstruction objective uses squared error with a constraint-related regularization penalty. Autoencoders commonly taper toward a bottleneck and expand back toward the input size. section 7.1.1 section 7.2

Reconstruction-based outlier detection

Train an autoencoder, compute reconstruction errors, and flag the highest-error cases using a threshold matched to the expected abnormal fraction. Poor reconstruction suggests that an input is unusual and may need review rather than prediction. section 7.2

Figure 7.4 Example of a standard autoencoder design. The input comes in on the left. The encoder starts out large and tapers down the size of the hidden layers at each step. Because autoencoders are usually symmetric, our decoder will receive the small representation z and begin expanding it back to the original size.

Shows the standard bottleneck layout: the encoder contracts toward representation z, while the decoder expands back toward the original input size. section 7.2

How Inside Deep Learning: Math, Algorithms, Models covers it

How deep it goes
Defines PCA through encoder-decoder notation, weight sharing, reconstruction loss, and constraints, then extends the idea to multilayer bottleneck networks.
Examples
Uses D-dimensional feature vectors, bottleneck representations z, symmetric networks, and reconstruction-error thresholds.
What you can do after
Apply via PCA or an autoencoder, and diagnose unusual inputs through reconstruction error.
How it connects
Connects PCA with autoencoders, encoder-decoder architectures, weight sharing, reconstruction error, and outlier detection.

Also explained in

Compare how 11 books explain dimensionality reduction →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Inside Deep Learning: Math, Algorithms, Models. The section links point to the parts of the book it draws on.