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

DART: Diversify-Aggregate-Repeat Training Improves Generalization of Neural Networks

About

Generalization of neural networks is crucial for deploying them safely in the real world. Common training strategies to improve generalization involve the use of data augmentations, ensembling and model averaging. In this work, we first establish a surprisingly simple but strong benchmark for generalization which utilizes diverse augmentations within a training minibatch, and show that this can learn a more balanced distribution of features. Further, we propose Diversify-Aggregate-Repeat Training (DART) strategy that first trains diverse models using different augmentations (or domains) to explore the loss basin, and further Aggregates their weights to combine their expertise and obtain improved generalization. We find that Repeating the step of Aggregation throughout training improves the overall optimization trajectory and also ensures that the individual models have a sufficiently low loss barrier to obtain improved generalization on combining them. We shed light on our approach by casting it in the framework proposed by Shen et al. and theoretically show that it indeed generalizes better. In addition to improvements in In- Domain generalization, we demonstrate SOTA performance on the Domain Generalization benchmarks in the popular DomainBed framework as well. Our method is generic and can easily be integrated with several base training algorithms to achieve performance gains.

Samyak Jain, Sravanti Addepalli, Pawan Sahu, Priyam Dey, R. Venkatesh Babu• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy86.46
3518
Image ClassificationCIFAR-10 (test)
Accuracy97.96
3381
Image ClassificationStanford Cars (test)
Accuracy91.95
306
Domain GeneralizationDomainBed
Average Accuracy67.9
127
Domain GeneralizationDomainBed v1.0 (test)
Average Accuracy73.06
71
Image ClassificationCUB-200 (test)
Accuracy82.83
62
Domain GeneralizationDomainBed (out-of-domain)
VLCS Accuracy80.3
38
Domain GeneralizationDomainBed (OH, TI, VLCS, PACS, DN) (test)
Accuracy (OH)83.75
33
Domain GeneralizationDomainNet (out-of-domain)
Accuracy58.05
25
Domain GeneralizationOfficeHome DomainBed (OOD)
Avg OOD Accuracy83.75
16
Showing 10 of 10 rows

Other info

Code

Follow for update