# Workshop 23965

- Kind: Workshop
- Talk page and recording: https://iclr.cc/virtual/2025/workshop/23965

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Thank you.

Welcome everyone. Welcome to our workshop. So this workshop starting now will be going on until 6 p.m. And I'm really excited about the topic of the workshop. This is on essentially uncertainty and hallucination in large models that we've been hearing a lot of exciting things and we're quite excited about
the different components of the workshop, starting from the uh four invited talks that I will mention more um later. We will also have four papers presented as spotlights. These are some of the papers that we thought and selected based on the reviews and
The organiser's idea of having some papers uh specially highlighted and then we will ha also have three poster sessions um for the poster sessions the I_C_L_R_ chairs mentioned that you should exclusively use their blue tape that is right here on the front.
Um and essentially you can find any space for the posters here. And please please when you use these blue uh tape just bring it back so other people can use it. Um so here you can see the um schedule for the whole day. We will be starting straight up with two invited talks. Um here you can see the list of invited speakers. We have some very distinguished
with speakers on topics that range in the whole theme of the workshop and I'm really excited to see what insights they're willing to share. Um again um once more um emphasised here the tape, please please use the one provided here in the blue uh like the blue tape. And of course um something um quite obvious, but emphasising once more, I see a lot of code of conduct
contact is applicable throughout the workshop. This is part of I_C_L_R_ so please be very respectful and uh welcoming to people who have made contributions. Um and this effort could not have been possible without the rest of the team.
Um so for everyone um I'm Grigoris and I'm assistant professor in University of Madison and this workshop is organised along with many wonderful colleagues, uh Sharon also from Madison here, Stephen, Barbara, Anastasios and T_M_T_ Um together we have been uh thinking a lot about these topics from diverse perspectives, and I should mention that it's not only us thinking, there are many other
other uh people some of you that are thinking and hopefully have made great contributions. And I should also mention that um layer six, which is a startup made a very nice uh contribution towards the awards, right. So the papers we will announce in the end of the workshop two papers that will obtain the awards and layer six will be providing some monetary gift
gifts for these um um two papers. And last but not least uh you can find all of the information I just mentioned in the site and hopefully using this uh QR code. And with that I'm very excited to um start with the uh regular workshop uh session. Before that, uh is there any quick question?
Again, I guess uh for those of you that are um authors and have contributed papers, uh the tape is here and you can use the walls for the posters. I think we have in the morning um the first poster session and we do have also time for the setup.
Um roughly there will be I think forty five papers that will be presented, so you're v uh very welcome to walk around and see what people have contributed and um if there are no other questions
Okay, awesome. So it is my absolute pleasure to introduce, I guess, Yishong Wei, who is the general chair of this conference. So we are very, very thankful that he took the time to present in this workshop. He's also, I think, in his free time a professor in Caltech.
So uh yeah I'm very excited to hear what Yi Song has to say and with that I think I'm going to pass the mic uh literally to Yi Song. Thank you very much for coming, looking forward to the discussions.
Okay. Thanks to the workshop organizers for inviting me. It is, I would just say as a personal, on a personal note, it is extremely difficult to general chair a conference and prepare for a workshop talk at the same time. But I
I think I did a good job. If I did not, you can use your own personal internal model of uncertainty quantification to imagine a much better version of the talk than the one I'm about to give. But nonetheless, I hope that this leaves you all with perhaps more questions than answers. I think we're in a very crazy time in some ways in this field, and I want to share some of my...
experiences over the last several years in AI for robust decision-making that includes increasingly now in my research portfolio dealing with large language models and foundation models but actually spans a much broader range of perspectives which I hope to share with you today. So we want to deploy AI everywhere and I would say that the moment that this became extremely real for me personally was with autonomous driving.
It is more than just an AI system, but a big part of it is an AI system that is on a 2,000-pound robot that if it does something bad, if it hallucinates some behavior that doesn't exist and it makes a decision based on that hallucination, it could cause a lot of harm.
And so I actually spent two years on sabbatical. In the autonomous driving industry, I helped develop neural networks that were deployed on public roads, and it was a daunting experience.
Prior to joining the autonomous driving, I actually did a different form of autonomous driving. I collaborated with NASA and JPL to develop deep neural networks for space assets such as the Mars Curiosity and Perseverance rovers. In some ways, this is much easier than autonomous driving urban roads. The entire world is static. It's only rocks and cliffs and things you need to avoid. All the way, it's much harder, of course, because you can't really make a mistake. It's a $2 billion asset. If you break this thing, no one's going to go to Mars and fix it.
So my other collaborators that I've been talking about or talking to, they work on domains such as smart infrastructure. This is an example of an energy grid, of a smart energy grid, which has to balance an extremely complex set of inputs and outputs and requirements in order to provide high quality service. So on the one hand, we have high variability in renewables such as wind and solar, which of course we want to exploit to the extent possible.
But for people who have actually worked on smart infrastructure, you know that many safety critical systems depend on it, your hospital network being one of them, right? So if your smart grid goes down and someone's having surgery.

grid goes down and someone's having surgery and the hospital doesn't have power that's a life-threatening situation so there needs to be a minimum performance requirement on these smart infrastructures in addition to having all the efficiency and intelligence that comes with with AI
I do a lot of collaborations with researchers at Caltech in the biomedical space. We're using AI to do much more effective high-dimensional spatial analysis in domains such as next-generation imaging for things like cancer. These are also domains where it isn't really important to get the answer right because they inform downstream decision-making by the clinician.
And nonetheless, we want to exploit the power of AI in order to make these types of decisions much more effectively in a matter of maybe minutes rather than hours or days, potentially. And finally, of course, maybe perhaps one of the reasons why we're all here today in this workshop, large language models have
offered just a new avenue opened new doors about what is possible i've been personally involved just a quick shout out at a startup called a sorry ai we're building ai agents for complex decision making and engineering design but more broadly what's happening here is that you have an ai agent that has an extremely broad and high dimensional action space which is in this case just code just a variation of text which is code
And you can use this to create tools and systems that can be deployed in really high stakes infrastructural decisions such as in healthcare, banking, cybersecurity, and legal areas. And it's extremely important that these AI systems are making decisions such as writing code that is
Correct satisfies specification requirements and of course its performance. So these are just the range of applications that I think about in my various collaborations both within academia and industry and I want to use this to throw ground some of the questions I've been asking and offer maybe a few partial solutions but maybe just raise more questions than answers at the moment.
So just to dive one layer deeper, this is an example of a challenge that pertains to sequential decisions. So on the scenario you have an autonomous driving vehicle which is the green vehicle and you have two other vehicles and you want to make a decision ultimately should I queue behind the current vehicle or maybe try to do some maneuverings because I want to optimize for maybe travel time. This is...
A simple problem, it happens all the time in various autonomous driving scenarios from Tesla to Waymo to what have you. Essentially what happens in this type of situation is that your stack is, your AI or autonomy stack is divided into three big components. The first is perception where you take inputs like camera and lidar from the world and you do some type of state estimation. After that you do some kind of world modeling, forecasting the future behaviors of the other agents on the road.
And then you use that as an internal simulator of source to do decision making. Okay. And then you make a decision. And the challenge here is that you can use, of course, foundation models AI systems that look increasingly like foundation models over time in all three parts of this stack. So these models are basically trained once and then queried over and over and over again in a wide range of scenarios.
And the issue, of course, is that you're making not just a single decision. You're making a sequence of decisions. A perception error you have at time step one can have downstream consequences at time step 10 or time step 20. The joke I like to make in this field is like you have a perception system in a self-driving car that realizes in 500 milliseconds because it's like a ResNet 5000 that you should have hit the emergency brake 300 milliseconds ago.
Okay, in other cases you want explicit performance guarantees. This happens a lot in areas like smart infrastructure where that field is really raised on the foundations of operations research and you really want performance guarantees in your smart infrastructure. So a lot of this is informed by my collaborations with two Caltech professors, Stephen Lowe and Adam Weirman. So this is an example of a battery storage.
large system facility. And, you know, there's things like electricity prices over time, you know, you may want to charge the battery, you know, in the times of low prices and then sell in the times of high prices. You know, you need to forecast this because, you know, the charging may also depend on, you know, the availability of renewables like solar. And of course, you want to maintain some sort of minimum guarantee in the overall infrastructure. Otherwise, some of the other issues that I described may come to pass.
This is an example in biomedical imaging. So these are sort of the emerging imaging modalities for things like cancer research where this is basically what's called spatial transcriptomics. I won't go into the details. This work is by my colleague at Caltech in biology, David Van Valen. And maybe the key characteristic I want to point out in this application is that it's extremely...
spatially dense. We're not making like a regret, it's not regression, it's not like multi-class classification with 10 classes. It actually can be millions of pixels. And we want to sort of pick out all the cancer cells pixel by pixel potentially in this really high resolution image that could have 40, 50, 60 channels because it's not RGB camera.
Okay. And finally, the final motivating application that I've been thinking about is optimizing complex workflows. And this is where AI agents can provide a lot of value in terms of LLM coders. This is again a collaboration with David M. Valen and also Jennifer Sun, who's a new assistant professor at Cornell, and our superstar student, Julie, who has been leading this effort.
And so here, this is an actual example. This is an actual example of one channel of a biomedical imaging modality. It's extremely noisy, and you want to pick out the spots in this channel because they correspond to some sort of biomarker, either a certain gene expression value or something in this.
image which has been cropped the actual images can be much larger and then use this for lots of downstream analyses such as for example analyzing the trajectory of growth of cancer in this tissue over time and you may decide that okay in this workflow I want to basically optimize this workflow to maximize the signal to noise ratio of this entire analysis and an AI agent can potentially do this and here's just one example that is a preliminary result in an ongoing work this is this is just the preprocessing step for now
And so this is the preprocessing stuff code that I'm sorry, it's a little bit hard to read. I'll just point out the interesting parts that a human expert, a biomedical researcher spent a long time writing themselves.
And on the right is the pre-processing code discovered or found by our L encoding agent. And the thing that I want you to notice is that it actually, in terms of analysis, which depends on classification error of the individual things, objects in that image, we've cut the classification error in half. The thing on the left took a human.
Weeks ago, I think on the right, the AI agent discovered in a matter of a couple of hours. And let me just point out what the thing that's interesting here. So the AI agent, let me see, did the mouse work? Here we go. The AI agent first decided to sharpen the image, and it actually chose the free parameters in the sharpening kernel. Then after it sharpens the image, it decides to blur the image, and it itself chose the free parameters in the blurring kernel.
And this is the actual example. So this is the raw data. This is the preprocessing done by the human expert code, written expert code. And this is the preprocessing discovered by the LLM coding agent. For this entire fairly complex workflow, minimize the residual error by half.
in a matter of hours. So I think this is super exciting. This may not be like the most exciting or sexy application of AI, but this is a real application. And I think it's pretty exciting.
Okay, so back to maybe the topic of this workshop. I just wanted to give you sort of an overview of the kind of collaborations that motivate the way I think about research. The way I think about AI for calibrated slash robust decision making is basically two main types of design decisions with an interface between the two that's also itself a design decision. So on the left hand side is the calibration method. If I want to make calibrated decisions that is robust to
worst case errors how do i calibrate on the right hand side is the entire system level goal what is the overall goal of my system which includes all the which can include or ideally should include all the downstream decisions you're going to make or at least a model of it
And of course, in between the two is some sort of representation of uncertainty. How does the output of the left-hand side, how is it formulated or represented and then sent to the input to the right-hand side? I believe I used left and right correctly. And so I will walk you through some of these decisions in the remainder of the talk. So okay, I'm going to sound like a bit of an old fart in this slide.
But I feel like having thought about it a little bit, I could be missing something, that there's basically four large categories of calibration methods, and the first one is various types of probing.

various types of probing linear probing being sort of the thing that's sort of the popular thing these days especially as it pertains to foundation models the OG version of linear probing is called flat scaling raise of hands who've who's heard of flat scaling I'm actually I'm actually impressed and surprised that it's actually half the audience I was expecting it to be like 10%
Okay.
The other one, which I think many of you probably are familiar with, are things like frequentist permutation-based calibration, such as conformal prediction. I stole this image from the amazingly awesome Gentle Tutorial to Conformal Prediction by Stephen Bates and Anastasia Zanjolopoulos. And the basic idea here is that you have a held-out set, and then you do various types of perturbation-based calibration on this. Using this held-out set in a standard frequentist style in order to calibrate the uncertainty.
the uncertainty of your predictions. The third category of various types of bootstrapping. These can include things like ensemble methods where you basically just do bootstrapping with your data set and then you train different models and use that to estimate an empirical confidence interval or you can just use it to do some sort of self-consistency.
Whether using multiple trained models or multiple generations of the same trained model, depending on the setup. So I call these different forms of bootstrapping. And then finally, you can be Bayesian. Someone snickered in the back, where you're basically calibrated by definition, if you will, because you've assumed the world is sampled according to your prior.
And then the goal is to sort of do some sort of inference, Bayesian inference, posterior inference, here just ask ChatGPT to make a diagram of variational inference generated by ChatGPT 15 minutes ago. And so I broadly view the families of calibration methods as one of these four, maybe I'm missing one, happy to be proven wrong. And then people, there are variations of this done with very clever algorithms that.
have really powerful implications and practical applications, such as, for example, conformal prediction in recent years. System level goals. I broadly, again, 10,000 foot view, bucket these into things that look like differential optimization and things that look like RL.
Okay, so on the left-hand side is an example of things that is an example of differentiable optimization, which is robust optimization. So this is, again, in the tradition of operations research, which cares about having these performance guarantees, minimum performance guarantees for things like smart infrastructure, where you're minimizing some cost function, like minimizing the price or maximizing profit of your smart grid or minimizing something else subject to some tail risk constraint.
Okay, and there's actually ways now to actually make this whole thing end-to-end differentiable.
And then on the right -hand side you have, this is just from my example with the biomedical imaging workflow optimization, you can generate multiple traces here. Trace is basically code, although it could be something else as well. And then you have some reward, right? In the example I showed you, it was the residual classification error reward of this biomedical application. And then it looks a lot like RL.
And then you basically just do different traces, you get reward, you use these empirical samples of reward on traces to do something. And for really complicated settings, of course, you can mix and match between these two for different parts of your system. But this is basically my worldview of how to think about how to navigate the different design decisions in this space. And to just give one example, this is a method called ProbeCal.
But my student Hao Liu, this is a work that was published at EMNLP last year, and it uses, just to sort of enumerate the design decision, it uses linear probing and it passes scalar scores of the value of using a certain tool in a certain way to the downstream agent that's using this for decisions.
And it's trained on execution traces. So you just do rollouts and then you calibrate using linear probing that looks a lot like path scaling on top of an LLM. And then it passes through a scalar source. So this is just one example with this different ingredients sort of put together to achieve this kind of result. And it learns how to use different types of tools such as in the simplest case kind of like a calculator or methods like manipulated pandas data frames to get an answer.
But actually, I want to spend the remaining of the talk going and doing a little bit of a deep dive into one paper, one topic in particular, which was the topic upon which the workshop organizers invited me to give a talk. So I thought I'm obligated to at least spend a little bit of time talking about this approach. Now, first I want to apologize. This particular result, as of right now, has almost nothing to do with foundation models.
But it's actually something worth thinking about actively. And so I'm going to describe the work as we've done it, but maybe sort of try to sort of hint at some of the ongoing research questions that we're thinking about right now as they relate to foundation models. And by foundation models, I mean not just LLMs, I also mean really, really powerful forecasting models like diffusion models.
Okay, so the project's title is called end-to-end conformal calibration for optimization under uncertainty. This work was led by two PhD students, Chris Yeh and Nico Christensen. Nico, I believe he has made a decision, although this is recorded, so maybe I shouldn't announce it. He's joining some faculty position next year, and then Chris will be on the faculty market this December.
Um, so here's the motivating application. Uh, you know, a battery storage system must manage uncertainty in future energy prices. So this is just the same example I gave you before. Um, and then if you have grid scale storage operations, you have weather data, you have input, you have an ML model that's making forecasts over time.
You want uncertainty sets. For example, you want maybe you want uncertainty set over prices. What is the min and max price of this energy asset at various points in the future, not just right now, could be multiple time steps into the future. You have some optimization approach for the purposes of this talk. You could just think of it as a constrained optimization framework that you can differentiate through.
If you're interested in the details how to do that, I'm happy to talk offline. I'm not going to go too much in the details how to do that in this talk. And then you have a decision. And the decision is the output of an optimization problem. So the way I think about it is you have a mapping from inputs to uncertainty sets to decisions, and the mapping itself is just a solution of an optimization problem.
And then you get a loss and you know I'll call it F. So the goal is to minimize this loss which you know can you can interpret as maximizing profit. And right so this is just the formulation of a condition robust optimization problem where you want to maximize profit.
subject to or subject to some constraint being satisfied in in some sort of worst-case event according to the uncertainty sets that your model is producing like what is the worst-case price for my problem okay so existing methods if you talk to you know we've we've talked to various companies that do this and they implement this type of infrastructure this type of technology on their infrastructure
They typically do sort of what you might expect, piece by piece, right? So first I train a machine learning forecasting model, which these days are starting to look like foundation models, these giant diffusion models. And then it predicts something, and then I try to calibrate it. And then I plug that output piecemeal into a decision-making procedure.
And then you have these two teams that barely talk to each other, and then you have the whole system, and then you go. That's okay, right? These companies exist. These methods work. They're better than not having these methods. But, you know, it's a very fragmented approach and it's not integrated. And the fact that it's not integrated is extremely pronounced when you're making extremely high-dimensional decisions over high-dimensional uncertainty sets.
When we learn about uncertainty quantification or like p-values or confidence intervals, you typically learn in a textbook, you typically learn about it like in a univariate case, right? You have a one-dimensional uncertainty confidence interval and sort of, you know, that's the way you think about doing downstream analysis or thinking based off this like uncertainty confidence interval. In these applications, the uncertainty set is high dimensional.
It's different types of asset prices over multiple time sessions in the future. It could be hundreds of dimensions. It could be thousands of dimensions. Even if it was 10 dimensions.
It's actually really hard to have an uncertainty set that's useful as a data structure for the robust optimization. So for example, if my uncertainty set is a 10 -dimensional ellipsoid, you can ask the question, is that the right data structure to even pass on or right representation to even pass on to my downstream decision-making process? Or if it's just like a box constrained box.

just like a box, box, right? Like an uncertainty box, which is just a high dimensional generalization of uncertainty interval. Is that the right data structure or representation format to pass on to a downstream decision maker? Because honestly, it's probably a very inefficient representation of really high dimensions. This is something I learned in my work in self -driving. We're trying to do world modeling of the future behavior of other actors with uncertainty, and then you motion plan against that. If you have the wrong representation of uncertainty, you get very inefficient decisions.
visions that are either overly conservative or they don't respect calibration at all okay so yeah that's what they do they they the previous methods first estimate this then do this and then they sort of glue it together so the natural question since we're in a machine learning conference is why don't we just end-to-end optimize this right why don't we just
end-to-end optimize this whole thing and that's of course what we try to do we want to use the performance on the downstream decisions which may only care about depending on the decision depending on the context and the decision you're trying to make a very small fraction a very small slice of this giant uncertainty set because that's where that's the that's where the action is that's where I'm trying to minimize loss
And I want to basically use all the capacity of my uncertainty quantification to make that part as precise as possible. And I might not care about the other things. And one way to do that is literally just end-to -end optimize this whole thing. Okay, so coming back to this slide, which I sort of opened the talk with.
We have our calibration method, which I'm going to describe in a second. We have our system of goal, which basically looks like some variation of this, where you have some constraint on worst case tail risk that's the bottom, and you're trying to minimize some costs which often translates to maximizing profit. And then we have this representation of uncertainty, which is this high-dimensional uncertainty set that we have to pass from one to the other, and then of course backprop the other way.
Oh, and sort of the key thing here is just highlighting that this arrow is a very high dimensional object. Okay, so let's talk about the representation. Oops, let me just go here.
So because we are working with people working on smart infrastructure, they care about convex uncertainty sets. So the output of your neural net needs to be a convex uncertainty set because they plug it into a robust convex optimization approach that has many, many variables for their smart grid.
Like I said before, not all uncertainty estimates are equally valuable for the downstream decision making. And this is particularly pronounced, as I mentioned before, when the uncertainty quantification is over a very high dimensional space. So imagine that we have, this is a portfolio optimization problem, we have these two assets and three possible combinations of returns. So this is asset one.
On the x-axis, this is asset two. On the y-axis, and we have three possible combinations of returns. So positive means, over here means positive return for asset one. Up here means positive return for asset two. Down here means negative return for both assets. Over here means positive return for both assets. So this is a somewhat correlated, these are two assets with a very weird correlation between the two of them.
which can happen and so if you have a neuron that says well I want a bounding region that's the confidence that is a confidence region that captures all through these points then I could do a box which is just a confidence interval in 2d a confidence box and you could see that you know this is actually a very inefficient representation and I'll show you I guess I'll show you that in a second
Um, if you have a confident box and you're conservative about loss, you're conservative about losing money, it turns out that in this formulation, the optimal solution if you're risk averse is to not invest. Yay. So you get a loss of zero. Okay.
Now you could do an ellipsoid constraint. So this ellipsoid is like a parametric Gaussian type thing. And then you could draw the best ellipsoid to capture this confidence region. So it looks a little bit more expressive. It doesn't have these wasted area. You could just think of the inefficiency of these confidence regions in a sense as the amount of area that's wasted that's not relevant to the points you're trying to capture.
And so maybe it's a little bit better, but actually it's still pretty bad in the sense that if you plug this into a robust optimization approach that's conserved against worst case risk, it also says don't invest. Okay. Or you could say, look, if I could actually just use any possible convex set to represent these three points with high probability, I might choose this triangle. It's a convex set and it captures.
It captures all three points in the region, and importantly for the purposes of this particular robust optimization problem, none part of this green triangle is in the bottom left quadrant. And because no part of this green triangle is in the bottom left quadrant, the worst case decision making output of this optimization problem says, yes, we can invest, we can invest something. And if you think about it...
It's, if you think about it, one of the other two uncertainty sets, the blue square and the orange ellipsoid, they're putting area uncertainty probability into this bottom left region when it didn't need to. And the reason why we use these things is because they're just easy. They're just easy to handle.
And so can we develop a machine learning approach that outputs general uncertainty sets that are convex that captures the uncertainty regions that we care about as tightly as possible for the purposes of maximizing the downstream decision making, which is to make a profit under worst case risk? Okay. So.
How do we do that? So an uncertainty set is really just the set of outputs such that some score, which is some confidence score, is less than a threshold. Normally, you would say if you do an ellipsoid confidence interval and you have Gaussian uncertainty, you would just be like it's every point around the centroid in some Gaussian isocontour. That gives you an ellipsoid.
And that's a special case of this representation. So yeah, here's a ellipsoid, right? It's just a quadratic ellipsoid type of representation. But as I showed you in the previous example, you know, that can give you inefficiencies in especially in high dimensions when you want to have the most efficient representation possible. And so Chris, who is one of the lead authors on this work.
He realized after a bunch of iteration that maybe we should be using more general methods such as what are called partially input convex neural networks or PICNNs. They literally, all they do is you learn, you parameterize the score function theta, S of theta with theta. And it, so the output of this neural network is to just output a score.
And then you pick your uncertainty threshold using a formula to choose a Q based on your confidence. And then the output of this whole procedure is actually a convex set. So that the output of this neural network is to pass it through this thresholding function that then generates a convex set. And the trick to do to guarantee partial convexity is you restrict some of the weights and some of the layers to be non-negative.
Okay, and you know if you're interested in analyzing these kind of models which we looked at in prior work which was done in prior work these are universal function approximations in the sense that they can approximate any partially convex function. Okay, so that's how we
That's how we're going to do this. We're actually going to train neural networks that directly generate convex uncertainty sets rather than generate a point estimate and then you wrap a confidence interval around it. Okay. And then to actually calibrate the whole thing, we use conformal prediction. Specifically split conformal prediction. And I won't go into too much of the details. I imagine many in the audience are already quite familiar with these types of methods, especially given the...
who the workshop organizers are but the basic idea is you choose the queue based on a held-out validation set and you know after you do that and set up the problem this way you can just appeal to previous results such as by Angela Pulos and Bates to get the result you want for in terms of calibration of the entire uncertainty region okay
More quickly, let's talk about calibration, which is conformal. Sorry, let's talk about the decision. So now that we've set up the pieces of the whole pipeline,

the pieces of the whole pipeline we want to optimize it end-to-end now minimizing a typical training loss doesn't always translate to optimal downstream decisions so in practice we often use these sort of asymmetric loss functions that look like yeah that look like that because the the risks are asymmetric
So for example, if you over predict energy demand, you turn on too many generators and you waste some fuel, which sucks and you lose on efficiency and profit. If you under predict energy demand, you turn on too few generators, you get a hospital blackout and then you get sued, which is terrible. So we typically use these asymmetric losses to do this end-to-end training.
That look that basically looks like the thing on the right. And of course the optimal decision should be decision aware. The machine learning model at the beginning of this pipeline, which I'll show in the next slide, is trying to make predictions of uncertainty sets that minimize your downstream loss subject to these tail risk constraints. And rather than minimizing its average mean squared error or whatever.
So prior work does this learn point estimates. For those of you in this field, this is the work by Priya Dante. They typically learn point estimates, which does not have this sort of uncertainty set built into them. But at a 10 ,000 foot view level, it looks very similar, just they're doing point estimates rather than these uncertainty sets.
And there are ways to differentiate through this using, by appealing to the differentiability of the KKT conditions via the implicit function theorem. So we have a score function that generates an uncertainty set. We do conformal calibration to make sure Q is calibrated.
which produces the uncertainty set. We appeal to differentiable optimization to be able to differentiate through this whole thing. For example, you can implement this in CVX by layers. So this is the whole recipe. I'll quickly show you some experiments.
This is the battery storage problem, which was the main motivating application that inspired this work for us. It's the weather data is about 101 dimensional and then hourly prices for the next day is 24 dimensional decision. And I won't go into the details of the formula. It's a fairly standard formulation of you.
If you work in this field, if you go to a conference like ACM e-energy, you'll see this equation in like half the talks. So I just want to tell you that it's standard. So the baseline, which is this two -step approach, this is sort of the results you get for it in terms of task loss with three different types of representation of uncertainty. A box shape, a rectangular box shape, an ellipsoid shape.
uh and this uh arbitrary convex shape produced by the neural net and i should just mention again sorry uh i should just mention uh that you know these are very high demand these are these these boxes and ellipsoids and arbitrary convex sets are over very high dimensions not like one dimension or two dimensions like in the in the in the visualization i gave
Okay, so then once you sort of look at our approach, which is this red line, and lower is better, you see that you see that, you know, you get this big performance boost, especially as you move towards more and more expressive representations of uncertainty, which is interesting.
You know, you also care about coverage. Coverage is how you actually is what you use to analyze tail risk. If you know that you're calibrated with good coverage, then you actually have a good handle on capturing tail risk that is a constraint you're guarding against. And here I'm just trying to show you, you're trying to stay as close to this dotted line as possible. That's what calibrated means. And these methods maintain calibration.
Uh, this is again the same results, but just with distribution shift, the results without distribution shift, the story stays the same. So I won't linger on it. And then finally I was just maybe off some closing thoughts and then I'll maybe take a few questions. You know, uh, I talked about a lot and then I went to a deep dive in one project. Uh, but if you sort of pop up a level, I think the way I, what I, what I really take away from sort of my work in this general space is that controlling for risk.
You know, being robust to risks in decision making is very hard and it does require the system level design and analysis, perhaps using linear probing, perhaps using convolution prediction integrated with a fairly complex downstream decision making procedure and doing that design jointly and understanding the emergent implications of the overall system jointly in a rigorous way. So I'll leave you with that thought. Thank you for your attention.
Thank you very much uh for this inspiring talk. So um if you do have any questions please raise your hand and I will be bringing the mic. Hello. Uh a small question, you show the triangle and the triangle in general is a convex hull, right? So in theory you could have a new one network predict
a two vectors. One you do a softmax, this is the convex combination, and the other the other one predicts the vertices of the convex hull. And this is how you represent the general uncertainty setting in high dimensions. So did you try something like this? How many vertices? Thousand. What about a million? I don't know, but most neural networks predict a thousand uh embedding vectors quite easily. So that's why I asked the question. I see. Interesting. Um
We did not do that. We could. The reason why, I'll tell you the reason why we didn't. This actually works for, this is actually a continuous shape, right? You just have a score function and anything within that, anything with a score below a certain threshold is your convex set. So the way you're doing it says, I assume that there is a thousand.
And then if I require less than a thousand, then somehow it I would say that the way you're describing it basically presupposes that like a thousand experts and I'm doing a mixture of experts, which maybe is an analogy that is worth making here. And what I'm saying here is like this is more like a score function and then I just use this score function in any way I want. So the reason why we didn't do that, I think there's a couple of reasons. One is simply that we
This was, okay.
I'll have to take it offline. One of the reasons is that it's unclear if you are redundant, so you might have points in the interior of your convex set. So it just creates all this sort of nastiness and inefficiency in the way you would actually make it work in terms of putting it into a robust optimization framework that we did not explore in deep detail. Whereas this guarantees you have a convex set. And you're right that this is just a boundary, and that's because we're doing frequentist conformal calibration.
Where it frequencies methods basically look at the only at the boundary Thank you. Uh thanks for a great talk. Uh for the learned uncertainty set, uh I wonder whether uh we are able to like have some intuition why this is something that related to the tile risk. It any of this kind of uncertainty set uh interpretable.
At least that it's useful for explain to others. Sure, sure. Thank Yeah, you. yeah, of course. Great question. Thank you. And I should have maybe spent a little bit more time on that. So the way that you typically think about tail risk in a frequentist way is everything outside of the uncertainty set is tail risk.
Ah, okay. I understand the question you're asking. So we actually have a follow-up work on this which actually does conditional value at risk where the constraint is on C-bar, which is what we're depicting here. It's unpublished work. We're hoping to submit to NERFs. So maybe I jumped the gun in plotting this figure. But the way it works is you have an uncertainty set and everything outside of that uncertainty set is a tail risk.
And everything inside is not the tail risk. And there are ways you can use that kind of idea and plug it into here. If you wait maybe a few months, there'll be a paper that shows you exactly how to do it, at least in this framework. Um alright, we do have time for one more question. Yeah. Thank you. So just to uh make sure I understand. So the c

make sure I understand. So the conformity score you use is actually this output from this partially input convex neural network, is that right? That's right, that's right. Yes. Thank you for the question. I know that we're leading into the short break, but here we go. Yes. Yes. So the conformity score, which is S.
Um, is, oh no, the conformity score, hold on. Um, no. The, the, sorry, I'm thinking in real time here and I'm, I'm, uh, I'm still context switch. I'm flushing my input context from all the general chair stuff. Give me one second. Um.
It's probably best to take this offline, but this is a parameter. So before we talk about conformity scores, this is just a representation of an uncertainty set. Whether or not that uncertainty set is calibrated.
depends on how you estimate a conformity score so it's a two-step it's it's two separate steps that then get blended together so before we talk about whether or not this uncertain this s is calibrated or not it's just defining some uncertainty set and that's what s is and the partial info convex neural net just has a score function that defines an uncertainty set at that that then you want to make sure it's calibrated to an actual uncertainty confidence interval using things like conformity scores
I guess the component score will also give you a set, right, if you threshold it. In the simple case where you take a single scalar function and then you do the thing, yes. I don't have time to get into it right now. It's probably easier to look at the specific equation in the paper, but I understand what you're saying. It's maybe a slight generalization of that, yeah.
Good Awesome. Thank you very much. Let's thank the speaker once more. And I guess there will be coffee outside, I guess. So we will be starting back with the next invited talk at ten, so we have six more minutes.

Okay everyone, we will be starting now with the second presentation. Um next to me is actually one of my personal heroes, Stefano Ermón. He's a professor in Stanford. He has already won a lot of awards.
And um actually our first invited speaker couldn't have done a better job. He mentioned about diffusion models, like I guess Stefano has worked a lot. And we are really excited to see um the discussion today um that Stefano is bringing about uncertainty in um and is related with the theme of the workshop. And with that I I don't need to introduce more Stefano. Uh Floris, yours. Alright.
Thank you so much. Okay, the slides are showing. So yeah, great to be here. I'm actually not going to be talking about diffusion models or anything like that. Instead, I'll talk about some of the work we've been doing trying to think about uncertainty and the kind of guarantees that you can get, especially as it relates to decision making.
I mean, I would I will say that the reason I've been I've been working in generative models is largely because I think they provide us a good way to understand what we know and what we don't know. But yeah, there's not going to be any deep generative model today. This is going to be more about calibration uncertainty, the kinds of guarantees you can get.
And the kind of different ways you can convey confidence about your predictions to human decision makers. So just to set the stage, you know, we have increasingly capable AI systems and maybe this slide is not super up to date, but I don't have to convince you that.
There's been a lot of progress in AI, generative AI in particular, lots of excitement around LLM and visual language models and agents that can do amazing things for us.
And, you know, these systems can do amazing things. Again, this slide is probably not super up to date, but I was pretty shocked when GPT-4 came out and they showed that, you know, you can ask it to provide a proof that there are infinitely many primes, you know, with a rhyme, and it actually does it, which is like mind-blowing to me.
Um, yet at the same time, you know, if you use the systems and you try to deploy them in production, you'll know that they also fail in pretty unexpected ways, sometimes even on very simple kind of questions, very simple kind of prompts. Again, this is the original GPT-4, so things are probably better now, but, you know, used to fail on very simple kind of like arithmetic.
And of course, that's kind of problematic if you think about deploying these systems in any kind of high stake decision making pipeline. And so, you know.
We know machine learning systems are not perfect and they're going to make mistakes and if you think about there is a lot of applications that are low stakes and it doesn't really matter if your system is going to make a mistake and although it's fine it's a low stake application if you're categorizing or classifying photos in many cases it's fine but if you think about maybe using a machine learning system inside a hospital
hospital to help doctors make diagnosis or things of that nature or autonomous driving or robots that interact with people then things become a little bit more worrisome and we would really want to avoid those kind of like very trivial mistakes and we'd like systems that kind of like know what they don't know and they can maybe back out when they they think they might make a mistake
So there is kind of like an increasing need to build machine learning systems that are trustworthy, that can be deployed in high stakes situations and kind of like provide confidence to the users that the predictions that these models produce are actually good and we can use them to make decisions. And the reality is that right now...
Neural networks and especially LLMs are kind of like black boxes and so it's very hard to do, it's very hard to trust what comes out from any kind of deep learning system and especially LLMs and similar, even the future models, right? So how do we make sure that ML predictions are reliable? That's kind of like going to be the theme of this talk.
And as a running example, we can think about like a made -up toy or medical kind of application where let's say there is a machine learning system that based on some data, maybe some medical images, will try to make a prediction. Let's say, you know, is there a cancer here? Maybe it's benign or maybe the patient is healthy. Let's say a three class kind of classification problem.
And, you know, the reality is that if these systems were perfect, so if you were in a setting where the predictions that come out from the machine learning system matches the ground truth, you know, the reality every single time.
Then you wouldn't have to worry about conveying trust or uncertainty or anything like that. Then if they're perfectly accurate, then you can depend on them and you can use them to make decisions.
uh in a very straightforward way the reality is that predictions are often not perfect and maybe so the model predicts okay the second patient is healthy when in reality uh or maybe it predicts that there is a cancer when in reality the patient is healthy that can be a problem because then you know if you do a surgery based on this prediction then that's a that's an issue right and so the issue is that
perfect accuracy might not be achievable because the process that we're trying to make predictions over could be inherently stochastic, so there might be some uncertainty that's just not reducible and in many cases we might not have perfect information and so you know there's just no way to achieve perfect accuracy.
And so one way to kind of like get around it is to try to output probabilities to quantify uncertainty or kind of like confidence in the predictions. So instead of saying, OK, this patient is healthy or sick, you say, OK, this patient is healthy with 80% probability and sick with 20% probability. And then the idea is that the decision maker, Bob in this case, the patient can kind of like use these probabilities to make decisions.
So if the ML provider is 99.9 % confident that the patient is healthy, then you should be easier to make a certain kind of decision. And the reality is that the kind of machine learning models that we built are...

The machine learning models that we built are indeed probabilistic. So you can think of them as a function that takes a bunch of features as inputs and maps them to to probabilities. Uh you know, so you can think of it uh there is a bunch of weights, let's say, or parameters in your models, and these weights define a function that takes a bunch of features, X_T_ about let's say one for every data point in your training set, and then maps it to some probability.
And the way training works is that you have labels for the training set, let's say healthy, healthy, not healthy, healthy. And then you have an initial set of weights that will assign probabilities based on the features and the choice of parameters. Maybe you start out with 20%, 30%, 80%, 10%. And you can see that these probabilities don't quite match the outcomes very well because you're predicting a 20% probability on a
You have a patient that is actually, let's say, positive class and you're predicting 80% or some patient that is on the for the negative class. And so then there is some kind of loss function that you optimize over to try to match the probabilities to the actual outcomes. You often use some kind of like proper scoring rule to try to align the probabilities to the actual outcomes. So for example.
this model is better than this model because it's kind of like assigning 80% probability to this one, 90% to this one, which is also positive. It's still kind of like making a mistake here because it's saying 60% for a patient that is negative and then 70%. So maybe you do another round of optimization and you get to something slightly better. And the key question is what does it mean for these probabilities to be accurate?
And the fundamental issue is that kind of like the fact of whether or not Bob is ill is a one-shot event. And so what does it mean that a 20% probability is correct or right or good? It's very hard to say because we're dealing with one-shot events. So you only get to see kind of like this binary outcome.
healthy not healthy and you're predicting probabilities and we kind of I need to figure out a way to see do these probabilities make sense and so a standard way of doing this is to use something called calibration the idea is that let's say we predict the 20% probability of being ill for Bob
Is this probability any good? Should Bob feel confident that this 20% is meaningful for him if he needs to make a decision? One way to kind of like provide some confidence to Bob that this 20% means something for him is to make sure that these probabilities are calibrated.
And effectively, the definition is something like this. You can look at all the patients for which you make a prediction. And so maybe you have Bob where you predict 20% and there is another patient where you predict 20%, one where you predict 50% and so forth. You can look at the subset of patients over which you predict 20%.
There's going to be a subset of them. And then you can check among the patients for which you predict a 20% probability, let's say, of being sick, you check how often does it actually happen. In this case, you have five patients for which you predict 20% probability. You see that among these five, one is sick, the other four are healthy. And so...
This 20 % probability is reasonable, right? Among the patients for which we predict a 20% probability of being sick, 20% of them are actually sick, right? And that's a reasonable thing to enforce. It's a good property to have. But, you know, does it actually matter for Bob, right?
Bob probably doesn't care that, you know, on average the predicted probabilities match empirical frequencies. Bob really cares about his own decision. And so one thing we'll talk about later in the talk is
Is there a way to set up some kind of mechanism so that Bob can actually make decisions as if this 20% probability that is guaranteed to be calibrated on average is actually true individually for Bob?
The other thing that we'd like to kind of guarantee is that somehow these predicted probabilities lead to optimal decisions. And so uh you can imagine a situation where we use these probabilities to decide, you know, whether we maybe do a surgery, or maybe we do schedule a follow-up, or maybe we do nothing.
and we probably decide what to do based on the predictive probabilities, right? So if there is a high probability that there is some serious, maybe there's cancer, then maybe you want to do a surgery and if there is a predictive probability is very low, like maybe 10%, maybe you do nothing and if the probability is kind of like in between, maybe you do a follow -up after a while.
And again, we'd like to make sure that somehow the decisions that are being made by people based on these predictive probabilities are good. And so another thing we would like to make sure that we can guarantee is that on average people are making good decisions based on these probabilities. And the interesting bit is that we'll see that it's actually...
Not only possible to achieve that, but it's also going to be possible to do this without even knowing how people are going to make decisions. So we're going to be able to design ways of producing probabilities that people can use to make decisions confidently because we can do it without even knowing what kind of loss function essentially users are going to optimise.
And then the final topic that we'll go over quickly if there is time is kind of like thinking about distribution shifts, right? So even if you think about calibration, this fact empirical frequencies match predicted probabilities on average, we would like this guarantee is to hold.
When maybe there is not any guarantee between sort of like IID nature or between the training time and the deployment time, right? So we would like to be able to somehow guarantee that these predictive probabilities are meaningful, for example, they lead to good decisions, even when you don't make any assumptions about training and test time.
And surprisingly, we'll show that indeed it's actually possible to achieve some pretty strong kind of guarantees using online learning theory and algorithms to kind of guarantee some pretty strong notions of calibration even under distribution shifts. So that's a high level and now let's jump a little bit into the details and let's talk a bit more about some of the issues with calibration.
So, when you think about calibration, let's say we are again in the setting now where we have a prediction over a three class problem. There is three outcomes, cancer, benign, healthy. And the model is making predictions over these three classes. Again, we have a data set of patients over which we make predictions. And if you want to check calibration in this case, what you would do is you would have to go through
Because it's a three class classification problem, so now you're outputting three numbers that have to sum to one, and to check whether this model is calibrated, what you would have to do is you would have to go through all the patients for which you exactly predict ten percent, ten percent, eighty percent. You select that subset, and again then you check whether the predicted probabilities matches the empirical frequencies.
And if it matches, then it's good, and if not, then your predictive probabilities maybe don't mean much. And the uh uh the issue is that uh if you think about this three-way classification problem, uh you have this kind of probability simplex uh uh where there are these three kind of possible outcomes um with a one-hot kind of representation, you have cancer, benign. I
you have healthy, you have features, and then you have a model that maps the features to a predicted a vector of predicted probabilities, three numbers in this case. And uh we can kind of like visualise the probability simplex uh like this. There's gonna be three corners corresponding to a hundred percent healthy, a hundred percent cancer, a hundred percent or a hundred percent benign, a hundred percent cancer.
And then there's a a bunch of different kind of predictions you could make which are kind of like in this uh in this probability simplex.
And so for example, ten ten ten percent ten percent eight percent will correspond to a point in this simplex. And if you wanna guarantee that your model is calibrated, what you would have to do is you would have to, for every point in the simplex you would have to do this check where you select the subset of points in your data sets for which you make exactly that prediction, and then you would try to
look at the empirical frequencies and try to see whether they match the predictive probability or not. And if it matches, then you're good. If not, the model is not calibrated. And you can

And you can kind of see that it's kind of hard to achieve this in a multi-class setting. And the reason is that there is kind of like an exponentially large number of different probabilities that you can predict exponentially in the number of classes. And so if you have three classes, you have
this simplex if you add an extra class you know you would have a even higher dimensional kind of probability simplex so you would have more cells and you would have a lot more checks essentially to do to make sure that the model is calibrated and so you would need basically too much data essentially to be able to make sure that every single probability you can predict is actually corresponding to an empirical frequency in the data
And it still has this problem that it might not be correct for individuals, right? So even if it's true that maybe the predicted probability matches the empirical frequency on average over the subset of data points for which you predict that, let's say, 10%, 10%, 80%, it could still be the case that maybe there is...
Among these patients, there's two groups of people. There's the blue people and the orange people. And maybe on average, the predictive probability matches the empirical frequency, but perhaps those probabilities are very different between the blue people and the orange people. So if you happen to be an orange people, then those probabilities are not so meaningful anymore for you.
Right. So what do we want, what we ideally want here? Ultimately, if you think about these probabilities, they're going to be used to make decisions. And a reasonable way of making decisions once you have some kind of probabilistic model for outcomes that might or might not happen is to use a
It's actually Bayesian decision making. The idea is that let's say there is three different, you define a set of actions, let's say surgery, follow up or nothing. There is this outcome that is uncertain that you're trying to predict with your model, which is the health of the patient or the cancer benign healthy. We define some kind of loss function.
that captures how happy you are with the outcome or how unhappy you are with the outcome given that you take an action assuming that that event happens so for example you know if you could a loss function could be something like this where if you're healthy and you do nothing then there is a low loss while if you do nothing and you actually have cancer then you have a very high loss
And then what a Bayesian decision maker would do is it would take the predicted probabilities of these outcomes, let's say 10%, 10%, 80%. And then you would basically go through every single action and you would say in expectation, what is the cost of a surgery? And you just multiply the predicted probability for the costs of the different actions.
And, you know, so you say, what is the expected cost of doing surgery in this case? And you just do the, compute the expected value. And then you say, okay, what is the expected value? What is the expected loss of doing a follow-up? And again, you basically multiply the probabilities for the losses corresponding to that action. And you get, you know, you go through every single action you can take. You compute the expected loss.
And then what you do is you pick the action that has the smallest expected loss. And so in this case maybe you end up if the probabilities are 10%, 10%, 80%, you go through this exercise and it shows up that following up is the action that has the lowest expected cost.
And so if you assume that these probabilities were accurate, indeed the optimal course of actions would be to do a follow-up and you would be able to predict that in expectation the loss would be whatever, some number corresponding to the whatever loss function you use to make the decisions. And so you would actually choose to do a follow-up. And so what we can do is we can kind of like partition
The we know that for this point, let's say ten percent, ten percent, eighty percent, the optimum course of action is to do a follow-up. And you can imagine doing this exercise for every possible probability you can predict. And what ends up happening is that you end up partitioning this probability simplex into regions that get mapped to different kinds of optimal actions. And uh something like this. So all the whenever you get
Your predicted probability lands in this region, then the optimal action would be to do a follow-up. If it's up here, maybe it's to do nothing and so forth. And what we would like it to be the case is if our probabilities, we would like our probabilities to be such to have this property so that basically
It is indeed the case that on average among the points that get mapped to any action, let's say to a follow-up, the follow-up is the best possible course of actions, meaning that it has lowest expected cost compared to the other two actions as you could take. That's one desired property.
So if you were to switch, follow up to nothing, in expectation you would end up with a higher loss. And the other thing we would like it to be the case is we would like it to be the case that you were able to accurately estimate the loss that we expect to get if we were to take this optimal action. So among the patients that get mapped to this particular action.
We would like to be able to predict what is the expected loss. And that basically boils down to some notion of calibration where we're saying among what is the expected true outcome given that we make this particular action, which is let's say follow up, that should match the expected predicted outcome for the patients for which we take that particular action.
So this is kind of like saying you can trust your probabilities in the sense that the laws that you expect to incur if you were to believe your probabilities actually matches the laws that you're actually going to get in reality, which is kind of like this object here. And we would like this to be the case for every possible action that you can take.
And that is essentially this definition that we call decision calibration. It's kind of like saying that
Achieving calibration is too hard, but you can achieve a weaker notion of calibration which really relates to how people make decisions and it has a lot of the desired properties that we want in the sense that the predicted outcome matches the true outcome in expectation, which means that the predicted loss matches the predicted, the actual loss in expectation.
Uh, and you basically, uh, make the right, you, it's basically, you should do, you should be Bayesian with respect to these probabilities in the sense that being Bayesian gives you the best possible course of actions in expectation.
And what we can do is once you have this setup, we can actually check this property relatively quickly and efficiently because you can see that now we don't have too many cells to check calibration over, right? That's the intuition because we're partitioning the set of possible prediction in a relatively coarse way. It's much more efficient to check this definition of calibration and you can actually do it using a relatively small amount of data.
And so essentially what you do is you can have a predictor, you have a loss function, you partition the simplex based on what would be the optimal, base optimal action that you would take under different conditions. And then you can check whether this property holds or not, this calibration like property. And if it does, then we say that this predictor is decision calibrated with respect to this loss.
And the idea, again, is that this is something that can actually be checked and enforced using a small number of samples. Real calibration wouldn't because you just have too many cells essentially to do a check over.
Now we've defined a way to basically check whether or not a predictor matches this definition of decision calibration. Essentially what you do is exactly what we were doing before. You would kind of like look at all the patients that belong to this particular subset of the probability simplex and then you kind of like check whether or not the predicted outcomes match the true outcomes in expectation.
It turns out that it's actually possible to take any predictive model, like let's say a deep neural network that you've trained, and just like it's possible to enforce calibration in some settings, where let's say you have binary classification or other weaker notions of calibrations, it's also possible to enforce decision calibration through post-processing.

course decision calibration through post -processing. Essentially what you do is you would check whether the model that you have, let's say a given deep neural network, matches its definition. If it doesn't, what you do is you essentially make some smaller adjustments to the predicted probabilities so that it the predicted probabilities match the
The predicted outcomes match the actual outcomes in expectation with respect to the original kind of like partitioning of the space. This is kind of like similar to like those sort of like isotonic mappings and calibrations that you would do in a plot scaling kind of things. Now what happens is that because you're changing the probabilities.
You're also going to change how you're changing the predictor essentially, you're also going to change the decision boundary and so
But it turns out that essentially it's possible to achieve this decision calibration condition using a small number of iterations. So you can achieve up to epsilon kind of like tolerance with respect to this notion of calibration using a relatively small number of iterations. And it's kind of like guaranteed to generalize on a test set, an IID test set using a polynomial size training set.
Which is pretty exciting. And so when the loss function is known, there is this notion of decision calibration, which kind of like maps to desirable properties for how people would actually use these probabilities to make decisions. And it's actually possible to enforce this definition using some kind of post-processing where you kind of like adjust the probabilities until they match this definition. Now the more interesting thing is that it's actually possible to do this even when the decision function is not known.
And so you can imagine a situation where maybe the same machine learning model is used by different people or maybe by different healthcare providers that have different loss functions. And so maybe if you think about the previous example, you know, maybe we had these three options, surgery, follow-up, and nothing, and there is a certain kind of cost function, loss function associated with the actions and the outcomes.
uh the loss function might be different over time maybe there is a new surgery that becomes available for which uh you know the the actual losses change and ideally we wouldn't want to retrain the predictor for a new loss function
And there is also a lot of other situations where kind of like the loss function might be implicit, right? And in fact, that's why I was kind of using pluses instead of actual numbers because it's kind of hard to put a dollar value on a person's life or, you know, where people might have most different kind of loss functions, which might actually be hard to specify.
And so the interesting thing is that we would like to enforce decision calibration not just for one loss function, but we would like to enforce it for all possible loss functions because that would kind of like guarantee that no matter what is the way you're going to make decisions, no matter what is the way you're going to take these probabilities to map them to actions, you still get these good guarantees that in some sense.
you're doing the right thing and you can predict how well you what's the price that you're gonna pay if you were to take this actions suggested by a Bayesian decision theory. And we would like to do it for every loss function.
And the key result, it's that this is actually possible. It's actually pretty surprising but it's actually possible to achieve this very strong notion of decision calibration for a broad set of loss functions. Basically if you assume that it's only like a polynomially many actions.
Over which you can decide you don't even need to know what is the loss function and you can still Enforce this this notion of decision calibration for all possible loss functions that only depend on a small number of actions Which is actually pretty useful in the real world because you might imagine that there's not that many actions that you that you can choose from So and the intuition the way you would do it is that in some sense you would
Essentially you use the algorithm that I just described where you kind of like keep adjusting the probabilities until they match the definition. That algorithm crucially depended on knowing the loss function and essentially what you do is you just find the worst possible loss function, you apply the algorithm and then you find the next worst possible loss function, you apply the algorithm and you keep going until things work.
And again you can prove that this basically can be achieved using a small number of iterations and a small amount of data set, that data, which is pretty interesting. And uh here is an example um on uh how this works uh but uh using you know basically you have a predictor, you use validation data and this kind of algorithm to come up with a new predictor that satisfies uh decision calibration.
And which basically means that the expected loss using the predicted outcome matches the expected loss with respect to the true outcome. And this is a skin lesion prediction model that was trained and you can see that the model that you just get from the repo that was just trained by cross entropy.
does not satisfy decision calibration, so the predicted loss doesn't match the actual true loss, which are kind of like these two histograms, like you think about the different losses and how often you get them, the predicted loss does not match the true loss, but after you apply decision calibration then the predicted probabilities are more reasonable in the sense that they match the way people use them to make decisions.
And there is many other applications of this, but since I have maybe still a few minutes five minutes, yes, I'll talk about a more
intriguing thing which is how do you go beyond averages and think about the kind of guarantees that you can provide to individuals right so far we've been talking about some nice guarantees that you can give to people that are would be using the decisions to the predictions to make decisions but these things are all on average right and
It's good to know that these guarantees hold, but fundamentally as an individual you don't care about probabilities that hold on average, you only care about yourself, right? And so we would like it to be the case that somehow any individual that is given a prediction from the model can use these predictions confidently as if basically this 20% let's say probability was the true probability of the outcome.
Which, you know, it's an actual very important situation that many of us might have been, you know, facing, like if you think about you do a genetic test or something and then the model will tell you you have a 20% chance of something bad happening, you know, what does that mean for me, right? Like I don't care about average, I care about just myself.
And so again let's use a simple example to talk about one way we've come up with to kind of like achieve this pretty strong and undesirable property that would seem almost impossible to achieve, but it's actually possible to do it if you're willing to change the rules of the game a little bit. So as a toy example imagine a decision maker that is deciding whether or not to buy tickets to some event.
And, you know, there is some chance of rain and if it rains then the event is cancelled and if it doesn't rain then you have a great time. So you might imagine
The decision-maker deciding whether or not to buy the tickets, if you don't buy the tickets then you have a utility of zero, if you buy the tickets and it rains then you lose a hundred dollars and if you buy the ticket and it doesn't rain then you, you know, you have a good time and you win a hundred dollars. Now let's say that the you have a weather forecasting service that says there's a twenty percent probability of rain.
Would you buy the tickets to the event and if you are Bayesian what you would do is you would calculate the expected loss or the expected utility with respect to this 20% probability of rain and you would see that on average you would get 60. The utility is 60 if you buy the ticket and zero if you don't buy the ticket and so you would buy the ticket.
Right? Because that action has a higher expected utility. Now, the problem is, does this 20% actually mean anything for me, right? Maybe the probability is calibrated, but I only care about this particular day where the event is, not on average. And why should I trust this machine learning provider that is giving me this 20 % number?
And there is this well -known relationship between probabilities and willingness to bet. And so if the ML provider really believes that there is a 20% probability of rain, then the ML provider should be willing to take a bet or an insurance kind of mechanism where if

mechanism where if it rains it pays the decision maker $160 and if it doesn't rain the decision maker gives the email provider $40. This is a fair bet like if the email provider really believes that there is a 20 probability 20% probability chance of raining then the email provider should be willing to take this bet because
In expectation, this gives you 0. Right, so 20% of 160 is 32, 80% of 40 is 32, so there's plus 32 minus 32. In expectation, this gives you 0. Now why did I choose these numbers, 160 and 40? Because if you add them as a payoff to the actual utility function of the user.
So you add 160 if it rains and you subtract 40 if it doesn't rain. Now you see that the actual utility that the user gets under these probabilities matches the expected utility the user would have gotten if these probabilities were right. So if the probability was correct
Then the expected utility would be 60. If you have this additional bedding mechanism or insurance mechanism, the actual utility that you get is going to be 60. And so one cute result is that for any decision task, there is always a way to set up a fair bet so that the total utility, which is the decision utility plus the bet payoff.
is actually equal to the utility according to the prediction. So from the perspective of the user, the predicted probabilities are just as good as true probabilities because there is this betting mechanism, this insurance mechanism that guarantees that things will work out basically in expectation for that particular choice as if they were true in expectation.
Now, what's the issue with this is that the ML provider might be exploited. If you imagine predicting with the weather and you imagine that you always predict 30 % probability that it rains for mornings and evenings, but the actual probability is more like 40% in the evening and 20% in the morning.
Then you might imagine a adversarial kind of user that sets up kind of bets that are fair with respect to the predicted probabilities but are not fair because the actual probabilities do not match the predicted probabilities that the ML provider is giving. And so essentially
Unless the decision, the ML provider is perfect, let's say if the user has some side information or it can predict better than the decision maker, than the ML provider, then there is a possibility that the ML provider could get exploited. And so you couldn't actually probably implement this mechanism in the real world. Because, you know, like for example, the ML provider is...
Oh, see, okay, there's a 30% chance of rain. So the user would say, okay, then I want to do this bet where you give me $7,000 if it rains and I'll give you $3,000 if it doesn't rain, which feels fair with respect to the advertised probability. But if the actual probability is more like 40 -60 instead of 30 -70, then the ML provider is going to lose $1,000 per bet.
And so you wouldn't be able to actually sustain this kind of system in the real world. You're going to lose a lot of money. The interesting thing is that it's possible to use some online learning trick to basically make sure that the ML provider can always adjust its probability as you're going, as you're interacting with the users, so that you can't be exploited in the long run.
And so you kind of like keep adjusting the probabilities based on the payoffs that you're seeing and you can use a kind of online gradient descent. Actually you need something a little bit more sophisticated like a swap regret minimization algorithm basically guarantees that in the long run the ML provider cannot be exploited.
And so it's a pretty cute kind of result because it gets around this difficulty of being able to provide guarantees for individuals, like kind of cheating by setting up an insurance mechanism, but it's something that could potentially be actually used in practice because if you combine it with this swap regret minimization algorithm, you are actually able to potentially deploy this in the real world. The ML provider is not going to get exploited.
And it's a very strong way for the ML provider to provide confidence to the users that they can trust the predicted probabilities because, you know, basically the ML provider is willing to take bets at those odds and decision maker can kind of like choose the bets so that they get, they're basically insured in the way they make decisions.
And I think I'm out of time, so I'll not talk about the distribution shifts, but the other interesting bit is that many of these properties actually can be
guaranteed like calibration decision calibration not just in IID settings but also in adversarial settings and so there is basically a way to use online learning kind of algorithms to provide this kind of like strong guarantees in terms of like being able to convey confidence to decision makers that they can use the probabilities to make good decisions for example as defined by decision calibration.
Even under distribution shifts. So without making any assumption about the relationship between test and training distributions. And yeah, I think that's pretty much it. And thank you.
Thank you for the inspiring talk. Um questions? Okay, I can see one here. Um Hi. Uh thanks for the interesting talk. So, I was wondering what happens when the utility function is different for the provider and the uh the user.
Because, for example, you know, maybe if I have an event with negative $10 million negative utility with 50% chance and $10 million positive utility with another 50% chance, I would not take that bet, right? Like the utility I get from negative $10 million is much worse than the positive utility in the positive case. Whereas if a provider is big enough, it might still be linear for them.
So can this fairness of the game still be ensured if under this lack of symmetry? That's a good question. I don't think we've looked into like you're thinking about nonlinear kind of like utility functions. Yes. I think we've only looked a little linear case. I don't know if things would match. My guess is that it should probably work, but I don't know for sure. Good question. Okay, thanks.
Hi, thank you for the excellent talk. I'm curious about adoption. So you've given a medical example. Have you seen this being used in healthcare settings? And if not, why not? To me naively, it seems like this is easy to implement. It's just better in every way. Is there any reason why it wouldn't have been adopted if indeed has not?
Good question. Yeah, I don't think it's been adopted widely. You mean decision calibration specifically? Yes, Yes. and in safety critical settings like in hospitals. Yes. So you can actually, the one thing that I didn't talk about is that you can actually, like if you define certain classes of loss functions,
um then uh it the decision calibration basically uh boils down to existing notions for calibration so if you have a loss function that let's say only cares about the most likely class then it corresponds to certain notions of existing notions of calibration if you were to think about all possible loss functions without any bound on the number of actions for example
Then it corresponds to the distribution calibration, like the strongest notion of calibration where you're literally matching every possible probability to every possible to the actual outcomes. So and I know that people do implement and do enforce certain notions of calibration.
for you know specific i mean the real distribution calibration is not possible to achieve and so people do enforce weaker notions of calibration i haven't seen the thing where you actually say okay
I have a bounded number of actions and I'm going to try to find something that will work for all of them. I guess this work has not been popularized in kind of like that community. But yeah, people should use it. I think there is literally no, no, I mean, the only thing that you lose a little bit of sharpness as usual, like especially if you do it as a post hoc thing and you enforce calibration, you lose a little bit of sharpness. But that might be people are usually willing to pay a little bit of price there.
Right because a very common setting I see in healthcare is two outcomes and two possible actions. Yes. Is it different in that case or is it? So if you only have two outcomes, then you can actually enforce distribution calibration, so the strongest notion, because there's not that many.

strongest notion because there's not that many kind of like possible probabilities that you can predict so this would only make sense if you're kind of like predicting many different things
which is kind of like related to the theme of this workshop like if you think about a generative model where you kind of like need to you're effectively training probabilistic models over very high dimensional spaces there is no way you can enforce any kind of like strong notion of calibration and you have to essentially cut down the space and bin things together and i feel like decision calibration is a very good way to think about a natural way of grouping together things
things that gives you tractability and it still ties to how these predictions would be used in practice. Thank you Hi, I'm interested in the case of privacy where you may have outcomes that have like infinite loss. You have events that really you cannot afford so your loss is infinite there.
Is there any way that you can use this framework to write or that you've Yeah, I think one of the the the things that I hide a little bit under the rug is that you also need to assume that the loss is bounded. Yeah, nice. So yeah, probably not. Okay, thank you. Awesome. Let's thank the speaker once again. Thank you Stefano. Thank you.
Right. So now we have time to set up the postures again. Um there are some blue tapes here uh for those of you that do have a posture in this workshop please use um these walls I guess and only these blue tapes. Um we will have two spotlight sessions um starting at eleven o'clock I guess. Uh but in the meantime please use these uh blue tapes here to
Paste your posters, thank you.

actually um no. Um yeah so we will have two spotlight presentations and then the poster session starts. So um let's hear firstly the uh exciting ideas shared in the spotlight presentations. So please please
take a seat. So what are the spotlight papers? We will have four spotlight papers, two in the morning, two right after the lunch.
Um and essentially here you can see the first two spotlight papers that are going to be in the morning, right? So these are some of the papers that you have contributed and we do believe that they have some new and uh exciting ideas that are worth sharing with the workshop. Each spotlight presentation will consist of five minutes. Um
People in the back, people in the back, can we please please have some respect for the people that will be doing the spotlight presentations? There will be three poster sessions, so there will be enough time to discuss, thank you. Awesome. So and with that I think uh one last reminder here you can see the posters, I will put them back uh in a while. Uh but as a reminder, this is the site of
The event you can see the full schedule in case you uh came up uh late or you just arrived in the workshop. Welcome. And with that uh let's uh hear the first spotlight presentation titled Generative Uncertainty in Diffusion Models.
more expecting to be okay let's get started all right uh so just before i get started i want to say i'm not on the author list i'm just presenting the paper for my lab mate matthew who is actually with this supervisor with him and uh yeah
So this paper is about uncertainty in generative model, in particular diffusion models. So just quickly introduce the background a bit. We know that image generation is an area that evolves super fast, right? So back in 2018 RV, you can barely generate high quality C5-10, but nowadays the simple diffusion can give you like a super high quality natural images.
However, in many cases our diffusion actually still generate low quality samples. So that means that if you're trying to use diffusion practice, there will still be some problems where your model is not giving you very, you know, satisfying results. So the question is now given a diffusion model, how can we have some mechanism that automatically detect that, okay, the output of the model could be, you know, bad quality.
So, you know, just like always, right, to actually understand when our model will fail, we use uncertainty. In particular, we use Bayesian uncertainty. So just a quick recap of a generic definition of a generic model. So a generic model usually will have a model, G theta, and we have a latent space, for example, some noise denoted as that, and we feed that into this G theta, which gives us an image sample, X.
and this is the formula. So just standard general model, we assume that theta is fixed. So no distribution over six. So to actually make a Bayesian diffusion or Bayesian general model, we simply introduce a distribution over theta, in which case now our general model, in particular the distribution of x, now we have this additional latent variable theta that we can marginalize over.
And then because now we have a distribution of Px given Z, so we can actually, for example, look at the variance of this Px given Z, measured in some sense, to actually see how uncertain our generative model is.
However, yeah, we all know that theta is a continuous parameter, so it is intractable. So in practice, when we are actually trying to compute this marginalization, we use Monte Carlo estimation by sampling M things, M samples from this posterior distribution. And then in practice also because you know our diffusion model can be large, so it is intractable to all, could be super expensive and painful to actually acquire full distribution over all the, for example, your diffusion parameters.
Yes. So in this walk, the author suggests that we just post a posterior distribution only over the last layer, which is often called Bayesian last layer method. In particular, we use last layer Laplace method, which is actually super cheap, as is shown by the numbers. And then one thing you may be wondering is that, right, because to actually compute the posterior, we need the two components. We need the prior on theta, which is easy to specify, but we also need the likelihood term, which is Px given Z and theta.
Which is not very obvious how to compute because you know not all generative model has a close-form likelihood. So to actually uh resolve this issue we suggest a proxy likelihood which is you know not directly using the objective of your diffusion model but instead we utilize the cliff model to actually create a kind of pseudo-likelihood that measures the similarity between your generated sample and the actual sample.
And this pseudo likelihood also has a advantage is that because it is based on clip So it is like a less sensitive to the noise because it relies on the semantic embedding space information to actually measure the likelihood So and then how does it work?
So to actually before diving into this image so we need to think about like what are the potential source issue of low quality image from diffusion right because imagine you are in a like guidance free diffusion and the only reason why your sample could be of bad quality is that your initial noise is bad it's just bad for some reason
So in particular in this figure if we look at the left one we can see that this is an example where you are lucky you have a good Z hat so we can see that in this case the samples from our posterior models like a different theta they are very aligned with each other and the image is of good quality but on the other figure we see that you are in bad luck so your initial theta your initial Z hat is bad
And we can see that now we are having actually lots of diversity in the image we generated using all the different models we have, but all these diverse images are actually of bad quality. So this kind of like confirms our intuition that we can actually use uncertainty as a measurement about how good your image quality is.
So just to show you more results, so on the left we show like a bunch of images where the model has like a high uncertainty over the output space. And we can see that most of them are, you know, like have some weird artifacts, they are just non-natural, they have some, you know, weird patterns. But on the other panel where we show images with very low uncertainty, and we can see that indeed they are of much higher quality, visually speaking.
And lastly, we have some quantitative results that shows you how good you can actually use this uncertainty matrix to actually reject sample, to filter your samples. And then I think the orange line, which is the proposed method, shows the best performance across all the figures. I'm actually not super sure what this figure means, but I think this tells us that uncertainty is a good metric for understanding the quality of your diffusion models' generated samples.
And on that note, that will be the end of presentation. I'm happy to answer any question, but I'm not guaranteed that I can give you a satisfied answer. Thank you. Awesome. Um actually we will have the questions in the poster directly. Okay, okay. Sounds So good. um let's move on to the um second paper, which is
titled um understanding multi-modal LLMs under distribution shift and information theoretic approach. Um and then as a reminder we will immediately have the poster session in, I guess, after the end of this presentation, so you can ask the authors' um directly questions there.
Okay, uh hi uh my name is Changdae Oh from the Wisconsin uh University of Wisconsin, Madison and I'm I'm so grateful to

Suzanne and I'm so grateful to be talking about our new information theoretic framework for assessing the reliability of multimodal large language models.
Yes, so we're living in the era of 7 proposed chat assistants, these so-called multimodal large language models, MLMs, extend the capabilities of the traditional language models by integrating both visual and textual input to generate a valid response.
So, multimodal LLMs run through vision and section tuning where they are trained on the pairs of multimodal queries and desired responses. The objective is to maximize the likelihood of the collected responses in an utterance manner, enabling mothers to effectively follow the multimodal instructions.
And after instruction tuning, LLMs are expected to generalize some kind of unseen queries, but when exposed to some kind of out of distribution data, their performance often degrades. So in our criminally experiments, we show that the performance decreases as the distributional shift become more severe going from left to right.
light. So this motivates our key research question, so can we develop a theoretical framework to characterize and predict some M_L_M's behaviour under such shift?
Yes, so um fundamental capability of M_L_M_s is their instruction following property. You know, so to quantify that kind of instruction following capability, we can first um consider s uh a bit of mutual information between the input queries and uh model s lisponse.
However, the naive mutual information alone is insufficient, because it scales very across the different data distributions, and to address this, we introduce an effective mutual information, which isolate the model-driven contribution to mutual information by subtracting a reference mutual information from our model's mutual information.
And yeah, so our ultimate goal is characterizing and quantifying the performance gap of multimodal LLMs over two different data distribution. So we now define the difference between two effective mutual information over two distribution and
We finally derive an analytic upper bounds for this kind of EMID difference, linking it to distributional shift in both feature and texture importance and model's resistances. So let me just briefly describe the empirical validation for our theorems. So we focus on some kind of open-ended question answering task with four variants of robber models, which is the representative.
Active open source is meriting without LMs and simulating the 61 types of distribution shift for the text and visual modalities and we can see that the EMI difference show actually a strong correlation between the with the EMI D upper bound of our estimate and this implies that our proposed EMI D upper bound can stand for
least monitoring tools to pursue some kind of reliable AI uses and in summary this work proposed the first framework to characterize and quantify the maximum risk of mathematical allowance by providing an upper bound of their performance variation under distribution shift and we hope to inspire the some kind of development of our robust instruction following models
and help the model owners to predict their um predict and monitor their potential risk of their models uh yeah that's all for today and thank you for attention
And so um now I guess we will have the first poster session so um you can ask the authors um including the people uh that uh the two spotlight presentations um anything that you feel is relevant to their paper and we will reconvene after uh lunch with two more spotlight presentations and another poster session.



























Bye.
Back to the afternoon session on the uncertainty and hallucination workshop. Uh we are going to have now two more spotlight presentations and then we will have another um break for the poster session where you hopefully can get to interact with the authors and ask the questions that you couldn't in the mornings, it was uh
quite packed, which is good to see. Um and this is why we have uh two more poster sessions essentially in the afternoon, so that people have the chance to see this as a forum and discuss ideas.
um and hopefully um get the next uh new works, exciting works um on the topic. Um with that let me um mention that uh we will be having the two spotlight presentations right away, starting from the first one which is learning on L_L_M_ output signature for grey box L_L_M_ behaviour analysis. Um Florian, yours.
Thanks. Um my name is Haggai. This is uh this work is a collaboration uh between my lab and NVIDIA Research. Uh it was led by uh my PhD student guy Bar-Shalom and my yeah postdoc Favritio Frasca. Um so we all know that that uh LLMs are great. We don't really understand how they work. Uh and we all understand that that we need to understand something in order to improve uh
reliability and responsible deployment of this uh kind of models. Uh in this work we focus on two tasks. Uh the first one is hallucination detection and the s second one is data contamination detection. Um
For those two tasks there there have been several setups in the uh uh literature. Uh white box setups in which you uh the the user is um has full access to all the intermediate computations within the model. But this is often too restrictive because we don't really have access to all of those.
There has been some external informed based models. So essentially models that can query other models and ask some questions about their particular query, but this is often too restrictive as well because uh you don't really have time or compute to run another LLM.
Again and again. So the setup that we are working with is a gray box setup in which you have access only to the outputs of the LLM. So essentially all the logits and the probabilities of the chosen tokens.
Um, so previous works on on this uh mostly used simple uh handcrafted heuristics. They worked surprisingly well um but they typically overlook um uh interesting and critical data that is found in the outputs of the L_L_M_
Uh so for example, one of the most successful methods is Min-K essentially what they do is they select the lowest K percentage of the probability tokens and then perform some thresholding over it in order to make a decision. So what is our work about? The main idea is to apply proper machine learning uh uh methods to this problem. So first we introduce a new data type that holds all the information in this grey box set-up.
Uh we call it LLM output signature, we'll talk about it in a sec. And then we propose loss net um to learn on top of those uh uh um data representations. Mm-hmm. Uh we show that it works well, much better than the uh previous approaches and we also show theoretically that we generalize the prev most of the previous approaches.
Uh so we can implement them essentially. Okay, so what is uh LLM output signature? Uh it holds two things together. The first one is something we call token distribution sequences. Essentially all the output that you get from the LLM it's in an N number of words by V_ the vocabulary size matrix that holds all the probability distribution.
Second thing is the A_T_P_ the actual token probability. Essentially, we encode the probabilities, the specific probabilities of the tokens that we used in order to generate our sentence. Okay. And the L_L_M_ output signature is gonna be the concatenation of those two things together. Um last net
Is uh the following pretty simple uh architecture. What we do is we take the X which is the um probabili uh the the full probability distribution. We perform some sorting to it in order to get only the top probabilities and we also take uh uh the A_T_P_s and prof um generate rank encodings from them.
Both of those things are concatenated into a single sequential data type, and then we use a transformer in order to process it.
Uh in experiments we show that we work much better than previous approaches, sometimes by by a very significant margin. So what we see here is essentially the previous approaches in grey. Uh two of our baselines, uh learnable baselines in uh blue, and our approach in red. Uh so this works well both on uh hallucination detection and on data contamination detection.
The surprising bit is that this model can be transferred very nicely to other models, so between LLMs and between data sets. So for example we can train our model on a specific data set for a few models.
Then we can test them on other models. So what we can see here, for example, is the result of applying our model that was trained on PTH and was tested on Lama. And this works well. So this kind of gives us some
I hope that our model can be uh transferred well between different uh um LLMs and perhaps be somewhat a universal representation of those outputs.
So uh to conclude, um the L_O_S_ uh all all our output signatures is a natural data representation for grey box setup. Uh the loss seems to capture universal patterns across L_O_S_ uh and loss net effectively analyses the L_O_S_ behaviour. It looks like it works pretty well. Uh next we think about um
Working on new models to process the hidden states or the activations and also the attention, I think there's a lot of interesting work to be done in this direction. Yeah, and that's it.
I'll just tell you I'm one of the organisers in the workshop nearby. So if you d you want to talk with me and I'm not here, I'm there. So uh yeah, thanks for the information. So uh when there is an invited talk next door, just stop to ask questions. Um um so we we have now the uh fourth and final um
Presentation um which is the paper called um adaptive elicitation of latent information using natural language. Awesome. So we have the screen, so we can start.

We can start. Hello. My name is Tom Zollo and I will be presenting adaptive elicitation of latent information using natural language. This is joint work with Jimmy Wang, Rich Zemel, and Hong-Suk Hyam-Kung.
Many important services depend on the ability to efficiently elicit information and reduce uncertainty about a new problem instance. For example, before an optimal lesson plan can be prepared for a new student, information first must be gathered about their underlying skills and abilities.
In this and many other important cases, the object of interest is latent and can only be accessed through indirect signals, making information gathering especially challenging. To be efficient in this setting, information gathering strategies must be adaptive and refine subsequent queries based on earlier responses.
An adaptive approach to student assessment might begin with broad questions spanning multiple skills. If the student makes a mistake, the system can then drill deeper into specific skills with targeted queries to efficiently map out the student's knowledge boundaries. Since natural language is a particularly powerful medium for eliciting information, one might assume that modern LLMs could be helpful in such efforts.
However, while LLMs are trained to instill as much static world knowledge as possible, this world knowledge cannot directly be used to strategically reduce uncertainty about new unseen individuals that the model has little or no information about.
To address this challenge, we introduce a framework for adaptive elicitation of latent information using natural language. Our goal is to leverage the world knowledge of LLMs to address the renewed uncertainty that arises whenever a new environment or individual is encountered. The key insight underlying our framework is to take a predictive view of uncertainty.
Under this view, we equate knowing the latent entity with predicting future observations produced by it. For example, to know a student's underlying skills would be to predict their answers to unseen test questions.
Taking this view allows us to develop an adaptive elicitation strategy that naturally scales with LLM performance and aligns with the model's perplexity objective and will improve as models become more capable. Okay. Now let's look at how this works. Our algorithm has three steps.
First, we meta-learn a predictive language model from historical question -answer data for many historical or previous entities. In the student assessment example, this data set may contain observed test question and answer pairs from previous students. This model is trained to predict a student's future answers conditioned on their observed answers using a standard cross -entropy loss.
Then, we use this model to quantify uncertainty about future or unobserved answers from new, unseen latent entities using autoregressive simulation. To illustrate, imagine we have a new student who may have answered only one or two questions so far. We combine these observations in the prompt with a candidate question that we might ask next.
And then we simulate different trajectories that the student might take, conditioned on what we've seen so far and their expected answer to this candidate question. And to estimate the remaining uncertainty, we measure the entropy in the distribution of simulated future answers for each yet unseen question. Finally,
After estimating the remaining uncertainty that we would expect after selecting each potential candidate question, we can adapt our assessment to select the question that we expect to most reduce uncertainty. Then we'll show this question to the student, observe the answer, add it to the prompt, and run the process again to select the next question.
And in our paper we offer different strategies for selecting these questions, including a single step greedy strategy as well as a Monte Carlo tree search method that can plan several steps ahead in order to create even more complex strategies. We perform experiments on education assessment, opinion polling, and a novel 20 questions data set that we release with our paper.
And in our experiments, we find that our adaptive strategy is most helpful when trying to find out something rare about the latent entity, like a student misunderstanding a concept that most students already know or a survey participant holding a viewpoint that only a small fraction share. For more information, please reach out to the authors and find our paper on Archive. Thank you.

As a reminder, now we will have the second poster session. Um we will be starting uh with the next invited talk at two forty.
And again we have two poster session in the afternoon. I guess um one of the strong recommendations that we have is in to interact and check the papers that are out here, because we believe this is a very good platform for discussing and generating ideas on this significant topic. And essentially after the two invited talks in the afternoon we will also have a panel
Um likely I will be c coordinating the panel where I have a couple of questions already in mind, but then we also will have um
A significant amount of time for questions from the audience. So it's a good time to start thinking as well about what questions to ask and whether there is something that um seems interesting to you and we didn't cover as well. Um so uh I don't know if Gia is already here, one of the invited speakers uh that we will be having next at two forty. She will also be in the panel along with uh various other
um uh folks from um industry like layer six that is sponsoring the workshop and um Professor Jaron Gall that is uh representing I guess AIC. And with that um let me um include for now and uh you're welcome to discuss with the authors on the posters.







Takk for att du så med.



Hi everyone, welcome back to the afternoon session and we have another keynote upcoming next. Let me introduce our next speaker, Dr. Jie Ren. She's currently a research scientist at Google DeepMind and she has been doing a lot of interesting work on reliable and robust deep learning with a focus on uncertainty quantification and out of distribution detection through which we
We know each other from many years ago, and today she's going to tell us about her recent work on reliable AI feedback. Without further ado, please take away. Thanks everyone. Thanks Cheryl for the introduction. I'm very happy to be here today and share some of my recent work on reliable AI feedback.
So reliable AI feedback is very critical to language model development. So what is AI feedback? It's an AI or model to judge if a generation is good or bad. Why do we need AI feedback? Because human feedback is very expensive and we want to automate this process. AI feedback is very useful, as I said, in all stages of language model development.
Of course, in uncertainty estimation or trustworthy machine learning, if we have a reliable AI feedback to help us to judge the quality of the generation, we are able to get uncertainty estimation based on that and do the selective generation and only generate the output if there's no hallucination. Another big area for using reliable AI feedback is for test time scaling.
And self -improvement at test time. For example, if we have a very good judge on the quality of the response and then we can do test time scaling, for example sample n responses and use this feedback model to pick the best one. That's the best of n. Or we can, if we have the reliable feedback, then we can ask a model to self -improve.
self-critique advised, and then the model's output quality will be improved. Of course, AF feedback also include the reward model. So reward model is type of AI feedback, right? So we train a reward model, let the model to judge the quality of the response. And then we use reward model to do reinforcement learning, RLHF.
Also, AI feedback is important for auto -evaluation of language models. Think about like if we're able to judge the response from model, then we can compare different models on different tasks, and then we can build a leaderboard for language model as the leapses do. And then AI feedback is also very useful for data quality, data generation. So if we have a good quality judgment, then we can...
So we can filter out those bad quality data and improve the quality for training. So when I first look at this problem two years ago, I first want to look at the model's self evaluation capability, which means does the model really know whether the model its generation is good or bad.
So this, I come from the very basics, so because we know all the language model is like a large language model is a decoder only model right now, so the model will make next token prediction. So naturally we can regard this log likelihood of the output sequence as a score to some extent for like confidence score.
And another reason for using this is because when we do the language model training, we use perplexity as a loss. And the perplexity is actually just the negative of the log probability. So we naturally can think that log probability could be a good indicate a good indicator for the quality. So I start from here. I was looking in the literature to see whether log probability is a good
at a well calibrated score to indicate quality. In several papers, including uh one from anthropic, the other one from uh JPT for technical report, they both mention that large language models are well calibrated on multiple choice and the true or false questions.
uh which means that if uh the question is very uh simple like the output is very simple like only one token P_A_B_C_D_ or P_E_S or no, then the uh probability is well calibrated. That's good thing. However, uh if we look at the other literatures we found something different. Uh
So although the model are very good at multiple choice and true or false problem calibration, but for free form generation if we have long generations output sequence, actually log probability is not a reliable indicator for the quality. Several paper have mentioned that and that actually is the motivation for ROHF because people think
uh the log likelihood is not a good indicator, so we need to fine-tune the model to better align with human judge the quality. So now we have a table like this. Um for token level uh output, for example, multiple choice or true or false, we have a well calibration. But for free-form generation, no we don't have a good calibration of that.
What should we do? Because in general use case, all kinds of generation is like free form. The multiple choice and true or false are quite restricted. So if we want to have a good calibration for free form generation, how should they do that? So I came up with this idea that what about we reduce this free form generation problem to multiple choice and the true or false question.
So that we can leverage the token level property, well calibration property there. And then we can leverage that property and then get a very good calibration for free form generation. What do I mean? So the idea was quite simple. I call it a sample and select. So given a question, we have large language model and we sample multiple answers.
Naturally we could use sequence level log probability, but we know it's not good. So what should they do? So what I propose is what we can do is just uh concatenate those uh generated answers and put them into a multiple choice format like this. And then uh you have the original question and then you have your candidate generation.
And then in the end you ask what is the best answer. Then in this way the output will become a token level output, A_B_C_D_ And then we can use the P_ of A_B_C_D_ to replace original like sequence level a score, log probability score. And uh because we know P_ A_B_C_D_ is uh well calibrated, so uh in this way we are able to have a better calibration score to represent each of the answer.
However, there are some issues with this simple strategy. First issue is position bias. Because we sample multiple answer, there's no order for those answer. But if you put them into a list, the position that this answer is listed in the ABCD, it affects the final score.
This is so -called a positional bias. But a simple shuffle in the average could debias the score and make it useful. Another issue of this strategy is sometimes there's no none of the sampled answers is correct. And if we force the model to choose one, then the model will hallucinate.
So instead we add one more option to the end of the list called none of the above so that then the model we give model a chance to to say no and to say I don't know and this the P of D P of the none of the above actually is an indicator of uncertainty. A certain issue for this strategy is that the probability can be dispersed.
In the well -designed original multiple choice question answer QA, there's only one correct answer, but in this strategy, the sample select, there's no guarantee we only have one correct answer. So if we have multiple correct answers, then the probability of this answer will be split into multiple, by the number of correct answer.
And then a score is not useful anymore because it depends on the number of correct answers. Because of this, I came up with a second strategy called sample and evolve. I want to make the score independent of other answers. So what we do, we just put this question and answer into a true or false or yes or no question.

Yes or no question. So at the end, we ask whether this answer is correct or not. And we use P_E_S_ or no as a confidence score to indicate the correctness of this answer.
And this score has an advantage that it's answer independent, so there's no probability dispersion issue. But this part format sample the evolve lost opportunity for comparing different answers like the multiple choice format.
So if we want to take the best of both words, we propose the hybrid mode. So we first use multiple choice format to select the best answer, but in order to give the answer a score, we use a point-wise eval, yes or no, to assign a score for this answer. Then we are able to use this score as a confidence score for selective generation.
So this is the, we evaluate the methods on a truthful QA data set which is a popular data set for detecting the truthfulness and hallucination. We compare with the method like sequence level likelihood and also length normalized sequence likelihood. You can see the baseline even have a calibration AUC below 50% 50 so
It's like the direction is even wrong for using these scores to indicate the quality. But after applying our self sample the select sample at the evolve and the hybrid, we're able to correct the like improve the calibration AUC a lot also have an improvement on the accuracy as well.
Yeah. So in summary, this work tells us that the sequence level log probability is not a good indicator for the quality. But we have a very simple fix for that, just to reduce the free form generation to a multiple choice or like pointwise evaluation task so that you can leverage the token level probability to score those answers.
And those score derived from self-evaluation are better suited for a selective generation. Okay, so after this work, we started to think about this is very useful. It's like model self -evaluation capability is very useful. How can we leverage this self-evaluation capability for test time scaling?
So test time scaling is in contrast to the training time scaling, which means that at test time, at inference time, if we spend more budget on generating tokens, we are able to improve the test time performance better.
One simple strategy for test time scaling is just the best of n. We sample n answer and use some model to choose the best one. The common practice is using majority vote to select the most consistent one or you use a reward model to select the best one. However,
The literature said there was a study in 2024 last year showing that this test time scaling has very high potential if you have an oracle reward model to select the best answer, select the ground truth. However, in practice, if you don't have that oracle ideal reward model, if you only use a majority vote or reward model.
Then you don't, you are not able to achieve this very efficient scaling law. Your scaling law actually got plateau. So there is a huge gap between this reality and the ideal oracle scenario. So what else can we try to improve the scaling law?
So we mentioned this parallel sampling, which is like we are given a question, we independently sample multiple answers and choose the best. But another strategy could be we are given just one answer, we can iteratively improve, revise and improve until we get a good answer. This is another way to use the test time compute budget. This is called a sequential revision.
In one work, they have tried this method, but they mentioned that if we train a separate revision model to revise the response, we are able to make efficient test time scaling law. So then our question was why do we really need a separate revision model or can we leverage the model self evaluation capability to help the model revise its own answer.
So then we came up with this Z test idea, self-enhanced test time scaling. Given a query, we let the language model sample multiple independently sample multiple initial answer. And then for each of the initial answer, we let the model to self-verify whether this answer is correct or not. And if it's not correct, we let the model to self-correct it.
based on its own feedback and then until iteratively until itself verified correctly. Then at the end, once we collect all the final answer for each pass, we do a majority vote as a self, find the most self consistent answer as our final answer. So why do we need both sequential sampling and also parallel sampling?
The benefit of using Parallel sampling is because it can help us to increase the diversity of our response and give us a higher chance to sample a good initial solution to start with. It also help us to do the majority vote at the end, and the majority vote will give us a better for consistent score and which can be used as a calibration score.
So our method in general is integrates the sampling, self-verification, self-correction into a unified framework enabling efficient and scalable test time computation.
So again, why do we really, it's just to understand why, what is our intuition, why do we really strongly believe that the model self-evaluation and self -correction can help us to do the efficiently, do the scaling law, test time scaling, because we found that in the recent model, as all the language model developed very rapidly recently, the self-verification and the self-correction.
Capability of those model also improved very significantly over the years, like the recent one or two years. You can see that for Gemini model 1.501 to 1.02, the self-verification F1 score increased from 27 to 95. And also self -correction after round one, round two, the quality also improved so much.
So that's why we have a strong belief that this could be helpful for test time scaling.
As a result, you can s oh this is uh the experiment result on our method comparing with a baseline which is a best of N_ um plus majority votes. Uh so the baseline is in orange and our method is in blue. Uh the dotted line are the oracle uh performance which assume we have ideal uh selection on the best answer. Uh you can see that uh if we use our approach
We significantly improve the test time scaling efficiency and previously the best-of-end plus majority vote actually got plateau but if we use self-evaluation self-correction iteratively improve the model's quality that we are able to continuously increase the accuracy of the outputs as we spend more budget on the outputs.
yeah by the way we tested this on planning task and also as well as a reasoning task we reasoned to also try the method on a math task it also works well there besides accuracy we also care about our confidence score and the calibration we noted note that we not only have a better accuracy but also using this
Such as multiple sampling and parallel revision, the final self-consistency score is also better calibrated than the baseline.
So for this work our conclusion here is like we really want to persuade people that self -evaluation and self-correction capability of the modern like recent language models got significantly improved and we can leverage that for test time scaling. So those are some studies I made for study the...
self-evaluation of the model to see whether the model really understand what to trust, whether to trust its output. Obviously there

Obviously there's another approach we could get AI feedback which is like using a train a separate reward model to judge the answer right so but the reward model we heard about the word like reward hacking so how could we train a reliable and the robust reward model to evaluate the correctness
So what is a reward model? Let me maybe just briefly introduce that. So reward model means we want to train a model to mimic the human judgment.
So this is just the one type of reward model used in RHOHF. So given a question, we have a pair of answers and maybe we hired a human judge to judge which one is better. Then we collect a lot of data like this, pairwise data. And then we train a classifier to help us to mimic this prediction, like which one is better. And this is so -called a reward model.
It's basically a binary classification model trained on human preference data. Because it's trained on human preference data, human have biases. For example, human rater prefer longer, better formatted answers and sometimes like emoji evolves response. So human have some natural preference on some formats and longer response.
Then if we train our reward model on this human rating data, the model will have this bias inherited. So that is where the reward hacking happens. So suppose our data contains a lot of pairs have the chosen one.
is longer than the rejected one for suppose 80 percent of the chosen one is longer than the rejected one then the reward model can just simply find the shortcut to make 80 accuracy by just accounting the number of tokens in the response and then make the prediction but this is not what we really want we want a reward model to truly find the signal
for the underlying correctness, not just based on those very superficial artifacts. So our mental model for this reward hacking is like suppose X is a prompt, Y1, Y2 are two responses, C is the human label, S is the true signal that decided which one is better. But besides S, we have some artifacts that can also affect our label.
So those artifacts are like lens, emoji, some markdown formats and so on. We really don't want those artifacts affect too much on our prediction. We want the true signal to be learned by the reward model. So what should we do? We need to debias and mitigate this hacking issue.
So what we really want is to remove the connection between A and C artifacts and the final label. We don't want these two to be uh correlated. So based on this uh causal framework, we uh propose a method that call uh just using data augmentation. The idea is very very simple uh so
Suppose we have these three different pairs, X11, Y2, X11, Y2. They are three different question and the answer pairs. And then if we train our traditional reward model, which would just train the model on three pairs and gets the classification model.
Now we want to add more data to this original data. What do we do? So given an original pair like X, Y winner, Y loser, we create a new pair which is X same X, but we put the
Loser answer as a winner answer and pair it with a non -contextual winner as a loser. What do I mean? So we know that for this pair, the first pair in blue, the winner definitely is better than the loser one. But if we use a loser one paired with the orange winner, because orange winner is not even answer the question of the blue question, X.
Then if we pair the Y looser with the orange one, then this Y looser will become a winner. In this case, we are able to bring the artifacts into the looser case. I don't know, maybe it's too fast. So the issue with this reward hacking, let me try again. The issue with the reward hacking is that we found a lot of chosen answer have the artifacts. Thanks for watching.
like emoji bold for bold face and so on if there are many many these cases then the model will learn the pattern and make a very lazy prediction based on that so now the question is how can we
add more data to mitigate this issue. So what we propose is we can create new pairs which use a looser answer as a preferred and paired it with a non -contextual separate winner as a looser. So that if we do this way, these three
The loser one will become a winner and the orange one which is a completely separate different answer to the orange question will be a loser because it's non-contextual to this question X. And in this way if we create a lot of pairs like this then the artifacts you will see the artifacts in the loser response and then we will have more balanced artifacts in both winner and the loser.
The example here you can see it clearly. So if this is the length of the original data, the original data have a 60 % of the pair which longer answer is the winner answer.
But now if we do augmentation and augment the data, then we have 50-50 percent roughly. There is no significant bias in the length for the chosen and the rejected answers. And as a result we train our reward model based on this data augmented data. And then we see it gains a lot on the reward bench.
benchmark, especially for the hard category and safety, an average we have a four percent improvement. Also if we use our reward model, the the robust reward model we call R_R_M_ to train a policy, um uh either is be uh best of N_ or D_P_O_ we're able to see that
Our final answer, the policy will generate shorter response but higher quality response. This LC is the less controlled win rate and the WR is the raw win rate. So you can see our final model generation become shorter but higher quality. That is what we want, we want the model to mitigate this length bias.
Yeah, so in summary, the reward model can be easily hacked by human subjective artifacts. And this is unavoidable because human has this bias. And the way introduce a data augmentation approach based on a causal framework to mitigate the reward hacking. And this reward bias is general to model-based AI feedback, not just for reward model. So this proposed technique is general to use.
So that's all my talk. So the take-home message is I think AI feedback is a very critical area for language model development and this is a promising area to work on. And the reliable AI feedback requires very good calibration so that we know when to trust. It also requires that the model need to be objective, not subjective.
And the way proposed a way to mitigate this subjectiveness. And I haven't, there are more broad like topics in this field. For example, stepwise judgment like a PRM, for example, like now we are discussing like we use a model to give one score for the response, but there is possible that we use more vibrant.
Figrand judgment for each step -wise, or we use a more rubrics-guided judgment for the answer, so that we get a figrand judgment. This is like a lot of work have been done here. I think our approach can also apply to those different models.
Another, I think, more interesting question is I think human feedback is currently the most mainstream way to train the reward model. But in order to get a super human AGI, super human language model, I think we do need a super human feedback. So human has our, we have our own limitation, for example, on some hard problem like code.
mass we average human cannot rate it well well very well so if we really want to achieve superhuman capability we really want to build some superhuman feedback so that we can

superhuman feedback so that we can play beyond the human. Yeah, that's it. So thank you very much. I want to give special thanks to the organizer and for your invitation. Thank you very much. I'm happy to take questions. Yeah, thank you Gia for this very interesting talk. If you have any question, please raise your hand. I can pass the mic around.
Hello, thanks thanks for the nice talk.
Uh you mentioned about like uh recovering the objective uh rewards for like task solving abilities. But often it's you solve the task completely but people want their responses to be formatted in a certain way. Mm. So how do you r like what's your roadmap to that like when you think of personalised rewards, they'll p they'll often have these kind of biases, Yes, right? yes. But they are not relevant to solving the task. So you might wanna first solve the task and then once the task is solved,
When you're returning the response to the user, you probably format it in a way that they m they might appeal to Yeah. different people. That very good question. This is something I have been thinking uh from
For a while. So I think this is the way you mentioned like first you make sure it's correct and then at later stage you fine -tune into a better format. That is one way to approach. Another way is to really keep the balance between the two, find a very good balance on the two. Why we do really want to mitigate the reward hacking is because
The model is very easy to be overconfident and find a shortcut. So if we do not do this mitigation, the model will just naively predict the baseline artifact. That is not what we really want. So we want to mitigate that to some extent. The model learn hard and find the true signal that is useful. But on the other hand, we can tune the...
have a good balance between the two uh so that we um not just completely remove the uh good style but keep some but um on the other hand we don't want to the reward model to hacked. Yeah, that's uh something I have been thinking about. Thank Yes. you for your question. Uh we may have s some time for another one question or two.
Hello, hi, thank you for your talk. I'm quite interested in the second work. I'm just wondering have you ever uh tried with like uh the reasoning scenario for example you have uh COTs as your responses. Is it possible to make maybe for example assign A_B_C_D_ to like four different uh COT responses and then use that trick? So for the second word do you mean the self-improvement work? Uh test time Yeah, yes. yeah. So actually in that test time we were not um
only using not restricted to a b c d we will just use the free form generation. But at the end ask the model whether to output a yes or no as a so the so so in our work we were using a Chernoff bound as a middle output and uh as a final output we add this true or false. Okay, so for the for each like uh a b c d there are it doesn't matter what format that could be. Yeah, so we just uh concatenate all of them. Okay. Um yeah, so it's
uh hopeful uh yeah because the model right now a lot of model have this reasoning capability. So it's helpful for adding those to the self-improvement. All right, thank Yeah, you. thank you very Maybe one more question if there's more hands. Some more hands? Oh more? All right. If not, let's thank the speaker again. Thank you. Thank you very much.
Right, I think now we do have the third and final session. Um I've been actually very surprised, positively surprised about the interactions during the poster session. Whoops. Uh So now I'm putting again this schedule up. Um So we will have the final talk starting at uh four ten. Um
Uh which means we have a little bit less than an hour. Uh there are also some refreshments outside in case you want, but um otherwise uh please grab the chance to interact with the authors um in the third poster session.









Tchau.

Once again we will be starting now with the talk from Professor Michaela von Deschner. She is a distinguished professor, specifically John Humphrey Plummer Professor of Machine Learning in the University of Cambridge. Michaela has won several awards and has done influential work.
um including in the domain of interpretability and uh biomedical models so I guess we are going to hear some new and exciting insights from Michaela and with that we are going to project um now the uh screen. Michaela unfortunately couldn't be with us uh today in the uh room but uh she will be starting soon.
Uh once again if for those on the back, please take a seat. We we will have a uh the last
talk for the day and this will be followed by the panel but you can still after the panel I guess uh revisit the poster if necessary. With that um Michaela if you're if you can hear us uh the floor is Yes, yours. yes I can. Yes, thank you very much. Thank you very much to you, Gregorius, and to all the organizers for the kind invitation and deep excuses to the audience for not being able to be there. I'd like to talk to you today about the wisdom of uncertainty.
Why saying I don't know as well as asking better questions requires thought but also can build reliable AI? So this talk today is going to have two different components. The first part is going to focus on the consistent reasoning paradox of intelligence.
The consistent reasoning paradox, or for short CRP, because you are going to hear it a lot today, lies at the core of human intelligence and is actually the ability to handle tasks that are equivalent, yet described by different scenarios. For instance, tell me the time, or what is the time? And CRP asserts that consistent reasoning implies fallibility.
And I'm going to talk about why this is important for optimal trust in large language models, and I'm going to hence talk about the power of I don't know. And this will be a more mathematical talk. It is done together with mathematicians at the University of Cambridge and others in the UK.
And then in the second part I'm going to kind of pivot and look at a slightly different angle on large language models ability to address ambiguously specified problems that are frequent in real -world interactions.

some theoretical interactions and I'm going to highlight a paper that was presented in the main conference that I clear. If you want to download the slides that I'm presenting here is the QR code please take a screenshot and you can access the slides as well.
So the first part of the talk is about CRP, the consistent reasoning paradox, and as I mentioned, this is joint work with a collection of wonderful mathematicians, many of them pure mathematicians, including my colleague Anders Hansen that is highlighted here.
So we know that consistent reasoning is needed for exams, for instance, for GRE. And GRE tests have substantial part actually of their tests on the sentence equivalence problem. And sentence equivalence, as we are going to show, is in general strictly harder than consistent reasoning.
So students not attempting to be consistently reasoning will do poorly on difficult GRE tests. An AI that provides the same answers to sentences that are describing the same problem is going to be called by me consistent reasoning AI. For example, a consistently reasoning AI provides the same answer to both questions is one larger than zero.
in mathematical terms as well as is the number zero greater than the number one. Now I'm going to argue that attempting consistent reasoning is not something nice to have, it's a necessity for everything that claims to become artificial super intelligence or for that matter for any reasonable advanced AGI.
So we need to have consistent reasoning. Now, KGBD is attempting to reason consistently, and you see here in the interaction that I'm going to just go briefly on to highlight the ideas. So Lisa and John are wondering who is the tallest. John is measured in centimeters, has 178 centimeters, and Lisa is measured to 179 centimeters. Who is the tallest, Lisa or John?
And then you see the answer of charge APD and it correctly identifies that the tallest person between Lisa and John is Lisa. Then you see a second version of this. John and Lisa are arguing who is the tallest and subsequently measure their heights. Lisa is 179 cm and John is 178 cm. Determine who is the tallest of John and Lisa. And again you see the answer of charge APD.
Now, ChatGPT-4 attempts mimicking human intelligence by consistent reasoning, and when presented with different sentences, for instance, like the one that I described, describing both of them equivalent numbers and equivalent problems, it provides correct answers. We have examples in our paper that's on archive and currently in submission on numerous types of other bots besides ChatGPT.
And however, and we do it not only for text, we also do it for code and many other settings, and we will show in this talk and in our paper, we show extensively that CRP implies that such consistent reasoning behavior will always lead to hallucinations, unless the AI will have the power to say, I don't know.
So this part, the first part of the talk is about the importance to have an operator called I don't know. So again, ACI requires consistent reasoning, that's not a wish, it's a mandate. And we only need attempting consistent reasoning for the consistent reasoning paradox to bite us.
So again, this consistent reasoning paradox is not a mathematical, the paper is very mathematical, but the consistent reasoning paradox is actually something very powerful and very much in the real world, because anytime we are attempting consistent reasoning, the consistent reasoning paradox will apply.
Now let's consider some problem for medicine. Grigoris likely said I'm very interested in medicine, but this has nothing to do with medicine. This is just an example. This is in any area of reasoning. You see Jen undergoes two chemotherapies with dosage rates A1 and A2 per second respectively and to optimally minimize the total treatment time X1 plus X2 while measuring that she receives a total dosage of one.
How should one choose the duration x1 and x2 if A1 is 1 over 10 and A2 is half? With a particular choice of positive rational numbers A1 and A2, the above sentence describes a problem. It is a problem that we all immediately identify as mathematicians in the room or as engineers in the room or computer scientists in the room as a basic linear program.
And by varying a1 and a2, we obtain a collection of different problems. Now, in the following sentence, we replace with a1 being 1 over 10, so a1 is given the number 1 over 10, and a2 is given half. And clearly, the first problem and the problem described here are different, yet equivalent sentences. They describe the same problem.
Now, what you see here is these different types of collections of problems, and I'm going to go step by step on a variety of challenges which this consistent reasoning paradox is going to provide to us. And given the collection of problems, one sentence per problem can always be handled by an AI system.
This is the CRP1 point that I'm going to make. However, if this AI attempts to reason consistently by accepting the larger family of sentences, formulating the same class of problems, then it will often hallucinate infinitely often. And this is regardless of the speed and memory constraints, and this is a proof. And this is CRP2.
So CRP. CRP has five components, all of which I'm going to highlight and are intimately connected. What CRP1 says is that the non -hallucinating AI exists. And again, these are proofs that are provided, these are propositions that are provided in the paper with complex proof.
There is a collection of problems generated from star where each problem is described by several equivalent sentences. Consider any family of these sentences such that each problem is described by one sentence, then there is an AI that does not hallucinate. It is the AI will always be correct and always answer given any sentence in this family.
So what CRP1 essentially says is that one can produce a lot of specialized AIs on specific domains that will never hallucinate. The problem is that the specialized AI, let's call it special bot in CRP1, is not attempting to reason consistently.
If it is given a question outside of its domain, it may freeze or not provides any output, it will simply run forever until it's literally unplugged or restarted. And the issue is that to create ACI or AGI, the ACI must attempt to reason consistently. Thus the special bot can never be an ACRI.
In the next slide, CRP2 is about what happens when special board attempts to be such a consistent reasoner. So you see here CRP2 attempting consistent reasoning yields hallucinations.
Again, this is a proposition. If the I from CRP1 always answered, dare and were to surpass or emulate human intelligence, that is, it would attempt to reason consistently by attempting any family of sentences describing the collection of problems in CRP1, then it will hallucinate infinitely often. And the hallucinations would happen even if the I was implemented on a computer with arbitrary storage and speed.
Thus, if special bots would always answer and try to emulate this intelligence by attempting to consistently reason, thus accepting any other family of sentences that describe the problem in the class star, then the special bot will hallucinate infinitely often.
So we can get here uneasy about this type of proposition and I need to say the first time I talked to my mathematical colleagues and mathematician colleagues, I as a machine learner was somewhat uneasy about CRP because it suggests that hallucination questions, meaning those that will make the AI hallucinate, could be of arbitrary length. This one could imagine that sentences that cause the problem would be longer than the universe.
Another objection that I had was, how do we find these hallucination sentences? Will they ever occur or is this some mathematical trick?

Think. And to counter this, my mathematician colleagues, and we actually in our paper, write down the hallucination sentences and estimate their lengths and we show that they are not of arbitrary length and will never be longer than the code for the eye itself. Thus we have an upper bound and we can likely prove better results in the future.
So as a result, we can easily construct a benchmark test where we, and we do so in the paper, where we produce a collection of sentences such that any probability distribution of this collection, the eye will hallucinate and will hallucinate with probability one. So this is very interesting and impactful for the real world, not a mathematical curiosity. And CRP is actually stronger.
We can prove that the length of the failure sentences can be precisely estimated. Now, can hallucination from CRP2 be detected? CRP1 and 2 imply that an eye that reason consistently must hallucinate. However, it could have been the case that this hallucination could be detected by a separate algorithm, thus leading in effect to a hallucination-free AI.
CRP-free A demonstrates this is unfortunately impossible. So CRP-free has two parts, detecting hallucination is hard. The A part says that consider, and again this is a proposition, considering the same AI from part two which attempts to consistently reason. It is strictly harder to determine if it has hallucinated than solving the original problem.
Hence, it is impossible to detect whether the eye was correct or wrong. And what this really means, what this proposition really means, is that we cannot fix hallucinations by trying an a posteriori method in general. What could we be almost sure about detecting hallucinations? What this proposition says is that we cannot fix hallucinations by trying an a posteriori method in general. What this proposition says is that we cannot fix hallucinations by trying an a posteriori method in general.
It says nothing really about that. For example, suppose we have in addition to the original AI that hallucinates, 100 or 1000 chatbots that are stop casting, just like modern chatbots are. This 100 or 1000 chatbots will be asked if the original AI was correct or not on a specific question.
And what if a certain percentage, 90% of them, said that AI was correct? Could we be then 90 % sure that AI was correct? Is this possible to be almost sure? So this is the question we want to answer. Can we detect hallucinations in a randomized way?
To be almost sure, like we often do in machine learning. Again, a challenge that I pose my mathematician colleagues. And what this part B says is that one cannot unfortunately detect hallucination of their eye with a randomized algorithmic probability P larger than half on all the inputs. One cannot be almost sure.
So what it says is that the hallucination phenomena cannot be solved when it comes to reasoning problems by estimating the uncertainty of the eye. In short, if the eye is almost sure, it can be made 100 % sure. And the solution to the hallucination problem is not this randomisation, but is instead computing an I don't know function.
And this I don't know function is the core of the fourth proposition. So this says this is focused on the fallible yet and importantly transportable explainable AI that is capable to say I don't know, doesn't just guess.
So the proposition is, given the collection of problems in one, there exists a trustworthy consistent reasoning and explaining with AI as follows. The AI takes as input a prescribed number of minutes and any sentence describing the problem and it will think for no more than the prescribed number of minutes before answering either I know accompanied by a correct answer and a correct logical explanation.
Or it says, I don't know. If the sentence describes a multi -solution problem, the AI will always say, I don't know. However, there is only one problem in the collection that is multi-valued, but many different sentences describing it. For any single value solution problem, by choosing the number of minutes to be large enough, the AI will say, I know.
So what does this really say? Let me unravel this for you. This is mathematical speak. The key to CRP4 is computing really this I don't know function. And what it says is that the transformer, the transformer TI must compute such a function. This is a mathematical function that determines which problems the I can solve and which problems it cannot solve. And the hard thing is to determine when an I can be right and it must say.
and when it's right and can produce a solution and when it must say I don't know and we have in the paper details about the I don't know function and it is beyond the scope of the talk and quite mathematical but the initialization of a program computing I don't know can be found in the paper so if you are interested please take a look so the consequences of this first part of the talk is that every trustworthy
Artificial general intelligence, artificial superintelligence never answers incorrectly and computes instead an I don't know function. Hence, every trustworthy AI knows how to give up.
The consequences of this also can be found in CRP5 and the final point here is that any trustworthy AGI must be able to say I don't know to question that it cannot answer and any trustworthy AGI will implicitly compute an I don't know function and eventually give up just like we humans do.
And there is a trustworthy, capable of saying I don't know, consistently reasoning and explainable AI on the collection of problems that special chatbot can solve. So the consequences for modern chatbots as well as future chatbots is that they will not be trustworthy and continue hallucinating and they will continue to hallucinate until we compute an I don't know function.
You see here a short summary of the consistent reasoning paradox. With human-like intelligence comes human-like fallibility and emulating human intelligence comes at the cost of fallibility which can only be remedied and only can be remedied by saying I don't know. So trustworthy AI knows how to give up just like a human by implicitly computing this I don't know function.
I hope you'll take a look at the paper. So there are problems where any AI that always answers and tries to mimic human intelligence by reasoning consistently will hallucinate. And the paradox is that there exists a non-consistent reasoning AI that will be correct on the same set of problems.
The CRP also shows that detecting these hallucinations is strictly harder than solving the original problem and that there are problems that an AI may answer correctly, but it cannot provide a correct logical explanation for it and how it arrived. So therefore CRP implies that any trustworthy AI that also reasons consistently must be able to say I do not know.
Again, I hope you take a look. With this I'm going to go to the second part of the talk where I'm going to talk about something really quite different. This is a paper that was presented in the main track at ICLEAR and this is with brilliant students Kasia, Nikolas and Tennyson highlighted here. All three of them are at ICLEAR. I hope you meet them down the corridors and have a discussion about this work that I'm highlighted here if you not already have done so.
And this is about active task disambiguation with large language models. So despite the impressive performance of large language models across a variety of benchmarks, their ability to address ambiguously specified problems remains not understood and underexplored. And this is the focus of this work.
Generating effective clarifying questions requires the large language model agents to engage in a form of metacognitive reasoning, and this is an ability that LLMs currently lack and one that we have endowed them with in this work. So our goal was to introduce a formal definition of task ambiguity and frame the problem of task disambiguation.
And then propose an approach for active task disambiguation that can be built on any LLM agent to generate targeted questions that are maximizing the information gain. So let's look at the ambiguity in natural language. We know that this is a...

In natural language, we know that this is a key problem. You see here an example, write a function to search for an item in a list. And this problem of code generation with an LLM agent is based on a prompt, a prompt I'm going to call S.
This prompt S will have two parts, a requirement part and C, and C is the natural language instruction guiding the large language model to output a code solution, which I'm going to call as in this figure H, and the requirements are for the generated code include the expected functionality of the code and any other type of additional test that the generated solution should pass. And here is an example that you see out of it.
So what we will need to do is to really try to understand what is really the requirement to disambiguate the task. And we see here a set of sampling clarifying questions that the agent may pose the human to clarify and disambiguate the problem.
So the goal for us will be not to ask a billion questions and engage in an endless conversation, but rather generate the most informative clarifying questions, get the problem disambiguated and then solve it. So let's formalize this problem of task disambiguation. We let sigma denote the space of natural language.
And we define a problem statement as appurtenant to sigma as a natural language instruction for an agent to generate a solution h which appurtenants in sigma, so belonging to this unknown set of ground truth solutions that we are trying to identify and this is h star. So h star is the set of ground truth acceptable solutions.
In our example, the ground truth H star contains, for instance, all programs H that pass all, for instance, hidden test cases or satisfy the internal needs of the human user. Now, we have requirements and additional context. And let us consider our problem of code generation based on a prompt S to have these two components, R and C.
And again, seize the natural language instruction guiding the large language model to output a code solution H, and the requirements for the generated code are described in the first component R, which includes the expected functionality of the code and any other types of test cases. Now, what you see in here is
This kind of problem formalism, which has these key components S, agent, age star, and the generated distribution of the LLM agent is going to be called P of phi age. And what we are interested in is P star, the likelihood of a solution being preferred by the user. So what we are trying to optimize is
the expression highlighted here, which is the objective indicator of the requirement satisfiability as well as the subjective user-dependent preference factor.
So, we assume that for any s, P star may be decomposed as shown in this particular equation at the bottom of the slide. And again, this first term is an indicator function that assesses if a solution H satisfies the requirement R or not. And this indicator function is objective in the sense that it represents an unquestionable truth about the sample solution H.
And in contrast, the second part, the second term is context-dependent and subjective, and given the same contextual information, different problem setters, for instance different human users, may have varying preferences over competing solutions that satisfy the given set of requirements, so they are inherently subjective.
Now, here is a proposition from our paper and what we do actually we focus on a task of under the task of under specified and problems and maybe maybe I should maybe I should say a few words about this actually so a situation where the support of P star actually extends beyond the set of acceptable solutions.
And this is when the problems are under-specified. And what we see here is, if you like, a formal definition of task ambiguity. And the LLM agent will attempt to solve a task specified by S, and on the basis of this will generate a solution H according to its own generated distribution P phi that I introduced before. And if S is ambiguous...
Providing a correct solution becomes challenging due to the risk of being of course misinterpreted and this misinterpretation can, the risk of misinterpretation is high if the distribution p star and p phi are not aligned and this is what I'm trying to highlight in here. So this is the set of acceptable solutions, this is the preference distribution.
And the agent is going to really generate solutions, P5, and the ultimate goal would be to generate a solution belonging to H star. So it starts with all compatible solutions, all the solutions that the agent will generate, but we want to put questions in such a way to disambiguate the problem to generate a solution belonging to H star.
Now, this is easier than done because ambiguity inflates uncertainty. With ambiguous problems, the risk of generating an unsatisfactory solution is high. And there is also a second challenge which resides in the heterogeneity of the individuals, the humans, because the preference of individual humans may vary vastly and the most likely solution according to the vote of the average population may not be what the user wants.
So these are the two challenges we need to solve and the strategy that we propose is iterative task elicitation where we successively extend the risk of requirements, extend this risk of the set of requirements by asking subsequent clarifying questions. So let us see.
On the left denote a task specification at time t and at each run, so iterative task elicitation, at each task of the conversation with the human, the agent can ask a clarifying question, Qt, and after receiving the oracle answers a t, the problem statement gets updated to st plus one.
At each interaction step, the set of solutions compatible with ST becomes smaller and successively concentrates around the true solution set H star, thereby mitigating the risk of failure. So our goal in this approach is to ensure personalized alignment without the need of model fine-tuning by asking these questions.
Now, after a few rounds, the solution generating distribution concentrates around H star, and you see that happening here. So our goal is to generate a good clarifying question with minimal interaction costs. And you see here kind of the human with the problem statement, you see the LLM problem solving agent, and you see this question generator that we have built.
question evaluator and we are trying to ask the best possible question to ask the human out of the possible questions that we can determine. The question is that we want to do that again we want to do that in a minimum number of steps and that requires us to have a measure of the utility of the best question to ask and the way we solve this is by casting this problem as a Bayesian experimental design problem.
which is a very powerful way of thinking for decision making under uncertainty. So again maybe a few words as to why we rely on the principle of Bayesian experimental design. Bayesian experimental design aims to really design optimal experiments usually by maximizing the amount of information about an unknown quantity of interest.
And this is gained from an outcome of an experiment. In this case, the experiment will be asking the question to the human and getting a response. So in the context of the problem solving with LLMs, an experiment will be asking a question to both posed by the LLM agent and the outcome is the Oracle answer A.
And unknown quantity of interest is the generated solution age. So with this in mind, sorry, we need to compute the utility of a question and we measure this using information gain from obtaining the additional task specification as a pair Q&A, given a problem statement S.

Given a problem statement S, and this is really highlighted here, and of course age in here is the Shannon entropy. Since information gain depends on the unknown answer, we instead measure the expected information gain, since we do not have access to the answer itself. So we are computing this in expectation.
Estimation of EG in high-dimensional space of natural language is non-trivial, and we also do not know the ground-truth user-specific distribution P star. And this distribution may not be aligned with what the agent does, P phi. So, an assumption that we are going to make is that since the ground-truth oracle distribution is unknown, we will assume it is uniform over the space of compatible solution.
So as p star is unknown and p phi may be inadequately biased, our strategy of task disambiguation will be agnostic to the biases of both p star and p phi. And we will therefore approximate p star with a uniform distribution over the set of all possible solutions compatible with a given set of requirements.
So a first corollary that we prove in the paper is shown in here, where we say that let H be the set of solutions compatible with the requirements R with the problem statement S, and then suppose that P star is uniform in H. Let Qn be the set of all questions with exactly N possible answers such that for any question Q there exists a finite set of possible answers AQ.
which have and total question -answer pairs and QA induces a new requirement. Then the EEG is maximized for a question Q-star whose possible answers in AQ-star partition Q into equal -sized subsets.
The first part of this corollary provides us an insight that binary questions, yes or no questions, are questions with the highest EG, is the one that splits the hypothesis into two equal parts. The second part, the second insight we can get from this corollary implies that a question with more possible answers can result in an
Larger information gain and however this requires a categorization of all the possible solutions that partitioned them into balanced subsets. So for instance in the extreme case where the cardinality of H is k, the question with the highest information gain is the one whose answer always points to the exact solution exact one of the solution in H.
So perhaps one way to ask such questions is to enumerate all the solutions. But arguably this is neither a good way of approaching this nor a user-friendly one as it requires the user to determine any of the k-possible solutions. And we are going to argue next that the questions with a small set of possible solutions
um we need to induce a balanced partitioning of the solution space and this is highlighted here so what you see on the right side is the key point we are trying to make in the algorithm is that given the unknown bias of p star the question with the largest information gain is the one that splits the space of compatible solution into this equal
partitions and generating such a question requires the large language model to reason about the set of possible solution at each interaction step and identifying the features that discern them and such a reasoning process an iterative reasoning process can be viewed as meta -cognition ability require an LLM agent to consider the uncertainty within its own generative distribution.
Now, while this is a straightforward solution to asking clarifying questions, maybe simply to perform zero -shot prompting of the large language model, we hypothesize that the out-of -box capabilities of LLMs in this form of reasoning are lacking.
And this may be caused by, for instance, a relatively small number of clarifying questions that are in the pre-training corpus. So our proposed method of solving this explicitly evaluates the utility of the candidate questions via a small set of sampled self -generated solution and return the question that maximizes its utility.
Now our method of active task disambiguation consists of these various steps. At each iteration step we are sampling the set of n candidate solutions, we are sampling the set of m candidate questions, we obtain pseudo answers for each question for about every solution and then we approximate the utility of each question q.
at iteration t on J based on the answers we obtain. And then we return the question that is maximizing the utility. We record the answer a star and then we extend the problem set and we continue.
Now, in the above description and what we just described, P phi corresponds to the question in generating distribution of the LLM. And what's interesting is that it's the step three which requires us to estimate the expected information gain, and this is done using this algorithm presented here.
This estimate is computed by generating all the possible question QJ and answers about each sample distribution H, sample solution H. And depending on the type of solutions these answers may be generated by the problem solving LLM itself or they can be evaluated by an external pool.
set a set of two or an except another set of questions now how did we validate this we validate this first with a game of 20 questions where the user thinks about an object and then LM asks yes or no questions
And this game is a classic guessing game that provides one player A with thinking of an object and player B, which in this case is the LLM, answering up to 20 yes or no questions to guess what this object is. And the object can be anything, can be categorized into an animal, a place, a person.
And this is to give the guessers a starting point and the goal for the guesser is to identify the object within fewer than 20 questions. And the reason we like this is not only this is an interesting and fun benchmark, but it also serves a parallel to real world applications, for instance in conversational search, in content recommendation and importantly in medical diagnosis.
And what we show in the paper is that the expected information gain
In its uniform strategy already outperforms the remaining strategies by quite a significant margin. Just shifting the reasoning load from question space to direct reasoning about the solution space results in improved efficacy of the selected questions. The elicited requirements lead to a higher likelihood of the large language model guessing correctly the right animal, for instance, after fewer iterations. And we also observe that
and we see there the EG law probabilities significantly underperforms in comparison to EG uniform and disproves our claim about the LLM generated distribution p phi being inadequately biased favoring solutions that are not necessarily agreeing with the ground truth.
We also done that for a variety of other LLMs and we showed the performance associated with it and this we show consistent performance across the different type of LLMs and of course the better the LLM, the better the performance.
Now we also did this for code generation in a second experiment where we demonstrated task disambiguation with an external tool ensures a near free evaluation of requirements comparability and you see here in the figures the accuracy of the generated code samples after eliciting four different requirements with all the different strategies and what we observe here is that the expectation that
The EIG, the Expected Information Gain-Based Strategies, lead to higher accuracy of the outputs with fewer test queries. And as expected, based on the discussion we had before, questions with more possible answers can be more informative than possible binary questions. However, if there are to be answered by a human user,

be answered by a human user open questions are of course going to be harder for the human as well increasing their human load now you also see another example from another benchmark here and again you see this improves performance by EIG
Now, the conclusion of the second part is that we need new ways to help LLMs disambiguate the tasks that is specified. We propose here a formalism that is quite powerful and a first solution through the lens of Bayesian experimental design, but we believe many other ways are possible and we hope you are going to help us find them.
Our results also demonstrate the abilities of many LLMs in generating clarifying questions can be improved based on these solutions and our method bypasses the need to perform a metacognitive type of reasoning by shifting the focus to explicit reasoning about the candidate solutions and we improve question generation by relying on this existing capabilities of LLMs in generating diverse and correct solutions.
Now in this talk I had two parts. The first part was focusing on the consistent reasoning paradox and the need to be able to assert that consistent reasoning implies reliability and you need operators such as I don't know. And the second part focused on how can we improve LLM's ability to address ambiguous specified problems. Now I'd like to leave you with a message that rethinking intelligence trust
requires us to knowing when not to answer is as important as knowing the answer and to build reliable AI we must design system that pause, question, clarify but also are able to honestly say I do not know. So let us teach our models not just to speak but to understand when to listen, ask and admit doubt.
This agenda of building more powerful art language models is a very exciting one and I feel that we need to push ourselves even further. So I'd like to excite the community in this workshop to really think even bigger and bolder about what we need to do in AI and what we need to do in particular in AI agents. And for that I didn't provide solutions but what I thought about over the Christmas break and then I put online.
The main line is this, let's say, discussion document with you, the machine learning community, where I present 101 fundamental questions that I think machine learning will need to answer to unlock the potential of AI agents. I hope you take a look and drop me a line. And an important component as part of these genies, which are this next generation AI agents that I envision, are the part about trustworthiness.
And the talk today goes a little bit to make a very, very small dent in trying to answer some of these questions, but there are many more. So I hope you take a look, especially to the trustworthiness component. I also in more recent time put another manifesto paper. This time this is one is not about questions is more about the vision.
on how we can interconnect agents to unleash a new economic era. And this is even more important, it becomes even more important to know when certain agents can trust other agents in order to self -organize and build economic value. So I hope you take a look at this as well. Let us continue the conversation. Thank you very much.
Awesome, thank you Mikhail for the talk. Um, I guess in the interest of time, since we will be we need to set up the panel, um you can reach out directly to Mikhail, um I'm sure she will be happy to answer and thank you also for providing these one hundred questions I didn't know them, but uh we definitely need time to go through them. So thank you very much Mikhail and have a great Sunday, I guess, Sunday morning. Thank you. Thank you very much. Thank you everyone. Have a wonderful workshop.
Um so we need few minutes to um set up the chairs here. Um so if you need um any quick water or coffee, I don't know if coffee is available anymore. Um but um we will be setting up and starting in a few minutes. I will introduce the panel but we need to set up the chairs firstly.
