A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Dimensionality Reduction Techniques

Graduate Depth 88 in the knowledge graph ☐ I know this ☆ Set as goal
7topics build on this
369prerequisites beneath it
See this on the map →
Principal Component AnalysisEigenvalues and Eigenvectors+2 more→→Autoencoders for Unsupervised LearningCollaborative Filtering+2 more
unsupervised-learning feature-reduction representation-learning

Core Idea

Dimensionality reduction compresses high-dimensional data preserving structure. Linear methods (PCA, ICA) are interpretable; non-linear methods (t-SNE, UMAP) capture complex structure but are non-invertible. Autoencoders learn representations via neural networks.

Explainer

From your study of PCA, you already understand the foundational idea: high-dimensional data often lives on or near a lower-dimensional structure, and you can find that structure by identifying the directions of greatest variance. PCA does this by computing eigenvectors of the covariance matrix and projecting data onto the top-k eigenvectors. Dimensionality reduction as a broader field asks: what if the underlying structure isn't a flat plane but a curved surface, and what other objectives beyond variance preservation might be useful?

Linear methods like PCA and Independent Component Analysis (ICA) find lower-dimensional representations through matrix operations. PCA maximizes variance along each successive component, making it ideal when the signal lives in directions of high spread. ICA instead seeks components that are statistically independent (not just uncorrelated), which is useful for separating mixed signals — the classic cocktail party problem where multiple speakers are recorded by multiple microphones. Both methods are fast, interpretable (each component is a linear combination of original features), and invertible (you can reconstruct an approximation of the original data). Their limitation is that they can only capture linear relationships: if the data lies on a curved manifold — imagine points arranged on a Swiss roll in 3D — linear projections will distort the intrinsic structure.

t-SNE and UMAP are nonlinear methods designed specifically for visualization of high-dimensional data in 2D or 3D. t-SNE converts pairwise distances in the original space into probabilities (nearby points get high probability, distant points get low), then finds a low-dimensional arrangement that preserves those probabilities as well as possible. It excels at revealing cluster structure — groups of similar points form tight, well-separated clusters in the embedding. UMAP works on similar principles but is faster, better preserves global structure, and produces more interpretable distances between clusters. Both methods are non-parametric (they produce an embedding of the training data but can't directly project new points) and non-invertible (you can't reconstruct the original data from the 2D embedding). They are visualization tools, not feature engineering tools — the coordinates in the embedding have no intrinsic meaning.

Autoencoders use neural networks to learn nonlinear dimensionality reduction. An encoder network compresses the input to a low-dimensional bottleneck (the latent representation), and a decoder network reconstructs the original input from this bottleneck. Training minimizes reconstruction error, forcing the bottleneck to capture the most important features. Unlike t-SNE and UMAP, autoencoders are parametric (the encoder can project new data) and the latent dimensions can be used as features for downstream tasks. Variational autoencoders (VAEs) add a probabilistic structure to the latent space, making it smooth and continuous, which enables generation of new data by sampling from the latent space.

The choice of method depends on your goal. For exploratory visualization, use t-SNE or UMAP — they will reveal cluster structure and outliers that linear methods might miss. For feature engineering before a supervised model, PCA is often the right starting point because it is fast, interpretable, and deterministic. For learning rich, reusable representations from large datasets, autoencoders offer the most flexibility. In all cases, the fundamental tradeoff is between the expressiveness of the dimensionality reduction (how complex a structure it can capture) and the interpretability and stability of the result.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Vectors in Two Dimensions → Vector Operations: Addition, Subtraction, and Scalar Multiplication → Dot Product (Inner Product in R^n) → Matrix Multiplication → Determinants of 2×2 and 3×3 Matrices → Invertible Matrices and Matrix Inverses → Systems of Linear Equations and Matrix Form → Gaussian Elimination and Row Reduction → Row Echelon Form and Back Substitution → The Standard Matrix of a Linear Transformation → Composition of Linear Transformations → Change of Basis and Coordinate Systems → Diagonalization → Principal Component Analysis → Dimensionality Reduction Techniques

Longest path: 89 steps · 369 total prerequisite topics

Prerequisites (4)

Leads To (4)