EMNLP 2022finding78 citations

Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models

David Wingate, Mohammad Shoeybi, Taylor Sorensen

Abstract

We explore the idea of compressing the prompts used to condition language models, and show that compressed prompts can retain a substantive amount of information about the original prompt. For severely compressed prompts, while fine-grained information is lost, abstract information and general sentiments can be retained with surprisingly few parameters, which can be useful in the context of decode-time algorithms for controllability and toxicity reduction. We find that some complex prompts can be effectively compressed into a single token to guide generation. We also show that compressed prompts are largely compositional, and can be constructed such that they can be used to control independent aspects of generated text.

BibTeX
@inproceedings{wingate-etal-2022-prompt,
    title = "Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models",
    author = "Wingate, David  and
      Shoeybi, Mohammad  and
      Sorensen, Taylor",
    editor = "Goldberg, Yoav  and
      Kozareva, Zornitsa  and
      Zhang, Yue",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2022",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, United Arab Emirates",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.findings-emnlp.412/",
    doi = "10.18653/v1/2022.findings-emnlp.412",
    pages = "5621--5634"
}
Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models · EMNLP 2022