Efficient Deep Learning Board: Training Feedback Is Not All You Need

Lina Gong, Qi Gao, Peng Li, Mingqiang Wei, Fei WuarXiv 2024 · DOI

Introduction

The rise of Automated Deep Learning (AutoDL) has promised to democratize AI by automatically identifying optimal architectures and hyperparameters. However, current frameworks like Auto-PyTorch and AutoKeras face a significant bottleneck: they rely on "training feedback." To evaluate any potential configuration, these tools must execute the model for several epochs, leading to search cycles that can last dozens of hours and consume vast compute resources.

Furthermore, existing tools often focus narrowly on Neural Architecture Search (NAS), neglecting the complex interplay between data augmentation, optimization strategies, and specific hardware environments. EfficientDL addresses these challenges by shifting the paradigm from dynamic evaluation to static prediction, effectively "foreseeing" model performance without the need for expensive trial runs.

The EfficientDL Framework

EfficientDL circumvents the training bottleneck through three core innovations:

  1. Static Performance Prediction: Instead of training models to measure performance, EfficientDL utilizes a Random Forest regressor to estimate Top-1 accuracy based on a configuration's static features. This allows for near-instantaneous evaluation of thousands of potential setups.
  2. αβ-BO Search: Standard Bayesian Optimization (BO) can often converge on local optima. EfficientDL introduces an enhanced αβ-BO search with a probability parameter (Ω) that encourages random exploration throughout the search cycle, ensuring the discovery of global winners.
  3. Holistic Recommendation: The system optimizes 27 distinct components across three dimensions: model architecture (e.g., normalization, initialization), data (e.g., set size, augmentation), and hardware (e.g., GPU type and count).

Hardware as a First-Class Citizen

A key insight of this research is that hardware is not a neutral variable. The authors demonstrate that identical models and datasets yield significantly different accuracies depending on the GPU used (e.g., NVIDIA A100 vs. RTX 2080 Ti). EfficientDL treats the "Hardware Dimension" as a primary feature, a factor often ignored in theoretical NAS research.

Performance variance across different hardware platforms for various models and datasets.

As shown in the hardware analysis, performance stability varies across platforms. For instance, while the A100 might provide high median performance, other GPUs may exhibit higher variance or lower overall accuracy for the same configuration, necessitating hardware-aware optimization.

The ImageClassEval Dataset

The backbone of EfficientDL is ImageClassEval, a comprehensive dataset containing 1,655 deep learning models across 30 distinct image datasets. Meticulously extracted from 342 primary research studies published between 2016 and 2023, this dataset tracks fine-grained system components—such as specific normalization layers (Batch vs. Layer vs. Spectral) and initialization methods (Kaiming vs. Xavier)—enabling the static predictor to achieve remarkably low error rates (0.01% to 0.09%).

Key Results

EfficientDL significantly outperforms traditional AutoDL competitors in both efficiency and final model quality. On the CIFAR-10 benchmark, EfficientDL identified an optimal model in just 0.5 hours, whereas Auto-PyTorch and Auto-Keras required 10 and 12 hours, respectively.

Comparison of EfficientDL with state-of-the-art AutoDL frameworks on CIFAR-10.

Beyond speed, EfficientDL achieved a Top-1 accuracy of 91.31% on CIFAR-10, surpassing Auto-PyTorch by 1.31%. Notably, the recommended model was also more efficient, utilizing only 6.5M parameters compared to the 8.2M parameters required by the best Auto-PyTorch configuration. These results generalize well to downstream tasks; models optimized by EfficientDL served as superior backbones for object detection on the COCO dataset, yielding higher mean Average Precision (mAP).

Conclusion and Future Work

EfficientDL proves that the collective history of deep learning research contains enough signal to predict the performance of new configurations without active training. While currently focused on Computer Vision, the framework demonstrates the power of "fine-grained" historical data. Future work aims to expand this "Deep Learning Board" concept to Natural Language Processing (NLP) and address potential publication biases inherent in using research papers as a primary data source.

Summary updated

Abstract

Current automatic deep learning (i.e., AutoDL) frameworks rely on training feedback from actual runs, which often hinder their ability to provide quick and clear performance predictions for selecting suitable DL systems. To address this issue, we propose EfficientDL, an innovative deep learning board designed for automatic performance prediction and component recommendation. EfficientDL can quickly and precisely recommend twenty-seven system components and predict the performance of DL models without requiring any training feedback. The magic of no training feedback comes from our proposed comprehensive, multi-dimensional, fine-grained system component dataset, which enables us to develop a static performance prediction model and comprehensive optimized component recommendation algorithm (i.e., α\b{eta}-BO search), removing the dependency on actually running parameterized models during the traditional optimization search process. The simplicity and power of EfficientDL stem from its compatibility with most DL models. For example, EfficientDL operates seamlessly with mainstream models such as ResNet50, MobileNetV3, EfficientNet-B0, MaxViT-T, Swin-B, and DaViT-T, bringing competitive performance improvements. Besides, experimental results on the CIFAR-10 dataset reveal that EfficientDL outperforms existing AutoML tools in both accuracy and efficiency (approximately 20 times faster along with 1.31% Top-1 accuracy improvement than the cutting-edge methods). Source code, pretrained models, and datasets are available at https://github.com/OpenSELab/EfficientDL.
BibTeX
@misc{gong2024efficient,
  author = {Lina Gong and Qi Gao and Peng Li and Mingqiang Wei and Fei Wu},
  title = {{Efficient Deep Learning Board: Training Feedback Is Not All You Need}},
  year = {2024},
  eprint = {2410.14743},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.14743},
}
Figure