# Poster 28294

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

> 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 Ray, and the presenter of our work is Streamlining Prediction in Pain Slip Learning. This is a joint work with Marcos Calozon, Arnold Solling, and Martin Tram. Deep learning has been very successful in many fields, but it's not really reliable. It's very sensitive to perturbation to its input, and as there is no uncertainty in its prediction, it can easily give overconfident predictions, and pain slip learning aims to solve this problem.
In basic learning, there are usually three steps. First, we will specify the prior, a model parameter theta. Then, given some data D, we will infer the posterior. And at last, we're making prediction on a new data point. We will integrate out all possible predictions. With the prior actually being defined as a Gaussian, and for the posterior in Laplace approximation and variational inference, it's being approximated as a Gaussian distribution.
And when making prediction, the default choice is Monte Carlo estimation. Here, the first challenge is sampling from high-dimensional space. It's very difficult to have good samples. And even if you have good samples, in the second challenge, we're making multiple forward paths, it can be expensive for large models. And in our work, we approximate these with a Gaussian, and as a result, we can make fast prediction without sampling.
Specifically, for the linear layer, we will approximate the product between the weight and activation with a Gaussian, and then as Gaussian is closed under linear transformation, the result h will be Gaussian as well. And next in the activation function, we will do a Taylor expansion on it to turn it into linear function, and then again as Gaussian is closed under linear transformation, the result will be Gaussian.
Combine this together, we can make a prediction in a single forward pass without sampling, and this is called support transformer as well. In our experiment, we evaluated vision transformer on CIFAR-10, CIFAR-100, DTD, R-E-S-I-C, and ImageNet-R. Here we first look at the performance evaluated by the accuracy. Our method don't hurt performance.
And then we look at the uncertainty quantification. We evaluate the button LPD and ECE. Our methods have better or on-par performance compared with baselines. And also we did a workload experiment to evaluate the efficiency of our method. It's worth to point out that our methods have almost the same speed as making predictions with a MAP model. Overall, we show that uncertainty quantification, our methods can achieve better or on -par performance faster than baseline.
And in our paper, we also have more experiments including GPT -2. And also you can use our method to do outlier detection. Here we take a variant transformer, train it on several things, and evaluate it on SVHN. As you can see, there is a clear distinction between in-domain and out-of-domain data, where for math model it's hard to see where out -of-domain starts.
And also you can use our method to include sensitivity analysis. As you can see here, you can measure in which part of your input is your model output most sensitive to.
Overall, in this work, we aim to have good prediction fast in benchmark networks. To do so, we locally linearize our neural network so we can have a tractable approximation on the posterior predictive, and we show that we can have better run power performance compared with best baseline with faster speed. You can try our method in this open source library and check more details in our paper. Thank you for attention.
