Awesome
Paddles: Phase-amplitude spectrum disentangled early stopping for learning with noisy labels
<div style="text-align: center;"> <img src="Detach.png" width=100% > </div>PyTorch Code for the following paper at ICCV 2023:
<b>Title</b>: Paddles: Phase-amplitude spectrum disentangled early stopping for learning with noisy labels.
<b>Authors</b>: Huaxi Huang*, Hui Kang*, Sheng Liu, Olivier Salvado, Thierry Rakotoarivelo, Dadong Wang and Tongliang Liu
Abstract
Convolutional Neural Networks (CNNs) are powerful in learning patterns of different vision tasks, but they are sensitive to label noise and may overfit to noisy labels during training. The early stopping strategy averts updating CNNs during the early training phase and is widely employed in the presence of noisy labels. Motivated by biological findings that the amplitude spectrum (AS) and phase spectrum (PS) in the frequency domain play different roles in the animal's vision system, we observe that PS, which captures more semantic information, can increase the robustness of CNNs to label noise, more so than AS can. We thus propose early stops at different times for AS and PS by disentangling the features of some layer (s) into AS and PS using Discrete Fourier Transform (DFT) during training. Our proposed Phase-AmplituDe DisentangLed Early Stopping (PADDLES) method is shown to be effective on both synthetic and real-world label-noise datasets. PADDLES outperforms other early stopping methods and obtains state-of-the-art performance.
Experiments
To install requirements:
pip install -r requirements.txt
馃搵 Please download and place all datasets into the data directory. For Clohting1M, please run "python ClothingData.npy" to generate a data file.
To train PADDLES without semi on CIFAR-10/100
python PADDLES_Cifar.py --dataset cifar10 --noise_type symmetric --noise_rate 0.5
python PADDLES_Cifar.py --dataset cifar100 --noise_type instance --noise_rate 0.4
To train PADDLES with semi on CIFAR-10/100
python PADDLES_Cifar_Semi.py --dataset cifar100 --noise_type symmetirc --noise_rate 0.8 --lambda_u 100 --num_epochs 300 --TStop_AM 18 --TStop_PH 30 --seed 1
To train PADDLES on Clothing1M
train Clothing1M
python PADDLES_Clothing1M.py --workers 24 --TStop_AM 20 --TStop_PH 29 --num_epochs 15 --lr 4.5e-3
We also evaluate our method on CIFAR-N Dataset 路路路 Mv CIFAR-10_human.pt and CIFAR-100_human.pt to data/
python PADDLES_CifarN.py --noise_type aggre_label --dataset CIFAR10 --seed 1 --TStop_AM 20 --TStop_PH 30
Cite PADDLES
If you find the code useful in your research, please consider citing our paper:
<pre> @InProceedings{Huang_2023_ICCV, author = {Huang, Huaxi and Kang, Hui and Liu, Sheng and Salvado, Olivier and Rakotoarivelo, Thierry and Wang, Dadong and Liu, Tongliang}, title = {PADDLES: Phase-Amplitude Spectrum Disentangled Early Stopping for Learning with Noisy Labels}, booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)}, month = {October}, year = {2023}, pages = {16719-16730} } </pre>