News for hackers. Stuff that matters.
Re:Single cortical neurons as deep artificial neural networks by nabla9 on Thursday August 12, 2021 @06:47AM (#28154582)
Your terminology is inaccurate.

Threshold neurons like Pitts-McCulloch neurons are rarely used in artificial neural network architectures. They can't learn.

ANN's uses a nonlinear activation function that is differentiable (at least in practice). That small change makes huge difference.

Re:Single cortical neurons as deep artificial neural networks by orbifold on Thursday August 12, 2021 @01:45PM (#28159253)
That is not true, one can easily regularise the derivative, which is delta distribution, in some appropriate way, the easiest one being a 'triangle' centered at zero. That way one can actually easily train networks of McCulloch-Pitts neurons.
Re:Single cortical neurons as deep artificial neural networks by hansvm on Thursday August 12, 2021 @11:43AM (#28157731)
> They can't learn.

The strongest statement that might fit here is that they can't learn efficiently. Zero gradients just make learning slower (though I do agree that differentiability is something to strive for).

As a bit of an aside, in practice stochastic versions of algorithms assuming differentiability work on wide ranges of functions, and compositions of poorly behaved functions can be quite nicely.

For a couple [0] concrete examples:

(1) Throw the absolute value function into your favorite gradient/Newton's minimization routine. Blindly using differentiable techniques often works if a sub-gradient technique would work.

(2) Consider minimizing the magnitude of the smallest eigenvalue of the Jacobian matrix of your favorite function. Many of the intermediate components (e.g., trying to derive the eigenvalue with respect to matrix entries) are poorly defined, undefined, or have cusps and other nasty features. The composition is (under mild constraints) differentiable with non-zero gradients.

(3) Consider minimizing the absolute value of a step function. By using a wide difference quotient as an approximation of the derivative and feeding that into optimizers you'll still find the minimum near zero (See (1); it works similarly).

If the composite output is only constant on small regions in the input space (which holds if those neurons are modeling anything non-trivial), you can rig together something close enough to backprop to still learn efficiently.

[0] https://xkcd.com/1070/

Re:Single cortical neurons as deep artificial neural networks by zetalyrae on Thursday August 12, 2021 @06:52AM (#28154620)
I stand corrected. But the point is that artificial neurons are computationally simple.
Re:Single cortical neurons as deep artificial neural networks by l33t2328 on Thursday August 12, 2021 @09:24AM (#28155975)
> They can't learn

Is there a good (i.e. theoretical) reason for this?

Re:Single cortical neurons as deep artificial neural networks by shmageggy on Thursday August 12, 2021 @09:48AM (#28156295)
No, because it's wrong. Threshold neurons are still differentiable almost everywhere, no different than Relus which are ubiquitous. They may not be very good activation functions but they don't prevent a network from learning.
Re:Single cortical neurons as deep artificial neural networks by sdenton4 on Thursday August 12, 2021 @10:29AM (#28156782)
Sorry, but I think I disagree...

If I understand the PM neuron, it's outputs are boolean. This means there's no backprop signal, despite differentiability, since the outputs are constant (thus, gradient zero) in any neighborhood, which in turns zeros out any learning signal you would want to backprop through them. So you need a different learning strategy than backprop to use them.

(see also: the 'dead neuron' problem/phenomenon with ReLU activations.)

Re:Single cortical neurons as deep artificial neural networks by orbifold on Thursday August 12, 2021 @01:48PM (#28159278)
One can regularise the derivative (a delta distribution) in several ways (e.g. a triangle at zero) and that is good enough (even from a theoretical perspective) to find an approximate gradient. Experimentally it is then possible to train deep neural networks with such non-linearities.
Re:Single cortical neurons as deep artificial neural networks by Arech on Thursday August 12, 2021 @09:40AM (#28156189)
Non-differentiability, obviously