Multiobjective Evolutionary Design of Deep Convolutional Neural Networks for Image Classification

Zhichao Lu, Ian Whalen, Yashesh Dhebar, Kalyanmoy Deb, Erik D. Goodman, Wolfgang Banzhaf, Vishnu Naresh Boddeti

TL;DR

This paper introduces NSGANetV1, a novel multi-objective evolutionary algorithm for designing Convolutional Neural Networks (CNNs). It efficiently searches for architectures that balance classification accuracy with computational cost (FLOPs), producing a diverse set of Pareto-optimal solutions suitable for various deployment scenarios.

What Problem Does This Paper Address?

Designing effective CNN architectures for image classification has traditionally relied on human expertise, which is time-consuming and labor-intensive. While Neural Architecture Search (NAS) automates this process, existing methods often struggle with limited computational budgets. They either optimize solely for classification performance or for a single deployment scenario, or they require immense computational resources. This paper addresses the need for NAS methods that can efficiently find architectures balancing both high performance and low computational cost, catering to diverse deployment needs without exorbitant search times.

Methods

The core of this work is NSGANetV1, a multi-objective evolutionary algorithm. It employs a population-based approach where architectures are iteratively improved through genetic operations like crossover and mutation. Key innovations include:

  • Pareto Frontier Approximation: NSGANetV1 generates a set of architectures that approximate the entire Pareto front, offering a spectrum of trade-offs between classification accuracy and FLOPs in a single run.
  • Computational Efficiency: The search process is made more efficient through:
  • Proxy Models: Architectures are down-scaled to create smaller "proxy" models for faster lower-level weight optimization.
  • Bayesian Network Exploitation: After an exploration phase, a Bayesian Network is used to learn patterns from successful architectures, guiding the search towards promising regions.
  • Expanded Search Space: The algorithm explores a comprehensive search space that includes various layer operations and network width configurations.
  • Multi-objective Optimization: It explicitly optimizes for two conflicting objectives: classification accuracy and FLOPs, using a non-dominated sorting and crowding distance mechanism.

Datasets

The paper uses several standard datasets for training and evaluation:

  • CIFAR-10: A common benchmark for image classification.
  • CIFAR-100: A more challenging variant of CIFAR-10 with more classes.
  • ImageNet: A large-scale dataset for image classification.
  • CIFAR-10.1 and ImageNet-V2: Newly proposed test sets designed to evaluate generalization.
  • CIFAR-10-C and CIFAR-100-C: Datasets with common corruptions to test robustness.
  • ChestX-Ray14: A dataset for medical image classification (chest X-rays).
  • CMU-Car dataset: Used for a multi-view car alignment application.

Key Insights and Ideas

  • Multi-objective NAS is Crucial for Real-World Deployment: Optimizing solely for accuracy is insufficient; balancing accuracy with computational constraints (like FLOPs) is essential for practical applications.
  • Pareto Front Provides Design Flexibility: Generating a set of Pareto-optimal architectures allows designers to choose the best fit for their specific deployment scenario after the search, rather than pre-defining weights.
  • Bayesian Networks Enhance Exploitation: Learning from successful architectures via Bayesian Networks significantly improves the efficiency and effectiveness of the search process.
  • Non-parametric Operations Offer a Good Trade-off: Operations like identity mapping and average pooling are effective in reducing complexity without a drastic drop in performance.
  • Robustness is Not Solely an Architectural Problem: While architectural advancements have led to minor improvements, robustness against adversarial attacks appears to be more influenced by other factors, suggesting further research is needed.

Key Results

  • Competitive Performance: NSGANetV1-designed architectures outperform or match manually designed and other automatically designed architectures on CIFAR, ImageNet, and chest X-ray datasets.
  • Efficiency Gains: The method achieves significant savings in parameters and FLOPs compared to peer methods, with NSGANetV1-A1 using 30x fewer parameters than AE-CNN-E2EPP while being more accurate.
  • Faster Search: NSGANetV1 finds multiple architectures in approximately 27 GPU-days on CIFAR-100, significantly faster than many existing NAS methods.
  • Transferability: Architectures evolved on CIFAR-100 demonstrate strong transferability to CIFAR-10 and ImageNet.
  • Robustness Findings: While NSGANetV1 architectures show better relative robustness, the paper highlights that robustness against adversarial attacks is a complex issue not solely solved by architecture design.

Limitations and Future Work

  • Computational Cost: While more efficient than many NAS methods, the 27 GPU-days search cost can still be prohibitive for users with limited resources. Future work could explore further optimizations or lighter search strategies.
  • Robustness Limitations: The paper notes that architectural advancements translate to only minuscule improvements in robustness against adversarial examples, suggesting that architecture alone may not be the primary solution for adversarial robustness.
  • Weight Sharing Integration: The authors mention that weight sharing techniques, used by some RL-based NAS methods, could potentially be incorporated into NSGANetV1 for further efficiency gains, but this is left as future work.
  • Non-learnable Operations: Preliminary results on manually constructed non-learnable layers are encouraging, suggesting future work in designing dedicated search algorithms for these layers.

Summary updated

BibTeX
@article{lu2021multiobjective,
  author = {Zhichao Lu and Ian Whalen and Yashesh Dhebar and Kalyanmoy Deb and Erik D. Goodman and Wolfgang Banzhaf and Vishnu Naresh Boddeti},
  title = {{Multiobjective Evolutionary Design of Deep Convolutional Neural Networks for Image Classification}},
  journal = {IEEE Transactions on Evolutionary Computation},
  year = {2021},
  url = {https://openreview.net/forum?id=pLjUr2eNLM},
}
Figure