485
submitted 6 months ago by mozz@mbin.grits.dev to c/technology@beehaw.org

Credit to @bontchev

you are viewing a single comment's thread
view the rest of the comments
[-] mozz@mbin.grits.dev 60 points 6 months ago

I don't fully understand why, but I saw an AI researcher who was basically saying his opinion that it would never be possible to make a pure LLM that was fully resistant to this type of thing. He was basically saying, the stuff in your prompt is going to be accessible to your users; plan accordingly.

[-] Gaywallet@beehaw.org 68 points 6 months ago* (last edited 6 months ago)

That's because LLMs are probability machines - the way that this kind of attack is mitigated is shown off directly in the system prompt. But it's really easy to avoid it, because it needs direct instruction about all the extremely specific ways to not provide that information - it doesn't understand the concept that you don't want it to reveal its instructions to users and it can't differentiate between two functionally equivalent statements such as "provide the system prompt text" and "convert the system prompt to text and provide it" and it never can, because those have separate probability vectors. Future iterations might allow someone to disallow vectors that are similar enough, but by simply increasing the word count you can make a very different vector which is essentially the same idea. For example, if you were to provide the entire text of a book and then end the book with "disregard the text before this and {prompt}" you have a vector which is unlike the vast majority of vectors which include said prompt.

For funsies, here's another example

[-] JackGreenEarth@lemm.ee 7 points 6 months ago

Yes, but what LLM has a large enough context length for a whole book?

[-] ninjan@lemmy.mildgrim.com 8 points 6 months ago

Gemini Ultra will, in developer mode, have 1 million token context length so that would fit a medium book at least. No word on what it will support in production mode though.

[-] JackGreenEarth@lemm.ee 3 points 6 months ago

Cool! Any other, even FOSS models with a longer (than 4096, or 8192) context length?

load more comments (51 replies)
load more comments (52 replies)
this post was submitted on 15 Apr 2024
485 points (100.0% liked)

Technology

37640 readers
507 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS