KatInterview

Debiasing Crowd Ratings with a Hierarchical Rater Model

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentshierarchical-modelbayesianrater-bias

Last updated

Build a latent-quality estimator for ads scored by uncalibrated reviewers, quantify uncertainty, and rank by a confidence-adjusted score.

Context

You run an ad-quality ranking pipeline. A pool of about 100 human reviewers each scored roughly 100 ads on a 1–10 scale, producing around 10,000 ratings spread over roughly 1,000 ads (so ~10 ratings per ad on average, and the rating matrix is sparse). Reviewers are not calibrated against each other: some are systematically harsh or lenient (shifted means), some use only a narrow band of the scale (compressed range), and some are simply erratic (high noise). Because of this, the plain average of an ad's raw scores is a biased estimate of its true quality.

Your Task

  1. Specify a statistical model that separates each ad's latent quality from each reviewer's additive bias, multiplicative scale/sensitivity, and noise level.
  2. Explain how you compute the uncertainty of each ad's estimated quality, paying special attention to ads with few or mutually inconsistent ratings.
  3. Define a single ranking score per ad that trades off estimated quality against confidence in that estimate.

Input / Output

  • Input: a ratings table with columns [ad_id, reviewer_id, score].
  • Output: a function Q(ad_id) returning a de-biased, confidence-adjusted quality score usable for ranking.

Constraints and Edge Cases

  • Treat reviewer harshness as an additive shift and reviewer range as a multiplicative factor on quality.
  • Handle sparsity and low-count ads gracefully (no divide-by-zero, sensible fallback).
  • Handle the identifiability problem: the model must be pinned down so quality, bias, and scale are separately estimable.
  • Prefer a principled probabilistic estimator over hand-tuned per-reviewer re-weighting.
  • Be explicit about what happens when the ad–reviewer graph is disconnected (a cluster of ads rated only by its own cluster of reviewers).

Hints

Hint 1

Write down a generative equation for the observed score with three separate terms: a global level, a reviewer shift, and a reviewer-scaled version of the ad's latent quality.

Hint 2

Adding a prior on the latent quality (e.g. standard normal) is what produces shrinkage and also resolves the scale/shift ambiguity between quality and reviewer parameters.

Hint 3

Conditioning on reviewer parameters gives a closed-form Gaussian posterior for each ad; its precision grows with the number and informativeness of its ratings, and that precision is exactly the uncertainty you need.

Hint 4

For ranking, a lower credible bound (posterior mean minus ~2 posterior SDs) naturally demotes ads with thin or noisy evidence.