Skip to main content
QUICK REVIEW

[Paper Review] BulletTrain: Accelerating Robust Neural Network Training via Boundary Example Mining

Weizhe Hua, Yichi Zhang|arXiv (Cornell University)|Sep 29, 2021
Adversarial Robustness in Machine LearningComputer Science22 references6 citations
TL;DR

BulletTrain accelerates robust neural network training by dynamically identifying and focusing computational resources on boundary examples—those closest to the decision boundary—using margin-based importance scoring. It achieves 1.7× to 2.2× speedups on TRADES, MART, and AugMix without sacrificing clean or robust accuracy on CIFAR-10, CIFAR-10-C, and CIFAR-100-C benchmarks.

ABSTRACT

Neural network robustness has become a central topic in machine learning in recent years. Most training algorithms that improve the model's robustness to adversarial and common corruptions also introduce a large computational overhead, requiring as many as ten times the number of forward and backward passes in order to converge. To combat this inefficiency, we propose BulletTrain $-$ a boundary example mining technique to drastically reduce the computational cost of robust training. Our key observation is that only a small fraction of examples are beneficial for improving robustness. BulletTrain dynamically predicts these important examples and optimizes robust training algorithms to focus on the important examples. We apply our technique to several existing robust training algorithms and achieve a 2.1$ imes$ speed-up for TRADES and MART on CIFAR-10 and a 1.7$ imes$ speed-up for AugMix on CIFAR-10-C and CIFAR-100-C without any reduction in clean and robust accuracy.

Motivation & Objective

  • Address the high computational cost of robust neural network training, which can increase training time by up to tenfold due to extensive corruption generation.
  • Overcome the inefficiency of uniform computation across all training examples in existing robust training methods.
  • Develop a dynamic, adaptive method that allocates more computational effort to the most informative examples—those near the decision boundary—while reducing it for less relevant ones.
  • Maintain or improve model robustness and clean accuracy while drastically reducing training time.
  • Generalize the approach to both adversarial and common corruption robustness settings.

Proposed method

  • Define boundary examples as clean samples with small margins to the current decision boundary, as these are most likely to benefit from corruption augmentation.
  • Use a margin-based scoring function to predict the importance of each example in improving robustness, based on the model's current logits and prediction confidence.
  • Dynamically allocate computational resources for corruption generation (e.g., adversarial or data augmentation) only to the top-$N_R$ most important examples per mini-batch.
  • Introduce a threshold $̳$ to control the proportion of examples selected for corruption generation, enabling trade-offs between speed and robustness.
  • Integrate the method into existing robust training frameworks such as TRADES, MART, and AugMix by modifying the data sampling and loss computation pipeline.
  • Maintain full forward and backward passes for all examples but reduce the number of corruption generation steps for non-boundary examples based on their predicted importance.

Experimental results

Research questions

  • RQ1Can focusing computational effort on a small subset of boundary examples significantly reduce training time without degrading model robustness?
  • RQ2How does the dynamic selection of boundary examples based on margin-based importance compare to uniform or heuristic sampling in terms of speed-accuracy trade-offs?
  • RQ3To what extent can boundary example mining accelerate robust training across different robustness objectives—adversarial and common corruptions?
  • RQ4How stable is the performance of the method across varying hyperparameters such as the number of selected examples ($N_R$) and the margin threshold ($\gamma$)?
  • RQ5Can the method be generalized to existing state-of-the-art robust training algorithms without architectural changes?

Key findings

  • BulletTrain achieves a 2.2× speed-up on TRADES and MART for CIFAR-10 with no loss in clean or robust accuracy.
  • On CIFAR-10-C and CIFAR-100-C, BulletTrain provides a 1.7× speed-up for AugMix training while preserving both clean and robust accuracy.
  • The method maintains stable performance across different values of the margin threshold $\gamma$, with robust accuracy remaining consistent for $\gamma \in [0.65, 0.9]$.
  • The clean accuracy is robust to changes in $N_R$, and the method achieves higher speedups than FAST with comparable theoretical and wall-clock performance.
  • The theoretical speedup closely matches actual wall-clock speedups on GPU, indicating strong practical efficiency.
  • Unlike prior importance sampling methods, BulletTrain uses up-to-date model scores for dynamic selection, avoiding stale loss estimates and improving selection accuracy.

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.