Neural-Networks

Introduction to Artificial Neural Networks

Unit 4 Navigation

Unit 4 Overview  |  Next → Appropriate Problems for NN Learning


Overview

Artificial Neural Networks (ANNs) provide a general, practical method for learning real-valued, discrete-valued, and vector-valued functions from examples.

The Backpropagation algorithm — the cornerstone of ANN learning — uses gradient descent to tune network parameters to best fit a training set of input-output pairs.

Why ANNs Matter

ANN learning has been proven effective in:

  • Recognising handwritten characters (LeCun et al., 1989)
  • Recognising spoken words (Lang et al., 1990)
  • Recognising faces (Cottrell, 1990)
  • Steering autonomous vehicles (Pomerleau, 1993)

4.1 Biological Motivation

The study of ANNs was inspired by the observation that biological learning systems are built of densely interconnected neurons.

Appropriate Problems for Neural Network Learning

Unit 4 Navigation

Introduction to ANN  |  Next → Perceptrons


4.3 When Should You Use Neural Networks?

The Backpropagation algorithm is the most commonly used ANN learning technique. It is appropriate for problems with the following six characteristics:


Characteristic 1: Instances Described by Many Attribute-Value Pairs

The target function is defined over instances described by a vector of predefined features — such as pixel values in an image.

  • Input attributes may be highly correlated or independent of one another
  • Input values can be any real number (not just binary or integer)

Example: In ALVINN, each instance is described by 960 pixel intensity values.
Counter-example: Symbolic logic problems where inputs are categorical labels are less naturally suited (though ANNs can still be applied).

An Example: Face Recognition Using Backpropagation

Unit 4 Navigation

Remarks on Backpropagation  |  Next → Advanced Topics: Error Functions


4.7 Face Recognition with Backpropagation

This section walks through applying Backpropagation to a real learning task — recognising which direction a person is facing from a camera image. It illustrates the design decisions every ANN practitioner must make, and what the network actually learns internally.


4.7.1 The Task

Dataset

PropertyDetail
Total images624 greyscale images
Subjects20 different people
Images per person~32
Image resolution120 × 128 pixels
Pixel depthGreyscale, 0–255

Variations within the dataset:

Unit 4: Artificial Neural Networks

Unit 4 Topics

#TopicDescription
4.1Introduction to Artificial Neural NetworksBiological motivation, ANN representations, ALVINN example
4.2Appropriate Problems for NN LearningWhen to use ANNs — 6 key problem characteristics
4.3PerceptronsPerceptron model, representational power, training rule, delta rule, gradient descent
4.4Multilayer Networks and Backpropagation AlgorithmSigmoid units, Backpropagation algorithm, momentum, derivation
4.5Remarks on Backpropagation AlgorithmConvergence, local minima, representational power, hidden representations, overfitting
4.6An Example: Face RecognitionFull design walkthrough — input encoding, network structure, learned representations
4.7Advanced Topics of ANN — Error FunctionsWeight decay, derivative errors, cross-entropy, weight sharing, conjugate gradient
4.8Recurrent NetworksTime series, recurrent architecture, unfolding in time, dynamic network structure

Source: Tom M. Mitchell, Machine Learning, Chapter 4
📄 Full Chapter PDF