TUM-DAML / dbu-robustness

Evaluating Robustness of Predictive Uncertainty Estimation: Are Dirichlet-based Models Reliable ? (ICML 2021)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evaluating Robustness of Predictive Uncertainty Estimation: Are Dirichlet-based Models Reliable ?

This repository presents the experiments of the paper:

Evaluating Robustness of Predictive Uncertainty Estimation: Are Dirichlet-based Models Reliable ?
Anna-Kathrin Kopetzki*, Bertrand Charpentier*, Daniel Zügner, Sandhya Giri, Stephan Günnemann
International Conference on Machine Learning (ICML), 2021.

[Paper]

Diagram

Requirements

To install requirements:

conda env create -f environment.yaml
conda activate dbu-robustness
conda env list

python src/setup.py develop
python setup.py develop

Not that our code is based on the following papers and repositories:

Datasets

MNIST and CIFAR10 are handled with torchvision. You can download preprocessed segment and sensorless-drive datasets at the follwing links:

Training models

Note that our code implements the following Dirichlet-based Uncertainty (DBU) models:

To train the models in the paper, run one jupyter notebook in the folder notebooks/models-training. Further, you can find pre-trained models with standard training at this link which could be placed in the folder notebooks/saved_models. This include segment, sensorless-drive, MNIST and CIFAR10 datasets.

Evaluating models

To evaluate the model(s) in the paper, run one jupyter notebook in the folder notebooks/models-robustness-evaluation. In particular you can find notebooks to run label attacks and uncertainty attacks. All parameter are described.

Cite

Please cite our paper if you use the models or this code in your own work:

@incollection{dbu-robustness,
title = {Evaluating Robustness of Predictive Uncertainty Estimation: Are Dirichlet-based Models Reliable ?},
author = {Anna-Kathrin Kopetzki and Bertrand Charpentier and Daniel Zügner and Sandhya Giri and Stephan Günnemann},
booktitle = {International Conference on Machine Learning},
year = {2021}
}

About

Evaluating Robustness of Predictive Uncertainty Estimation: Are Dirichlet-based Models Reliable ? (ICML 2021)


Languages

Language:Python 83.7%Language:Jupyter Notebook 15.9%Language:Makefile 0.4%