Stop Evaluating Models Like It's the 50s - Alejandro Vidal, Mindmakers
AI Engineer · 23 min · 248 sentences · from YouTube's caption track
Each timecode opens YouTube at the start of that sentence. Line anchors (#s42) are the cue ids in the WebVTT, and every line carries its start and end seconds. All transcripts has every talk, and the whole corpus as one file.
- 00:02Hi everyone.
- 00:03I'm Alejandro Vidal, the founder of Mind Makers.
- 00:06And my background is psychology and computer science, which is kind of weird, but for today it's going to be extremely helpful because I'm going to show you how you can borrow ideas from psychology
- 00:16and psychometrics to improve the way that you are evaluating models right now.
- 00:21Because at this moment the state in the industry is counting the number of right answers.
- 00:27That actually has a name.
- 00:28It's classical test theory.
- 00:30And we have by far better tools to do that.
- 00:33So makes sense to borrow ideas from IQ tests and related stuff.
- 00:38So we can apply them to LLMs.
- 00:40Let me start with a very simple example here.
- 00:44Um we are using real data from epoch.ai.
- 00:47If you don't know them, their project is amazing and they have quite open data sets so you can actually use them.
- 00:54And here we have random selection of models with a real benchmark.
- 01:00As you can see here, we have an accuracy for each one of them.
- 01:03That's the current state of the art.
- 01:05So if we split each bar into different questions, each one of them is going to be a different question or a different item.
- 01:14I'm going to use item for um uh for for the same idea of question.
- 01:19In psychometrics we use item instead of question.
- 01:22Um if you sum all together, we are using a very strong assumption.
- 01:27We are saying that every question is equally important.
- 01:30They should weigh the same, which is kind of insane if you think about that.
- 01:34We have better questions, more complicated questions that may maybe we should pay more attention to.
- 01:42And also we we can have questions that are mislabeled or something like that.
- 01:46So we are going to improve this.
- 01:48Well, uh what we're going to do is we are going to use each item, each column here is going to be one item.
- 01:54And we're going to treat them as individual variables, okay?
- 01:58So, we are going to have this matrix here.
- 02:00As you can see here, uh on the top right corner, we have difficult questions for weaker models, and on the other side, we have very easy questions for strong models.
- 02:12So, makes sense that we observe this pattern, okay?
- 02:16But, we are going to estimate for each question, for each item, a difficulty level.
- 02:21That is going to be called B. The B parameter is going to be the difficulty of each one of them, and we're going to create a function for each question.
- 02:32That function maps the LLM intelligence, okay?
- 02:35To the probability of getting that answer right, okay?
- 02:40So, very easy items are going to be here, and extremely complicated items are going to be there.
- 02:46As you can see here, B is the point that uh crosses 50% chance in that curve, okay?
- 02:54Which is going to be useful later.
- 02:56Also, B is going to be distributed by a normal distribution, which is going to be also helpful to use that for interpretation, okay?
- 03:04So, with that in mind, we can actually estimate also theta.
- 03:09Theta is going to be the level of intelligence for each model.
- 03:13That's going to be that dot, that black dot.
- 03:15So, as you can see on the right side of each dot, mostly uh all of questions are going to be read, which makes sense if they they are extremely complicated or more complicated
- 03:27than the level of intelligence of that model, the model is going to fail them, okay?
- 03:32So, we are going to model that way.
- 03:34So, for example here, if I click on this button, I'm going to see that uh GPT 5.5 here is going to be able to answer that questions because GPT 5 has a theta value of
- 03:461.2, and the difficulty of that item is minus 1.2. So, the probability of the right answer is 99.
- 03:54Okay?
- 03:55So, with that in mind, what are we doing right here is actually calibrating each question, each item.
- 04:01So, we are going to improve a lot our estimations.
- 04:04We're going to improve also our confident intervals and many other properties.
- 04:08This The other thing that I want to explain here is theta and B is going to be a a pair of numbers that are distributed with normal distributions.
- 04:18So, we can actually interpret of them.
- 04:20For example, item of B equal zero means that is going to be average.
- 04:25Half of the um models in my data set are going to be able to answer that question 50% of the time.
- 04:33So, that's going to be extremely helpful because right now to evaluate benchmarks, we need that reference compared with other models.
- 04:41So, it's better to have one uh by default with this methodology.
- 04:46Actually, this model is called item response theory, which is the evolution of classical test theory.
- 04:53Okay?
- 04:54So, on top of that, I'm going to have another parameter.
- 04:57It's going to be the a slope, that discrimination of that item.
- 05:01So, high discrimination are going to have steeper functions.
- 05:06Also, we can have random functions, items that are not related with intelligence, which I don't want.
- 05:14But, something happens and even worse, we're going to have items that have negative correlation with the actual intelligence of the model.
- 05:22But, that keep that in mind because each item is going to be a difficulty level, B, and it's going to have a discrimination parameter here, A. So, last thing that you need to understand is how can we estimate
- 05:35the intelligence level of a given model if we have IRT modeling item response theory.
- 05:42We're going to actually um go by one by one for each uh question here.
- 05:48So, I'm going to plot here on top its item curve and below you are going to see the relative likelihood of theta.
- 05:55That's the estimation of the intelligence.
- 05:57So, as you can see here we are going to use all curves to combine them in one distribution.
- 06:03Over time, obviously with more questions we're going to have have a very better estimation.
- 06:08So, if we add all of them at the end, I'm going to have my final final estimation that is extremely nice to have a distribution here because I'm can have a likelihood interval.
- 06:20With with classical test theory is more complicated to be have.
- 06:25Okay?
- 06:25So, even with that with a sir scale with B and theta, even with the likelihood interval, if you think that this not this is not useful at all, let me show you one last example, okay?
- 06:40Again, this is real data.
- 06:42So, I'm going to compare two models.
- 06:44Here is going to be on the left side Cloud Opus 4.1, yeah?
- 06:51That has 245 right answers.
- 06:54On the other side we are going to have Gemini 3 Pro, which has 247, okay?
- 07:01So, as you can see the difference here is quite small for 337 questions.
- 07:08But if you use item response theory, you can see that the difference between all of them is almost one standard deviation.
- 07:14That means Gemini 3 Pro is by far more intelligent.
- 07:18Okay?
- 07:18Which makes sense because it's a uh later model, okay?
- 07:23So, as you can see, counting the number of right answers is is not a good approach because I can create benchmarks that are not calibrated and even if I get a lot of right answers,
- 07:35I'm not more intelligent than other models.
- 07:37That could happen, for example, if Gemini is able to answer by far harder questions uh if uh Claude is able to answer more of them, maybe Claude was able to answer only the easiest one.
- 07:51So, the theta levels should be different.
- 07:53Okay, that's the that's actually what happens with IRT.
- 07:56You have better estimations, you have more parameters to define each item, which is going to be helpful later, and also you have, as you can see here, likelihood intervals.
- 08:06So, on top of everything, I'm going to show you a few applications that you can use with IRT.
- 08:14And I hope that you find them interesting.
- 08:19Okay, so the first application is going to be one of my favorite ones, actually, because you can apply this with one of the skills that I'm going to show.
- 08:29It's going to take a few minutes if you have the data.
- 08:32And [clears throat] you can actually uh pick the best items, the best questions on your benchmark, and remove the other ones that aren't working or even fix them.
- 08:41Okay, so we can audit our benchmark.
- 08:44So, remember that we have two numbers that represents each item, each question.
- 08:48We have B, difficulty, and A, which is the slope or the discrimination of the item.
- 08:53On the right side here, we have very good items, very informative ones.
- 08:58Here, close to zero, we have kind of noisy with little signal.
- 09:02And on the other side, we have items that we don't like at all, negative items.
- 09:06Here, for example, you can see that we have items that correlates uh the other way around, that better models are actually getting that answer wrong, which makes no sense.
- 09:18So, we can use this to actually find items that are significantly below zero, and we can actually flag them.
- 09:26With that, I'm going to use another LLM to actually evaluate them.
- 09:31So, here you can see two items that I detect with that technique.
- 09:35The first one is actually I don't I don't know the answer.
- 09:37I ask ChatGPT.
- 09:40And apparently the gold answer, the answer that is on the benchmark, is not right one.
- 09:44Okay?
- 09:45So, this is okay.
- 09:46But the next example is by far more interesting for me because the answer is kind of right.
- 09:51So, it's something that a lot of people can miss.
- 09:54So, here he's asking, "What is the total number of passengers?"
- 09:58The gold answer, the answer that is on the benchmark, is 583, which is the total people killed passengers plus crew.
- 10:07But the right answer, if you pay attention, I'm asking only about passengers, which is another number.
- 10:12So, again, with a very little effort, if you have the data set, you can actually find items that are mislabeled.
- 10:19This is the most common thing.
- 10:20But sometimes they are not mislabeled, they are like bad items.
- 10:24So, you should remove them or even improve them.
- 10:28This second application for me is amazing.
- 10:30It saves a lot of time, a lot of tokens, and therefore a lot of money.
- 10:35Okay?
- 10:36So, um it's quite common for organizations to have their own benchmarks to evaluate which model is better for them.
- 10:43Especially with open source models.
- 10:45With that in mind, it's quite important to reduce the size of the benchmark to find the optimal size of the benchmark.
- 10:52Before we couldn't do that because we didn't have any property of the item.
- 10:56But right now, with item response theory, we can actually pick the best items.
- 11:01Okay?
- 11:02So, this is a simplification, but we're going to say that items with high levels of discrimination are going to be the best ones.
- 11:10Okay?
- 11:11With that in mind, I can do this.
- 11:13So, again, real benchmarks with real data.
- 11:18Uh for for this benchmark, I'm going to target a 99% correlation with the original ranking.
- 11:25So, it's going to be like almost perfect for many use cases.
- 11:30And what are we going to do speak one by one starting with the best item, the item with the highest A. So, with that methodology in mind, we're going to get that around 97 items compared with 484.
- 11:46That's almost 5x.
- 11:49We are going to have the same ranking than before or almost the same ranking as before.
- 11:54To be fair, I tried to do the same thing but randomly.
- 11:58So, if you pick items by random, you're going to observe uh by far worse performance.
- 12:05So, it's extremely helpful.
- 12:07Maybe this is kind of uh weird for you because uh if we can evaluate items with by far less questions, why are actually using all the benchmark?
- 12:19So, and the answer for that is that we are not used to calibrate benchmarks.
- 12:23We are like assuming that more questions uh means better estimation, which is not true.
- 12:29For example, I can have two questions that kind of overlap.
- 12:33Their curves are are more or less the same.
- 12:36So, even if I ask two of them, I'm going to get more or less the same information about your intelligence, okay?
- 12:42And also, there are a few items that you can notice that they are not extremely informative.
- 12:47They don't correlate with actual intelligence.
- 12:50So, you can reduce them or use them less.
- 12:53I'm not saying that you should remove uh like the the the rest of the data set, but you can use this for another application that we are going to talk
- 13:02that you can use a subset of items each time that you apply the benchmark, which is going to be extremely useful.
- 13:09But uh be careful because that uh this does not happen on every benchmark, okay?
- 13:14So, for example, GPQA, which is a extremely well-designed uh data set, the benchmark here, as you can see, even if you pick at random, you're going to get more or less the same result.
- 13:26And the reason for that is that every item here is extremely discrim- discriminative and also they don't overlap.
- 13:33So, they are all of them are useful at every time along the benchmark, okay?
- 13:40So, now given that we have for each item one function, we can also calculate the error, the unexpected behavior, the outliers for each question, which is going to be amazing for many applications.
- 13:54We can actually find out if we are leaking information, if we are overfitting with the benchmark, and other kinds of contaminations.
- 14:02So, let me go back to the matrix that we started with.
- 14:06[clears throat]
- 14:06And as you can see, every question is going to have the estimation and the actual answer.
- 14:12And that's good because we can observe a few outliers here.
- 14:17For example, the minute three pro should be able to answer that question.
- 14:20Actually, our model says that 80 size 86% of the times Gemini should be able to answer that.
- 14:28But even with that, uh that question is wrong.
- 14:33I cannot say why, but I can actually detect those outliers, those weird patterns, okay?
- 14:40And with that in mind, we can actually calculate the residuals, the error for that specific question, which is going to be a useful for different applications that I'm going to explain later.
- 14:51The other way around, we can actually see here that for example, deep seek R1 is having here a right answer even if it's not expected, okay?
- 15:01Again, that does not mean that uh we are overfitting or anything.
- 15:06Actually, we can sample the same question more than once, so we can average them together and maybe with that we can like resolve that outlier.
- 15:14But in any case, we have a new tool that we can use to analyze the data.
- 15:20On top of that, actually in psychometrics, we have a few techniques to see if the behavior is consistent, if that makes sense, okay?
- 15:29So, for example, here, I can observe that O4Minnie is the less consistent one.
- 15:35You can see that has a lot of red uh a lot of green questions here in the middle, which makes no sense.
- 15:44So, you should be able to use that that to, for example, detect if your inference platform is not working well.
- 15:51Because uh if your for whatever reason your inference platform is not actually running the models or the quantization is actually wrong, you're going to observe things like that, behaviors that are not expected,
- 16:03okay?
- 16:03Should be consistent.
- 16:04It's this matrix is not perfect, it's going to have noise, but we should be able to more or less estimate a level of intelligence given that we can predict more or less
- 16:14what questions are you going to get right at what question are you getting it are you going to get it wrong.
- 16:20Okay?
- 16:21Again, residuals are going to be extremely helpful for the next application.
- 16:25But only with this, I think you can actually look at the data in other [clears throat] way.
- 16:32Okay.
- 16:33So, let's say that you are building a benchmark, a very complicated one, very expensive one.
- 16:39So, you don't want that benchmark to be leaked on the internet.
- 16:43Neither you want other organizations to train their models with that benchmark, okay?
- 16:47Because it's extremely valuable and if you can't protect that benchmark over time, it's going to be more valuable.
- 16:54So, with that in mind, we can actually use what we call adaptive testing, okay?
- 17:00What is that?
- 17:01I'm going to pick a random set uh of items that are going to be representative of my benchmark, and I'm going to call that an anchor set.
- 17:09An anchor set should be representative of my entire benchmark, and I'm going to use those items with every applicant, with every model from any organization that I'm working with.
- 17:21But for every organization, I'm going to pick uh one individual set.
- 17:26I'm going to call that fingerprint set that I'm going to show only to that specific organization.
- 17:33And I can do also the same thing with another one.
- 17:37Pay attention to this because it's important that I pick extremely complicated items from my benchmark for those fingerprint sets.
- 17:46Over time, let's say a few months later, uh every organization is releasing their new models, and I'm going to observe I'm going to like run the benchmarks again, and I'm going to use residuals
- 17:58to uh see if those models are extremely good at those specific questions.
- 18:04So here, this is a synthetic data set.
- 18:06You can see that the average residual for that organization for that a specific fingerprint set is extremely unlikely.
- 18:17So this is not bulletproof, but this is a extremely good technique that you can use to protect your benchmarks.
- 18:24As you can see here, the average residuals for one organization is by far bigger than the other one.
- 18:31In psychology, it's really important to find out if one of our items are actually biased against one specific group.
- 18:39We can use the same techniques to research how models behave with items.
- 18:44So I'm going to show you that with one example.
- 18:46I'm going to split the data set in two groups.
- 18:48In this case, I'm going to use open weights and closed weights.
- 18:52You can use whatever variable that is interesting for you, and even you can create more than one group.
- 18:59After that, I'm going to for each item create two different curves for each group.
- 19:06And what we expect if the item is unbiased is that both lines are kind of overlapping.
- 19:14If not, we are going to calculate this difference, the gap between those ones, and that difference should be zero or close to zero.
- 19:23In this case, we can detect we can apply that technique to all items on my benchmark, and actually we can find out that there are few items that are better for closed weight of models and better for open weights models.
- 19:36I'm not going to show the items because I don't want to leak them on the internet, but if you apply this technique to a real benchmark, you can actually notice a few patterns there.
- 19:47There are a set of questions that have something in common that are better for open weight models.
- 19:53I cannot pinpoint the real reason for that, but I can say that this technique could be used to understand how they train their models.
- 20:02The last application that I'm going to show you is kind of interesting.
- 20:06It's the most complicated one, but in a way is the most interesting one.
- 20:10So, I'm going to use the residuals to actually have a DNA, a fingerprint for models, and the idea is that we can actually look at them and see if two different models are related somehow, okay?
- 20:25So, I'm going to make a correlation matrix here, and also I'm going to make a super simple projection.
- 20:31So, the first thing that you can notice is that there are a few models that are extremely close here, that they are from the same lab, and also they have the same history there.
- 20:41Like different versions for the same model.
- 20:44Also here, you can observe we have Deep Seek, different distillation of Deep Six.
- 20:49We have also Queen.
- 20:52So, we can observe some kind of patterns there.
- 20:55It makes sense because if a model has a similar history with other model, we can expect the same kind kind of errors, okay?
- 21:04And let Let you a few examples.
- 21:06The first one is going to be this one.
- 21:08Uh if we have two models that have the same base, we expect high correlations between them.
- 21:14In this case, we have .38, okay?
- 21:19Also, we can observe that between distillations and its base model, which could be extremely interesting if you want to detect distillation of your model uh without consent.
- 21:31Also, we can detect detect the same model with different effort levels, which makes sense because it's almost the same thing.
- 21:39And also, we can say uh we can actually detect if we have different versions or evolution of the same model.
- 21:46Here, we have Llama, but also work with Gemini here, okay?
- 21:51So, again, this is not as useful as others for day-to-day, but I think this opens an area of research to understand how models are related with each other and even detect distillations.
- 22:06I really hope that you find inspiring this talk.
- 22:09My goal here was to open the gates of uh psychometrical research for LLMs.
- 22:17I think we can improve a lot how we benchmark LLMs with very basic maths here.
- 22:24But there are a lot of uh ideas that you should explore because I didn't have time.
- 22:29The first one is multidimensionality and hierarchical models.
- 22:32I'm expecting if we apply them to LLMs to see different skill levels for different kind of task.
- 22:40Also, we can merge different benchmarks to improve the estimation of each one of them.
- 22:45Makes sense if you have IRT.
- 22:47And also, this has been done in a in a research paper called Meta-Benchmark that I highly recommend you to read.
- 22:55Also, we can add another signal that we think correlates with intelligence, for example, latency or tokens.
- 23:01And another very promising idea is to use psychometrical models to actually measure alignment and use that for also interpretability.
- 23:12I think mechanistic interpretability could help a lot psychometrics here.
- 23:18I'm working on all those areas.
- 23:20If you are working on them or you have any idea or you need help to apply them to your benchmark, let me know.
- 23:26Thank you for your time and here you have all the materials, skills, and benchmarks so you can play around with them.