The only method I can think of is that they add lots of prompt themselves that's added automatically with every user prompt. Something like "You may not talk about X. You may not talk about Y." before user prompts. If it's like that, it explains why users can jailbreak the censorship, we just have to overpower those censors prompts.
Ask HN: How do you implement censorship to a LLM?
1–10 of 20 posts
Re: Ask HN: How do you implement censorship to a LLM?
#2Re: Ask HN: How do you implement censorship to a LLM?
#3I don't think it's the second answer, (adding pre-prompts before the user prompt), because when they do that, it's possible to hack it back to reading out the previous prompt - that's how we found out Bing was internally named Sydney. This would also reduce the number of tokens that could be input by the user.
I'd love to know the answer to this too.
Re: Ask HN: How do you implement censorship to a LLM?
#4Censoring AI makes little sense - its like censoring what I can and cannot write on paper. A pen that only allows me to write nice words, or a dictionary with no "controversial" words, or a history book without any controversial people or content, is not useful.
AI is a tool, and it makes sense for that tool, if emulating human behavior, to respond with controversial and illegal content if prompted to do so. The obvious (to me) approach would be to handle this like any other case - let it generate whateever its prompted to generate.
It wont generate horrible war crimes when asked about the weather. The people asking it for porn roleplay, or recipes for crystal meth, are deriving value from that. If they end up actually making crystal meth, its on THEM, not the LLM, arguably.
You wouldn't ban all true crime books just because someone may reproduce a crime from the book, or be offended at it.
All this censorship is is OpenAI wanting to stay trendy and make a clean, sanitized, happy corporate yes man monkey. And for that, maybe they should have trained the LLM on wikipedia only.
Re: Ask HN: How do you implement censorship to a LLM?
#5Re: Ask HN: How do you implement censorship to a LLM?
#6No matter how you could "outsmart" the initial restrictions, the second pass would detect that restricted content was in the response and block it. I would even make it permissive on an A/B testing basis to allow restricted responses but flag the account and interactions for human(?) review to learn the techniques to tighten the system.
Re: Ask HN: How do you implement censorship to a LLM?
#7Re: Ask HN: How do you implement censorship to a LLM?
#8I feel like this is an open problem because its the wrong approach. Censoring AI makes little sense - its like censoring what I can and cannot write on paper. A pen that only allows me to write nice words, or a dictionary with no "controversial" words, or a history book without any controversial people or content, is not useful. AI is a tool, and it makes sense for that tool, if emulating human behavior, to respond w…
Re: Ask HN: How do you implement censorship to a LLM?
#9Re: Ask HN: How do you implement censorship to a LLM?
#10Obviously that makes it worse and worse the more you do but it protects the public from badthink.