annotate writeup/techreport.tex @ 629:75458692efba

make a makefile rule for the aistats2011_cameraready.pdf target. It use new generic rule behind.
author Frederic Bastien <nouiz@nouiz.org>
date Thu, 17 Mar 2011 14:34:52 -0400
parents 81c6fde68a8a
children
rev   line source
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1 \documentclass{article} % For LaTeX2e
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
2 \usepackage{times}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
3 \usepackage{wrapfig}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
4 \usepackage{amsthm,amsmath,bbm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
5 \usepackage[psamsfonts]{amssymb}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
6 \usepackage{algorithm,algorithmic}
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
7 \usepackage[utf8]{inputenc}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
8 \usepackage{graphicx,subfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
9 \usepackage[numbers]{natbib}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
10
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
11 \addtolength{\textwidth}{10mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
12 \addtolength{\evensidemargin}{-5mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
13 \addtolength{\oddsidemargin}{-5mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
14
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
15 %\setlength\parindent{0mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
16
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
17 \title{Deep Self-Taught Learning for Handwritten Character Recognition}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
18 \author{
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
19 Frédéric Bastien \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
20 Yoshua Bengio \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
21 Arnaud Bergeron \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
22 Nicolas Boulanger-Lewandowski \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
23 Thomas Breuel \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
24 Youssouf Chherawala \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
25 Moustapha Cisse \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
26 Myriam Côté \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
27 Dumitru Erhan \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
28 Jeremy Eustache \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
29 Xavier Glorot \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
30 Xavier Muller \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
31 Sylvain Pannetier Lebeuf \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
32 Razvan Pascanu \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
33 Salah Rifai \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
34 Francois Savard \and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
35 Guillaume Sicard
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
36 }
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
37 \date{June 3, 2010, Technical Report 1353, Dept. IRO, U. Montreal}
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
38
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
39 \begin{document}
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
40
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
41 %\makeanontitle
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
42 \maketitle
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
43
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
44 %\vspace*{-2mm}
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
45 \begin{abstract}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
46 Recent theoretical and empirical work in statistical machine learning has demonstrated the importance of learning algorithms for deep architectures, i.e., function classes obtained by composing multiple non-linear transformations. Self-taught learning (exploiting unlabeled examples or examples from other distributions) has already been applied to deep learners, but mostly to show the advantage of unlabeled examples. Here we explore the advantage brought by {\em out-of-distribution examples}. For this purpose we developed a powerful generator of stochastic variations and noise processes for character images, including not only affine transformations but also slant, local elastic deformations, changes in thickness, background images, grey level changes, contrast, occlusion, and various types of noise. The out-of-distribution examples are obtained from these highly distorted images or by including examples of object classes different from those in the target test set. We show that {\em deep learners benefit more from out-of-distribution examples than a corresponding shallow learner}, at least in the area of handwritten character recognition. In fact, we show that they beat previously published results and reach human-level performance on both handwritten digit classification and 62-class handwritten character recognition.
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
47 \end{abstract}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
48 %\vspace*{-3mm}
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
49
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
50 \section{Introduction}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
51 %\vspace*{-1mm}
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
52
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
53 {\bf Deep Learning} has emerged as a promising new area of research in
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
54 statistical machine learning (see~\citet{Bengio-2009} for a review).
392
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
55 Learning algorithms for deep architectures are centered on the learning
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
56 of useful representations of data, which are better suited to the task at hand,
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
57 and are organized in a hierarchy with multiple levels.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
58 This is in part inspired by observations of the mammalian visual cortex,
392
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
59 which consists of a chain of processing elements, each of which is associated with a
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
60 different representation of the raw visual input. In fact,
392
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
61 it was found recently that the features learnt in deep architectures resemble
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
62 those observed in the first two of these stages (in areas V1 and V2
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
63 of visual cortex)~\citep{HonglakL2008}, and that they become more and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
64 more invariant to factors of variation (such as camera movement) in
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
65 higher layers~\citep{Goodfellow2009}.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
66 Learning a hierarchy of features increases the
392
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
67 ease and practicality of developing representations that are at once
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
68 tailored to specific tasks, yet are able to borrow statistical strength
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
69 from other related tasks (e.g., modeling different kinds of objects). Finally, learning the
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
70 feature representation can lead to higher-level (more abstract, more
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
71 general) features that are more robust to unanticipated sources of
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
72 variance extant in real data.
5f8fffd7347f possible image for illustrating perturbations
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 381
diff changeset
73
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
74 {\bf Self-taught learning}~\citep{RainaR2007} is a paradigm that combines principles
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
75 of semi-supervised and multi-task learning: the learner can exploit examples
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
76 that are unlabeled and possibly come from a distribution different from the target
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
77 distribution, e.g., from other classes than those of interest.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
78 It has already been shown that deep learners can clearly take advantage of
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
79 unsupervised learning and unlabeled examples~\citep{Bengio-2009,WestonJ2008-small},
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
80 but more needs to be done to explore the impact
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
81 of {\em out-of-distribution} examples and of the multi-task setting
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
82 (one exception is~\citep{CollobertR2008}, which uses a different kind
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
83 of learning algorithm). In particular the {\em relative
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
84 advantage} of deep learning for these settings has not been evaluated.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
85 The hypothesis discussed in the conclusion is that a deep hierarchy of features
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
86 may be better able to provide sharing of statistical strength
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
87 between different regions in input space or different tasks.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
88
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
89 Whereas a deep architecture can in principle be more powerful than a
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
90 shallow one in terms of representation, depth appears to render the
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
91 training problem more difficult in terms of optimization and local minima.
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
92 It is also only recently that successful algorithms were proposed to
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
93 overcome some of these difficulties. All are based on unsupervised
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
94 learning, often in an greedy layer-wise ``unsupervised pre-training''
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
95 stage~\citep{Bengio-2009}. One of these layer initialization techniques,
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
96 applied here, is the Denoising
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
97 Auto-encoder~(DA)~\citep{VincentPLarochelleH2008-very-small} (see Figure~\ref{fig:da}),
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
98 which
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
99 performed similarly or better than previously proposed Restricted Boltzmann
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
100 Machines in terms of unsupervised extraction of a hierarchy of features
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
101 useful for classification. Each layer is trained to denoise its
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
102 input, creating a layer of features that can be used as input for the next layer.
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
103
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
104 %The principle is that each layer starting from
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
105 %the bottom is trained to encode its input (the output of the previous
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
106 %layer) and to reconstruct it from a corrupted version. After this
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
107 %unsupervised initialization, the stack of DAs can be
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
108 %converted into a deep supervised feedforward neural network and fine-tuned by
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
109 %stochastic gradient descent.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
110
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
111 %
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
112 In this paper we ask the following questions:
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
113
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
114 %\begin{enumerate}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
115 $\bullet$ %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
116 Do the good results previously obtained with deep architectures on the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
117 MNIST digit images generalize to the setting of a much larger and richer (but similar)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
118 dataset, the NIST special database 19, with 62 classes and around 800k examples?
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
119
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
120 $\bullet$ %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
121 To what extent does the perturbation of input images (e.g. adding
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
122 noise, affine transformations, background images) make the resulting
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
123 classifiers better not only on similarly perturbed images but also on
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
124 the {\em original clean examples}? We study this question in the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
125 context of the 62-class and 10-class tasks of the NIST special database 19.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
126
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
127 $\bullet$ %\item
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
128 Do deep architectures {\em benefit {\bf more} from such out-of-distribution}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
129 examples, i.e. do they benefit more from the self-taught learning~\citep{RainaR2007} framework?
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
130 We use highly perturbed examples to generate out-of-distribution examples.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
131
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
132 $\bullet$ %\item
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
133 Similarly, does the feature learning step in deep learning algorithms benefit {\bf more}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
134 from training with moderately {\em different classes} (i.e. a multi-task learning scenario) than
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
135 a corresponding shallow and purely supervised architecture?
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
136 We train on 62 classes and test on 10 (digits) or 26 (upper case or lower case)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
137 to answer this question.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
138 %\end{enumerate}
420
a3a4a9c6476d added transformations description and began dataset descriptions
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 417
diff changeset
139
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
140 Our experimental results provide positive evidence towards all of these questions,
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
141 as well as classifiers that reach human-level performance on 62-class isolated character
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
142 recognition and beat previously published results on the NIST dataset (special database 19).
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
143 To achieve these results, we introduce in the next section a sophisticated system
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
144 for stochastically transforming character images and then explain the methodology,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
145 which is based on training with or without these transformed images and testing on
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
146 clean ones. We measure the relative advantage of out-of-distribution examples
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
147 (perturbed or out-of-class)
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
148 for a deep learner vs a supervised shallow one.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
149 Code for generating these transformations as well as for the deep learning
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
150 algorithms are made available at {\tt http://hg.assembla.com/ift6266}.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
151 We estimate the relative advantage for deep learners of training with
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
152 other classes than those of interest, by comparing learners trained with
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
153 62 classes with learners trained with only a subset (on which they
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
154 are then tested).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
155 The conclusion discusses
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
156 the more general question of why deep learners may benefit so much from
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
157 the self-taught learning framework. Since out-of-distribution data
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
158 (perturbed or from other related classes) is very common, this conclusion
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
159 is of practical importance.
407
fe2e2964e7a3 description des transformations en cours ajout d un fichier special.bib pour des references specifiques
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 393
diff changeset
160
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
161 %\vspace*{-3mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
162 %\newpage
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
163 \section{Perturbed and Transformed Character Images}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
164 \label{s:perturbations}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
165 %\vspace*{-2mm}
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
166
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
167 \begin{wrapfigure}[8]{l}{0.15\textwidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
168 %\begin{minipage}[b]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
169 %\vspace*{-5mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
170 \begin{center}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
171 \includegraphics[scale=.4]{Original.png}\\
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
172 {\bf Original}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
173 \end{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
174 \end{wrapfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
175 %%\vspace{0.7cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
176 %\end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
177 %\hspace{0.3cm}\begin{minipage}[b]{0.86\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
178 This section describes the different transformations we used to stochastically
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
179 transform $32 \times 32$ source images (such as the one on the left)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
180 in order to obtain data from a larger distribution which
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
181 covers a domain substantially larger than the clean characters distribution from
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
182 which we start.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
183 Although character transformations have been used before to
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
184 improve character recognizers, this effort is on a large scale both
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
185 in number of classes and in the complexity of the transformations, hence
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
186 in the complexity of the learning task.
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
187 The code for these transformations (mostly python) is available at
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
188 {\tt http://hg.assembla.com/ift6266}. All the modules in the pipeline share
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
189 a global control parameter ($0 \le complexity \le 1$) that allows one to modulate the
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
190 amount of deformation or noise introduced.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
191 There are two main parts in the pipeline. The first one,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
192 from slant to pinch below, performs transformations. The second
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
193 part, from blur to contrast, adds different kinds of noise.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
194 %\end{minipage}
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
195
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
196 %\vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
197 \subsection{Transformations}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
198 %{\large\bf 2.1 Transformations}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
199 %\vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
200
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
201 \subsubsection*{Thickness}
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
202
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
203 %\begin{wrapfigure}[7]{l}{0.15\textwidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
204 \begin{minipage}[b]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
205 %\centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
206 \begin{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
207 \vspace*{-5mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
208 \includegraphics[scale=.4]{Thick_only.png}\\
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
209 %{\bf Thickness}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
210 \end{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
211 \vspace{.6cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
212 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
213 \hspace{0.3cm}\begin{minipage}[b]{0.86\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
214 %\end{wrapfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
215 To change character {\bf thickness}, morphological operators of dilation and erosion~\citep{Haralick87,Serra82}
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
216 are applied. The neighborhood of each pixel is multiplied
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
217 element-wise with a {\em structuring element} matrix.
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
218 The pixel value is replaced by the maximum or the minimum of the resulting
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
219 matrix, respectively for dilation or erosion. Ten different structural elements with
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
220 increasing dimensions (largest is $5\times5$) were used. For each image,
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
221 randomly sample the operator type (dilation or erosion) with equal probability and one structural
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
222 element from a subset of the $n=round(m \times complexity)$ smallest structuring elements
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
223 where $m=10$ for dilation and $m=6$ for erosion (to avoid completely erasing thin characters).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
224 A neutral element (no transformation)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
225 is always present in the set.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
226 %%\vspace{.4cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
227 \end{minipage}
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
228
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
229 \vspace{2mm}
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
230
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
231 \subsubsection*{Slant}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
232 \vspace*{2mm}
420
a3a4a9c6476d added transformations description and began dataset descriptions
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 417
diff changeset
233
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
234 \begin{minipage}[b]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
235 \centering
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
236 \includegraphics[scale=.4]{Slant_only.png}\\
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
237 %{\bf Slant}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
238 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
239 \hspace{0.3cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
240 \begin{minipage}[b]{0.83\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
241 %\centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
242 To produce {\bf slant}, each row of the image is shifted
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
243 proportionally to its height: $shift = round(slant \times height)$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
244 $slant \sim U[-complexity,complexity]$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
245 The shift is randomly chosen to be either to the left or to the right.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
246 \vspace{5mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
247 \end{minipage}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
248 %\vspace*{-4mm}
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
249
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
250 %\newpage
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
251
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
252 \subsubsection*{Affine Transformations}
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
253
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
254 \begin{minipage}[b]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
255 %\centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
256 %\begin{wrapfigure}[8]{l}{0.15\textwidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
257 \begin{center}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
258 \includegraphics[scale=.4]{Affine_only.png}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
259 \vspace*{6mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
260 %{\small {\bf Affine \mbox{Transformation}}}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
261 \end{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
262 %\end{wrapfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
263 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
264 \hspace{0.3cm}\begin{minipage}[b]{0.86\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
265 \noindent A $2 \times 3$ {\bf affine transform} matrix (with
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
266 parameters $(a,b,c,d,e,f)$) is sampled according to the $complexity$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
267 Output pixel $(x,y)$ takes the value of input pixel
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
268 nearest to $(ax+by+c,dx+ey+f)$,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
269 producing scaling, translation, rotation and shearing.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
270 Marginal distributions of $(a,b,c,d,e,f)$ have been tuned to
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
271 forbid large rotations (to avoid confusing classes) but to give good
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
272 variability of the transformation: $a$ and $d$ $\sim U[1-3
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
273 complexity,1+3\,complexity]$, $b$ and $e$ $\sim U[-3 \,complexity,3\,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
274 complexity]$, and $c$ and $f \sim U[-4 \,complexity, 4 \,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
275 complexity]$.\\
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
276 \end{minipage}
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
277
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
278 %\vspace*{-4.5mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
279 \subsubsection*{Local Elastic Deformations}
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
280
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
281 %\begin{minipage}[t]{\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
282 %\begin{wrapfigure}[7]{l}{0.15\textwidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
283 %\hspace*{-8mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
284 \begin{minipage}[b]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
285 %\centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
286 \begin{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
287 \vspace*{5mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
288 \includegraphics[scale=.4]{Localelasticdistorsions_only.png}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
289 %{\bf Local Elastic Deformation}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
290 \end{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
291 %\end{wrapfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
292 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
293 \hspace{3mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
294 \begin{minipage}[b]{0.85\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
295 %%\vspace*{-20mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
296 The {\bf local elastic deformation}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
297 module induces a ``wiggly'' effect in the image, following~\citet{SimardSP03-short},
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
298 which provides more details.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
299 The intensity of the displacement fields is given by
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
300 $\alpha = \sqrt[3]{complexity} \times 10.0$, which are
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
301 convolved with a Gaussian 2D kernel (resulting in a blur) of
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
302 standard deviation $\sigma = 10 - 7 \times\sqrt[3]{complexity}$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
303 \vspace{2mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
304 \end{minipage}
415
1e9788ce1680 Added the parts concerning the transformations I'd announced I'd do: Local elastic deformations; occlusions; gimp transformations; salt and pepper noise; background images
fsavard
parents: 411
diff changeset
305
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
306 \vspace*{4mm}
415
1e9788ce1680 Added the parts concerning the transformations I'd announced I'd do: Local elastic deformations; occlusions; gimp transformations; salt and pepper noise; background images
fsavard
parents: 411
diff changeset
307
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
308 \subsubsection*{Pinch}
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
309
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
310 \begin{minipage}[b]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
311 %\centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
312 %\begin{wrapfigure}[7]{l}{0.15\textwidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
313 %\vspace*{-5mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
314 \begin{center}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
315 \includegraphics[scale=.4]{Pinch_only.png}\\
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
316 \vspace*{15mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
317 %{\bf Pinch}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
318 \end{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
319 %\end{wrapfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
320 %%\vspace{.6cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
321 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
322 \hspace{0.3cm}\begin{minipage}[b]{0.86\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
323 The {\bf pinch} module applies the ``Whirl and pinch'' GIMP filter with whirl set to 0.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
324 A pinch is ``similar to projecting the image onto an elastic
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
325 surface and pressing or pulling on the center of the surface'' (GIMP documentation manual).
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
326 For a square input image, draw a radius-$r$ disk
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
327 around its center $C$. Any pixel $P$ belonging to
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
328 that disk has its value replaced by
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
329 the value of a ``source'' pixel in the original image,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
330 on the line that goes through $C$ and $P$, but
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
331 at some other distance $d_2$. Define $d_1=distance(P,C)$
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
332 and $d_2 = sin(\frac{\pi{}d_1}{2r})^{-pinch} \times
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
333 d_1$, where $pinch$ is a parameter of the filter.
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
334 The actual value is given by bilinear interpolation considering the pixels
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
335 around the (non-integer) source position thus found.
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
336 Here $pinch \sim U[-complexity, 0.7 \times complexity]$.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
337 %%\vspace{1.5cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
338 \end{minipage}
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
339
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
340 %\vspace{1mm}
416
5f9d04dda707 Correction d'une erreur pour pinch et ajout d'une ref bibliographique
fsavard
parents: 415
diff changeset
341
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
342 %{\large\bf 2.2 Injecting Noise}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
343 \subsection{Injecting Noise}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
344 %\vspace{2mm}
415
1e9788ce1680 Added the parts concerning the transformations I'd announced I'd do: Local elastic deformations; occlusions; gimp transformations; salt and pepper noise; background images
fsavard
parents: 411
diff changeset
345
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
346 \subsubsection*{Motion Blur}
415
1e9788ce1680 Added the parts concerning the transformations I'd announced I'd do: Local elastic deformations; occlusions; gimp transformations; salt and pepper noise; background images
fsavard
parents: 411
diff changeset
347
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
348 %%\vspace*{-.2cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
349 \begin{minipage}[t]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
350 \centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
351 \vspace*{0mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
352 \includegraphics[scale=.4]{Motionblur_only.png}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
353 %{\bf Motion Blur}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
354 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
355 \hspace{0.3cm}\begin{minipage}[t]{0.83\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
356 %%\vspace*{.5mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
357 \vspace*{2mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
358 The {\bf motion blur} module is GIMP's ``linear motion blur'', which
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
359 has parameters $length$ and $angle$. The value of
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
360 a pixel in the final image is approximately the mean of the first $length$ pixels
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
361 found by moving in the $angle$ direction,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
362 $angle \sim U[0,360]$ degrees, and $length \sim {\rm Normal}(0,(3 \times complexity)^2)$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
363 %\vspace{5mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
364 \end{minipage}
420
a3a4a9c6476d added transformations description and began dataset descriptions
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 417
diff changeset
365
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
366 %\vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
367
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
368 \subsubsection*{Occlusion}
420
a3a4a9c6476d added transformations description and began dataset descriptions
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 417
diff changeset
369
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
370 \begin{minipage}[t]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
371 \centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
372 \vspace*{3mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
373 \includegraphics[scale=.4]{occlusion_only.png}\\
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
374 %{\bf Occlusion}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
375 %%\vspace{.5cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
376 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
377 \hspace{0.3cm}\begin{minipage}[t]{0.83\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
378 %\vspace*{-18mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
379 The {\bf occlusion} module selects a random rectangle from an {\em occluder} character
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
380 image and places it over the original {\em occluded}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
381 image. Pixels are combined by taking the max(occluder, occluded),
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
382 i.e. keeping the lighter ones.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
383 The rectangle corners
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
384 are sampled so that larger complexity gives larger rectangles.
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
385 The destination position in the occluded image are also sampled
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
386 according to a normal distribution.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
387 This module is skipped with probability 60\%.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
388 %%\vspace{7mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
389 \end{minipage}
415
1e9788ce1680 Added the parts concerning the transformations I'd announced I'd do: Local elastic deformations; occlusions; gimp transformations; salt and pepper noise; background images
fsavard
parents: 411
diff changeset
390
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
391 %\vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
392 \subsubsection*{Gaussian Smoothing}
426
a7fab59de174 change order of transformations
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 425
diff changeset
393
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
394 %\begin{wrapfigure}[8]{l}{0.15\textwidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
395 %\vspace*{-6mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
396 \begin{minipage}[t]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
397 \begin{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
398 %\centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
399 \vspace*{6mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
400 \includegraphics[scale=.4]{Bruitgauss_only.png}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
401 %{\bf Gaussian Smoothing}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
402 \end{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
403 %\end{wrapfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
404 %%\vspace{.5cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
405 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
406 \hspace{0.3cm}\begin{minipage}[t]{0.86\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
407 With the {\bf Gaussian smoothing} module,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
408 different regions of the image are spatially smoothed.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
409 This is achieved by first convolving
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
410 the image with an isotropic Gaussian kernel of
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
411 size and variance chosen uniformly in the ranges $[12,12 + 20 \times
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
412 complexity]$ and $[2,2 + 6 \times complexity]$. This filtered image is normalized
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
413 between $0$ and $1$. We also create an isotropic weighted averaging window, of the
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
414 kernel size, with maximum value at the center. For each image we sample
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
415 uniformly from $3$ to $3 + 10 \times complexity$ pixels that will be
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
416 averaging centers between the original image and the filtered one. We
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
417 initialize to zero a mask matrix of the image size. For each selected pixel
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
418 we add to the mask the averaging window centered on it. The final image is
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
419 computed from the following element-wise operation: $\frac{image + filtered\_image
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
420 \times mask}{mask+1}$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
421 This module is skipped with probability 75\%.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
422 \end{minipage}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
423
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
424 %\newpage
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
425
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
426 %\vspace*{-9mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
427 \subsubsection*{Permute Pixels}
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
428
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
429 %\hspace*{-3mm}\begin{minipage}[t]{0.18\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
430 %\centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
431 \begin{minipage}[t]{0.14\textwidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
432 %\begin{wrapfigure}[7]{l}{
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
433 %\vspace*{-5mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
434 \begin{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
435 \vspace*{1mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
436 \includegraphics[scale=.4]{Permutpixel_only.png}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
437 %{\small\bf Permute Pixels}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
438 \end{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
439 %\end{wrapfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
440 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
441 \hspace{3mm}\begin{minipage}[t]{0.86\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
442 \vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
443 %%\vspace*{-20mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
444 This module {\bf permutes neighbouring pixels}. It first selects a
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
445 fraction $\frac{complexity}{3}$ of pixels randomly in the image. Each
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
446 of these pixels is then sequentially exchanged with a random pixel
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
447 among its four nearest neighbors (on its left, right, top or bottom).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
448 This module is skipped with probability 80\%.\\
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
449 %\vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
450 \end{minipage}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
451
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
452 %\vspace{-3mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
453
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
454 \subsubsection*{Gaussian Noise}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
455
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
456 \begin{minipage}[t]{0.14\textwidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
457 %\begin{wrapfigure}[7]{l}{
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
458 %%\vspace*{-3mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
459 \begin{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
460 %\hspace*{-3mm}\begin{minipage}[t]{0.18\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
461 %\centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
462 \vspace*{0mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
463 \includegraphics[scale=.4]{Distorsiongauss_only.png}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
464 %{\small \bf Gauss. Noise}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
465 \end{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
466 %\end{wrapfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
467 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
468 \hspace{0.3cm}\begin{minipage}[t]{0.86\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
469 \vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
470 %\vspace*{12mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
471 The {\bf Gaussian noise} module simply adds, to each pixel of the image independently, a
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
472 noise $\sim Normal(0,(\frac{complexity}{10})^2)$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
473 This module is skipped with probability 70\%.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
474 %%\vspace{1.1cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
475 \end{minipage}
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
476
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
477 %\vspace*{1.2cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
478
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
479 \subsubsection*{Background Image Addition}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
480
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
481 \begin{minipage}[t]{\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
482 \begin{minipage}[t]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
483 \centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
484 \vspace*{0mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
485 \includegraphics[scale=.4]{background_other_only.png}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
486 %{\small \bf Bg Image}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
487 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
488 \hspace{0.3cm}\begin{minipage}[t]{0.83\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
489 \vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
490 Following~\citet{Larochelle-jmlr-2009}, the {\bf background image} module adds a random
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
491 background image behind the letter, from a randomly chosen natural image,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
492 with contrast adjustments depending on $complexity$, to preserve
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
493 more or less of the original character image.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
494 %%\vspace{.8cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
495 \end{minipage}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
496 \end{minipage}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
497 %%\vspace{-.7cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
498
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
499 \subsubsection*{Salt and Pepper Noise}
420
a3a4a9c6476d added transformations description and began dataset descriptions
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 417
diff changeset
500
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
501 \begin{minipage}[t]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
502 \centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
503 \vspace*{0mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
504 \includegraphics[scale=.4]{Poivresel_only.png}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
505 %{\small \bf Salt \& Pepper}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
506 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
507 \hspace{0.3cm}\begin{minipage}[t]{0.83\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
508 \vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
509 The {\bf salt and pepper noise} module adds noise $\sim U[0,1]$ to random subsets of pixels.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
510 The number of selected pixels is $0.2 \times complexity$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
511 This module is skipped with probability 75\%.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
512 %%\vspace{.9cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
513 \end{minipage}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
514 %%\vspace{-.7cm}
420
a3a4a9c6476d added transformations description and began dataset descriptions
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 417
diff changeset
515
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
516 %\vspace{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
517 \subsubsection*{Scratches}
462
f59af1648d83 cleaner le techreport
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 461
diff changeset
518
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
519 \begin{minipage}[t]{0.14\textwidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
520 %\begin{wrapfigure}[7]{l}{
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
521 %\begin{minipage}[t]{0.14\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
522 %\centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
523 \begin{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
524 \vspace*{4mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
525 %\hspace*{-1mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
526 \includegraphics[scale=.4]{Rature_only.png}\\
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
527 %{\bf Scratches}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
528 \end{center}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
529 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
530 %\end{wrapfigure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
531 \hspace{0.3cm}\begin{minipage}[t]{0.86\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
532 %%\vspace{.4cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
533 The {\bf scratches} module places line-like white patches on the image. The
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
534 lines are heavily transformed images of the digit ``1'' (one), chosen
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
535 at random among 500 such 1 images,
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
536 randomly cropped and rotated by an angle $\sim Normal(0,(100 \times
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
537 complexity)^2$ (in degrees), using bi-cubic interpolation.
541
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
538 Two passes of a grey-scale morphological erosion filter
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
539 are applied, reducing the width of the line
8aad1c6ec39a reduction espace
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 479
diff changeset
540 by an amount controlled by $complexity$.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
541 This module is skipped with probability 85\%. The probabilities
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
542 of applying 1, 2, or 3 patches are (50\%,30\%,20\%).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
543 \end{minipage}
428
9fcd0215b8d5 Added text for ratures filter
fsavard
parents: 427
diff changeset
544
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
545 %\vspace*{1mm}
428
9fcd0215b8d5 Added text for ratures filter
fsavard
parents: 427
diff changeset
546
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
547 \subsubsection*{Grey Level and Contrast Changes}
428
9fcd0215b8d5 Added text for ratures filter
fsavard
parents: 427
diff changeset
548
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
549 \begin{minipage}[t]{0.15\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
550 \centering
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
551 \vspace*{0mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
552 \includegraphics[scale=.4]{Contrast_only.png}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
553 %{\bf Grey Level \& Contrast}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
554 \end{minipage}%
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
555 \hspace{3mm}\begin{minipage}[t]{0.85\linewidth}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
556 \vspace*{1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
557 The {\bf grey level and contrast} module changes the contrast by changing grey levels, and may invert the image polarity (white
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
558 to black and black to white). The contrast is $C \sim U[1-0.85 \times complexity,1]$
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
559 so the image is normalized into $[\frac{1-C}{2},1-\frac{1-C}{2}]$. The
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
560 polarity is inverted with probability 50\%.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
561 %%\vspace{.7cm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
562 \end{minipage}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
563 %\vspace{2mm}
420
a3a4a9c6476d added transformations description and began dataset descriptions
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 417
diff changeset
564
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
565
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
566 \iffalse
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
567 \begin{figure}[ht]
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
568 \centerline{\resizebox{.9\textwidth}{!}{\includegraphics{example_t.png}}}\\
393
4c840798d290 added examples of figure and table of results
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 392
diff changeset
569 \caption{Illustration of the pipeline of stochastic
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
570 transformations applied to the image of a lower-case \emph{t}
393
4c840798d290 added examples of figure and table of results
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 392
diff changeset
571 (the upper left image). Each image in the pipeline (going from
4c840798d290 added examples of figure and table of results
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 392
diff changeset
572 left to right, first top line, then bottom line) shows the result
4c840798d290 added examples of figure and table of results
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 392
diff changeset
573 of applying one of the modules in the pipeline. The last image
4c840798d290 added examples of figure and table of results
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 392
diff changeset
574 (bottom right) is used as training example.}
4c840798d290 added examples of figure and table of results
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 392
diff changeset
575 \label{fig:pipeline}
4c840798d290 added examples of figure and table of results
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 392
diff changeset
576 \end{figure}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
577 \fi
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
578
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
579 %\vspace*{-3mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
580 \section{Experimental Setup}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
581 %\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
583 Much previous work on deep learning had been performed on
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
584 the MNIST digits task~\citep{Hinton06,ranzato-07-small,Bengio-nips-2006,Salakhutdinov+Hinton-2009},
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
585 with 60~000 examples, and variants involving 10~000
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
586 examples~\citep{Larochelle-jmlr-toappear-2008,VincentPLarochelleH2008}.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
587 The focus here is on much larger training sets, from 10 times to
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
588 to 1000 times larger, and 62 classes.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
589
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
590 The first step in constructing the larger datasets (called NISTP and P07) is to sample from
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
591 a {\em data source}: {\bf NIST} (NIST database 19), {\bf Fonts}, {\bf Captchas},
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
592 and {\bf OCR data} (scanned machine printed characters). Once a character
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
593 is sampled from one of these sources (chosen randomly), the second step is to
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
594 apply a pipeline of transformations and/or noise processes described in section \ref{s:perturbations}.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
595
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
596 To provide a baseline of error rate comparison we also estimate human performance
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
597 on both the 62-class task and the 10-class digits task.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
598 We compare the best Multi-Layer Perceptrons (MLP) against
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
599 the best Stacked Denoising Auto-encoders (SDA), when
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
600 both models' hyper-parameters are selected to minimize the validation set error.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
601 We also provide a comparison against a precise estimate
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
602 of human performance obtained via Amazon's Mechanical Turk (AMT)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
603 service (http://mturk.com).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
604 AMT users are paid small amounts
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
605 of money to perform tasks for which human intelligence is required.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
606 Mechanical Turk has been used extensively in natural language processing and vision.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
607 %processing \citep{SnowEtAl2008} and vision
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
608 %\citep{SorokinAndForsyth2008,whitehill09}.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
609 AMT users were presented
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
610 with 10 character images (from a test set) and asked to choose 10 corresponding ASCII
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
611 characters. They were forced to choose a single character class (either among the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
612 62 or 10 character classes) for each image.
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
613 80 subjects classified 2500 images per (dataset,task) pair.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
614 Different humans labelers sometimes provided a different label for the same
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
615 example, and we were able to estimate the error variance due to this effect
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
616 because each image was classified by 3 different persons.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
617 The average error of humans on the 62-class task NIST test set
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
618 is 18.2\%, with a standard error of 0.1\%.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
619
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
620 %\vspace*{-3mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
621 \subsection{Data Sources}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
622 %\vspace*{-2mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
623
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
624 %\begin{itemize}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
625 %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
626 {\bf NIST.}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
627 Our main source of characters is the NIST Special Database 19~\citep{Grother-1995},
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
628 widely used for training and testing character
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
629 recognition systems~\citep{Granger+al-2007,Cortes+al-2000,Oliveira+al-2002-short,Milgram+al-2005}.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
630 The dataset is composed of 814255 digits and characters (upper and lower cases), with hand checked classifications,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
631 extracted from handwritten sample forms of 3600 writers. The characters are labelled by one of the 62 classes
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
632 corresponding to ``0''-``9'',``A''-``Z'' and ``a''-``z''. The dataset contains 8 parts (partitions) of varying complexity.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
633 The fourth partition (called $hsf_4$, 82587 examples),
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
634 experimentally recognized to be the most difficult one, is the one recommended
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
635 by NIST as a testing set and is used in our work as well as some previous work~\citep{Granger+al-2007,Cortes+al-2000,Oliveira+al-2002-short,Milgram+al-2005}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
636 for that purpose. We randomly split the remainder (731668 examples) into a training set and a validation set for
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
637 model selection.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
638 The performances reported by previous work on that dataset mostly use only the digits.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
639 Here we use all the classes both in the training and testing phase. This is especially
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
640 useful to estimate the effect of a multi-task setting.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
641 The distribution of the classes in the NIST training and test sets differs
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
642 substantially, with relatively many more digits in the test set, and a more uniform distribution
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
643 of letters in the test set (whereas in the training set they are distributed
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
644 more like in natural text).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
645 %\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
646
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
647 %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
648 {\bf Fonts.}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
649 In order to have a good variety of sources we downloaded an important number of free fonts from:
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
650 {\tt http://cg.scs.carleton.ca/\textasciitilde luc/freefonts.html}.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
651 % TODO: pointless to anonymize, it's not pointing to our work
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
652 Including the operating system's (Windows 7) fonts, there is a total of $9817$ different fonts that we can choose uniformly from.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
653 The chosen {\tt ttf} file is either used as input of the Captcha generator (see next item) or, by producing a corresponding image,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
654 directly as input to our models.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
655 %\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
656
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
657 %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
658 {\bf Captchas.}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
659 The Captcha data source is an adaptation of the \emph{pycaptcha} library (a python based captcha generator library) for
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
660 generating characters of the same format as the NIST dataset. This software is based on
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
661 a random character class generator and various kinds of transformations similar to those described in the previous sections.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
662 In order to increase the variability of the data generated, many different fonts are used for generating the characters.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
663 Transformations (slant, distortions, rotation, translation) are applied to each randomly generated character with a complexity
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
664 depending on the value of the complexity parameter provided by the user of the data source.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
665 %Two levels of complexity are allowed and can be controlled via an easy to use facade class. %TODO: what's a facade class?
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
666 %\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
667
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
668 %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
669 {\bf OCR data.}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
670 A large set (2 million) of scanned, OCRed and manually verified machine-printed
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
671 characters where included as an
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
672 additional source. This set is part of a larger corpus being collected by the Image Understanding
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
673 Pattern Recognition Research group led by Thomas Breuel at University of Kaiserslautern
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
674 ({\tt http://www.iupr.com}), and which will be publicly released.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
675 %TODO: let's hope that Thomas is not a reviewer! :) Seriously though, maybe we should anonymize this
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
676 %\end{itemize}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
677
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
678 %\vspace*{-3mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
679 \subsection{Data Sets}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
680 %\vspace*{-2mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
681
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
682 All data sets contain 32$\times$32 grey-level images (values in $[0,1]$) associated with a label
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
683 from one of the 62 character classes.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
684 %\begin{itemize}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
685 %\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
686
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
687 %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
688 {\bf NIST.} This is the raw NIST special database 19~\citep{Grother-1995}. It has
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
689 \{651668 / 80000 / 82587\} \{training / validation / test\} examples.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
690 %\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
691
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
692 %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
693 {\bf P07.} This dataset is obtained by taking raw characters from all four of the above sources
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
694 and sending them through the transformation pipeline described in section \ref{s:perturbations}.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
695 For each new example to generate, a data source is selected with probability $10\%$ from the fonts,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
696 $25\%$ from the captchas, $25\%$ from the OCR data and $40\%$ from NIST. We apply all the transformations in the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
697 order given above, and for each of them we sample uniformly a \emph{complexity} in the range $[0,0.7]$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
698 It has \{81920000 / 80000 / 20000\} \{training / validation / test\} examples.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
699 %\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
700
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
701 %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
702 {\bf NISTP.} This one is equivalent to P07 (complexity parameter of $0.7$ with the same proportions of data sources)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
703 except that we only apply
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
704 transformations from slant to pinch. Therefore, the character is
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
705 transformed but no additional noise is added to the image, giving images
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
706 closer to the NIST dataset.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
707 It has \{81920000 / 80000 / 20000\} \{training / validation / test\} examples.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
708 %\end{itemize}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
709
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
710 %\vspace*{-3mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
711 \subsection{Models and their Hyperparameters}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
712 %\vspace*{-2mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
713
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
714 The experiments are performed using MLPs (with a single
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
715 hidden layer) and SDAs.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
716 \emph{Hyper-parameters are selected based on the {\bf NISTP} validation set error.}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
717
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
718 {\bf Multi-Layer Perceptrons (MLP).}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
719 Whereas previous work had compared deep architectures to both shallow MLPs and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
720 SVMs, we only compared to MLPs here because of the very large datasets used
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
721 (making the use of SVMs computationally challenging because of their quadratic
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
722 scaling behavior). Preliminary experiments on training SVMs (libSVM) with subsets of the training
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
723 set allowing the program to fit in memory yielded substantially worse results
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
724 than those obtained with MLPs. For training on nearly a billion examples
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
725 (with the perturbed data), the MLPs and SDA are much more convenient than
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
726 classifiers based on kernel methods.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
727 The MLP has a single hidden layer with $\tanh$ activation functions, and softmax (normalized
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
728 exponentials) on the output layer for estimating $P(class | image)$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
729 The number of hidden units is taken in $\{300,500,800,1000,1500\}$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
730 Training examples are presented in minibatches of size 20. A constant learning
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
731 rate was chosen among $\{0.001, 0.01, 0.025, 0.075, 0.1, 0.5\}$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
732 %through preliminary experiments (measuring performance on a validation set),
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
733 %and $0.1$ (which was found to work best) was then selected for optimizing on
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
734 %the whole training sets.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
735 %\vspace*{-1mm}
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
736
422
e7790db265b1 Basic text for section 3, add a bit more detail to section 4.2.2
Arnaud Bergeron <abergeron@gmail.com>
parents: 417
diff changeset
737
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
738 {\bf Stacked Denoising Auto-Encoders (SDA).}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
739 Various auto-encoder variants and Restricted Boltzmann Machines (RBMs)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
740 can be used to initialize the weights of each layer of a deep MLP (with many hidden
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
741 layers)~\citep{Hinton06,ranzato-07-small,Bengio-nips-2006},
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
742 apparently setting parameters in the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
743 basin of attraction of supervised gradient descent yielding better
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
744 generalization~\citep{Erhan+al-2010}. This initial {\em unsupervised
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
745 pre-training phase} uses all of the training images but not the training labels.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
746 Each layer is trained in turn to produce a new representation of its input
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
747 (starting from the raw pixels).
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
748 It is hypothesized that the
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
749 advantage brought by this procedure stems from a better prior,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
750 on the one hand taking advantage of the link between the input
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
751 distribution $P(x)$ and the conditional distribution of interest
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
752 $P(y|x)$ (like in semi-supervised learning), and on the other hand
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
753 taking advantage of the expressive power and bias implicit in the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
754 deep architecture (whereby complex concepts are expressed as
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
755 compositions of simpler ones through a deep hierarchy).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
756
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
757 \begin{figure}[ht]
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
758 %\vspace*{-2mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
759 \centerline{\resizebox{0.8\textwidth}{!}{\includegraphics{denoising_autoencoder_small.pdf}}}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
760 %\vspace*{-2mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
761 \caption{Illustration of the computations and training criterion for the denoising
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
762 auto-encoder used to pre-train each layer of the deep architecture. Input $x$ of
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
763 the layer (i.e. raw input or output of previous layer)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
764 s corrupted into $\tilde{x}$ and encoded into code $y$ by the encoder $f_\theta(\cdot)$.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
765 The decoder $g_{\theta'}(\cdot)$ maps $y$ to reconstruction $z$, which
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
766 is compared to the uncorrupted input $x$ through the loss function
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
767 $L_H(x,z)$, whose expected value is approximately minimized during training
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
768 by tuning $\theta$ and $\theta'$.}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
769 \label{fig:da}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
770 %\vspace*{-2mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
771 \end{figure}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
772
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
773 Here we chose to use the Denoising
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
774 Auto-encoder~\citep{VincentPLarochelleH2008} as the building block for
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
775 these deep hierarchies of features, as it is simple to train and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
776 explain (see Figure~\ref{fig:da}, as well as
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
777 tutorial and code there: {\tt http://deeplearning.net/tutorial}),
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
778 provides efficient inference, and yielded results
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
779 comparable or better than RBMs in series of experiments
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
780 \citep{VincentPLarochelleH2008}. During training, a Denoising
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
781 Auto-encoder is presented with a stochastically corrupted version
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
782 of the input and trained to reconstruct the uncorrupted input,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
783 forcing the hidden units to represent the leading regularities in
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
784 the data. Here we use the random binary masking corruption
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
785 (which sets to 0 a random subset of the inputs).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
786 Once it is trained, in a purely unsupervised way,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
787 its hidden units' activations can
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
788 be used as inputs for training a second one, etc.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
789 After this unsupervised pre-training stage, the parameters
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
790 are used to initialize a deep MLP, which is fine-tuned by
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
791 the same standard procedure used to train them (see previous section).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
792 The SDA hyper-parameters are the same as for the MLP, with the addition of the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
793 amount of corruption noise (we used the masking noise process, whereby a
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
794 fixed proportion of the input values, randomly selected, are zeroed), and a
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
795 separate learning rate for the unsupervised pre-training stage (selected
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
796 from the same above set). The fraction of inputs corrupted was selected
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
797 among $\{10\%, 20\%, 50\%\}$. Another hyper-parameter is the number
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
798 of hidden layers but it was fixed to 3 based on previous work with
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
799 SDAs on MNIST~\citep{VincentPLarochelleH2008}. The size of the hidden
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
800 layers was kept constant across hidden layers, and the best results
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
801 were obtained with the largest values that we could experiment
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
802 with given our patience, with 1000 hidden units.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
803
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
804 %\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
805
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
806 \begin{figure}[ht]
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
807 %\vspace*{-2mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
808 \centerline{\resizebox{.99\textwidth}{!}{\includegraphics{error_rates_charts.pdf}}}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
809 %\vspace*{-3mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
810 \caption{SDAx are the {\bf deep} models. Error bars indicate a 95\% confidence interval. 0 indicates that the model was trained
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
811 on NIST, 1 on NISTP, and 2 on P07. Left: overall results
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
812 of all models, on NIST and NISTP test sets.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
813 Right: error rates on NIST test digits only, along with the previous results from
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
814 literature~\citep{Granger+al-2007,Cortes+al-2000,Oliveira+al-2002-short,Milgram+al-2005}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
815 respectively based on ART, nearest neighbors, MLPs, and SVMs.}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
816 \label{fig:error-rates-charts}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
817 %\vspace*{-2mm}
479
6593e67381a3 Added transformation figure
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 477
diff changeset
818 \end{figure}
6593e67381a3 Added transformation figure
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 477
diff changeset
819
6593e67381a3 Added transformation figure
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 477
diff changeset
820
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
821 \begin{figure}[ht]
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
822 %\vspace*{-3mm}
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
823 \centerline{\resizebox{.99\textwidth}{!}{\includegraphics{improvements_charts.pdf}}}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
824 %\vspace*{-3mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
825 \caption{Relative improvement in error rate due to self-taught learning.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
826 Left: Improvement (or loss, when negative)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
827 induced by out-of-distribution examples (perturbed data).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
828 Right: Improvement (or loss, when negative) induced by multi-task
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
829 learning (training on all classes and testing only on either digits,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
830 upper case, or lower-case). The deep learner (SDA) benefits more from
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
831 both self-taught learning scenarios, compared to the shallow MLP.}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
832 \label{fig:improvements-charts}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
833 %\vspace*{-2mm}
452
b0622f78cfec Add a small paragraph mentionning the distribution differences and a figure illustrating the difference.
Arnaud Bergeron <abergeron@gmail.com>
parents: 444
diff changeset
834 \end{figure}
b0622f78cfec Add a small paragraph mentionning the distribution differences and a figure illustrating the difference.
Arnaud Bergeron <abergeron@gmail.com>
parents: 444
diff changeset
835
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
836 \section{Experimental Results}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
837 %\vspace*{-2mm}
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
838
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
839 %%\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
840 %\subsection{SDA vs MLP vs Humans}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
841 %%\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
842 The models are either trained on NIST (MLP0 and SDA0),
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
843 NISTP (MLP1 and SDA1), or P07 (MLP2 and SDA2), and tested
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
844 on either NIST, NISTP or P07, either on the 62-class task
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
845 or on the 10-digits task. Training (including about half
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
846 for unsupervised pre-training, for DAs) on the larger
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
847 datasets takes around one day on a GPU-285.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
848 Figure~\ref{fig:error-rates-charts} summarizes the results obtained,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
849 comparing humans, the three MLPs (MLP0, MLP1, MLP2) and the three SDAs (SDA0, SDA1,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
850 SDA2), along with the previous results on the digits NIST special database
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
851 19 test set from the literature, respectively based on ARTMAP neural
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
852 networks ~\citep{Granger+al-2007}, fast nearest-neighbor search
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
853 ~\citep{Cortes+al-2000}, MLPs ~\citep{Oliveira+al-2002-short}, and SVMs
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
854 ~\citep{Milgram+al-2005}. More detailed and complete numerical results
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
855 (figures and tables, including standard errors on the error rates) can be
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
856 found in Appendix.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
857 The deep learner not only outperformed the shallow ones and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
858 previously published performance (in a statistically and qualitatively
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
859 significant way) but when trained with perturbed data
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
860 reaches human performance on both the 62-class task
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
861 and the 10-class (digits) task.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
862 17\% error (SDA1) or 18\% error (humans) may seem large but a large
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
863 majority of the errors from humans and from SDA1 are from out-of-context
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
864 confusions (e.g. a vertical bar can be a ``1'', an ``l'' or an ``L'', and a
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
865 ``c'' and a ``C'' are often indistinguishible).
438
a6d339033d03 added AMT
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 437
diff changeset
866
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
867 In addition, as shown in the left of
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
868 Figure~\ref{fig:improvements-charts}, the relative improvement in error
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
869 rate brought by self-taught learning is greater for the SDA, and these
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
870 differences with the MLP are statistically and qualitatively
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
871 significant.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
872 The left side of the figure shows the improvement to the clean
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
873 NIST test set error brought by the use of out-of-distribution examples
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
874 (i.e. the perturbed examples examples from NISTP or P07).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
875 Relative percent change is measured by taking
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
876 $100 \% \times$ (original model's error / perturbed-data model's error - 1).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
877 The right side of
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
878 Figure~\ref{fig:improvements-charts} shows the relative improvement
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
879 brought by the use of a multi-task setting, in which the same model is
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
880 trained for more classes than the target classes of interest (i.e. training
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
881 with all 62 classes when the target classes are respectively the digits,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
882 lower-case, or upper-case characters). Again, whereas the gain from the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
883 multi-task setting is marginal or negative for the MLP, it is substantial
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
884 for the SDA. Note that to simplify these multi-task experiments, only the original
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
885 NIST dataset is used. For example, the MLP-digits bar shows the relative
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
886 percent improvement in MLP error rate on the NIST digits test set
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
887 is $100\% \times$ (single-task
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
888 model's error / multi-task model's error - 1). The single-task model is
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
889 trained with only 10 outputs (one per digit), seeing only digit examples,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
890 whereas the multi-task model is trained with 62 outputs, with all 62
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
891 character classes as examples. Hence the hidden units are shared across
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
892 all tasks. For the multi-task model, the digit error rate is measured by
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
893 comparing the correct digit class with the output class associated with the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
894 maximum conditional probability among only the digit classes outputs. The
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
895 setting is similar for the other two target classes (lower case characters
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
896 and upper case characters).
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
897 %%\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
898 %\subsection{Perturbed Training Data More Helpful for SDA}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
899 %%\vspace*{-1mm}
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
900
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
901 %%\vspace*{-1mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
902 %\subsection{Multi-Task Learning Effects}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
903 %%\vspace*{-1mm}
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
904
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
905 \iffalse
460
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
906 As previously seen, the SDA is better able to benefit from the
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
907 transformations applied to the data than the MLP. In this experiment we
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
908 define three tasks: recognizing digits (knowing that the input is a digit),
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
909 recognizing upper case characters (knowing that the input is one), and
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
910 recognizing lower case characters (knowing that the input is one). We
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
911 consider the digit classification task as the target task and we want to
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
912 evaluate whether training with the other tasks can help or hurt, and
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
913 whether the effect is different for MLPs versus SDAs. The goal is to find
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
914 out if deep learning can benefit more (or less) from multiple related tasks
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
915 (i.e. the multi-task setting) compared to a corresponding purely supervised
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
916 shallow learner.
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
917
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
918 We use a single hidden layer MLP with 1000 hidden units, and a SDA
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
919 with 3 hidden layers (1000 hidden units per layer), pre-trained and
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
920 fine-tuned on NIST.
437
479f2f518fc9 added Training with More Classes than Necessary
Guillaume Sicard <guitch21@gmail.com>
parents: 434
diff changeset
921
460
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
922 Our results show that the MLP benefits marginally from the multi-task setting
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
923 in the case of digits (5\% relative improvement) but is actually hurt in the case
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
924 of characters (respectively 3\% and 4\% worse for lower and upper class characters).
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
925 On the other hand the SDA benefited from the multi-task setting, with relative
460
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
926 error rate improvements of 27\%, 15\% and 13\% respectively for digits,
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
927 lower and upper case characters, as shown in Table~\ref{tab:multi-task}.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
928 \fi
460
fe292653a0f8 ajoute dernier tableau de resultats
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 458
diff changeset
929
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
930
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
931 %\vspace*{-2mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
932 \section{Conclusions and Discussion}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
933 %\vspace*{-2mm}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
934
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
935 We have found that the self-taught learning framework is more beneficial
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
936 to a deep learner than to a traditional shallow and purely
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
937 supervised learner. More precisely,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
938 the answers are positive for all the questions asked in the introduction.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
939 %\begin{itemize}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
940
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
941 $\bullet$ %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
942 {\bf Do the good results previously obtained with deep architectures on the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
943 MNIST digits generalize to a much larger and richer (but similar)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
944 dataset, the NIST special database 19, with 62 classes and around 800k examples}?
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
945 Yes, the SDA {\em systematically outperformed the MLP and all the previously
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
946 published results on this dataset} (the ones that we are aware of), {\em in fact reaching human-level
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
947 performance} at around 17\% error on the 62-class task and 1.4\% on the digits,
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
948 and beating previously published results on the same data.
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
949
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
950 $\bullet$ %\item
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
951 {\bf To what extent do self-taught learning scenarios help deep learners,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
952 and do they help them more than shallow supervised ones}?
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
953 We found that distorted training examples not only made the resulting
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
954 classifier better on similarly perturbed images but also on
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
955 the {\em original clean examples}, and more importantly and more novel,
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
956 that deep architectures benefit more from such {\em out-of-distribution}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
957 examples. MLPs were helped by perturbed training examples when tested on perturbed input
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
958 images (65\% relative improvement on NISTP)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
959 but only marginally helped (5\% relative improvement on all classes)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
960 or even hurt (10\% relative loss on digits)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
961 with respect to clean examples . On the other hand, the deep SDAs
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
962 were significantly boosted by these out-of-distribution examples.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
963 Similarly, whereas the improvement due to the multi-task setting was marginal or
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
964 negative for the MLP (from +5.6\% to -3.6\% relative change),
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
965 it was quite significant for the SDA (from +13\% to +27\% relative change),
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
966 which may be explained by the arguments below.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
967 %\end{itemize}
437
479f2f518fc9 added Training with More Classes than Necessary
Guillaume Sicard <guitch21@gmail.com>
parents: 434
diff changeset
968
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
969 In the original self-taught learning framework~\citep{RainaR2007}, the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
970 out-of-sample examples were used as a source of unsupervised data, and
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
971 experiments showed its positive effects in a \emph{limited labeled data}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
972 scenario. However, many of the results by \citet{RainaR2007} (who used a
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
973 shallow, sparse coding approach) suggest that the {\em relative gain of self-taught
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
974 learning vs ordinary supervised learning} diminishes as the number of labeled examples increases.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
975 We note instead that, for deep
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
976 architectures, our experiments show that such a positive effect is accomplished
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
977 even in a scenario with a \emph{large number of labeled examples},
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
978 i.e., here, the relative gain of self-taught learning is probably preserved
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
979 in the asymptotic regime.
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
980
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
981 {\bf Why would deep learners benefit more from the self-taught learning framework}?
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
982 The key idea is that the lower layers of the predictor compute a hierarchy
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
983 of features that can be shared across tasks or across variants of the
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
984 input distribution. A theoretical analysis of generalization improvements
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
985 due to sharing of intermediate features across tasks already points
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
986 towards that explanation~\cite{baxter95a}.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
987 Intermediate features that can be used in different
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
988 contexts can be estimated in a way that allows to share statistical
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
989 strength. Features extracted through many levels are more likely to
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
990 be more abstract (as the experiments in~\citet{Goodfellow2009} suggest),
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
991 increasing the likelihood that they would be useful for a larger array
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
992 of tasks and input conditions.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
993 Therefore, we hypothesize that both depth and unsupervised
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
994 pre-training play a part in explaining the advantages observed here, and future
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
995 experiments could attempt at teasing apart these factors.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
996 And why would deep learners benefit from the self-taught learning
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
997 scenarios even when the number of labeled examples is very large?
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
998 We hypothesize that this is related to the hypotheses studied
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
999 in~\citet{Erhan+al-2010}. Whereas in~\citet{Erhan+al-2010}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1000 it was found that online learning on a huge dataset did not make the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1001 advantage of the deep learning bias vanish, a similar phenomenon
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1002 may be happening here. We hypothesize that unsupervised pre-training
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1003 of a deep hierarchy with self-taught learning initializes the
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1004 model in the basin of attraction of supervised gradient descent
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1005 that corresponds to better generalization. Furthermore, such good
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1006 basins of attraction are not discovered by pure supervised learning
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1007 (with or without self-taught settings), and more labeled examples
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1008 does not allow the model to go from the poorer basins of attraction discovered
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1009 by the purely supervised shallow models to the kind of better basins associated
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1010 with deep learning and self-taught learning.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1011
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1012 A Flash demo of the recognizer (where both the MLP and the SDA can be compared)
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1013 can be executed on-line at {\tt http://deep.host22.com}.
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1014
584
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1015
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1016 \section*{Appendix I: Detailed Numerical Results}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1017
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1018 These tables correspond to Figures 2 and 3 and contain the raw error rates for each model and dataset considered.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1019 They also contain additional data such as test errors on P07 and standard errors.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1020
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1021 \begin{table}[ht]
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1022 \caption{Overall comparison of error rates ($\pm$ std.err.) on 62 character classes (10 digits +
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1023 26 lower + 26 upper), except for last columns -- digits only, between deep architecture with pre-training
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1024 (SDA=Stacked Denoising Autoencoder) and ordinary shallow architecture
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1025 (MLP=Multi-Layer Perceptron). The models shown are all trained using perturbed data (NISTP or P07)
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1026 and using a validation set to select hyper-parameters and other training choices.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1027 \{SDA,MLP\}0 are trained on NIST,
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1028 \{SDA,MLP\}1 are trained on NISTP, and \{SDA,MLP\}2 are trained on P07.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1029 The human error rate on digits is a lower bound because it does not count digits that were
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1030 recognized as letters. For comparison, the results found in the literature
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1031 on NIST digits classification using the same test set are included.}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1032 \label{tab:sda-vs-mlp-vs-humans}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1033 \begin{center}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1034 \begin{tabular}{|l|r|r|r|r|} \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1035 & NIST test & NISTP test & P07 test & NIST test digits \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1036 Humans& 18.2\% $\pm$.1\% & 39.4\%$\pm$.1\% & 46.9\%$\pm$.1\% & $1.4\%$ \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1037 SDA0 & 23.7\% $\pm$.14\% & 65.2\%$\pm$.34\% & 97.45\%$\pm$.06\% & 2.7\% $\pm$.14\%\\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1038 SDA1 & 17.1\% $\pm$.13\% & 29.7\%$\pm$.3\% & 29.7\%$\pm$.3\% & 1.4\% $\pm$.1\%\\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1039 SDA2 & 18.7\% $\pm$.13\% & 33.6\%$\pm$.3\% & 39.9\%$\pm$.17\% & 1.7\% $\pm$.1\%\\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1040 MLP0 & 24.2\% $\pm$.15\% & 68.8\%$\pm$.33\% & 78.70\%$\pm$.14\% & 3.45\% $\pm$.15\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1041 MLP1 & 23.0\% $\pm$.15\% & 41.8\%$\pm$.35\% & 90.4\%$\pm$.1\% & 3.85\% $\pm$.16\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1042 MLP2 & 24.3\% $\pm$.15\% & 46.0\%$\pm$.35\% & 54.7\%$\pm$.17\% & 4.85\% $\pm$.18\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1043 \citep{Granger+al-2007} & & & & 4.95\% $\pm$.18\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1044 \citep{Cortes+al-2000} & & & & 3.71\% $\pm$.16\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1045 \citep{Oliveira+al-2002} & & & & 2.4\% $\pm$.13\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1046 \citep{Milgram+al-2005} & & & & 2.1\% $\pm$.12\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1047 \end{tabular}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1048 \end{center}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1049 \end{table}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1050
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1051 \begin{table}[ht]
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1052 \caption{Relative change in error rates due to the use of perturbed training data,
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1053 either using NISTP, for the MLP1/SDA1 models, or using P07, for the MLP2/SDA2 models.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1054 A positive value indicates that training on the perturbed data helped for the
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1055 given test set (the first 3 columns on the 62-class tasks and the last one is
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1056 on the clean 10-class digits). Clearly, the deep learning models did benefit more
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1057 from perturbed training data, even when testing on clean data, whereas the MLP
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1058 trained on perturbed data performed worse on the clean digits and about the same
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1059 on the clean characters. }
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1060 \label{tab:perturbation-effect}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1061 \begin{center}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1062 \begin{tabular}{|l|r|r|r|r|} \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1063 & NIST test & NISTP test & P07 test & NIST test digits \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1064 SDA0/SDA1-1 & 38\% & 84\% & 228\% & 93\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1065 SDA0/SDA2-1 & 27\% & 94\% & 144\% & 59\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1066 MLP0/MLP1-1 & 5.2\% & 65\% & -13\% & -10\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1067 MLP0/MLP2-1 & -0.4\% & 49\% & 44\% & -29\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1068 \end{tabular}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1069 \end{center}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1070 \end{table}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1071
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1072 \begin{table}[ht]
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1073 \caption{Test error rates and relative change in error rates due to the use of
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1074 a multi-task setting, i.e., training on each task in isolation vs training
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1075 for all three tasks together, for MLPs vs SDAs. The SDA benefits much
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1076 more from the multi-task setting. All experiments on only on the
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1077 unperturbed NIST data, using validation error for model selection.
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1078 Relative improvement is 1 - single-task error / multi-task error.}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1079 \label{tab:multi-task}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1080 \begin{center}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1081 \begin{tabular}{|l|r|r|r|} \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1082 & single-task & multi-task & relative \\
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1083 & setting & setting & improvement \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1084 MLP-digits & 3.77\% & 3.99\% & 5.6\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1085 MLP-lower & 17.4\% & 16.8\% & -4.1\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1086 MLP-upper & 7.84\% & 7.54\% & -3.6\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1087 SDA-digits & 2.6\% & 3.56\% & 27\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1088 SDA-lower & 12.3\% & 14.4\% & 15\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1089 SDA-upper & 5.93\% & 6.78\% & 13\% \\ \hline
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1090 \end{tabular}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1091 \end{center}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1092 \end{table}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1093
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1094 %\afterpage{\clearpage}
81c6fde68a8a corrections to techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 583
diff changeset
1095 \clearpage
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1096 {
583
ae77edb9df67 DIRO techreport, sent to arXiv
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 582
diff changeset
1097 \bibliography{strings,strings-short,strings-shorter,ift6266_ml,specials,aigaion-shorter}
582
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1098 %\bibliographystyle{plainnat}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1099 \bibliographystyle{unsrtnat}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1100 %\bibliographystyle{apalike}
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1101 }
9ebb335ca904 techreport.tex
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 541
diff changeset
1102
379
a21a174c1c18 added writeup skeleton
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
1103
407
fe2e2964e7a3 description des transformations en cours ajout d un fichier special.bib pour des references specifiques
Xavier Glorot <glorotxa@iro.umontreal.ca>
parents: 393
diff changeset
1104 \end{document}