Skip to main content
QUICK REVIEW

[Paper Review] ResNet strikes back: An improved training procedure in timm

Ross Wightman, Hugo Touvron|arXiv (Cornell University)|Oct 1, 2021
Advanced Neural Network ApplicationsComputer Science57 references33 citations
TL;DR

The paper re-optimizes the vanilla ResNet-50 training at 224x224 using modern training ingredients (Mixup, CutMix, RandAugment, BCE loss, regularization, and large batch LAMB optimizer) to set strong baselines and evaluate stability, reporting 80.4% top-1 on ImageNet-val.

ABSTRACT

The influential Residual Networks designed by He et al. remain the gold-standard architecture in numerous scientific publications. They typically serve as the default architecture in studies, or as baselines when new architectures are proposed. Yet there has been significant progress on best practices for training neural networks since the inception of the ResNet architecture in 2015. Novel optimization & data-augmentation have increased the effectiveness of the training recipes. In this paper, we re-evaluate the performance of the vanilla ResNet-50 when trained with a procedure that integrates such advances. We share competitive training settings and pre-trained models in the timm open-source library, with the hope that they will serve as better baselines for future work. For instance, with our more demanding training setting, a vanilla ResNet-50 reaches 80.4% top-1 accuracy at resolution 224x224 on ImageNet-val without extra data or distillation. We also report the performance achieved with popular models with our training procedure.

Motivation & Objective

  • Demonstrate how modern training ingredients can maximize vanilla ResNet-50 performance at standard inference resolution (224x224).
  • Provide strong baseline training procedures and pre-trained models in timm for fairer architecture comparisons.
  • Investigate training procedure stability across seeds and datasets to assess measurement noise and overfitting risks.
  • Show transfer-learning performance and generalization of the optimized recipes across architectures and downstream tasks.

Proposed method

  • Three ResNet-50 training procedures (A1: 600 epochs, A2: 300 epochs, A3: 100 epochs) with tuned hyper-parameters and ingredients.
  • Adopt a multi-label BCE loss with Mixup and CutMix to reflect the presence of mixed concepts.
  • Employ RandAugment variants, Mixup, CutMix, Repeat Augmentation, and stochastic depth regularization with schedule-dependent usage.
  • Use large-batch optimization (LAMB) with cosine learning-rate schedule as default; compare to CE/BCE ablations and alternative optimizers in Appendix B.
  • Assess training stability by running many seeds and measuring performance on ImageNet-val, ImageNet-V2, and ImageNet-Real.
  • Report transfer learning performance on seven downstream datasets using the proposed pre-training recipes.

Experimental results

Research questions

  • RQ1What is the best ResNet-50 training procedure within timm to maximize ImageNet-1k val accuracy at 224x224?
  • RQ2How do modern training ingredients (augmentation, regularization, and loss choices) interact with batch size and epochs to affect vanilla ResNet-50 performance?
  • RQ3How stable are ImageNet accuracy results across random seeds and across related test sets (val, V2, Real) under optimized procedures?
  • RQ4Do the proposed training procedures transfer benefit to larger architectures and downstream tasks?
  • RQ5How do architecture-vs-procedure comparisons behave when the same training recipe is reused across models?

Key findings

  • The A1 procedure (600 epochs) achieves 80.4% top-1 accuracy on ImageNet-val at 224x224, surpassing prior vanilla ResNet-50 baselines.
  • Regularization and augmentation choices (including Mixup, CutMix, RandAugment, and Repeat Augmentation) combined with BCE loss and LAMB optimizer yield strong performance at large batch sizes (2048).
  • A2 (300 epochs) delivers 79.8% top-1 val accuracy, showing competitive results with longer schedules common in modern training; A3 (100 epochs) yields 78.1% top-1, illustrating the cost/benefit trade-off across schedules.
  • Seed-variance analysis reveals typical ImageNet-val std around 0.1 with higher variance on ImageNet-V2, underscoring measurement noise and the value of reporting multiple test sets.
  • Transferring the A1/A2 recipes to other architectures improves several models versus literature baselines; A1 generally offers the best downstream transfer on many tasks.
  • The paper demonstrates that comparing architectures requires matching training procedures, as the same procedure can yield different relative rankings across models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.