VTP icon indicating copy to clipboard operation
VTP copied to clipboard

AE+CLIP+SSL Loss Balancing Coefficients

Open Lewis-lv0 opened this issue 8 months ago • 1 comments

Hello @JingfengYao thank you for the great work. I am trying to reproducing the VTP tokenizer pre-training with all AE+CLIP+SSL objectives. In your updated technical report, I can see:

For weighting, we set 𝜆_rec = 0.1, while 𝜆_clip and 𝜆_ssl are set to either 0 or 1.

However, I guess that's for the AE+CLIP or AE+SSL version.

May I know how do you set the loss weighting coefficients when all the three objectives are present? I am also curious if you apply some tricks regarding this version during training.

I would appreciate any help on this.

Lewis-lv0 avatar Mar 11 '26 04:03 Lewis-lv0

Following up on this: the report uses different batch sizes for AE, CLIP, and SSL. When all three objectives are enabled, is each loss averaged independently over its own batch before applying its coefficient, or is there additional scaling for the different batch sizes/task sampling rates?

Also, are the objective weights fixed from the start, or is any separate warm-up used for reconstruction versus representation learning?

I'm one of the HYDRA authors and am interested in how this scaling affects the reconstruction/semantic balance. Thanks for any clarification!

bollossom avatar Oct 14 '26 11:10 bollossom