paper-with-me

홈 › Papers

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

2016-01-05 · Jie Fu, Hongyin Luo, Jiashi Feng, Kian Hsiang Low, Tat-Seng Chua

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

📄 PDF Abstract BibTeX arXiv:1601.00917

Code (1)

bigaidream-projects/drmad 공식 구현

Similar Papers 제목 키워드 기반

Reverse Faà di Bruno's Formula for Cartesian Reverse Differential Categories

2025-09-25 · Aaron Biggin, Jean-Simon Pacaud Lemay arxiv

Reverse differentiation is an essential operation for automatic differentiation. Cartesian reverse differential categories axiomatize reverse differentiation in a categorical framework, where one of the primary axioms is…

Source-to-Source Automatic Differentiation of OpenMP Parallel Loops

2021-11-02 · Jan Hückelheim, Laurent Hascoët

This paper presents our work toward correct and efficient automatic differentiation of OpenMP parallel worksharing loops in forward and reverse mode. Automatic differentiation is a method to obtain gradients of numerical…

Uncertainty Quantification

Decomposing reverse-mode automatic differentiation

2021-05-20 · Roy Frostig, Matthew J. Johnson, Dougal Maclaurin, Adam Paszke 외

We decompose reverse-mode automatic differentiation into (forward-mode) linearization followed by transposition. Doing so isolates the essential difference between forward- and reverse-mode AD, and simplifies their joint…

A Differential-form Pullback Programming Language for Higher-order Reverse-mode Automatic Differentiation

2020-02-19 · Carol Mak, Luke Ong

Building on the observation that reverse-mode automatic differentiation (AD) -- a generalisation of backpropagation -- can naturally be expressed as pullbacks of differential 1-forms, we design a simple higher-order prog…

Form

On the Equivalence of Automatic and Symbolic Differentiation

2019-04-05 · Soeren Laue

We show that reverse mode automatic differentiation and symbolic differentiation are equivalent in the sense that they both perform the same operations when computing derivatives. This is in stark contrast to the common …