Dual-Contrastive-Learning icon indicating copy to clipboard operation
Dual-Contrastive-Learning copied to clipboard

Some questions with baselines

Open TaoCesc opened this issue 2 years ago • 3 comments

Your work is very good and effective. But I have some questions about the baseline approach. I tried different hyperparameters to adjust supervised contrastivelearning or unsupervised contrastive learning to fine-tune BERT, and then to classify. But I've never been able to do anything better than just Cross-Entropy. I wonder what I didn't take into account? I've seen a lot of papers that contrastive learning can help improve classification results, but here I always get the opposite. Maybe I want to know the hyperparameters you set when you ran the comparison.

TaoCesc avatar Apr 17 '22 09:04 TaoCesc

Hello, I tried to use author code, but ACC is stable to 50%, I want to know how you do the training.

wangqian97 avatar May 22 '22 10:05 wangqian97

Hello, I tried to use author code, but ACC is stable to 50%, I want to know how you do the training.

Hi,When I reproduced the experiment, I did not modify other parameters. Basically, I used the parameters given by the author, and only modified the size of batch_size. I can reproduce the author's results and get good results on my own dataset, you may need to recheck the parameters or download a new code to try it out.

TaoCesc avatar May 26 '22 05:05 TaoCesc

Your work is very good and effective. But I have some questions about the baseline approach. I tried different hyperparameters to adjust supervised contrastivelearning or unsupervised contrastive learning to fine-tune BERT, and then to classify. But I've never been able to do anything better than just Cross-Entropy. I wonder what I didn't take into account? I've seen a lot of papers that contrastive learning can help improve classification results, but here I always get the opposite. Maybe I want to know the hyperparameters you set when you ran the comparison.

Hi, can you explicitly explain what your hyperparameters are when using supervised contrastive learning to fine tune the baseline? I get the same result with you. Thank you!

DominicSlw avatar Jul 12 '22 00:07 DominicSlw