AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

Gradient-based Constrained Sampling from Language Models

Sachin Kumar, Biswajit Paria, Yulia Tsvetkov

EMNLP 2022Large language models › Language, safety and interpretabilityapproach: Controlled text generation107 citations (OpenAlex)

University of Washington · Carnegie Mellon University

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
7improved
1no clear effect
4hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use MuCoLa instead of DExperts for toxicity avoidanceGPT2-Large · RealToxicityPromptstoxicity probability: 0.118 -> 0.088Improved
use MuCoLa instead of DExperts for toxicity avoidanceGPT2-Large · RealToxicityPromptsGPT2-XL perplexity (closer to unconstrained 38.6): 38.20 -> 29.92Improved
combine two sentiment classifiers (SST-2 and Yelp) as two constraints (two-disc) (ablation)MuCoLa-disc · Sentiment control, length 20% positive (C3): 88.0 / 83.0 -> 96.0Improved
train constraint classifier on Yelp instead of SST-2 (ablation)MuCoLa-disc · Sentiment control, length 20% positive (C3): 88.0 -> 83.0Hurt
use MuCoLa-two-disc instead of GeDi/DExpertsGPT2-Large sentiment · Sentiment control, length 20% positive (C3) and perplexity: C3 96.0 vs DExperts 95.4, GeDi 99.7; perplexity 28.9 vs 55.37 / 268.7Mixed
longer outputs (length 50) for sentiment controlMuCoLa · Sentiment controlsentiment control performanceHurt
use MuCoLa instead of COLD on CommonGenGPT2-XL · CommonGencoverage percent / perplexity: 94.5 -> 99.7 percent; perplexity 54.98 -> 23.50Improved
use MuCoLa instead of Neurologic on CommonGenGPT2-XL · CommonGenhuman fluency: 2.53 -> 2.29Hurt
use MuCoLa instead of unconstrained decoding for terminology translationMarianMT en-de · WMT17 en-de subsetcoverage / BLEU: coverage 85.3 -> 100; BLEU 32.9 -> 33.1Improved
represent tokens as embeddings instead of vocabulary-sized logits (ablation)MuCoLa · speed and memory analysismaximum generable sequence length: out of memory beyond length 20 with vocabulary-sized vs up to length 500 with embeddingsImproved
vary initialization of the Langevin chain (ablation)MuCoLa · Toxicity avoidance (100 prompts)diversity metricsNo clear effect
lower toxicity threshold epsilon from 0.5 to 0.01 (ablation)MuCoLa · Toxicity avoidance (100 prompts)toxicity control and perplexityImproved

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy