Skip to main content
QUICK REVIEW

[Paper Review] Non-Differentiable Supervised Learning with Evolution Strategies and Hybrid Methods

Karel Lenc, Erich Elsen|arXiv (Cornell University)|Jun 7, 2019
Music and Audio ProcessingComputer Science43 references6 citations
TL;DR

This paper proposes a hybrid training approach that combines gradient-based optimization for differentiable weights and Evolution Strategies (ES) for learning non-differentiable sparsity masks in deep neural networks. By parallelizing ES across devices, the method achieves competitive performance to standard SGD with minimal training overhead, enabling end-to-end training of sparse models from scratch without requiring a dense pre-training phase.

ABSTRACT

In this work we show that Evolution Strategies (ES) are a viable method for learning non-differentiable parameters of large supervised models. ES are black-box optimization algorithms that estimate distributions of model parameters; however they have only been used for relatively small problems so far. We show that it is possible to scale ES to more complex tasks and models with millions of parameters. While using ES for differentiable parameters is computationally impractical (although possible), we show that a hybrid approach is practically feasible in the case where the model has both differentiable and non-differentiable parameters. In this approach we use standard gradient-based methods for learning differentiable weights, while using ES for learning non-differentiable parameters - in our case sparsity masks of the weights. This proposed method is surprisingly competitive, and when parallelized over multiple devices has only negligible training time overhead compared to training with gradient descent. Additionally, this method allows to train sparse models from the first training step, so they can be much larger than when using methods that require training dense models first. We present results and analysis of supervised feed-forward models (such as MNIST and CIFAR-10 classification), as well as recurrent models, such as SparseWaveRNN for text-to-speech.

Motivation & Objective

  • To investigate the feasibility of scaling Evolution Strategies (ES) to large, complex supervised models with millions of parameters.
  • To develop a hybrid training framework where ES optimizes non-differentiable sparsity masks while SGD trains differentiable weights in parallel.
  • To enable training of sparse neural networks from the first training step, avoiding the memory and computational burden of pre-training dense models.
  • To evaluate the performance and efficiency of ES-based sparsity learning on both feedforward and recurrent architectures, including image classification and text-to-speech generation.

Proposed method

  • Introduce a semi-updates execution model to improve computational efficiency when applying ES to large ConvNets on CIFAR-10.
  • Use a continuous ES variant (C-ES) to optimize the distribution of binary sparsity masks, modeling them as differentiable parameters via reparameterization.
  • Train sparsity masks with ES while simultaneously training network weights with Adam, using parallel inference across multiple GPUs.
  • Apply block-wise sparsity constraints to reduce the number of ES parameters and improve training efficiency, especially for recurrent models.
  • Use a separate mask distribution per parameter tensor to improve execution speed and enable fine-grained sparsity control.
  • Leverage the black-box nature of ES to optimize non-differentiable factors such as sparsity patterns and execution speed, without requiring gradient computation.

Experimental results

Research questions

  • RQ1Can Evolution Strategies be effectively scaled to train large, non-differentiable supervised models such as ConvNets on CIFAR-10?
  • RQ2How does the performance of ES compare to standard SGD when training sparsity masks in a hybrid training setup?
  • RQ3Can sparse models be trained from scratch using ES for mask optimization, avoiding the need for dense pre-training?
  • RQ4What is the computational overhead of using ES for sparsity mask learning when parallelized across multiple devices?
  • RQ5How does block-wise sparsity constraint affect the performance and efficiency of ES-based training in recurrent models?

Key findings

  • On CIFAR-10, the proposed ES-based method achieved test accuracies of 90.56% to 91.77% using the semi-updates model, approaching but not surpassing SGD’s performance.
  • For the SparseWaveRNN model, C-ES achieved test NLL of 5.56 on WR1792 with 97% sparsity and block width 16, matching or slightly outperforming the pruning baseline.
  • The computational overhead of C-ES was approximately equal to the generation size, and with 8 GPUs, inference speed was comparable to pruning (e.g., 0.45 FPS for WR1792 with block width 16).
  • FixMask, a fixed mask distribution, failed to generalize at high initial sparsity (e.g., 90%), while C-ES maintained stable performance across all initial sparsity levels.
  • C-ES enabled training sparse models from scratch, eliminating the need for dense pre-training, which is especially beneficial for models too large to fit in memory.
  • The method demonstrated that ES can be a practical alternative for optimizing non-differentiable components like sparsity patterns when combined with gradient-based training.

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.