
Published as a conference paper at ICLR 2016
Net2Net: ACCELERATING LEARNING
VIA KNOWLEDGE TRANSFER
Tianqi Chen
∗
, Ian Goodfellow, and Jonathon Shlens
Google Inc., Mountain View, CA
tqchen@cs.washington.edu, {goodfellow,shlens}@google.com
ABSTRACT
We introduce techniques for rapidly transferring the information stored in one
neural net into another neural net. The main purpose is to accelerate the train-
ing of a significantly larger neural net. During real-world workflows, one often
trains very many different neural networks during the experimentation and de-
sign process. This is a wasteful process in which each new model is trained from
scratch. Our Net2Net technique accelerates the experimentation process by in-
stantaneously transferring the knowledge from a previous network to each new
deeper or wider network. Our techniques are based on the concept of function-
preserving transformations between neural network specifications. This differs
from previous approaches to pre-training that altered the function represented by
a neural net when adding layers to it. Using our knowledge transfer mechanism
to add depth to Inception modules, we demonstrate a new state of the art accuracy
rating on the ImageNet dataset.
1 INTRODUCTION
We propose a new kind of operation to perform on large neural networks: rapidly transfering knowl-
edge contained in one neural network to another neural network. We call this the Net2Net fam-
ily of operations. We use Net2Net as a general term describing any process of training a stu-
dent network significantly faster than would otherwise be possible by leveraging knowledge from a
teacher network that was already trained on the same task. In this article, we propose two specific
Net2Net methodologies. Both are based on the idea of function-preserving transformations of
neural networks. Specifically, we initialize the student to be a neural network that represents the
same function as the teacher, but using a different parameterization. One of these transformations,
Net2WiderNet allows replacing a model with an equivalent model that is wider (has more units in
each hidden layer). Another of these transformations, Net2DeeperNet allows replacing a model
that satisfies some properties with an equivalent, deeper model. After initializing the larger network
to contain all of the knowledge previously acquired by the smaller network, the larger network may
be trained to improve its performance.
Traditionally, machine learning algorithms have been designed to receive a fixed dataset as input,
initialize a new model with no knowledge, and train that model to convergence on that dataset. Real
workflows are considerably more complicated than this idealized scenario. We advocate Net2Net
operations as a useful tool for accelerating real-world workflows.
One way that real workflows deviate from the idealized scenario is that machine learning practition-
ers usually do not train only a single model on each dataset. Instead, one typically trains multiple
models, with each model designed to improve upon the previous model in some way. Each step in
the iterative design process relies on fully training and evaluating the innovation from the previous
step. For many large models, training is a long process, lasting for a week or even for a month. This
makes data-driven iterative design slow, due to the latency of evaluating whether each change to the
model caused an improvement.
Net2Net operations accelerate these workflows by rapidly transferring knowledge from the pre-
vious best model into each new model that an experimenter proposes. Instead of training each
considered design of model for as much as a month, the experimenter can use Net2Net to train the
∗
Tianqi Chen is also a PhD student at University of Washington.
1
arXiv:1511.05641v4 [cs.LG] 23 Apr 2016
评论