Skip to content
ExamRizzInterview readingReading
Leave

STEM · Computer Science · Common Misconceptions

Save

Correlation Implies Causation (in ML)

Misconception: If a machine learning model uses feature X to predict Y accurately, then X causes Y. "The model shows that feature X is important, so changing X will change Y."

Why it's wrong: ML models learn correlations, not causality. Correlation can arise from: (1) X causes Y (2) Y causes X (3) confounding variable Z causes both (4) coincidence. Predictive accuracy doesn't imply causal relationships. Interventions based on correlations can fail or backfire.

Correct understanding: Supervised learning finds patterns: f(X) → Y where X and Y are correlated in training data. This enables prediction but not intervention. Causality requires additional assumptions/experiments: randomized controlled trials, instrumental variables, or causal graphs. For decision-making (not just prediction), must understand causal structure. Example: ice cream sales correlate with drownings (both caused by summer weather), but banning ice cream won't prevent drownings.

Questions to think through

  1. A hospital trains a model predicting patient mortality from medical records. The model gives high importance to "assigned to intensive care unit" feature. Does this mean ICU causes higher mortality (and hospitals should avoid ICU admission)? Explain confounding: sicker patients are sent to ICU, so ICU assignment correlates with mortality without causing it. How would you design study/model to determine ICU's causal effect on outcomes? What additional data or experimental design would be needed?

    explain

Causality · Machine Learning · Correlation · Confounding Variables · Causal Inference · Prediction vs Intervention