PreprintCited by 26Topic ModelingNatural Language Processing TechniquesAdversarial Robustness in Machine Learning

The DOI matches its DataCite record.

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

Open access
Wingate, David, Shoeybi, Mohammad, Sorensen, Taylor·2022·arXiv

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 explore contrastive conditioning to steer language model generation towards desirable text and away from undesirable text, and 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.

Overview

Integrity signals

Registry

DataCite · 10.48550/arxiv.2210.03162

Cites

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Wingate et al. (2022)'s prompt compression method has very high computational cost because it requires back-propagation for each new incoming prompt to learn and obtain the compressed prompt, which severely limits its application.

    “However, this approach has a very high computational cost, as it requires performing back-propagation for each new incoming prompt to learn and obtain the compressed prompt, which severely limits its application.”

    From In-context Autoencoder for Context Compression in a Large Language Model (2023) · cites this paper as Wingate et al. (2022)

Citations

Cited by

Sorted by citations

Metadata

Authors
Wingate, D., Shoeybi, M., & Sorensen, T.
Affiliations
  • Brigham Young University (US)
  • University of Washington (US)
Venue
arXiv
Publisher
arXiv
Published
2022
Pages
5621-5634
OpenAlex
W4385567182
Cited by
26
References
0
Citations by year
2026: 5 · 2025: 10 · 2024: 6 · 2023: 5
FWCI
2.90
Type
conference paper
Language
en
Open access
Locations
  • Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University) (cc-by)
Funders
  • National Science Foundation (2141680)
  • Nvidia
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
Keywords
prompt compression, controllability, toxicity reduction, language model generation, prompt conditioning

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review