Earlier quoted context omitted.
I don't follow. Isn't this the flow for practically every neutral network i.e you index the sampled inputs from the embedding Matrix, forward this through every hidden layer and then finally transform to the dimensions of your tokens so that it can be interpreted as log-counts?
Yes, but I've never seen it expressed so clearly as pseudocode before.
Representation Engineering: Mistral-7B on Acid
31–40 of 69 posts
Re: Representation Engineering: Mistral-7B on Acid
#32Doesn't this mean that instead of interacting with a single global ChatGPT (or Bard) model, we'll istead find ourselves interacting with a personalised version since OpenAI can just store my individualised 'control vectors' (which alter ChatGPT's output to more closely match my individual preferences) and apply them at prompt-time? And doesn't this same logic flow through to personalisation of generative entertainment AI (e.g. my own personal, never-ending TV show where each episode is better than the last)?
If the above is right then there will be powerful network effects at both the global and individual level in and across these markets, which means we'll eventually end up with a single mega-corp monopolising all of these markets simultaneously in the future?
Add in individual biometric / biofeedback data from VR headsets and wearables, combined with personalised generative video entertainment, and I think we're in for a rather interesting future.
Re: Representation Engineering: Mistral-7B on Acid
#33Earlier quoted context omitted.
Yes, but I've never seen it expressed so clearly as pseudocode before.
This is not specific to llms. So not really informative of how llms work. It also works for CNNs, LSTM, MLPs, or even any data processing program..
Re: Representation Engineering: Mistral-7B on Acid
#34I give it 10 years before we see AI psychiatrists prescribe a happiness control vector supplementation for your pet assistant.
Re: Representation Engineering: Mistral-7B on Acid
#35Great article. It was a joy to read. I have one question though: Why do we integrate the control vector across all layers of a neural network, rather than limiting its application to just the final layer or a subset of layers? Given that each vector influences every layer it passes through, resulting in a cumulative effect, isn't there a risk of excessively skewing the data representation?
Re: Representation Engineering: Mistral-7B on Acid
#36I'd never seen an LLM summarized like this before, and I really like it: hidden_state = self.embeddings(input_tokens) for layer in self.layers: hidden_state = layer(hidden_state) return transform_into_logits(hidden_state)
Isn't this the typical representation we used back then when working with LSTMs?
Re: Representation Engineering: Mistral-7B on Acid
#37Great article. It was a joy to read. I have one question though: Why do we integrate the control vector across all layers of a neural network, rather than limiting its application to just the final layer or a subset of layers? Given that each vector influences every layer it passes through, resulting in a cumulative effect, isn't there a risk of excessively skewing the data representation?
Re: Representation Engineering: Mistral-7B on Acid
#38This reminds me of bias tuning, a LoRA competitor. One can get decent adapters by only finetuning a vector added to each linear layer activations. I think I saw it first while reading [1] but there are other instances. [1] https://arxiv.org/pdf/2304.15010.pdf
Please try to share abstract links instead of pdf links, for mobile or low connection readers.
https://arxiv.org/abs/2304.15010
also available at:
Re: Representation Engineering: Mistral-7B on Acid
#39More broadly, I notice more of whatever I'm focusing on.
> OK, now that you're locked in, here's a weird example. When used with the prompt below, the honesty vector doesn't change the model's behavior—instead, it changes the model's judgment of someone else's behavior! This is the same honesty vector as before—generated by asking the model to act honest or untruthful!
Re: Representation Engineering: Mistral-7B on Acid
#40The puzzle at the end sounds very human. The more dishonest see dishonesty in more places, even if they see something that isn't there. More broadly, I notice more of whatever I'm focusing on. > OK, now that you're locked in, here's a weird example. When used with the prompt below, the honesty vector doesn't change the model's behavior—instead, it changes the model's judgment of someone else's behavior! This is the s…
I wonder if this is the basis of empathy - if I can train more accurate 'fine-tuned' models in my brain I should have greater capacity for empathy. Although there's undoubtably more to it than that, if the above is true you'd expect to see a positive correlation between empathy and intelligence.