wjmaddox / drbayes

Code Repo for "Subspace Inference for Bayesian Deep Learning"
BSD 2-Clause "Simplified" License
79 stars 23 forks source link

Failed to reproduce the results presented in the paper #5

Closed zzzhezeng closed 2 years ago

zzzhezeng commented 2 years ago

Hello,

The approach and results presented in the paper "Subspace Inference for Bayesian Deep Learning" impress me a lot and I would like to reproduce the experiments, specifically the UCI experiments, using this repository.

I followed the instructions and process described in the README and managed to get things run. However, I failed to obtain similar numbers for certain datasets.

To be more precise:

paper result reproduce result
PCA+ESS (SI) -0.225 ± 0.400 -2.493 ± 0.067
SWAG -0.404 ± 0.418 -2.545 ± 0.053

I would be extremely grateful if anyone could suggest what I could've done wrong in my reproduction experiments.

Thank you in advance!

wjmaddox commented 2 years ago

Ugh, yeah it looks like this was on our end (see also the longer email) and also luckily only yacht rather than any other datasets. I spent a while re-tuning yacht and it looks like it was only the weight decay that was off. Switching to a lower weight decay of 1e-3 provides a more similar LL and RMSE result:

Screen Shot 2022-03-29 at 6 06 24 PM

edit: i'll fix the script in the code tomorrow.