[ICML2022 Long Talk]官方Pytorch执行"向平滑还是没有? 当标签平滑遇到噪音标签时"
[ICML2022 Long Talk]官方Pytorch执行"向平滑还是没有? 当标签平滑遇到噪音标签时"
This repository is the official Pytorch implementation of "To Smooth or Not? When Label Smoothing Meets Noisy Labels" accepted by ICML2022 (Oral).
…We recommend readers build an virtual environment and install required packages in requirements.txt.
For Vanilla Loss and PLS, direct training works better when learning with symmetric noisy labels under noise rate 0.2. Run the code bellow to reproduce our results:
CUDA_VISIBLE_DEVICES=0 python3 main_GLS_direct_train.py --noise_type symmetric --noise_rate 0.2When noise rates are large, warming up with CE loss makes PLS and NLS reaches a better performance. Run the code bellow to generate the warm-up model:
CUDA_VISIBLE_DEVICES=0 python3 main_warmup.py --noise_type symmetric --noise_rate 0.2After the warming up, proceed with GLS:
CUDA_VISIBLE_DEVICES=0 python3 main_GLS_load.py --noise_type symmetric --noise_rate 0.2You may want to refer to "CIFAR-N Github Page", and modify the file loss.py by referring to the loss_gls plug-in implementation specified above.
In experiments, we formulate GLS as wa * Vanilla Loss + wb * GLS.
If you use our code, please cite the following paper:
@inproceedings{Wei2022ToSO,
title={To Smooth or Not? When Label Smoothing Meets Noisy Labels},
author={Jiaheng Wei and Hangyu Liu and Tongliang Liu and Gang Niu and Yang Liu},
booktitle={ICML},
year={2022}
}
暂无开放 Issues,或尚未同步最近议题。