mono-uncertainty icon indicating copy to clipboard operation
mono-uncertainty copied to clipboard

Modifying Eq 12/13 to deal with negative loss

Open MohitLamba94 opened this issue 4 years ago • 1 comments

Hi, Thanks for this great work. In Eq. 12/13 you have a log(variance) that might go negative for variance<1. Assuming, variance to be always +ve can we modify the Eq. 12/13 to log(1+variance) to prevent negative loss and allowing better optimization? Will this modification hamper training or net output during inference?

MohitLamba94 avatar Aug 14 '21 11:08 MohitLamba94

Hi, I never tried, because the negative loss never gave issues in my experiments. You can use sigmoids over the outputs, but I think your solution should work as well.

mattpoggi avatar Aug 17 '21 10:08 mattpoggi