Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Human Feedback at Scale

Free · sign in to start and track progress

1 · Human judgement at scale

  • 1Designing human evaluations
  • 2Agreement and disagreement among many raters
  • 3Pairwise preferences and rankings

2 · Signals from real use

  • 4Feedback from users
  • 5Understanding usage at scale, privately

3 · Closing the loop with few labels

  • 6Estimating quality from few labels

    Exercise answers

    • Answer: Check PPI's intervals against known ground truth
    • Answer: Active sampling with inverse-probability weights
  • 7Review queues and the dataset loop
CapstoneBuild a feedback system for a support assistantReference implementation

Module 3 · Closing the loop with few labels · Lesson 6

Estimating quality from few labels

Spend a small human-labelling budget where it counts, combine a judge's verdicts on all traffic with those labels to get an unbiased quality estimate with an honest interval, and know how many labels the judge can really save.

80 min 1 video 3 exercises 8-question quiz Answers
Setup for the exercises:Install Claude CodePython with uv

By the end of this lesson you can

  • Design stratified and importance-weighted review samples and compute unbiased estimates from them with inverse-probability weights
  • Compute a prediction-powered estimate and 95% interval from judge verdicts on all items plus human labels on a random subset, and compare it with human-only and Rogan–Gladen estimates
  • Explain power tuning (PPI++) and compute how many human-only labels a judge-assisted sample is worth from the judge–human correlation
  • Explain when uncertainty-driven (active) sampling reduces the labels needed, and why it must be reweighted
  • Use the factor-of-two limit to set a realistic labelling budget when the judge is no more accurate than the system it grades

On this page

  • A cheap scale and a reference weight
  • Choosing which conversations to label
  • The baseline: a simple random sample
  • Stratify when you know the groups up front
  • Inverse-probability weights in general
  • Prediction-powered inference
  • The estimator
  • Worked example: one week at Quillmoor
  • Power tuning: PPI++
  • How it compares
  • Strata and active sampling
  • Stratified PPI
  • Active sampling
  • How many labels can a judge save?
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01A cheap scale and a reference weight
  2. 02Choosing which conversations to label
  3. 03Prediction-powered inference
  4. 04Strata and active sampling
  5. 05How many labels can a judge save?
  6. 06Connections
  7. 07Summary

Sources & further reading

  • Prediction-Powered InferencePaper · Anastasios N. Angelopoulos, Stephen Bates, Clara Fannjiang, Michael I. Jordan, Tijana Zrnic · 2023The seminal paper (Science). Section 2 gives the mean estimator and its interval used in this lesson; the rest extends the same rectifier idea to quantiles and regression coefficients.
  • PPI++: Efficient Prediction-Powered InferencePaper · Anastasios N. Angelopoulos, John C. Duchi, Tijana Zrnic · 2023Power tuning: the λ that blends the human-only and prediction-powered estimates so the result is never worse than using the labels alone (asymptotically). Read the introduction and the mean-estimation example.
  • Limits to scalable evaluation at the frontier: LLM as Judge won't beat twice the dataPaper · Florian E. Dorner, Vivian Y. Nastl, Moritz Hardt · 2025ICLR 2025. Shows that no unbiased method with uniformly sampled labels beats a factor of 1/(1 − ρ²), and that when the judge is no more accurate than the evaluated model this factor is at most two. Read Section 3 and the discussion.
  • Stratified Prediction-Powered Inference for Hybrid Language Model EvaluationPaper · Adam Fisch, Joshua Maynez, R. Alex Hofer, Bhuwan Dhingra, Amir Globerson, William W. Cohen · 2024From Google: PPI within strata, and why allocation matters when the autorater's accuracy varies across parts of the data.
  • Active Statistical InferencePaper · Tijana Zrnic, Emmanuel J. Candès · 2024ICML 2024. Label where the model is uncertain, weight by the inverse labelling probability, and keep a valid interval. Section 2 has the estimator and the square-root sampling rule; the survey example saves about a quarter of the labels compared with uniform PPI.
  • AutoEval Done Right: Using Synthetic Data for Model EvaluationPaper · Pierre Boyeau, Anastasios N. Angelopoulos, Nir Yosef, Jitendra Malik, Michael I. Jordan · 2024PPI applied to model evaluation, the setting of this lesson: an AI rater on everything plus a few human labels.
  • ppi_py: prediction-powered inference in PythonDocsThe reference implementation (pip install ppi-python). Its interval functions default to alpha=0.1, a 90% interval: pass alpha=0.05 for 95%.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 7 more sections
  • 3 hands-on exercises
  • A 8-question quiz
  • Progress, quiz scores and bookmarks