Code for the paper - https://arxiv.org/abs/2009.12406
The red points are the observed noisy training samples and the black points are their projections on the respective axes. The grey regions show the predicted mean along with three standard deviations. The disentangled uncertainties have different grey regions on the two dimensions, and are able to contain
the black points well. This illustrates how decomposed uncertainties can capture disentangled information about the individual noise in the input features
- Setup Virtual Environment
pip install virtualenv
virtualenv venv
source venv/bin/activate
-
Install dependencies
pip install -r requirements.txt
-
Run the code
python main.py train --datasets_dir datasets --dataset boston --model_dir boston_models --verbose 1
Check for dataset name mapping below
python main.py evaluate --datasets_dir datasets --dataset boston --model_dir boston_models
python main.py experiment --exp_name clusterwise_ood --plot_path plots --datasets_dir datasets --dataset boston --model_dir boston_models
python main.py experiment --exp_name empirical_rule_test --datasets_dir datasets --dataset boston --model_dir boston_models
python main.py experiment --exp_name defer_simulation --plot_path plots --datasets_dir datasets --dataset boston --model_dir boston_models
python main.py experiment --exp_name kl_mode --plot_path plots --datasets_dir datasets --dataset boston --model_dir boston_models
python main.py experiment --exp_name toy_regression --plot_path toy --model_dir toy_models --dataset toy
python main.py experiment --exp_name show_summary --datasets_dir datasets --dataset boston
- Boston Housing : boston
- Concrete : cement
- Energy Efficiency : energy_efficiency
- Kin8nm : kin8nm
- Naval Propulsion Plant : naval
- Power Plant Output : power_plant
- Protein Structure : protein
- Red Wine Quality : wine
- Yacht Hydrodynamics : yacht
- Year prediction MSD : msd
Set --mod_split
flag in all commands to human
, to access splits created by human experts.
Only available for Power Plant Output and Red Wine Quality
- Install and setup OpenSmile for Compare features extraction following COMPARE.md
- Extract compare features
If you find this project useful for your research, please use the following BibTeX entry to cite our paper https://arxiv.org/abs/2009.12406.
@misc{sarawgi2020unified,
title={Why have a Unified Predictive Uncertainty? Disentangling it using Deep Split Ensembles},
author={Utkarsh Sarawgi and Wazeer Zulfikar and Rishab Khincha and Pattie Maes},
year={2020},
eprint={2009.12406},
archivePrefix={arXiv},
primaryClass={cs.LG}
}