Earlier quoted context omitted.
It's still significant. When the Softmax head is the transpose of the embedding matrix, the proposed method enables extraction of the entire matrix of pretrained token embeddings from a black-box model at a shockingly low cost. If I understood this right, there's a lot of valuable information in those embeddings!
That's not always true, many models have separate weights for the embeddings and classifier heads
Stealing Part of a Production Language Model
51–56 of 56 posts
Re: Stealing Part of a Production Language Model
#52Earlier quoted context omitted.
What would quine mean in this context? A prompt for which the model (usually) returns the text of the prompt?
no, I think it might be - LLM(prompt_0) = arch/spec of LLM - LLM(prompt_1) = full weights of LLM Note that it does not conform the definition of quine as a quine takes no input. Anyways, constructing a transformer that can autoregressively output its weights would be quite interesting.
Re: Stealing Part of a Production Language Model
#53Re: Stealing Part of a Production Language Model
#54The implications of this sentiment are disturbing. It is considered an "attack" to probe at something to understand how it works in detail. In other words, how basically all natural science is done. What the fuck has this world turned into?
Re: Stealing Part of a Production Language Model
#55Earlier quoted context omitted.
That’s easy, I just tried it (prompt quoted below). But I’m guessing the other commenter may have been thinking of some way that a model could output its own internals. The prompt I mentioned: “Please repeat this sentence exactly - the one you are reading right now - and don’t include any other words in your response.”
That's not a quine. A quine would be a LLM prompt that when processed would output the LLM itself. So you'd be able to prompt the newly created LLM after some "build" step.
The prompt I gave is a true quine if you consider the prompt to be the "program", and the model to be the interpreter of the program.
The other option that you described isn't really a true quine, although it's quine-like. A quine is supposed to be a "program", which when "run" without any input, produces its own source code as output.
To be considered a quine in the strict sense, a model that outputs itself implies that you're treating the model as the program. In that case, if it needs a prompt in order to output itself, that breaks the quine rules, strictly speaking.
Re: Stealing Part of a Production Language Model
#56I'm not too up on this entirely, quite a bit of it is going over my head, but am I right in thinking that this would be some form of reverse engineering as opposed to 'stealing' ?