ACL 2022long177 citations

An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labels

Taylor Sorensen, Joshua Robinson, Christopher Rytting, Alexander Shaw, Kyle Rogers, Alexia Delorey, Mahmoud Khalil, Nancy Fulda

Abstract

Pre-trained language models derive substantial linguistic and factual knowledge from the massive corpora on which they are trained, and prompt engineering seeks to align these models to specific tasks. Unfortunately, existing prompt engineering methods require significant amounts of labeled data, access to model parameters, or both. We introduce a new method for selecting prompt templates without labeled examples and without direct access to the model. Specifically, over a set of candidate templates, we choose the template that maximizes the mutual information between the input and the corresponding model output. Across 8 datasets representing 7 distinct NLP tasks, we show that when a template has high mutual information, it also has high accuracy on the task. On the largest model, selecting prompts with our method gets 90% of the way from the average prompt accuracy to the best prompt accuracy and requires no ground truth labels.

BibTeX
@inproceedings{sorensen-etal-2022-information,
    title = "An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labels",
    author = "Sorensen, Taylor  and
      Robinson, Joshua  and
      Rytting, Christopher  and
      Shaw, Alexander  and
      Rogers, Kyle  and
      Delorey, Alexia  and
      Khalil, Mahmoud  and
      Fulda, Nancy  and
      Wingate, David",
    editor = "Muresan, Smaranda  and
      Nakov, Preslav  and
      Villavicencio, Aline",
    booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = may,
    year = "2022",
    address = "Dublin, Ireland",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.acl-long.60/",
    doi = "10.18653/v1/2022.acl-long.60",
    pages = "819--862"
}
An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labels · ACL 2022