paper-with-me

Papers

Demystifying optimized prompts in language models

2025-05-04 · Rimon Melamed, Lucas H. McCabe, H. Howie Huang

Modern language models (LMs) are not robust to out-of-distribution inputs. Machine generated (``optimized'') prompts can be used to modulate LM outputs and induce specific behaviors while appearing completely uninterpretable. In this work, we investigate the composition of optimized prompts, as well as the mechanisms by which LMs parse and build predictions from optimized prompts. We find that optimized prompts primarily consist of punctuation and noun tokens which are more rare in the training data. Internally, optimized prompts are clearly distinguishable from natural language counterparts based on sparse subsets of the model's activations. Across various families of instruction-tuned models, optimized prompts follow a similar path in how their representations form through the network.

📄 PDF Abstract BibTeX arXiv:2505.02273

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Demystifying Prompts in Language Models via Perplexity Estimation

2022-12-08 · Hila Gonen, Srini Iyer, Terra Blevins, Noah A. Smith 외

Language models can be prompted to perform a wide variety of zero- and few-shot learning problems. However, performance varies significantly with the choice of prompt, and we do not yet understand why this happens or how…

Few-Shot Learning

Demystifying ChatGPT: How It Masters Genre Recognition

2025-07-05 · Subham Raj, Sriparna Saha, Brijraj Singh, Niranjan Pedanekar arxiv

The introduction of ChatGPT has garnered significant attention within the NLP community and beyond. Previous studies have demonstrated ChatGPT's substantial advancements across various downstream NLP tasks, highlighting …

Malla: Demystifying Real-world Large Language Model Integrated Malicious Services

2024-01-06 · Zilong Lin, Jian Cui, Xiaojing Liao, XiaoFeng Wang

The underground exploitation of large language models (LLMs) for malicious services (i.e., Malla) is witnessing an uptick, amplifying the cyber threat landscape and posing questions about the trustworthiness of LLM techn…

Language ModelingLanguage ModellingLarge Language Model

SPRIG: Improving Large Language Model Performance by System Prompt Optimization

2024-10-18 · Lechen Zhang, Tolga Ergen, Lajanugen Logeswaran, Moontae Lee 외

Large Language Models (LLMs) have shown impressive capabilities in many scenarios, but their performance depends, in part, on the choice of prompt. Past research has focused on optimizing prompts specific to a task. Howe…

Language ModelingLanguage ModellingLarge Language Model

FamiCom: Further Demystifying Prompts for Language Models with Task-Agnostic Performance Estimation

2024-06-17 · Bangzheng Li, Ben Zhou, Xingyu Fu, Fei Wang 외

Language models have shown impressive in-context-learning capabilities, which allow them to benefit from input prompts and perform better on downstream end tasks. Existing works investigate the mechanisms behind this obs…

In-Context Learning