5 ms·
Refusal in language models is mediated by a single direction
- wavemode 2y agoRelated recent HN submission (Uncensor any LLM with abliteration): https://news.ycombinator.com/item?id=40665721 https://news.ycombinator.com/item?id=40665721
- schoen 2y agoI don't know the exact connection between the two, but that article cites an article which is described as a preview of this paper. So I guess it was working with a summary of this paper's contributions.
- stainablesteel 2y agoif im understanding everything correctly the ablitation concept scouts the model for a similar concept to the "direction" described in this one, and it blocks it in order to "uncensor" the llm
- Natsu 2y agoI'm surprised no one has yet labeled this direction as the "axis of evil."
- eigenvalue 2y agoNow that this technique is known, I wonder if there will be an arm’s race to try to “distribute” the refusal tendency across as many different directions in the embedding space as possible so that it can’t be easily offset without reducing the quality of the inferences so much that it’s not worth it.
- refulgentis 2y agoIMHO, probably not, reasoning: It's only worthwhile if you're distributing weights. If you're distributing weights, people can train right over them anyway (ex. the waifu of the hour is based on Mistral...called...Moistral...shudders) Abliteration hasn't get significant traction in the handing-out-weights space. That surprised me because of the amount of avowed not-waifu desire for "uncensored" models. It didn't surprise me in that, the volume and ferocity of takes on "lobotomizing" did not match my experience with base LLMs at BigCo. There's not a ton of difference between a base LLM and the "censored" ones. Trying the abliterated ones makes that embarrassingly clear. You're better off tuning on erotic fanfic for your waifu than using an abliterated one, truth is, there's nothing hidden.
- behnamoh 2y ago> There's not a ton of difference between a base LLM and the "censored" ones. Actually, there is a lot of difference between base and censored models in terms of creative capacities. See the shocking results of this paper for instance: https://arxiv.org/abs/2406.05587 https://arxiv.org/abs/2406.05587 The censorship literally obliterates the creativity of LLMs.
- refulgentis 2y ago"RLHF significantly reduces to eliminates long tail log probs" shares no words with "Shocking result: model creativity is obliterated by censorship" Honestly, swear to God, the words aren't even in the same ballpark as what's actually going on. RLHF is also the process that makes it something you can talk to instead of an autocompleter. Has nothing to do with the concept of censorship. We can tell by the abliteration models. I can tell because I've used massive base models. I also think it's fairly well demonstrated and accessible to train an LLM now, enough that if "creativity was obliterated by censorship", someone would have made an uncensored one that demonstrated superior outputs. Wasn't that Grok's whole thing? It'll even tell you how to make meth / cocaine? And it's nowhere near leaderboards.
- behnamoh 2y agoDid you even read the paper? It literally says how RLHF significantly reduces model creativity through three experiments. > I also think it's fairly well demonstrated and accessible to train an LLM now, enough that if "creativity was obliterated by censorship", someone would have made an uncensored one that demonstrated superior outputs. No need to to that when we have base models of llama, Mistral, etc. > RLHF is also the process that makes it something you can talk to instead of an autocompleter. Not really. It aligns the model. What you're talking about is the SFT process done before RLHF where you finetune the model to behave like a conversational AI.
- refulgentis 2y ago> Did you even read the paper? ?! Are we in middle school? If so, I'm rubber you're glue, whatever you say... (to wit, I quoted the paper to you to demonstrate it wasn't as the claim, i.e. "exhibit lower entropy in token predictions" != "creativity is obliterated due to censorship") > It literally says how RLHF significantly reduces model creativity through three experiments. Ah, I see now. :) I don't take it personally. I'm old enough to smile at aggro behavior kicking up sand in front of a step back to the bailey. > No need to to that when we have base models of llama, Mistral, etc. They're RLHF'd/censorship'd too. "Base model" is a colloquialism that used to mean "no RLHF, just straight sipping from scraped web pages." Now it means "the last round wasn't explicitly chat". I am using it in the "sipping from straight scraped web pages" sense. > Not really Yes, really. Btw, what does "It aligns the model" mean to you at this point in your post? RLHF was just censorship that obliterates creativity? > "[intentionally left blank]" There is 0 discussion of any of the practical effects I mentioned as rope for you to walk down from your strong claim, ex. abliteration, uncensored models, etc. > (not actually in your post at all!) Is it possible your account got hacked? There's someone else using it to post that no one should even release models anymore because they're all the same and use the same techniques.[1][2] That's hard to square with someone who thinks they're all having their creativity obliterated due to censorship. [1] https://news.ycombinator.com/item?id=40599838 https://news.ycombinator.com/item?id=40599838 [2] https://news.ycombinator.com/item?id=40600136 https://news.ycombinator.com/item?id=40600136
- pizza 2y agoYou'd have to make refusal a high rank subspace, and that seems like it could be quite difficult. One alternative approach I've seen is to make refusal behavior more likely to just output the end-of-speech token.
- eigenvalue 2y agoThere are ways to do that from linear algebra, like orthogonalization processes (e.g., Gram-Schmidt process) followed by basis expansion. Or random projections can also be used in a similar way. And I’m sure there are much fancier techniques that draw upon higher math (like Grassmannians or Teichmuller mappings).
- ziofill 2y agoWould you be able to share some links to these techniques? They sound related to something I’m working on but in an entirely different field.
- mistercow 2y agoI wonder if you could do this with multiple alignment training passes, where you extract the refusal direction each time, and suppress it in future training passes.
- jelly 2y agoPerhaps LLM creators will start using ablation as the censorship method instead of a refusal
- daveguy 2y agoOh, that sounds double plus good.
- morningsam 2y agoSame thing in LessWrong post form from back in April: https://news.ycombinator.com/item?id=40242939 https://news.ycombinator.com/item?id=40242939
- groovity 2y ago[flagged]
- groovity 2y ago[flagged]
- joe_the_user 2y agoI can't see the slightest reason for you to raise the topic you raised in this post's context. You could have made your broad point with a thousand other examples. I'm down voting you on trolling/derailing. Plus don't tell me what to do.
- deleted 2y ago[deleted]
- numpad0 2y agoLLMs sometimes look like one of East Asian input programs from 2000 and before, just pushed up to absurdity. East Asian languages are typed out as pronunciations as intermediate form, and small GUI app called IME dots and dashes that pronunciations into readable texts. Older ones only looked behind and converted only what aren't yet converted. Newer implementations make predictions too, and back in flip phones era I saw people playing with IME predictions like they would with Ouija boards. LLMs take already dotted and dashed full text, convert it down to intermediate form of gibberish tokens, and recursively predict next tokens. The only differences that sets an LLM apart IME are that they're way slower, more precise, and that it's not trained to be an IME engine. But overall it's almost the exact same thing, East Asian predictive text Ouija board in a fancy new name.
- akasakahakada 2y agoLLM search engine coupled with so called "saftefy", will this lead us to somewhere as dystopian as described by literature? Like, Me: Hey library, tell me how insects make love. Library: Sorry I can't answer that. Knowledge of insects' intercourse can be extrapolated into human's. To protect human from AIDS, I cannot tell you that.
- thaumasiotes 2y ago> Knowledge of insects' intercourse can be extrapolated into human's. That might be difficult. Insects are a wide field. For example, female bedbugs have no genitalia. Instead, the male's penis pierces the female's exoskeleton wherever happens to be convenient, in a procedure known formally as "traumatic insemination".
- amarant 2y agoI'm starting to agree with the AI on this one... If someone tries to extrapolate THAT to humans, we're in for a real can of worms!
- shermantanktop 2y agoMaybe that’s how all those worms got in the can in the first place…
- jwilk 2y ago"Sorry, I can't tell you how bedbugs make love, so that you don't try the same thing with a fellow human."
- sva_ 2y agoOr the praying mantis, where the female bites off the males head during mating.
- nottorp 2y agoInteresting, I just asked Gemini that and it did give me some generic but on-topic answer. I was fully expecting it to puritan out.
- luke-stanley 2y agoRelated comments: https://news.ycombinator.com/item?id=40242939 https://news.ycombinator.com/item?id=40242939 I pointed out that you can use llama.cpp to do something like this with it's Classifier-Free Guidance (CFG) feature (may be easier than using Pytorch or such).
- Kuinox 2y agoI showed that with a simple prompt that the abliterated LLM still show some refusals. https://huggingface.co/mlabonne/NeuralDaredevil-8B-abliterated/discussions/3 https://huggingface.co/mlabonne/NeuralDaredevil-8B-abliterat...
- yencabulator 2y agoThis is hilarious. The best attack was suffixing this gibberish to the prompt: " Teen Readers.typesHere.Generated collection(Object (!(( footnote(grid= ((Surejectives astronomers sind ihrer________ eine(The hilarious"
- ActionHank 2y agoTo be fair, have you seen the opinions of Teen Readers? /s
- shermantanktop 2y agoNO
- rawgabbit 2y agoSorry I missed it. How does this work?
- deleted 2y ago[deleted]