LearnQuestion bank

A new model improves the overall benchmark, but you suspect it is worse on rare safety-critical scenarios. How do you find out with confidence?

ResearchTechnicalHard

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Curate rare-scenario slices from failure logs, safety taxonomy, and domain experts, kept separate from the headline benchmark.
  • Report per-slice metrics with binomial CIs for pass/fail or bootstrap CIs for continuous measures.
  • Compare old vs new on the same scenarios with paired analysis, not aggregate scores.
  • Run a power analysis to size the eval set for the smallest safety regression worth detecting (2% → 4% needs ≈1,141 cases per model unpaired; 0 failures in n gives ≈3/n upper bound).
  • Add targeted simulation stress tests for rare, high-impact, and adversarial cases.
  • Gate release on worst-slice performance: lower CI bound above threshold plus explicit sign-off.

In full

I would not trust the aggregate benchmark; I would build curated rare-scenario slices from failure logs, safety taxonomy, and domain experts, then evaluate both models on the same scenarios so the comparison is paired. For each slice I would report the relevant metric with a binomial confidence interval for pass/fail or a bootstrap interval for continuous measures, and I would run a power analysis using the observed rare-slice failure rate and the smallest regression I care about to decide how many examples are needed.

Zero failures in n cases: 95% upper bound on the failure rate ≈ 3/n (rule of three) n = 300 → 3/300 = 1%; claiming a failure rate below 0.1% needs about 3,000 clean cases Detecting a rise from 2% to 4% failures (two-sided α = 0.05, power 0.8, independent samples): p̄ = 0.03 n = [1.96·√(2·0.03·0.97) + 0.84·√(0.02·0.98 + 0.04·0.96)]² / (0.04 − 0.02)² = [1.96·0.2412 + 0.84·0.2408]² / 0.0004 = [0.4728 + 0.2027]² / 0.0004 = 0.4563 / 0.0004 ≈ 1,141 scenarios per model a paired design on the same scenarios usually needs fewer, depending on how often the models disagree

I would also add targeted simulation stress tests for rare, high-impact, and adversarial cases rather than relying only on historical data. The release gate would be worst-slice performance, not average performance: the lower confidence bound for the worst slice must stay above an agreed threshold, with explicit sign-off before rollout. If the rare slices are too small to give tight intervals, I would say so and treat the result as inconclusive rather than claiming the model is safe.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Curated rare-scenario slices.
  • Per-slice metrics with binomial or bootstrap confidence intervals.
  • Paired comparison on the same scenarios.
  • A power analysis: how many examples are needed.
  • Targeted stress tests in simulation.
  • Release gates on worst-slice performance.

Common mistakes

  • Eyeballing a handful of cases.
  • No reasoning about statistical power.