I have been greatly inspired by your work and have attempted to reproduce it. While following your provided code, I noticed that the auxiliary loss remains quite high during training, seemingly because it is accumulated across every layer of the model.
Even in the late stages of convergence, and after applying a coefficient of 0.2, the total auxiliary loss hovers around 40. In contrast, the language loss and KL divergence loss are approximately 4 and 2, respectively. Could you please advise if this magnitude of difference is expected? Is this phenomenon consistent with your observations?
I have been greatly inspired by your work and have attempted to reproduce it. While following your provided code, I noticed that the auxiliary loss remains quite high during training, seemingly because it is accumulated across every layer of the model.
Even in the late stages of convergence, and after applying a coefficient of 0.2, the total auxiliary loss hovers around 40. In contrast, the language loss and KL divergence loss are approximately 4 and 2, respectively. Could you please advise if this magnitude of difference is expected? Is this phenomenon consistent with your observations?