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

Jie Fu, Hongyin Luo, Jiashi Feng, Kian Hsiang Low, Tat-Seng Chua
1/5/2016
32 citations
cs.LGcs.NE

Official code: bigaidream-projects/drmad (106 stars, Python, MIT, last commit 2017-11-12).

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

MIT

DrMAD

10627PythonFeb 16, 20169 years agoMIT

Similar Papers

Cite this paper

@article{fu2016drmad,
  title  = {DrMAD: Distilling Reverse-Mode Automatic Differentiation for Optimizing Hyperparameters of Deep Neural Networks},
  author = {Jie Fu and Hongyin Luo and Jiashi Feng and Kian Hsiang Low and Tat-Seng Chua},
  year   = {2016},
  eprint = {1601.00917},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1601.00917}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1601.00917.svg)](https://codeofpaper.com/paper/1601.00917)

Discussion