You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great paper. I wonder if there is any way to retrieve the loss information in multi-task learning?
In particular, in the example of MTL, do you still have to add loss=loss1+loss2 into the script?
Hi! In multi-task learning, we typically consider each loss independently, as they each represent a different task. You may still want to track the average loss, or the sum of losses, by recording the value of loss=loss1+loss2 for instance. But note that with JD, this loss is not necessary anymore for training, as you use the individual losses instead.
Also, note that loss1 and loss2 may have very different scales (e.g. loss1 could be typically around 1e-5 while loss2 could be around 1e-2). In this example, summing them could thus give a value very close to loss2, which would give little information on loss1.
Activity
ValerianRey commentedon Apr 24, 2025
Hi! In multi-task learning, we typically consider each loss independently, as they each represent a different task. You may still want to track the average loss, or the sum of losses, by recording the value of
loss=loss1+loss2for instance. But note that with JD, thislossis not necessary anymore for training, as you use the individual losses instead.Also, note that
loss1andloss2may have very different scales (e.g.loss1could be typically around1e-5whileloss2could be around1e-2). In this example, summing them could thus give a value very close toloss2, which would give little information onloss1.So yes, you can do that, but be careful!