Why is a paired bootstrap more powerful than independent bootstrapping for model comparison?

Quick Overview

Asks why resampling the same test examples for both models gives a more powerful comparison than bootstrapping each model separately. Tests the variance of a difference, correlated model errors, correct paired resampling, and the limits of test-set bootstraps.

Why is a paired bootstrap more powerful than independent bootstrapping for model comparison?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why is a paired bootstrap more powerful than independent bootstrapping for model comparison? Assume two classifiers, A and B, are scored on the same test set, and you want a confidence interval for the difference in their metric. ```hint Variance of a difference Write the variance of a difference and compare what each resampling scheme keeps. ``` ```hint Same test set Think about how the two models' per-example results relate when both are scored on identical examples, some easy and some hard. ``` ### What a Strong Answer Covers - The variance of a difference between two metric estimates - How the two models' per-example results relate on a shared test set - How to implement the paired bootstrap correctly - Why checking whether individual intervals overlap is a weak test - What sources of variance the test-set bootstrap does and does not capture ### Follow-up Questions - When can you not use a paired bootstrap? - If the test set has several examples per user, how should you change the resampling? - Does a paired bootstrap over test examples account for variance across training seeds? - How does McNemar's test relate to a paired bootstrap of accuracy?

Overview: Asks why resampling the same test examples for both models gives a more powerful comparison than bootstrapping each model separately. Tests the variance of a difference, correlated model errors, correct paired resampling, and the limits of test-set bootstraps.

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

Why is a paired bootstrap more powerful than independent bootstrapping for model comparison?

Assume two classifiers, A and B, are scored on the same test set, and you want a confidence interval for the difference in their metric.

What a Strong Answer Covers Guidance

  • The variance of a difference between two metric estimates
  • How the two models' per-example results relate on a shared test set
  • How to implement the paired bootstrap correctly
  • Why checking whether individual intervals overlap is a weak test
  • What sources of variance the test-set bootstrap does and does not capture

Follow-up Questions Guidance

  • When can you not use a paired bootstrap?
  • If the test set has several examples per user, how should you change the resampling?
  • Does a paired bootstrap over test examples account for variance across training seeds?
  • How does McNemar's test relate to a paired bootstrap of accuracy?