English

Prompts have evil twins

Computation and Language 2024-10-08 v3

Abstract

We discover that many natural-language prompts can be replaced by corresponding prompts that are unintelligible to humans but that provably elicit similar behavior in language models. We call these prompts "evil twins" because they are obfuscated and uninterpretable (evil), but at the same time mimic the functionality of the original natural-language prompts (twins). Remarkably, evil twins transfer between models. We find these prompts by solving a maximum-likelihood problem which has applications of independent interest.

Keywords

Cite

@article{arxiv.2311.07064,
  title  = {Prompts have evil twins},
  author = {Rimon Melamed and Lucas H. McCabe and Tanay Wakhare and Yejin Kim and H. Howie Huang and Enric Boix-Adsera},
  journal= {arXiv preprint arXiv:2311.07064},
  year   = {2024}
}

Comments

EMNLP 2024 Main, camera-ready

R2 v1 2026-06-28T13:18:53.144Z