12
$\begingroup$

I read that neural networks are of two types:
a) Biological neural networks
b) Artificial neural networks (or ANN)

I read, "Neural Networks are models of biological neural structures," and the biological neural structure referred to the brain in the context of that text. Is the brain called a biological neural network? If not, what is the difference between the two terms?

$\endgroup$
2
  • 6
    $\begingroup$ The term is used differently in different fields. The brain is a (biological) neural network: it's a network of neurons. Artificial neural networks, usually just referred to as neural networks, are computer simulations which process information in a way similar to how we think the brain does it. I'll add some links here in the morning. $\endgroup$
    – Eoin
    Jul 23, 2014 at 21:47
  • $\begingroup$ Biological neutrons are extremely slow but artificial neutron are extremely fast(if properly programs). e.g. Playing Chess. Computer moves are extremely fast but human moves will be slow for the correct move. Human neuron can perform extremely complex task such as interpreting a visual scenes or understanding language....If the same Artificial neutron has to be build /programmed with about more than 1 millions line of code... And this may not work properly as assumed. Human neurons work parallely.. Artifical neutron cannot work parallelly. $\endgroup$
    – user13551
    Aug 29, 2016 at 12:16

3 Answers 3

5
$\begingroup$

I am an Statistics student at University of Warwick (incoming Stanford University) and I have an interest in explaining machine learning concepts in a non-mathematical/non-technical way.

Biological Neural Network

Our brain has a large network of interlinked neurons, which act as a highway for information to be transmitted from point A to point B. To send different kinds of information from A to B, the brain activates a different sets of neurons, and so essentially uses a different route to get from A to B. This is how a typical neuron might look like. neuron

At each neuron, its dendrites receive incoming signals sent by other neurons. If the neuron receives a high enough level of signals within a certain period of time, the neuron sends an electrical pulse into the terminals. These outgoing signals are then received by other neurons.

Artificial Neural Network

The ANN model is modelled after the biological neural network (and hence its namesake). Similarly, in the ANN model, we have an input node (in this example we give it a handwritten image of the number 6), and an output node, which is the digit that the program recognized.

Artificial Neural Network overview

A simple Artificial Neural Network map, showing two scenarios with two different inputs but with the same output. Activated neurons along the path are shown in red.

The main characteristics of an ANN is as such:

Step 1. When the input node is given an image, it activates a unique set of neurons in the first layer, starting a chain reaction that would pave a unique path to the output node. In Scenario 1, neurons A, B, and D are activated in layer 1.

Step 2. The activated neurons send signals to every connected neuron in the next layer. This directly affects which neurons are activated in the next layer. In Scenario 1, neuron A sends a signal to E and G, neuron B sends a signal to E, and neuron D sends a signal to F and G.

Step 3. In the next layer, each neuron is governed by a rule on what combinations of received signals would activate the neuron (rules are trained when we give the ANN program training data, i.e. images of handwritten digits and the correct answer). In Scenario 1, neuron E is activated by the signals from A and B. However, for neuron F and G, their neurons’ rules tell them that they have not received the right signals to be activated, and hence they remains grey.

Step 4. Steps 2-3 are repeated for all the remaining layers (it is possible for the model to have more than 2 layers), until we are left with the output node.

Step 5. The output node deduces the correct digit based on signals received from neurons in the layer directly preceding it (layer 2). Each combination of activated neurons in layer 2 leads to one solution, though each solution can be represented by different combinations of activated neurons. In Scenarios 1 & 2, two images given to the input. Because the images are different, the network activates a different set of neurons to get from the input to the output. However, the output is still able to recognise that both images are “6”.

Read the full post here, which includes some examples of handwritten digits that were used: https://annalyzin.wordpress.com/2016/03/13/how-do-computers-recognise-handwriting-using-artificial-neural-networks/

$\endgroup$
15
$\begingroup$

Artificial neural networks (ANNs) are mathematical constructs, originally designed to approximate biological neurons. Each "neuron" is a relatively simple element --- for example, summing its inputs and applying a threshold to the result, to determine the output of that "neuron".

Several decades of research went into discovering how to build network architectures using these mathematical constructs, and how to automatically set the weighting on each of the connections between the neurons to perform a wide range of tasks. For example, ANNs can do things like recognition of hand-written digits.

A "biological neural network" would refer to any group of connected biological nerve cells. Your brain is a biological neural network, so is a number of neurons grown together in a dish so that they form synaptic connections. The term "biological neural network" is not very precise; it doesn't define a particular biological structure.

In the same way, an ANN can mean any of a large number of mathematical "neuron"-like constructs, connected in any of a large number of ways, to perform any of a large number of tasks.

$\endgroup$
1
  • $\begingroup$ ANN's are simplified Mathematical Models of the actual Bilogical Networks---which simulate the performance of actual biological network. $\endgroup$
    – b.sahu
    Feb 1, 2017 at 19:02
12
$\begingroup$

I'm studying computer science at KIT (Karlsruhe Institute of Technology, Germany) specializing in Machine Learning and a minor in Mathematics. I am not a biologist.

An artificial neural network is basically a mathematical function. It is built from simple functions which have parameters (numbers) which get adjusted (learned). One example of such a function is:

$$\varphi(x_1, \dots, x_n) = \frac{1}{1+e^{\sum_{i=1}^n w_i x_i}} \text{ with } w_i \in \mathbb{R}, x_i \in \mathbb{R}$$

As you can see, there are parameter $w_i$ which can be set to any number. The $x_i$ are the inputs. But those inputs themselves can be the output of another function $\varphi$.

A common way to visualize those simple functions is

enter image description here

There are thousands of those simple functions (also called "neurons") which build an artificial neural network. This results in a single function which has millions of parameters in the biggest networks. Neural networks use relatively simple topologies which can often be expressed in a tree structure:

enter image description here

Every single circle is one neuron (also called "perceptron" in some cases).

You have lots of training data, train once a long time, then use it often. A long time often means several days.

In an artificial neural network (ANN), the signal is send synchronously.


As far as I know, the human brain isn't fully understood by now. From what I've heard, the basic building blocks are also called neurons. They look like that:

enter image description here

The idea is that axon terminals of one neuron, which are closer to the axon hillock of another neuron have more influence on the output of the signal. But the relationship is different. It is a process which is much better described by differential equations, not something simple as the equation for artificial neurons above. The neurons send their signals asynchronously. According to Wikipedia, humans have 86 000 000 000 neurons. They are certainly restricted in how they can be connected, but there are also certainly many billions of parameters which can be adjusted in "standard human brains".

By now, we don't know how humans really (exactly, in all details) learn. This is certainly a key difference. But we don't learn once for a long time and stop learning then. We are continuously learning very short times.

See also: On-line Recognition of Handwritten Mathematical Symbols, Chapter 4.3 for more details.

TL;DR and some more facts

  • Signal transport and processing: The human brain works asynchronously, ANNs work synchronously.
  • Parameter count: Humans have many billions (businessinsider.de writes "1,000 trillion") of adjustable parameters / 86Bn neurons (source). Even the most complicated ANNs only have several million learnable parameters.
  • Training algorithm: ANNs use Gradient Descent for learning. Human brains use something different (but we don't know what)
  • Processing speed: Single biological neurons are slow, while standard neurons in ANNs are fast. (Yes, I did not confuse the two. The artificial ones are faster. And I ignore spiking networks as I didn't see a single example where they are actually useful)
  • Topology: Biological neural networks have complicated topologies, while ANNs are often in a tree structure (I am aware of recurrent networks - they are still pretty simple from their structure)
  • Power consumption: Biological neural networks use very little power compared to artificial networks
  • Biological networks usually don't stop / start learning. ANNs have different fitting (train) and prediction (evaluate) phases.
  • Field of application: ANNs are specialized. They can only perform one task. They might be perfect at playing chess, but they fail at playing go (or vice versa). Biological neural networks can learn completely new tasks.
  • ANNs need a target function. You need to tell them what is good and what is bad. I'm not sure if you can compare this to e.g. pain in biological networks.
$\endgroup$
6
  • $\begingroup$ You say "Even the most complicated ANNs only have several million learnable parameters." I doubt this. I think Google does use neural networks or similar structures of much more parameters (probably more than in a human brain, at expense of using giant amounts of electricity to power giant computers). $\endgroup$
    – porton
    Dec 20, 2020 at 9:36
  • $\begingroup$ @porton Let's look at the ai.googleblog.com. The most recent article (3 days old) refers to the Transformer-XL article. Table 4 mentioned that Google uses a 800M network. The biggest one mentioned uses 33B parameters. They got closer in the past 4 years, but are still orders of magnitudes away from trillions of parameters. $\endgroup$ Dec 20, 2020 at 11:09
  • $\begingroup$ @porton having said that ... do you have any evidence to support your believes? Did you even try to substanciate / research it? $\endgroup$ Dec 20, 2020 at 11:12
  • $\begingroup$ It's not a belief, it's an opinion. I though of the PageRank algorithm (that was the Google's ranking algorithm in the first "version" of Google, I think something like this is still used as a small part of the big Google algorithm). It looks like (I am not sure) for me that PageRank behaves somehow similar to a neural network. Newer PR variants may be even more similar to neural networks that the original PR. Google says it has 30 trillion pages in the index, this is the number of "neurons" (if they have the "right" to be called neurons) in this net. $\endgroup$
    – porton
    Dec 20, 2020 at 12:23
  • $\begingroup$ @porton Try to estimate the necessary amount of compute / RAM / data to make good use of such a big network. $\endgroup$ Dec 20, 2020 at 12:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.