vbll.torch¶
Collection of torch VBLL training losses.
These functions implement the negative ELBO objectives used to fit the variational Bayesian last layers of [HWS24]. Each takes the layer together with the backbone features feeding it (captured with a forward pre-hook), the integer targets, and the weight on the KL/regularization terms.
Functions¶
Negative discriminative ELBO of a |
|
Negative generative ELBO (the Jensen bound) of a |
|
Negative ELBO of a |
|
Negative ELBO of a |