CoChat

A Plug-and-Play Method for Controlled Text Generation

Open access
Pascual, Damian, Egressy, Beni, Meister, Clara, Cotterell, Ryan, Wattenhofer, Roger · 2021 · Findings of the Association for Computational Linguistics: EMNLP 2021
Cited by 64

The DOI matches its Crossref record; 11 of the 11 references it cites were found in a registry or an index.

Abstract

Large pre-trained language models have repeatedly shown their ability to produce fluent text.Yet even when starting from a prompt, generation can continue in many plausible directions.Current decoding methods with the goal of controlling generation, e.g., to ensure specific words are included, either require additional models or fine-tuning, or work poorly when the task at hand is semantically unconstrained, e.g., story generation.In this work, we present a plug-and-play decoding method for controlled language generation that is so simple and intuitive, it can be described in a single sentence: given a topic or keyword, we add a shift to the probability distribution over our vocabulary towards semantically similar words.We show how annealing this distribution can be used to impose hard constraints on language generation, something no other plug-and-play method is currently able to do with SOTA language generators.Despite the simplicity of this approach, we see it works incredibly well in practice: decoding from GPT-2 leads to diverse and fluent sentences while guaranteeing the appearance of given guide words.We perform two user studies, revealing that (1) our method outperforms competing methods in human evaluations; and(2) forcing the guide words to appear in the generated text has no impact on the fluency of the generated text. 1

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.18653/v1/2021.findings-emnlp.334

Cites

11 of 11 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 11 references

Cited by

See all 64

Metadata

Authors
Pascual, D., Egressy, B., Meister, C., Cotterell, R., & Wattenhofer, R.
Venue
Findings of the Association for Computational Linguistics: EMNLP 2021
Published
2021
Pages
3973-3997
OpenAlex
W3203324590
Cited by
64
References
11
FWCI
6.05
Type
conference paper
Language
en
Open access
gold

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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: A Plug-and-Play Method for Controlled Text Generation. https://app.cochat.ai/papers/10.18653/v1/2021.findings-emnlp.334
The paper
Pascual, D., Egressy, B., Meister, C., Cotterell, R., & Wattenhofer, R. (2021). A Plug-and-Play Method for Controlled Text Generation. Findings of the Association for Computational Linguistics: EMNLP 2021. https://doi.org/10.18653/v1/2021.findings-emnlp.334

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.