Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Simulated Annealing in Early Layers Leads to Better Generalization

About

Recently, a number of iterative learning methods have been introduced to improve generalization. These typically rely on training for longer periods of time in exchange for improved generalization. LLF (later-layer-forgetting) is a state-of-the-art method in this category. It strengthens learning in early layers by periodically re-initializing the last few layers of the network. Our principal innovation in this work is to use Simulated annealing in EArly Layers (SEAL) of the network in place of re-initialization of later layers. Essentially, later layers go through the normal gradient descent process, while the early layers go through short stints of gradient ascent followed by gradient descent. Extensive experiments on the popular Tiny-ImageNet dataset benchmark and a series of transfer learning and few-shot learning tasks show that we outperform LLF by a significant margin. We further show that, compared to normal training, LLF features, although improving on the target task, degrade the transfer learning performance across all datasets we explored. In comparison, our method outperforms LLF across the same target datasets by a large margin. We also show that the prediction depth of our method is significantly lower than that of LLF and normal training, indicating on average better prediction performance.

Amirmohammad Sarfi, Zahra Karimpour, Muawiz Chaudhary, Nasir M. Khalid, Mirco Ravanelli, Sudhir Mudur, Eugene Belilovsky• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR100 (test)
Top-1 Accuracy78.5
377
Image ClassificationAircraft
Accuracy9.81
302
Image ClassificationCUB
Accuracy8.49
249
Image ClassificationTiny-ImageNet
Accuracy59.22
227
Image ClassificationStanford Dogs
Accuracy12.61
130
Few-shot classificationEuroSAT
Accuracy87.7
67
Few-shot Image ClassificationISIC (test)
Accuracy55.12
36
5-way Few-shot ClassificationChestX 20-shot (test)
Accuracy27.44
8
5-way Few-shot ClassificationCropDisease 20-shot (test)
Accuracy95.67
8
5-way Few-shot ClassificationChestX 50-shot (test)
Accuracy0.2978
8
Showing 10 of 17 rows

Other info

Code

Follow for update