Artificial Neural Networks (ANNs)

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following best describes the primary function of artificial neural networks (ANNs)?

  • To strictly adhere to pre-defined rules without adapting to new information.
  • To perfectly replicate the structure and function of the human brain.
  • To perform computational tasks at a slower pace than traditional systems.
  • To execute various computational tasks faster by emulating biological neural networks. (correct)

What is the role of weights associated with the connection links between neurons in an ANN?

  • To store programs that dictate the behavior of the entire network.
  • To delay or halt the transmission of signals between neurons.
  • To modulate the input signal, influencing whether the signal excites or inhibits the receiving neuron. (correct)
  • To uniformly amplify all signals passing through the connection.

In the context of biological neurons, which component is responsible for receiving information from other neurons?

  • Dendrites (correct)
  • Axon
  • Synapse
  • Soma

Which of the following is a key distinction between Artificial Neural Networks (ANNs) and Biological Neural Networks (BNNs) regarding processing speed?

<p>ANNs process information faster but are less nuanced compared to BNNs. (C)</p> Signup and view all the answers

What type of learning requires structured and formatted data to ensure precise outcomes and tolerance of ambiguity?

<p>ANN Learning (C)</p> Signup and view all the answers

In the general model of an Artificial Neural Network (ANN), how is the net input calculated?

<p>By summing the products of each input and its corresponding weight. (C)</p> Signup and view all the answers

What are the three primary building blocks that the processing of Artificial Neural Networks (ANN) depend on?

<p>Network Topology, Adjustments of Weights/Learning, and Activation Functions (C)</p> Signup and view all the answers

What is the key characteristic of a feedforward network in the context of neural networks?

<p>The signal only moves in one direction, from input to output. (D)</p> Signup and view all the answers

In neural networks, what distinguishes a multilayer feedforward network from a single-layer feedforward network?

<p>The inclusion of one or more hidden layers between the input and output layers. (B)</p> Signup and view all the answers

What is a primary characteristic of a feedback network in neural networks?

<p>The presence of feedback paths, allowing signals to flow in both directions. (B)</p> Signup and view all the answers

If an ANN is undergoing supervised learning, what condition triggers the adjustment of weights in the network?

<p>A difference is detected between the actual and desired output vectors. (B)</p> Signup and view all the answers

How does unsupervised learning differ from supervised learning in ANNs?

<p>Unsupervised learning involves the network discovering patterns without external guidance. (D)</p> Signup and view all the answers

What is a key characteristic of reinforcement learning in the context of ANNs?

<p>It uses evaluative feedback to adjust weights for improved future performance. (A)</p> Signup and view all the answers

What is the primary role of an activation function in an Artificial Neural Network (ANN)?

<p>To introduce non-linearity, enabling the network to model complex relationships. (C)</p> Signup and view all the answers

What distinguishes a binary sigmoidal function from a bipolar sigmoidal function in neural networks?

<p>A binary sigmoidal function outputs values between 0 and 1, while a bipolar function outputs values between -1 and 1. (A)</p> Signup and view all the answers

What is the function of the bias in a perceptron?

<p>To act as a threshold that the weighted sum of inputs must exceed for activation. (A)</p> Signup and view all the answers

Within the architecture of a perceptron, what is the role of the adder element?

<p>To sum the weighted inputs. (C)</p> Signup and view all the answers

According to the material, which activation function is the most basic and returns 1 if the input is positive, and 0 for any negative input?

<p>Heaviside step function (C)</p> Signup and view all the answers

In a Back Propagation Neural Network (BPN), what is the order of the three phases involved in its training?

<p>Feed Forward Phase, Back Propagation of Error, Updating Weights (C)</p> Signup and view all the answers

Which of the following best describes an advantage of using neural networks?

<p>Can mimic human control logic. (A)</p> Signup and view all the answers

Flashcards

Artificial Neural Networks (ANNs)

Parallel computing devices that attempt to model the brain to perform computations faster than traditional systems.

Artificial Neural Network (ANN)

An efficient computing system inspired by biological neural networks, composed of interconnected units for communication.

Dendrites

Tree-like branches of a neuron that receive information from other neurons it is connected to.

Soma

The cell body of the neuron, responsible for processing information received from dendrites.

Signup and view all the flashcards

Axon

Cable-like structure that sends information from a neuron.

Signup and view all the flashcards

Synapses

Connections between the axon of one neuron and the dendrites of another.

Signup and view all the flashcards

Network Topology

Arrangement of a network with its nodes and connecting lines.

Signup and view all the flashcards

Feedforward Network

A network where information only flows in one direction, from input to output, without loops.

Signup and view all the flashcards

Single Layer Feedforward Network

Feedforward ANN with only one weighted layer, where the input layer is fully connected to the output layer.

Signup and view all the flashcards

Multilayer Feedforward Network

Feedforward ANN with more than one weighted layer, including one or more layers between input and output (hidden layers).

Signup and view all the flashcards

Feedback Network

A network with feedback paths, allowing signals to flow in both directions using loops, creating a non-linear dynamic system.

Signup and view all the flashcards

Learning

The method of modifying the weights of connections between neurons in a network.

Signup and view all the flashcards

Supervised Learning

Learning under the supervision of a teacher, where an error signal adjusts weights until the actual output matches the desired output.

Signup and view all the flashcards

Unsupervised Learning

A type of learning without supervision, where the network discovers patterns and features from the input data to form clusters.

Signup and view all the flashcards

Reinforcement Learning

Learning used to reinforce or strengthen a network over some critic information; feedback is evaluative, not instructive.

Signup and view all the flashcards

Activation Function

The extra force applied over an input to obtain an exact output.

Signup and view all the flashcards

Linear Activation Function

Activation function that performs no input editing; output equals the input, F(x) = x.

Signup and view all the flashcards

Binary Sigmoidal Function

Activation function that performs input editing between 0 and 1; it is positive, bounded, and strictly increasing.

Signup and view all the flashcards

Bipolar Sigmoidal Function

Activation function that performs input editing between -1 and 1; can be positive or negative, bounded, and strictly increasing.

Signup and view all the flashcards

Back Propagation Network

The error calculated at the output layer, by comparing the target output and the actual output, will be propagated back towards the input layer.

Signup and view all the flashcards

Study Notes

Artificial Neural Networks (ANNs)

  • ANNs are parallel computing devices attempting to model the brain.
  • Main objective is to perform computational tasks faster than traditional systems.
  • ANN is an efficient computing system based on biological neural networks.
  • ANNs are referred to as "artificial neural systems," "parallel distributed processing systems," or "connectionist systems."
  • ANN consists of interconnected units allowing communication.
  • Units, or nodes/neurons, are simple processors operating in parallel.
  • Neurons connect to each other through connection links
  • Each connection link has a weight with information about the input signal.
  • The weight excites or inhibits the signal being communicated.
  • Each neuron has an internal state called an activation signal.
  • Output signals are sent to other units after combining input signals and an activation rule.

Biological Neuron

  • Nerve cell neuron processes information.
  • Approximately 10¹¹ neurons, with around 10¹⁵ interconnections.
  • A typical neuron consists of four parts: Dendrites, Soma, Axon and Synapses

Dendrites

  • Tree-like branches responsible for receiving information from other neurons.

Soma

  • The cell body of the neuron, responsible for processing received information.

Axon

  • A cable that sends information to other neurons.

Synapses

  • The connection between the axon and other neuron's dendrites

ANN versus BNN

BNN ANN
Soma Node
Dendrites Input
Synapse Weights or Interconnections
Axon Output
Criteria BNN ANN
Processing Massively parallel, slow Massively parallel, fast
Size 10¹¹ neurons/10¹⁵ connections 10²-10⁴ nodes, depends on application/network designer
Learning Tolerates ambiguity Requires precise, structured data to tolerate ambiguity
Fault tolerance Degrades with damage Robust performance, potential to be fault tolerant
Storage capacity Stores in synapse Stores in continuous memory locations

Model of Artificial Neural Network

  • The net input is calculated as: Yin = X1. W1 + X2. W2 + X3. W3 + … + Xm. Wm , which is equivalent to the sum of xi. Wi from i=1 to n.
  • Output is calculated by applying an activation function over the net input: Y = F(yin).
  • ANN processing depends on Network Topology, Adjustment of Weights/Learning and Activation Functions

Network Topology

  • It is the arrangement of a network's nodes and connecting lines.
  • ANN can be classified based on topology

Feedforward Network

  • It is a non-recurrent network with processing units/nodes in layers.
  • Nodes connect only to the previous layer's nodes.
  • No feedback loop, signal flows in one direction (input to output).

Single layer feedforward network

  • Has only one weighted layer
  • The input layer is fully connected to the output layer.

Multilayer feedforward network

  • Has one or more layers (hidden layers) between input and output.

Feedback Network

  • Has feedback paths, signal flows in both directions using loops.
  • Non-linear dynamic system, changes until equilibrium is reached.
  • Subdivided into Recurrent networks and Jordan networks

Recurrent networks

  • Feedback networks with closed loops.

Fully Recurrent Network

  • All nodes connect to each other and work as input and output.

Jordan network

  • Closed loop network where the output goes to the input as feedback.

Adjustments of Weights or Learning

  • Learning modifies connection weights in a specified network.
  • Learning is classified into supervised, unsupervised, and reinforcement learning.

Supervised Learning

  • It is done under the supervision of a teacher/dependent.
  • During training, an input vector is presented to the network, giving an output vector.
  • The output vector is compared with the desired output vector.
  • If there's a difference, an error signal is generated.
  • Weights are adjusted until the actual output matches the desired output.

Unsupervised Learning

  • Done without the supervision of a teacher/independent.
  • Input vectors of similar type form clusters.
  • The network gives an output response indicating the class to which a new input pattern belongs.
  • There is no feedback as to what the desired output should be.
  • The network discovers patterns, features, and relations between input data and output.

Reinforcement Learning

  • used to reinforce or strengthen the network using a critic information
  • Is like supervised learning, with very less explicit information
  • The network receives feedback from the environment, which is evaluative (not instructive).
  • Adjustments of weights are made to improve critic information in the future.

Activation Functions

  • It is the force or effort applied over the input to obtain an exact output
  • Examples include Linear and Sigmoid Activation Functions

Linear Activation Function

  • Called identity function, performs no input editing.
  • Defined as: F(x) = x

Sigmoid Activation Function

  • Two types: binary and bipolar sigmoidal

Binary sigmoidal function

  • Performs input editing between 0 and 1.
  • Always positive and bounded (output between 0 and 1).
  • Strictly increasing, higher input results in higher output.
  • Defined as: F(x) = sigm(x) = 1 / (1 + exp (-x))

Bipolar Sigmoidal Function:

  • Performs input editing between -1 and 1.
  • Can be positive or negative.
  • Always bounded (output between -1 and 1).
  • Strictly increasing.
  • Defined as: F(x) = sigm(x) = 2 / (1 + exp (-x)) - 1

Supervised Neural Networks

  • Learning takes place under the supervision of a teacher/dependent learning.
  • ANN presented with input vector, obtaining output vector.
  • Output vector is compared with the desired/target output vector.
  • An error signal is generated if there is a difference.
  • Weights are adjusted until the actual output matches the desired output.

Perceptron

  • Developed by Frank Rosenblatt using McCulloch and Pitts model.
  • Is the basic operational unit of artificial neural networks using a supervised learning rule.
  • Classifies data into two classes.
  • Consists of a single neuron with multiple inputs with adjustable weights.
  • Neuron output is 1 or 0 depending upon the threshold.
  • Includes a bias whose weight is always 1.
  • Perceptron has three basic elements:
    • Links: connection links with weight and a bias with weight 1.
    • Adder: adds the inputs multiplied with their respective weights.
    • Activation function: limits the neuron's output, uses a Heaviside step function (output = 1 if input is positive, 0 if negative).
  • Perceptron networks are single-layer feed-forward networks.
  • Variations were designed by Rosenblatt and Minsky-Papert.
  • Key points of a perceptron network:
    • Consists of three units: sensory (input), associator (hidden), and response (output).
    • Sensory units connect to associator units with fixed weights (1, 0, or -1) assigned at random.
    • Binary activation function in sensory and associator unit.
    • Response unit has an activation of 1, 0, or -1.
    • Binary step with a fixed threshold is used as activation for the associator.
    • Output signals to the response unit are only binary.
    • The output of the perceptron network is: y = 1 if Yin >= 0, y = 0 if -theta <= Yin < 0, y= -1, if Yin <= -theta
  • The perceptron learning rule weights updation:
    • Perceptron learning rule used in weight updation between the associator unit and the response unit.
    • The net calculates the response to determine if an error has occurred for each training input.
    • Error calculation compares target values with calculated outputs.
    • Weights on connections from units sending nonzero signals are adjusted.
    • Weights are adjusted based on the learning rule if an error occurred for a training pattern.
      • wi(new) = wi(old) + atxi
      • b(new) = b(old) + at
    • If no error, no weight updation occurs, and training process stops.
    • Target value "t" is +1 or -1, and a is the learning rate.

Back Propagation Network (BPN)

  • It is a multilayer neural network with at least one hidden layer
  • Error is calculated at the output layer by comparing the target and actual outputs propagated back to the input layer.
  • BPN architecture has three interconnected layers with weights.
  • Hidden and output layers have a bias, whose weight is always 1.
  • BPN working occurs in two phases: signal sending from the input to output layer and error back-propagation from the output to input layer.
  • The Bias terms also act as weights
  • During back propagation, signals are sent in the reverse direction.
  • Inputs to the BPN and output can be binary (0, 1) or bipolar (-1, +1).
  • The activation function increases monotonically and is differentiable.
  • BPN training uses a binary sigmoid activation function.
  • BPN training has three phases: feed forward, back propagation of error and updating of weights

Advantages of Neural Networks

  • Mimics human control logic.
  • Uses imprecise language.
  • Inherently robust.
  • Fails safely.
  • Modified and tweaked easily.

Disadvantages of Neural Networks

  • Operator's experience required.
  • System complexity.

Applications of Neural Networks

  • Automobile subsystems with air conditioning
  • Automatic transmissions, ABS and cruise control (e.g. Tokyo monorail).
  • Auto focus on cameras.
  • Digital image processing (edge detection).
  • Rice cookers, Dishwashers, and Elevators

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser