Unnatural language processing: How do language models handle machine-generated prompts?

Corentin Kervadec, Francesca Franzon, Marco Baroni
10/24/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Language model prompt optimization research has shown that semantically and grammatically well-formed manually crafted prompts are routinely outperformed by automatically generated token sequences with no apparent meaning or syntactic structure, including sequences of vectors from a model's embedding space. We use machine-generated prompts to probe how models respond to input that is not composed of natural language expressions. We study the behavior of models of different sizes in multiple semantic tasks in response to both continuous and discrete machine-generated prompts, and compare it to the behavior in response to human-generated natural-language prompts. Even when producing a similar output, machine-generated and human prompts trigger different response patterns through the network processing pathways, including different perplexities, different attention and output entropy distributions, and different unit activation profiles. We provide preliminary insight into the nature of the units activated by different prompt types, suggesting that only natural language prompts recruit a genuinely linguistic circuit.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kervadec2023unnatural,
  title  = {Unnatural language processing: How do language models handle machine-generated prompts?},
  author = {Corentin Kervadec and Francesca Franzon and Marco Baroni},
  year   = {2023},
  eprint = {2310.15829},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.15829v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.15829.svg)](https://codeofpaper.com/paper/2310.15829)

Discussion