Alignment Robustness and Distribution Shift › Why an Alignment Score Is Not a Guarantee

Michael BrenndoerferNovember 29, 20263 min read
Language AI HandbookAll chapters
Part 38 of 67Scalable Oversight and Safety Training
Chapter 292Alignment Robustness and Distribution Shift › Why an Alignment Score Is Not a Guarantee
Reading section 2 of 11 · Why an Alignment Score Is Not a Guarantee · 3 minSection 2 of 11 · 3 min

Section 2 of 11 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

For a mean of per-item scores, first divide the evaluation set into non-overlapping slices that cover every item. Each slice gets its share of the full set as a weight. The evaluation average is the weighted sum of those slice means. Reweighting can move the average even when the predictions stay fixed. When all conditional means are equal, changing the weights leaves the average unchanged. In WILDS, Koh et al. found that with standard training, out-of-distribution performance was lower than in-distribution performance on each of their ten benchmark datasets. That result motivates measuring a deployment shift directly.

With an easy slice carrying most of the weight, a gain there can offset a loss on a rare slice. The same predictions can therefore support different overall scores under different weighting rules.

A conditional score can also fall while the marginal score barely moves. If a degraded slice has little weight, its effect on the marginal is small. An improvement in another slice can offset it. To see both effects, keep four pieces of the report together.

  • Marginal metrics, averaged over the full mixture. Report the mixture beside the marginal so readers can assess whether it represents deployment.
  • Conditional metrics, computed within each slice with that slice's own denominator. These show whether the model behaves consistently across the populations served in deployment.
  • Slice weights, so the reader can reconnect conditional results to the marginal number. Without the weights, a reader cannot tell whether a slice's result drives the headline number or is merely a footnote.
  • Uncertainty, with a method appropriate to the observation and sampling design. Match the bootstrap to how the sample was collected. Pooled resampling fits independent draws from a common population. If the design fixes the number of items per stratum, resample within strata and preserve their allocation. When clusters are the independent sampling units, retain each cluster's observations together. A binomial interval corresponds to a binomial sampling model.

Consider an evaluation with 70% common requests and 30% edge cases. Hold both conditional accuracies fixed and suppose accuracy on edge cases is lower. Then increasing the edge-case share lowers the deployment marginal. The old benchmark can remain accurate for its own distribution.

The slice weights can also hold steady while the contents change. A customer-support slice that mostly held short questions during evaluation might contain longer, more ambiguous questions in deployment. Compare the conditional accuracy and the kinds of items within the slice before carrying old rates into a new setting.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy