Why does high explained variance in PCA not guarantee better performance in a downstream supervised model?

Quick Overview

Asks why keeping PCA components with high explained variance can still hurt a downstream supervised model. Tests understanding of what PCA optimizes, how scaling affects it, and how to choose the number of components for a prediction task.

Why does high explained variance in PCA not guarantee better performance in a downstream supervised model?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why does high explained variance in PCA not guarantee better performance in a downstream supervised model? Explain the reasons and say how you would decide how many components to keep. ```hint What PCA can see Ask what information PCA uses when it ranks components, and what it never looks at. ``` ```hint Build a counterexample Try to construct two features where the one with the large spread is unrelated to the label and the one with the small spread decides it. ``` ### What a Strong Answer Covers - PCA ranks directions by variance in the inputs alone, with no access to the target. - A concrete case where the high-variance components drop the predictive direction. - How scaling changes explained variance, and why a fixed threshold such as 95% is not a quality measure. - When the downstream model would do better without PCA, and how to choose the number of components instead. ### Follow-up Questions - How would you choose the number of components for a supervised task? - How do partial least squares and linear discriminant analysis differ from PCA in what they optimize? - Should you standardize before PCA? What changes if you do? - When does PCA before a supervised model help?

Overview: Asks why keeping PCA components with high explained variance can still hurt a downstream supervised model. Tests understanding of what PCA optimizes, how scaling affects it, and how to choose the number of components for a prediction task.

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

Why does high explained variance in PCA not guarantee better performance in a downstream supervised model? Explain the reasons and say how you would decide how many components to keep.

What a Strong Answer Covers Guidance

  • PCA ranks directions by variance in the inputs alone, with no access to the target.
  • A concrete case where the high-variance components drop the predictive direction.
  • How scaling changes explained variance, and why a fixed threshold such as 95% is not a quality measure.
  • When the downstream model would do better without PCA, and how to choose the number of components instead.

Follow-up Questions Guidance

  • How would you choose the number of components for a supervised task?
  • How do partial least squares and linear discriminant analysis differ from PCA in what they optimize?
  • Should you standardize before PCA? What changes if you do?
  • When does PCA before a supervised model help?