# Poster 28494

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28494

> 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.

Hi, I'm presenting robust conformal prediction with a single binary certificate, a paper accepted in ICMLR conference 2025. Before diving into the topic, let's just have a quick glance of what problem our work is solving. First, in conformal prediction, given any black-box model, instead of the top label being predicted,
We predict a set of labels, but with a guarantee that the true label is within our set with 1 minus alpha adjustable probability. So for example this probability could be 90 and the user can be sure that in 90% of the times the true label is within the set.
This guarantee can easily break if the test inputs are noisy. Up to even a small radius around the input there are examples that are completely miscovered even though the noise is imperceptible. The purpose of conformal prediction in robust form is then to maintain the same guarantee even for the worst case noisy input up to some radius.
What we achieve is first a robust guarantee as depicted here, opposite to the vanilla conformal that breaks quickly to empirical zero probability, we still remain above the desired nominal coverage. And despite the other works in the literature, our framework is agnostic to the smoothing scheme, meaning that any smoothing -based certificate could be used right out of the box in our framework.
And finally, robust HAFOMA prediction based on smoothing requires several model forwards per input. This number is huge even for the state of the art. And here we maintain the same guarantee, return the similar or even smaller sets with one order of magnitudes less sample.
Now let's dive into understanding the mechanics of many robot-CP approaches. Assume there's an acceptance boundary for the true class of the given image. Therefore, if the input is within the colored area, the label airplane would be in the prediction set.
Now, even with a very small noise, that is, the semantic remains the same and it's also imperceptible to human eye, suddenly the true label is excluded from the prediction set. And now the question is how to remedy that. First,
Briefly to understand how CP works, we have conformity scores that captures the agreement between the label and the input and here we can assume that it's just the softmax outputs of the model and CP computes a threshold and include any label with a score above that threshold into the prediction set.
How to make CP robust? One way is to find a maximum or an upper bound in the set of all possible perturbations around the input. Then, given the noisy input, this upper bound is surely above the score of the clean input, and therefore covering the true label is easy. How do we compute the upper bounds?
One way is to use neural network verifiers, but the issue is that they are complex and usually limited to smaller networks like CNN. One other approach that works with any black box model is randomized smoothing. In randomized smoothing, despite the normal inference where we take a single prediction of the given input, we take a look at the distribution of score points around the given input. For example,
Given an image, we take the distribution of the prediction scores over the image augmented with Gaussian noise. So we have a distribution of scores and the distribution changes slowly around the input. One intuition is that while we move the input, still many of the random samples, random augmentations, are common between the shifted and the original image.
Let's get back to the conformal prediction now. What information can we extract from this distribution? Many of the works use the mean of the distribution. And as you can see, the mean changes slowly around the input. This is a promising approach. However, the issue is that to estimate the mean in real-life scenarios, we need many Monte Carlo samples. And this is expensive.
For example, for an image dataset of 10 classes, some use around 10,000 inferences per one input, which makes it actually not practical in real-life cases. Instead of the mean score, here we use the quantile of quantiles approach.
So let's say we are given all these score distributions for the true classes and like calibration points. We compute a fixed quantile of those distributions and then we compute a threshold based on the quantile of those quantiles. And one interesting outcome of this slightly more complicated procedure is that the final object is a binary variable.
And we can estimate it using tighter binary confidence intervals. Why it happens is an interesting yet slightly complicated procedure that for that we recommend you to read the paper and there we discuss it in details.
But this directly results in smaller prediction sets with few forward passes. The benefit of our approach is more observed in cases that we have large number of classes like ImageNet dataset which has 1,000 classes and there the state -of-the-art completely fails. To see our work and our code you can scan the following QR codes. Thanks for watching.
