Save this video free

Mathematical Foundations of AI Alignment, Lecture 13 (Hallucination and Calibration)

Aaron Roth · 1:28:55 · Watch on YouTube

Part of University of Pennsylvania CIS 7000. See all 23 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Aaron Roth models factual hallucination using independent, arbitrary facts: each prompt has one correct answer among K+1 possibilities, and training data contains only correct answers but may leave substantial missing mass. He proves that hallucination rate plus a coarse calibration discrepancy is at least missing mass minus 2/K; because maximum-likelihood training favors calibration, it can favor hallucination over abstention when the model has not seen many prompts. He closes with the Good-Turing singleton estimator, which estimates missing mass from the fraction of training observations seen exactly once, with bias at most 1/n for a sample of size n.

Key takeaways

Chapters

0:00 Calibration, Distribution Matching, and Hallucination
4:00 Why Independent Factoids Cannot Be Deduced
8:32 The K+1-Answer Prior and Missing Mass
10:00 The Error Floor When a Model Must Always Guess
14:00 Abstention Makes Zero Hallucination Possible
18:02 Defining Nature’s Distribution and Hallucination Rate
25:00 Why Guessing and Abstaining Behave Differently
27:00 Semantic Calibration as Matching Confidence-Level Mass
32:00 The Guesser Is Calibrated; the Abstainer Is Not
36:34 A Two-Level Calibration Test and the Tradeoff Theorem
41:31 Reducing the Tradeoff to a Binary Classification Problem
47:06 Turning the Generator into a Confidence-Threshold Classifier
50:55 Bounding Classifier Errors by Hallucinations and Calibration
1:07:42 Why Likelihood Training Favors Calibration
1:10:18 Rescaling High-Confidence Answers Changes Log-Likelihood
1:19:29 Estimating Missing Mass with the Good-Turing Method
1:27:44 Lecture Takeaway: Missing Facts Make Calibration Costly

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:02 Last few lectures we've been studying uh things related in various ways to calibration. For example, last lecture we talked about calibration condition cover something like Oman's agreement theorem. Um and the the mechanism through which we used calibration to to argue for best agreement was we sort of noticed that if there are calibration errors then by fixing them we reduce the error of our model. We reduce squared error and then just that can't happen very [clears throat] many times. Same reason like when you train a model to match some distribution um it will naturally

0:53 tend towards calibration in the sense that if there are any defects of calibration that are fixable within the sort of parameterization of the model, it will fix them because that will reduce error. That's the thing you're trying to get it to do. And today we're gonna sort of think about what that can tell us about why we might expect um models that you haven't specifically like intervened on to correct this issue to uh hallucinate to sort of confidently state incorrect answers rather than [clears throat] rather than just saying for example I don't So like we're going to study a really

1:40 simple model. Um but we're going to like try to understand why when we sort of train a model to fit a distribution. Um and you know in our stylized setting the the sort of training data will consist of facts. You know we'll see what that means. But like there are no like one you know one simple reason why you could sort of blame your model for saying wrong things is you might say well you know there are instances in the training data where the training data says the wrong things. It's just correctly learning the

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Aaron Roth.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.