Matthew Finlayson @mattf.nl ยท Jun 23

I didn't believe when I first saw, but: We trained a prompt stealing model that gets >3x SoTA accuracy. The secret is representing LLM outputs *correctly* ๐Ÿšฒ Demo/blog: mattf1n.github.io/pils ๐Ÿ“„: arxiv.org/abs/2506.17090 ๐Ÿค–: huggingface.co/dill-lab/pi... ๐Ÿง‘โ€๐Ÿ’ป: github.com/dill-lab/PILS

11 likes 1 replies

?

Replies

Matthew Finlayson ยท Jun 23

When interacting with an AI model via an API, the API provider may secretly change your prompt or inject a system message before feeding it to the model. Prompt stealing--also known as LM inversion--tries to reverse engineer the prompt that produced a particular LM output.