Why can class-imbalance remedies cause an unacceptable spike in false positives in medical screening applications?

Quick Overview

Asks why oversampling, undersampling or class weights can flood a medical screening model with false positives. Tests base-rate reasoning and precision at low prevalence, how rebalancing shifts scores and thresholds, and how to set an operating point from real clinical costs.

Why can class-imbalance remedies cause an unacceptable spike in false positives in medical screening applications?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why can class-imbalance remedies cause an unacceptable spike in false positives in medical screening applications? Remedies here means the usual fixes for a rare positive class, such as oversampling, undersampling or class weights. ```hint Count the people Work through a screening population of 10,000 at a low disease prevalence and count how many of the flagged people are actually sick. ``` ```hint What rebalancing implies Ask what cost ratio between a missed case and a false alarm you are assuming when you train on a 50/50 rebalanced set and keep the 0.5 threshold. ``` ### What a Strong Answer Covers - Base-rate arithmetic showing why false positives can outnumber true cases at low prevalence, and what that does to precision (PPV) - How rebalancing or class weighting shifts the model's scores and the cost ratio it implies at the default threshold - The concrete harms of false positives in screening - Mitigations that set the decision rule from real prevalence and clinical costs ### Follow-up Questions - How would you convert scores from a model trained on 50/50 resampled data back to real-prevalence probabilities? - Why does PPV change from one hospital to another when sensitivity and specificity stay the same? - Clinicians give you a minimum sensitivity and a maximum number of follow-up exams per week. How do you pick the operating point? - How would you check that the model stays calibrated at a site with a different prevalence?

Overview: Asks why oversampling, undersampling or class weights can flood a medical screening model with false positives. Tests base-rate reasoning and precision at low prevalence, how rebalancing shifts scores and thresholds, and how to set an operating point from real clinical costs.

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

Why can class-imbalance remedies cause an unacceptable spike in false positives in medical screening applications?

Remedies here means the usual fixes for a rare positive class, such as oversampling, undersampling or class weights.

What a Strong Answer Covers Guidance

  • Base-rate arithmetic showing why false positives can outnumber true cases at low prevalence, and what that does to precision (PPV)
  • How rebalancing or class weighting shifts the model's scores and the cost ratio it implies at the default threshold
  • The concrete harms of false positives in screening
  • Mitigations that set the decision rule from real prevalence and clinical costs

Follow-up Questions Guidance

  • How would you convert scores from a model trained on 50/50 resampled data back to real-prevalence probabilities?
  • Why does PPV change from one hospital to another when sensitivity and specificity stay the same?
  • Clinicians give you a minimum sensitivity and a maximum number of follow-up exams per week. How do you pick the operating point?
  • How would you check that the model stays calibrated at a site with a different prevalence?