2001). We have used grid-search and cross-validated the maxdepth ,minsplit, and number
of trees (nestimators ). We have done the grid-search on the following hyperparameter values,nestimators2 f5;10;15;25;50g,maxdepth2 f100;300;600;900g, andminsplits2
f1;4;16g. We obtained the best validation error with maxdepth = 300,minsplit = 4 and
nestimators = 10.
5.2.5 k-Nearest Neighbors
We used scikit-learn's implementation of k-Nearest Neighbors (k-NN). k-NN is an instancebased, lazy learning algorithm that selects the training examples closest in Euclidean distance
to the input query. It assigns a class label to the test example based on the categories of the
kclosest neighbors. The hyper-parameters we have evaluated in the cross-validation are the
number of neighbors ( k) andweights . Theweights hyper-parameter can be either \uniform" or
34
\distance". With \uniform", the value assigned to the query point is computed by the majority
vote of the nearest neighbors. With \distance", each value assigned to the query point is
computed by weighted majority votes where the weights are computed with the inverse distance
We explore the effect of introducing prior information into the intermediate
level of neural networks for a learning task on which all the state-of-the-art
machine learning algorithms tested failed to learn. We motivate our work from
the hypothesis that humans learn such intermediate concepts from other
individuals via a form of supervision or guidance using a curriculum. The
experiments we have conducted provide positive evidence in favor of this
hypothesis. In our experiments, a two-tiered MLP architecture is trained on a
dataset with 64x64 binary inputs images, each image with three sprites. The
final task is to decide whether all the sprites are the same or one of them is
different. Sprites are pentomino tetris shapes and they are placed in an image
with different locations using scaling and rotation transformations. The first
part of the two-tiered MLP is pre-trained with intermediate-level targets being
the presence of sprites at each location, while the second part takes the
output of the first part as input and predicts the final task's target binary
event. The two-tiered MLP architecture, with a few tens of thousand examples,
was able to learn the task perfectly, whereas all other algorithms (include
unsupervised pre-training, but also traditional algorithms like SVMs, decision
trees and boosting) all perform no better than chance. We hypothesize that the
optimization difficulty involved when the intermediate pre-training is not
performed is due to the {\em composition} of two highly non-linear tasks. Our
findings are also consistent with hypotheses on cultural learning inspired by
the observations of optimization problems with deep learning, presumably
because of effective local minima.
Çağlar Gülçehre Yoshua Bengio