Hacker News new | ask | show | jobs
by yorwba 4 days ago
A biological synapse's weight takes effect whenever its input changes. So although it cannot be copied and applied in parallel to different inputs at the same time (and hence your visual cortex has a bunch of more-or-less identical edge-detection circuits) it can still be applied sequentially to different inputs at different times. And when LLMs do operate in sequential mode, generating tokens one at a time, they typically access each parameter at most once per forward pass.

Though there are things like looped transformers that reuse the same parameters multiple times even for a single token, so maybe those will finally give us AGI if scaled up to a trillion parameters and looped hundreds of times. (Sounds expensive!)

1 comments

> A biological synapse's weight takes effect whenever its input changes.

I don't think it makes sense to try to compare our brains to ANN's, they are apples and oranges.

A synapse's weight is dynamically modulated by the astrocyte on multiple time scales (millisecond, sub-second, minutes), and the astrocyte itself is receiving inputs and performing computation (in addition to impacting the neural network).

> I don't think it makes sense to try to compare our brains to ANN's, they are apples and oranges.

It makes perfect sense to compare them. There are clear similarities in the style of processing. And I rarely, if ever, see people over interpreting comparisons.

--

The above insight: That convolution in a model has a not-the-same but still related relationship to living neurons isn't nonsense. In both cases, parameters are not just being used once in a given short-term response, even though the specifics of reuse are different.

And the relationship can be stronger: There is a lot of evidence convolution does effectively happen in the brain, via similar operations occurring across a region of similarly organized neurons, instead of via "reused" neurons/parameters. I.e. lots of regularity in the visual system's early processing.

Other things I find interesting: Human neurons are very noisy and statistical, but some of that gets smoothed by soma integration. So there is a loose correspondence with the sigmoid function, with biology encoding by frequency instead of amplitude.

Also, the branched dendritic trees of live neuron's are not passive, they can have apparently active aggregation points. Which makes a human neuron more comparable to a neuron with multiple feeder neurons. I.e. a very small two-layer net. And it adds the possibility of tunable "parameters" within the dendrite tree, in addition to synapse strengths.

The contrast of gradient algorithms, vs. whatever algorithms human cells learn with, is really interesting. We know a little about how one neuron learns, but not much at all about how organized neurons learn together. In this case, comparison is fruitful for the contrast it highlights.

The biological neuron as a little-two-layer net model, suggests that perhaps learning operates at multiple levels in a single neuron. I.e. "two-layer" learning rules.