Proceedings

DrMAD: Distilling Reverse-Mode Automatic Differentiation for Optimizing Hyperparameters of Deep Neural Networks

Download BibTeX Cite

Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence. Pages 1469-1474.

Abstract

The performance of deep neural networks is well-known to be sensitive to the setting of their hyperparameters. Recent advances in reverse-mode automatic differentiation allow for optimizing hyperparameters with gradients. The standard way of computing these gradients involves a forward and backward pass of computations. However, the backward pass usually needs to consume unaffordable memory to store all the intermediate variables to exactly reverse the forward training procedure. In this work we propose a simple but effective method, DrMAD, to distill the knowledge of the forward pass into a shortcut path, through which we approximately reverse the training trajectory. Experiments on several image benchmark datasets show that DrMAD is at least 45 times faster and consumes 100 times less memory compared to state-of-the-art methods for optimizing hyperparameters with minimal compromise to its effectiveness. To the best of our knowledge, DrMAD is the first research attempt to make it practical to automatically tune thousands of hyperparameters of deep neural networks. The code can be downloaded from https://github.com/bigaidream-projects/drmad

  1. [Bastien et al., 2012] Frédéric Bastien, Pascal Lamblin, Raz- van Pascanu, James Bergstra, Ian J. Goodfellow, Arnaud Bergeron, Nicolas Bouchard, and Yoshua Bengio. Theano: new features and speed improvements. Deep Learning and Unsupervised Feature Learning NIPS 2012 Workshop, 2012.
  2. [Baydin et al., 2015] Atilim Gunes Baydin, Barak A Pearl- mutter, and Alexey Andreyevich Radul. Automatic dif- ferentiation in machine learning: a survey. arXiv preprint arXiv:1502.05767, 2015.
  3. [Bengio, 2000] Yoshua Bengio. Gradient-based opti- mization of hyperparameters. Neural computation, 12(8):1889-1900, 2000.
  4. [Bergstra et al., 2011] James S Bergstra, Rémi Bardenet, Yoshua Bengio, and Balázs Kégl. Algorithms for hyper- parameter optimization. In Advances in Neural Informa- tion Processing Systems, pages 2546-2554, 2011.
  5. [Choromanska et al., 2014] Anna Choromanska, Mikael Henaff, Michael Mathieu, Gérard Ben Arous, and Yann LeCun. The loss surface of multilayer networks. arXiv preprint arXiv:1412.0233, 2014.
  6. [Domke, 2012] Justin Domke. Generic methods for optimization-based modeling. In International Conference on Artificial Intelligence and Statistics, pages 318-326, 2012.
  7. [Foo et al., 2008] Chuan-sheng Foo, Chuong B Do, and An- drew Y Ng. Efficient multiple hyperparameter learning for log-linear models. In Advances in neural information pro- cessing systems, pages 377-384, 2008.
  8. [Glorot and Bengio, 2010] Xavier Glorot and Yoshua Ben- gio. Understanding the difficulty of training deep feed- forward neural networks. In International conference on artificial intelligence and statistics, pages 249-256, 2010.
  9. [Goodfellow and Vinyals, 2014] Ian J Goodfellow and Oriol Vinyals. Qualitatively characterizing neural network opti- mization problems. International Conference on Learning Representations, 2014.
  10. [Goodfellow et al., 2015] Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep learning. Book in preparation for MIT Press, 2015.
  11. [Griewank and Walther, 2008] Andreas Griewank and An- drea Walther. Evaluating derivatives: principles and tech- niques of algorithmic differentiation. Siam, 2008.
  12. [Hinton et al., 2014] Geoffrey E Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. In NIPS 2014 Deep Learning Workshop, 2014.
  13. [Lake et al., 2015] Brenden M Lake, Ruslan Salakhutdinov, and Joshua B Tenenbaum. Human-level concept learn- ing through probabilistic program induction. Science, 350(6266):1332-1338, 2015.
  14. [Li et al., 2013] Mu Li, Li Zhou, Zichao Yang, Aaron Li, Fei Xia, David G Andersen, and Alexander Smola. Parameter server for distributed machine learning. In Big Learning NIPS Workshop, 2013. [Luketina et al., 2015] Jelena Luketina, Mathias Berglund, and Tapani Raiko. Scalable gradient-based tuning of con- tinuous regularization hyperparameters. arXiv preprint arXiv:1511.06727, 2015.
  15. [Maclaurin et al., 2015] Dougal Maclaurin, David Duve- naud, and Ryan P Adams. Gradient-based hyperparameter optimization through reversible learning. arXiv preprint arXiv:1502.03492, 2015.
  16. [Montufar et al., 2014] Guido F Montufar, Razvan Pascanu, Kyunghyun Cho, and Yoshua Bengio. On the number of linear regions of deep neural networks. In Advances in Neural Information Processing Systems, pages 2924- 2932, 2014.
  17. [Raiko et al., 2012] Tapani Raiko, Harri Valpola, and Yann LeCun. Deep learning made easier by linear transforma- tions in perceptrons. In International Conference on Arti- ficial Intelligence and Statistics, pages 924-932, 2012.
  18. [Schaul and LeCun, 2013] Tom Schaul and Yann LeCun. Adaptive learning rates and parallelization for stochas- tic, sparse, non-smooth gradients. arXiv preprint arXiv:1301.3764, 2013.
  19. [Shahriari et al., 2016] Bobak Shahriari, Kevin Swersky, Ziyu Wang, Ryan P Adams, and Nando de Freitas. Taking the human out of the loop: A review of bayesian optimiza- tion. Proceedings of the IEEE, 104(1):148-175, 2016.
  20. [Snoek et al., 2012] Jasper Snoek, Hugo Larochelle, and Ryan P Adams. Practical bayesian optimization of ma- chine learning algorithms. In Advances in Neural Infor- mation Processing Systems, pages 2951-2959, 2012.
  21. [Wang et al., 2013] Ziyu Wang, Masrour Zoghi, Frank Hut- ter, David Matheson, and Nando de Freitas. Bayesian opti- mization in a billion dimensions via random embeddings. arXiv preprint arXiv:1301.1942, 2013.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards