We found a Neuron in a Neural Network Nothing new to see here. They pinpoint the nodes where the training bumped up the numbers for one token while not firing other tokens. Yes, I’m being a bit reductionist, but GPT -> transformer architecture -> neural network. We just have more detailed techniques, a lot more data, storage, and processing power now. But the basics of how a NN works hasn’t changed.
We Found an Neuron in GPT-2
91–100 of 177 posts
Re: We Found an Neuron in GPT-2
#92Earlier quoted context omitted.
It goes something like this: input text -> input tokens -> input embeddings -> model -> output embeddings -> output tokens -> output text Tokens aren't necessarily words: they can be fragments of words and you can check out this behavior here: https://platform.openai.com/tokenizer For instance, "an eagle" is tokenized to [an][ eagle], but "anoxic" is tokenized to [an][oxic], so just looking for the [an] token is not…
Further to this, as I understand it the "embedding" is mapping the tokens into vectors in a space where tokens semantically similar will be close together in the space.
Re: We Found an Neuron in GPT-2
#93Earlier quoted context omitted.
It goes something like this: input text -> input tokens -> input embeddings -> model -> output embeddings -> output tokens -> output text Tokens aren't necessarily words: they can be fragments of words and you can check out this behavior here: https://platform.openai.com/tokenizer For instance, "an eagle" is tokenized to [an][ eagle], but "anoxic" is tokenized to [an][oxic], so just looking for the [an] token is not…
Surely "an eagle" is [ an][ eagle] since the an starts a new word.
Re: We Found an Neuron in GPT-2
#94Interestingly I feel like humans have this as well, sometimes. Sometimes if someone is working though a complex thought and they're not really sure where they're going, they'll pause while thinking of the word they want to use, and might sound like "the discussion is an... an... epistemological one" Obviously they may have been conscious that the next word was going to start with "epi..." and they are just trying to…
Re: We Found an Neuron in GPT-2
#95Interestingly I feel like humans have this as well, sometimes. Sometimes if someone is working though a complex thought and they're not really sure where they're going, they'll pause while thinking of the word they want to use, and might sound like "the discussion is an... an... epistemological one" Obviously they may have been conscious that the next word was going to start with "epi..." and they are just trying to…
I hear that in the voice of Agent Smith, from The Matrix.
Re: We Found an Neuron in GPT-2
#96Co-author here! I'm kind of surprised that this made it to the top of HN! This was a project in which Joseph and I tried to reverse engineer the mechanism in which GPT-2 predicts the word 'an'. It's crazy that large language models work so well just by being trained as a next-word-prediction model over a large amount of text data. We know how image models learn extract the features of an image through convolution[1],…
Convolution is part of the network design though. Would a fully connected network learn to convolute? Or would it turn out that convolution is not necessary?
We know the architecture of LLMs because we created it, but we don't yet have the same level of understanding about them, or the same quality of analytical tools for reasoning about them.
Re: We Found an Neuron in GPT-2
#97Interestingly I feel like humans have this as well, sometimes. Sometimes if someone is working though a complex thought and they're not really sure where they're going, they'll pause while thinking of the word they want to use, and might sound like "the discussion is an... an... epistemological one" Obviously they may have been conscious that the next word was going to start with "epi..." and they are just trying to…
When you say "they have no idea about what they're about to say" you're talking about conscious thought. I think there is a difference between rational thought (thinking by going through a series of logically connected steps) and intuition, where you can arrive at a conclusion or knowledge of some fact or concept or knowing how to do something, without having gone through those conscious steps. Does one count as "tho…
Re: We Found an Neuron in GPT-2
#98Interestingly I feel like humans have this as well, sometimes. Sometimes if someone is working though a complex thought and they're not really sure where they're going, they'll pause while thinking of the word they want to use, and might sound like "the discussion is an... an... epistemological one" Obviously they may have been conscious that the next word was going to start with "epi..." and they are just trying to…
I certainly don't know what words a sentence is going to end with when I'm thinking or saying the first words in the sentence. I just think or say the sentence from start to finish, never knowing what the next word is going to be as I'm thinking the current one, and by the end of it I've thought or said a full sentence that makes sense.
Re: We Found an Neuron in GPT-2
#99Interestingly I feel like humans have this as well, sometimes. Sometimes if someone is working though a complex thought and they're not really sure where they're going, they'll pause while thinking of the word they want to use, and might sound like "the discussion is an... an... epistemological one" Obviously they may have been conscious that the next word was going to start with "epi..." and they are just trying to…
When you say "they have no idea about what they're about to say" you're talking about conscious thought. I think there is a difference between rational thought (thinking by going through a series of logically connected steps) and intuition, where you can arrive at a conclusion or knowledge of some fact or concept or knowing how to do something, without having gone through those conscious steps. Does one count as "tho…
Re: We Found an Neuron in GPT-2
#100Interestingly I feel like humans have this as well, sometimes. Sometimes if someone is working though a complex thought and they're not really sure where they're going, they'll pause while thinking of the word they want to use, and might sound like "the discussion is an... an... epistemological one" Obviously they may have been conscious that the next word was going to start with "epi..." and they are just trying to…
I never know what I'm about to say, but somehow coherent sentences come out. I certainly don't know what words a sentence is going to end with when I'm thinking or saying the first words in the sentence. I just think or say the sentence from start to finish, never knowing what the next word is going to be as I'm thinking the current one, and by the end of it I've thought or said a full sentence that makes sense.
It makes me feel like I’m not very good at conversation though, especially smalltalk.