Why does feature correlation degrade Naive Bayes probability calibration more than it degrades class ranking?

Quick Overview

Explain why correlated features distort Naive Bayes probability estimates much more than they distort the order of its scores. Tests understanding of how redundant evidence changes log-odds, ranking versus calibration metrics, and how post-hoc calibration repairs the probabilities.

Why does feature correlation degrade Naive Bayes probability calibration more than it degrades class ranking?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

Why does feature correlation degrade Naive Bayes probability calibration more than it degrades class ranking? Naive Bayes assumes features are conditionally independent given the class. Explain what correlated features do to its scores, why metrics such as AUC often barely move while log loss gets much worse, and what you would do about it. ```hint Write out the score Express the Naive Bayes log-odds as a sum of per-feature terms plus a prior term, then see what happens to that sum when the same signal shows up in several features. ``` ```hint Two kinds of metric Separate the metrics that depend only on the order of the scores from the ones that depend on the probability values themselves. ``` ```hint Is the distortion uniform? Ask whether the redundancy affects every example and every class the same way, and what follows when it does not. ``` ### What a Strong Answer Covers - How redundant features change the Naive Bayes log-odds, including what happens to the prior term - Why ranking metrics and the predicted class are largely unaffected by a monotone distortion of the scores - Why calibration metrics such as log loss and Brier score react strongly to the same distortion - When the distortion is uneven enough to change the ranking as well - How post-hoc calibration repairs the probabilities, and what it cannot fix ### Follow-up Questions - How would you detect that a Naive Bayes model is miscalibrated? - When correlation does reorder examples, what changes to the features or the model would you consider? - How would you choose between Platt scaling and isotonic regression for this model?

Overview: Explain why correlated features distort Naive Bayes probability estimates much more than they distort the order of its scores. Tests understanding of how redundant evidence changes log-odds, ranking versus calibration metrics, and how post-hoc calibration repairs the probabilities.

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

Why does feature correlation degrade Naive Bayes probability calibration more than it degrades class ranking?

Naive Bayes assumes features are conditionally independent given the class. Explain what correlated features do to its scores, why metrics such as AUC often barely move while log loss gets much worse, and what you would do about it.

What a Strong Answer Covers Guidance

  • How redundant features change the Naive Bayes log-odds, including what happens to the prior term
  • Why ranking metrics and the predicted class are largely unaffected by a monotone distortion of the scores
  • Why calibration metrics such as log loss and Brier score react strongly to the same distortion
  • When the distortion is uneven enough to change the ranking as well
  • How post-hoc calibration repairs the probabilities, and what it cannot fix

Follow-up Questions Guidance

  • How would you detect that a Naive Bayes model is miscalibrated?
  • When correlation does reorder examples, what changes to the features or the model would you consider?
  • How would you choose between Platt scaling and isotonic regression for this model?