mlsanityData to 14 Oct 2026

Evil twins are not that evil: Qualitative insights into machine-generated prompts

arXiv 2412.08127 ↗First posted 11 Dec 2024cs.CL cs.AI cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

It has been widely observed that language models (LMs) respond in predictable ways to algorithmically generated prompts that are seemingly unintelligible. This is both a sign that we lack a full understanding of how LMs work, and a practical challenge, because opaqueness can be exploited for harmful uses of LMs, such as jailbreaking. We present the first thorough analysis of opaque machine-generated prompts, or autoprompts, pertaining to 6 LMs of different sizes and families. We find that machine-generated prompts are characterized by a last token that is often intelligible and strongly affects the generation. A small but consistent proportion of the previous tokens are prunable, probably appearing in the prompt as a by-product of the fact that the optimization process fixes the number of tokens. The remaining tokens fall into two categories: filler tokens, which can be replaced with semantically unrelated substitutes, and keywords, that tend to have at least a loose semantic relation with the generation, although they do not engage in well-formed syntactic relations with it. Additionally, human experts can reliably identify the most influential tokens in an autoprompt a posteriori, suggesting these prompts are not entirely opaque. Finally, some of the ablations we applied to autoprompts yield similar effects in natural language inputs, suggesting that autoprompts emerge naturally from the way LMs process linguistic inputs in general.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 21 of its 31 references that are in the map. First posted on arXiv 11 Dec 2024.

Builds on

21 of 31 references.

References · 21

  1. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  2. 2016Pointer Sentinel Mixture Modelscited by 3,096
  3. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  4. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  5. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  6. 2016Enriching Word Vectors with Subword Informationcited by 1,583
  7. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
  8. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  9. 2024OLMo: Accelerating the Science of Language Modelscited by 613
  10. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
  11. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
  12. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 336
9 more
  1. 2019A Fourier Perspective on Model Robustness in Computer Visioncited by 288
  2. 2024Rethinking LLM Memorization through the Lens of Adversarial Compressioncited by 94
  3. 2024Coercing LLMs to do and reveal (almost) anythingcited by 89
  4. 2017Measuring the tendency of CNNs to Learn Surface Statistical Regularitiescited by 87
  5. 2018On Adversarial Examples for Character-Level Neural Machine Translationcited by 85
  6. 2023Evaluating the Robustness of Discrete Promptscited by 18
  7. 2023Can discrete information extraction prompts generalize across language models?cited by 8
  8. 2023Unnatural language processing: How do language models handle machine-generated prompts?cited by 8
  9. 2023Prompts have evil twinscited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Does Liking Yellow Imply Driving a School Bus? Semantic Leakage in Language Models
  2. 2025Flaw or Artifact? Rethinking Prompt Sensitivity in Evaluating LLMs
  3. 2026Beyond Prompt Engineering: A Systematic Analysis of Prompt Lexical Sensitivity and Its Impacts on Quality
  4. 2024Why Are My Prompts Leaked? Unraveling Prompt Extraction Threats in Customized Large Language Models
  5. 2024The Butterfly Effect of Altering Prompts: How Small Changes and Jailbreaks Affect Large Language Model Performance
  6. 2025Large Language Model probabilities cannot distinguish between possible and impossible language
  7. 2024Mitigating Exaggerated Safety in Large Language Models
  8. 2025Has My System Prompt Been Used? Large Language Model Prompt Membership Inference