What information is lost when projecting data to a lower-dimensional subspace?

Quick Overview

Asks what a linear projection such as PCA throws away when it maps data to fewer dimensions. Tests whether you can connect discarded variance to reconstruction error, explain the effect on distances between points, and spot when dropped directions still matter for prediction.

What information is lost when projecting data to a lower-dimensional subspace?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What information is lost when projecting data to a lower-dimensional subspace? A typical case is keeping the top $k$ principal components of a dataset with $d$ features, where $k < d$. ```hint Split each point in two Write each point as the part inside the subspace plus the part orthogonal to it. Ask what happens to the second part, and whether two different points can land in the same place. ``` ```hint Variance and usefulness Think about whether the directions with the least variance are always the least useful ones for a downstream task such as classification or outlier detection. ``` ### What a Strong Answer Covers - What the projection keeps and discards for each point, and whether the mapping can be inverted - How the lost information is measured for PCA and how that measure relates to reconstruction error - What happens to distances, neighborhoods and the ability to tell points apart - Why discarded directions can still matter for prediction or anomaly detection, and where a linear projection fails on curved data - How to check in practice that what was dropped was mostly noise ### Follow-up Questions - How would you choose the number of components to keep, and what would you check besides explained variance? - If a low-variance direction is the one that separates your classes, which supervised alternatives to PCA would you try? - How does PCA reconstruction error work as an anomaly score, and when does that score stop working? - What does a nonlinear method such as an autoencoder preserve that a linear projection loses, and what does it cost you?

Overview: Asks what a linear projection such as PCA throws away when it maps data to fewer dimensions. Tests whether you can connect discarded variance to reconstruction error, explain the effect on distances between points, and spot when dropped directions still matter for prediction.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What information is lost when projecting data to a lower-dimensional subspace?

A typical case is keeping the top kk principal components of a dataset with dd features, where k<dk < d.

What a Strong Answer Covers Guidance

  • What the projection keeps and discards for each point, and whether the mapping can be inverted
  • How the lost information is measured for PCA and how that measure relates to reconstruction error
  • What happens to distances, neighborhoods and the ability to tell points apart
  • Why discarded directions can still matter for prediction or anomaly detection, and where a linear projection fails on curved data
  • How to check in practice that what was dropped was mostly noise

Follow-up Questions Guidance

  • How would you choose the number of components to keep, and what would you check besides explained variance?
  • If a low-variance direction is the one that separates your classes, which supervised alternatives to PCA would you try?
  • How does PCA reconstruction error work as an anomaly score, and when does that score stop working?
  • What does a nonlinear method such as an autoencoder preserve that a linear projection loses, and what does it cost you?