Thanks for your great work.
I would like to ask for training the Laaf:
do the corruption augmentation and one hot encoder also applied for the label?
Do the loss function for Laaf is using "supcon_loss_custom.py" this py file? I am getting confused with the other two py files "supcon_loss_clip_binary.py" and "supcon_loss_clip.py"
Yes, the label is treated as a normal feature that can be corrupted. I did not experiment with leaving it out of the corruption strategy, this might be worth taking a look at!
You can use either the supcon loss (yes, its supcon_loss_custom, sorry for the confusion) or a normal NTXent loss, both work. In the paper we showed that the effect is often additive, so supcon loss + LaaF should return best results.
Hi Hager,
Thanks for your great work. I would like to ask for training the Laaf:
Thank you.