An artificial neuron is a mathematical function conceived as a model of a biological neuron in a neural network. The artificial neuron is the elementary unit of an artificial neural network. The design of the artificial neuron was inspired by biological neural circuitry. Its inputs are analogous to excitatory postsynaptic potentials and inhibitory postsynaptic potentials at neural dendrites, or activation. Its weights are analogous to synaptic weights, and its output is analogous to a neuron's action potential which is transmitted along its axon. Usually, each input is separately weighted, and the sum is often added to a term known as a bias (loosely corresponding to the threshold potential), before being passed through a nonlinear function known as an activation function. Depending on the task, these functions could have a sigmoid shape (e.g. for binary classification), but they may also take the form of other nonlinear functions, piecewise linear functions, or step functions. They are also often monotonically increasing, continuous, differentiable, and bounded. Non-monotonic, unbounded, and oscillating activation functions with multiple zeros that outperform sigmoidal and ReLU-like activation functions on many tasks have also been recently explored. The threshold function has inspired building logic gates referred to as threshold logic; applicable to building logic circuits resembling brain processing. For example, new devices such as memristors have been extensively used to develop such logic. The artificial neuron activation function should not be confused with a linear system's transfer function. An artificial neuron may be referred to as a semi-linear unit, Nv neuron, binary neuron, linear threshold function, or McCulloch–Pitts (MCP) neuron, depending on the structure used. Simple artificial neurons, such as the McCulloch–Pitts model, are sometimes described as "caricature models", since they are intended to reflect one or more neurophysiological observations, but without regard to realism. Artificial neurons can also refer to artificial cells in neuromorphic engineering that are similar to natural physical neurons.
Basic structure For a given artificial neuron k, let there be m+1 inputs with signals x0 through xm and weights wk0 through wkm. Usually, the input x0 is assigned the value +1, which makes it a bias input with wk0=bk. This leaves only m actual inputs to the neuron: x1 to xm. The output of the k-th neuron is:
yk=φ(∑j=0mwkjxj), where φ (phi) is the activation function.
The output is analogous to the axon of a biological neuron, and its value propagates to the input of the next layer, through a synapse. It may also exit the system, possibly as part of an output vector. It has no learning process as such. Its activation function weights are calculated, and its threshold value is predetermined.
McCulloch–Pitts (MCP) neuron
An MCP neuron is a kind of restricted artificial neuron which operates in discrete time-steps. Each has zero or more inputs, and are written as x1,...,xn. It has one output, written as y. Each input can be either excitatory or inhibitory. The output can either be quiet or firing. An MCP neuron also has a threshold b∈{0,1,2,...}. In an MCP neural network, all the neurons operate in synchronous discrete time-steps of t=0,1,2,3,.... At time t+1, the output of the neuron is y(t+1)=1 if the number of firing excitatory inputs is at least equal to the threshold, and no inhibitory inputs are firing; y(t+1)=0 otherwise. It can be used to represent linearly separable boolean functions (for example, AND, OR, NOR) but not, for example, XOR. Each output can be the input to an arbitrary number of neurons, including itself (i.e., self-loops are possible). However, an output cannot connect more than once with a single neuron. Self-loops do not cause contradictions, since the network operates in synchronous discrete time-steps. As a simple example, consider a single neuron with threshold 0, and a single inhibitory self-loop. Its output would oscillate between 0 and 1 at every step, acting as a "clock". Any finite state machine can be simulated by a MCP neural network. Furnished with an infinite tape, MCP neural networks can simulate any Turing machine.
Biological models
Artificial neurons are designed to mimic aspects of their biological counterparts. However a significant performance gap exists between biological and artificial neural networks. In particular single biological neurons in the human brain with oscillating activation function capable of learning the XOR function have been discovered.
… excerpt ends here. Continue reading the full article.



