Neurons in Large Language Models: Dead, N-Gram, Positional
arxiv.org
arxiv.org
~jgroch
In the dark times before PyTorch there was an idea called NEAT: "neuroevolution of augmenting topologies", which tried to use a genetic algorithm (i.e. testing a bunch of slightly modified solutions for loss) to discover both optimal weights and optimal network structure. I don't think this gets used all that often, if at all.
I hear stories every few years about how many models have unused neurons that can be pruned or how hyperparameter selection is a pain in the ass, but nothing about automating the pruning and parameter selection in such a way as to efficiently use the whole model. I'm not sure it's necessary anyway.
Transform from [X] to [X X+epsilon].
In that case I was trying to fuse two signals that had fairly similar characteristics.
Whoever figures out how to clearly and effectively do it consistently faster than a 'full network from the start' version will open up an entirely new subfield of neural network training efficiency. :'))))
There's a lot of nuance though. What has typically worked best are variants on iterative magnitude weight pruning rather than activation pruning.
This can often get rid of 90% of the weights with minimal impact on quality. Structured pruning lets you remove blocks of weights while retaining good SIMD utilization... and so on.
Not at training time. But after training you can evaluate which activations rarely fire and simply remove their columns from the weight matrix.
Or you could re-randomize them and continue training.
It should be noted that there are methods for training the network to encourage these prunable neurons, eg sparsity penalties.
https://en.wikipedia.org/wiki/Pruning_(artificial_neural_net...
and, yes the article also mentions that it happens in mammal brains.
It also raises an interesting UX question: is there an implicit tradeoff between legibility and power for notations as for different ways of expressing rotation, or is that a consequence of using graphics hardware to implement AI?
It's claimed that this tendency to create dead neurons has a regularizing effect, but frankly I don't buy that.
Anecdotally, I've always had better results with Leaky ReLUs or Mish.
It is only scale at this point. Human level functioning is coming.
The bad news, humans are quirky and violent and don't have the best reinforcement learning themselves, and have poor alignment.
Basically humans are a low bar for AI to reach.
I see, this is basically the "AI of the gaps" argument. :P
It is NOT "only scale" at this point. But at the current rate, you will see this soon enough (I just happen to see it already). We'll have some very intelligent-seeming, very useful, but relatively uncreative zombies missing a "spark" (or any willpower, or any real source of what is valuable to them, or any sense of what is aesthetically pleasing or preferable or enjoyable or beautiful, or any consciousness for that matter). It will allow us to redefine what it means to be human. But our distinct human-ness will stand out even more at that point.
That is on the roadmap for 2030.
That’s a very human mistake, I’m sure somebody can tell you who played in every Superbowl and what the score was but people do misremember things frequently and we don’t call it a hallucination. (which is a defect in perception)
“Superhuman intelligence” is easy to realize for sports statistics if you do the ontology and data entry work and put the data in a relational or related database.
The thing is that chatbots get 90% accuracy for cases where you can get 99.99% accuracy (sometimes the data entry is wrong) with conventional technology. There is a kind of faith that we can go to 10^17 or 10^30 parameters or something and at some point perfect performance will “emerge” but no I think it is more like it will approach some asymptote, say 95% and you will try harder and harder and it will like pushing a bubble around other a rug. It’s a common situation in failing technology projects, quite well documented in
https://www.amazon.com/Friends-High-Places-Livingston-1990-1...
but boy people are seduced by those situations and have a hard time recognizing that they are in them.
In a certain sense chatbots already have superhuman powers of seduction that, I think, come from not having a “self” which makes mirroring easier to attain. People wouldn’t ordinarily be impressed by a computer program that can sort a list of numbers 90% correctly but give it the ability to apologize and many people will think it is really sincere and think it is really promising, it just needs a few trillion more transistors. (See the story Trurl’s Machine in Stanislaw Lem’s excellent Cyberiad except that machine is belligerent and not agreeable)
Now an obvious path is to have the chatbot turn a question into a SQL query and then feed the results into conversation and that’s a great idea and an active research area, but I’d point out the dialogues between Achilles and the Tortoise in
https://en.wikipedia.org/wiki/G%C3%B6del,_Escher,_Bach
which people mistakenly think is about symbolic A.I. but that is really about the problems of solving problems where the correct solution has a logical aspect. Even though logic isn’t everything, the formulation of most problems (like “Who won the soccer game at Cornell last night?”) is fundamentally logical and leads you straight to paradoxes that can have you forever pushing a bubble under the rug and thinking “just one more” little hack will fix it…
At some point they will all be tied together, and at that point it will start to look a lot more like sections of our brain, one is vision, one is language, one is movement. etc....
Also, I've observed a model I was training having the same problem as I do myself. If I at any point learn wrong data, which happens of course, then getting that wrong data back out is very hard and requires 10 or 50 times the effort I spent learning the initial data. In fact I strongly suspect I never unlearn bad data, I just additionally learn "if I say X, it's wrong, say Y instead".
Brains are so powerful because they are universal, they can use auxiliary data stores and co-processors just fine.
I’ve been experimenting with prompting to get GPT4 to realize it has a “memory” (just a flat file for now) which it can contextually retrieve and write to, coupled with a process that interprets any requests it makes of this “memory” and adds them to the conversation. Limited success so far. End goal is a “life agent” that does things like remind me of things in a human-like way, sums up my emails, etc.
But I do wonder if the practical utility of such an entity is worth the amount of effort and capital required to build and sustain it. I suspect it’ll be more a novelty than a practical tool.
It's therefore not surprising that the artificial behaves analogously to the organic, but it would be a mistake to assume they reproduce us accurately: GPT-3 is about a thousand times less complex than a human, while trained on more text than any of us could experience in ten millennia and only text. It has no emotions, unless the capacity to simulate affect happened to lead to this as an emergent property by accident (which I can't rule out but don't actually expect to be true).
Also note that it takes the 'brute force' approach to architecture by using a transformer model, basically learning a connection graph from scratch. If you want that to scale to human complexity in function, you're probably going to have to overshoot in size by an order of magnitude.
http://www.lifesci.sussex.ac.uk/home/George_Mather/Linked%20...
How did you figure that? How many synapses are dedicated to text processing in a human brain? How much information do those synapses encode compared to the information encoded in GPT-3? How about GPT-4?
At any rate, it's certainly true that GPT-3 is missing a great deal. So is GPT-4.
But look at a single 'real' neuron, it is just calcium ions, electrical potentials, there is no 'emotion'.
Once you can completely model a 'real' neuron (I know there is still some scale to achieving this). Then link together these exactly modeled 'real' neurons. What is to say it is not experiencing 'emotions'. Even though it is silicon.
Humans give themselves too much credit for being special. "I feeeeeel, the computer can't". That is just not understanding yourself.
With intelligence we can at least tell when we've achieved it, to whatever standard we like.
Emotions could probably be a thing where we can map some internal state to some emotional affect display, eventually; but what about any question of emotional qualia?
AFAICT, we don't even have a good grasp of the question yet. We each have access only the one inside our own head, and minimal capacity to even share what these are like with each other. When did you learn about aphantasia, for example? Is there a word for equivalents for that for other senses besides vision? I can "visualise" sounds and totally override the direction of down coming from my inner ears, but I can't "visualise" smells, and I don't have a non-visually oriented word for the idea, as both "visualise" and "imagine" clearly are and "idea" itself more subtly also is.
We don't know the answers (nor, I assert, the correct questions), though "what even is this?" and "what has it?" were already relevant to animal rights questions (qualia might have started with humans, but there's no reason to assume that) well before current AI, and even if we find a convenient proof that current AI definitely can't and that's fine… some of us want to advance the AI to at least as far as brain uploading where the qualia is the goal, though virtual hells like in the novel Surface Detail seem to me to be an extremely plausible dystopian outcome if uploads ever actually happen.
Can do more logic also, that it could also do XOR was some new breakthrough.
And, not saying Neurons are just logic gates, it's just that they are something well below NP hard.
There are analog fluctuations in potential all along the neuron, and they peak and fire at different thresholds. Really, seems like 'weights' if we want to map terminology.
It does not seem like it will be that long before the human neuron can be 'modeled' accurately enough that quibbling over a few percentage points between the 'model' and 'reality' will not leave much room in-between to find a 'soul' or 'spark', or anything anybody wants to say makes humans special.
We do for a at least one classic, small-scale example: C. Elegans. Despite mapping the roughly 300 neurons, the simulation attempts I'm aware of weren't very fruitful.
> with nearly the resolution required to do so.
I agree this may be part of why. Accurate simulation may require replicating subtle behavior outside the neuron body. Further maps or simulation attempts may have since been made, and possibly with better results. Given I don't remember headlines about this, it's likely that any improvements weren't groundbreaking.
I don't know enough about the roles of glia and inter-neuron (not interneuron) behavior to discuss this further beyond wild speculation. Nor does anyone, as far as I know. Gaining that knowledge would probably be necessary to build connectomes with sufficient accuracy for simulation.
Indeed; this is why I am willing to entertain the possibility that emotions may be present as an emergent property of simulating us. I don't expect it, but I can't rule it out.