Explore how artificial neural networks mimic the human brain to solve complex problems and their applications in medicine, AI, and robotics.
The concept of AI is inspired from human brain -Image generated using Ai

Neural Networks: Mimicking the Brain for AI

Artificial Neural Networks (ANNs) are computational systems inspired by the structure and function of biological nervous systems. These networks attempt to replicate the workings of the animal brain, utilizing interconnected processing elements, or neurons, to solve complex problems.

Both biological and artificial neural networks share neurons as fundamental building blocks. The conceptual groundwork for AI and neural networks was laid before the advent of modern computing, with computer emulations accelerating advancements in the field.

Currently, artificial intelligence and neural networks find applications in information processing, pattern recognition, and medical diagnosis. The field continues to evolve, presenting numerous opportunities for future development.

Biological vs. Artificial Neurons

The human brain comprises billions of neurons and specialized cells, forming the most complex organ in the human body. Although current knowledge of the brain is still limited—with estimates suggesting that less than 1% of its functions are fully understood—we possess a foundational understanding of its learning mechanisms.

Illustration of a neuron showing key parts including dendrites, nucleus, axon, axon hillock, cell body, synapse, and synaptic terminals.
Diagram of a neuron illustrating its structure, including dendrites, axon, and synapse.

A neuron receives signals from other neurons through a host of fine structures called dendrites. The neuron sends out spikes of electrical signals through a long, thin stand known as an axon, which splits into thousands of branches. At the end of each branch, a structure called a synapse converts the activity from the axon into electrical effects that inhibit or excite activity in the connected neurons. When a neuron receives excitatory input that is sufficiently large compared with its inhibitory input, it sends a spike of electrical activity down its axon. Learning occurs by changing the effectiveness of the synapses so that the influence of one neuron on another changes. In other words, information is stored in these junctions between each neuron.

Biological to artificial neurons

Diagram illustrating the structure of an artificial neuron, including inputs (dendrites), a processing unit (cell body), an output line (axon), and a threshold for activation.
Diagram illustrating the basic structure of an artificial neuron, showing inputs, processing unit, and output.

Artificial neurons mimic this biological function. An artificial neuron receives multiple inputs and produces a single output. Inputs replace dendrites, a processing unit emulates the cell body, and an output line functions as the axon. The processing unit can be programmed to generate specific outputs based on given inputs.

Neuron Operation

Diagram illustrating the structure and function of a neuron in a neural network, showcasing inputs, processing, and output.
Diagram illustrating the operation of a neuron, showcasing inputs, output, and teaching process.

Neurons operate in two modes: training and usage. During training, a neuron learns to produce a specific output for a given set of inputs. In usage mode, the neuron outputs the associated output when a trained input pattern is detected. When an unrecognized input pattern is encountered, a firing rule determines the output state.

Firing rules enable a neuron to generalize from known input-output pairs to unknown ones, allowing the neuron to classify inputs based on their similarity to known inputs.

Artificial neural network example

For example, a 3-input neuron is taught to output 1 when the input (X1,X2 and X3) is 111 or 101 and to output 0 when the input is 000 or 001. Then, the truth table is;

X1:00001111
X2:00110011
X3:01010101
OUT:00???1?1

Output for the inputs 010,011,100 and 110 is not known to neuron. Here comes the firing rule Take the pattern 010. It differs from 000 in 1 element, from 001 in 2 elements, from 101 in 3 elements and from 111 in 2 elements. Therefore, the ‘nearest’ pattern is 000 which belongs in the 0-taught set. Thus the firing rule requires that the neuron should not fire when the input is 001. On the other hand, 011 is equally distant from two taught patterns that have different outputs and thus the output stays undefined (0/1).

By applying the firing in every column the following truth table is obtained;

X1:00001111
X2:00110011
X3:01010101
OUT:000??111

Therefore the firing rule enables neuron to respond ‘sensibly’ to patterns not seen during training.

More complicated neuron architecture

Above neuron doesn’t do anything that conventional computers don’t do already. In a neural network output of one neuron is given as input to another neuron. So, more sophisticated and meaningful neuron can be designed obtained by giving weight to each input. Each input’s influence on decision making depends on its assigned weight.  The weight of an input is a number which when multiplied with the input gives the weighted input. These weighted inputs are then added together and if they exceed a pre-set threshold value, the neuron fires. In any other case the neuron does not fire.

A diagram illustrating the functioning of an artificial neuron, showing inputs, weights, and the process of output generation.

Output=f(X1W1+X2W2+………..+XnWn)

This neuron has the ability to adapt to a particular situation(inputs) by changing its weights and/or threshold.

We have seen in biological neurons ‘Learning occurs by changing the effectiveness of the synapses so that the influence of one neuron on another changes’

Artificial neurons learn by adjusting input weights, altering their influence on each other.  Various algorithms exist that cause the neuron to ‘adapt’.

Neural network

Diagram illustrating a neural network architecture with input layer, hidden layers, and output layer, depicting interconnected neurons.
Illustration of a neural network depicting input layers, hidden layers, and output layers, highlighting the interconnected structure of artificial neurons.

A neural network is an interconnection of large number of neurons. Output of one neuron will be fed to input of one or more neurons. Apart from the input and output layers , hidden layers are include so that output will be fine tuned and error free. As the number of neurons in a network increases, intelligence of that network will also improve(as in biological neural system).

Artificial Neuron: Example

Diagram illustrating the input structure and functioning of a neuron in a neural network

In above figure neuron is trained to recognise the patterns X and Y. The associated patterns are all black and all white respectively as shown below.Let us assume input is captured by 3 X 3 sensor array.

pattern recognition using ai
A diagram of a black and white checkerboard pattern, illustrating different configurations for use in neural network pattern recognition.

If we represent black squares with 1 and white squares with 0 then the truth tables for the neuron is.

A1A2A3A4A5A6A7A8A9o/p
101010101X
A simple diagram illustrating an artificial neuron with inputs, a processing unit, and an output.

The truth table for above pattern is as follows.

A1A2A3A4A5A6A7A8A9o/p
101111010Y

Above two input sets are the taught input sets. Now, let us see what will be the output of the neuron if another set of input is introduced.

Illustration of a simple neuron structure showing an input-output relationship with labeled components.

Truth table for the above pattern is given below. Initially output of the above pattern unknown to the neuron, but, on application of firing rule neuron will conclude above pattern is similar to taught input corresponds to ‘X’.

A1A2A3A4A5A6A7A8A9o/p
111010111X

Neuron will look for the similarity of this input with the taught inputs. This truth table is similar to first truth table in 7 ways(7 inputs are similar) and to the second table in 4 ways only. So, neuron will give the output as ‘X’.

Simple binary pattern with black and white squares, illustrating a basic input for a neural network.

By applying firing rule neuron will conclude above pattern is ‘Y’ since it’s 5 input are similar to taught inputs of ‘Y’ and only 3 inputs are similar to taught inputs of ‘X’.

A1A2A3A4A5A6A7A8A9o/p
101010010Y

Similarly observing other patterns given below you can see that , with only two taught input sets , system can identify up to five set of inputs. If a single neuron can do this much, what would be the capability of a network of tens, thousands or millions of neurons.? Today this algorithm can be implemented using simple computer programs.

Some more patterns and their truth table

Diagram illustrating an artificial neuron with inputs and outputs represented by squares.
A1A2A3A4A5A6A7A8A9o/p
101010111X

A simple representation of an artificial neuron with inputs represented by squares.
A1A2A3A4A5A6A7A8A9o/p
111010101X

Diagram illustrating the concept of artificial neurons in a neural network, showcasing inputs, outputs, and wiring similar to biological neurons.
A1A2A3A4A5A6A7A8A9o/p
101111001Y

Artificial neural network application

  • Neural networks are best in pattern identification, identifying particular trends in a set of data; they are well suited for prediction or forecasting needs in sales, marketing, customer research, planning, etc.
  • Medicine: Artificial neural nets are capable of disease diagnosis and treatment suggestions. Neural networks learn by example, so the details of how to recognize the disease are not needed. What is needed is a set of examples that are representative of all the variations of the disease. Their problem-solving ability and precision improve after each task (like humans).
  • Humanoid Robots: Artificial intelligence can be incorporated into robotic brains using neural networks.
  • Software: Pattern recognition in facial recognition, optical character recognition, etc.
  • Self-driving vehicles and autopiloting.

Many applications of Neural Networks are yet to be explored. Their ability to learn by example makes them very flexible and powerful. With the advancement of high power computing we have a lot to gain from neural networks. Scientists believe that someday a ‘conscious’ networks might be produced. For that neural network will be the biggest contributor along with other technologies.

Leave a Reply

Trending

Discover more from eZoneToday

Subscribe now to keep reading and get access to the full archive.

Continue reading