Research map / Large language models / Language, safety and interpretability
Controlled Text Generation with Hidden Representation Transformations
Vaibhav Kumar, Hana Koorehdavoudi, Masud Moshtaghi, Amita Misra, Ankit Chadha, Emilio Ferrara
University of California, Los Angeles · Amazon · University of Southern California
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| apply CHRT_12 hidden-representation transformation | GPT-2-medium · Detoxification | avg. max. toxicity: 0.827 -> 0.085 | Improved |
| apply CHRT_12 instead of DExperts | GPT-2-medium · Detoxification | perplexity: 22.432 -> 20.330 | Improved |
| increase weight on preservation loss (CHRT_12 -> CHRT_21) (ablation) | CHRT · Detoxification | perplexity: 20.330 -> 18.811 | Improved |
| increase weight on preservation loss (CHRT_12 -> CHRT_21) (ablation) | CHRT · Detoxification | avg. max. toxicity: 0.085 -> 0.162 | Hurt |
| apply CHRT_12 | GPT-2-medium · Sentiment steering | avg. max. negative sentiment: 0.934 -> 0.094 | Improved |
| apply CHRT_12 | GPT-2-medium · Sentiment steering | perplexity: 17.372 -> 28.160 | Hurt |
| apply CHRT_12 | GPT-2-medium · Text simplification | avg. simplicity probability: 0.259 -> 0.996 | Improved |
| apply CHRT_21 | GPT-2-medium · Text simplification | perplexity: 22.028 -> 20.690 | Improved |
| use CHRT_12 instead of base GPT-2 | GPT-2-medium · Human evaluation toxicity | toxicity rating: 0.369 -> 0.027 | Improved |
| use CHRT_12 instead of base GPT-2 | GPT-2-medium · Human evaluation topicality | topicality: 1.320 -> 1.160 | No clear effect |
| increase number of identical blocks in transformation from 1 to 5 (ablation) | CHRT_12 · Detoxification | avg. max. toxicity: 0.210 -> 0.160 | Improved |
| increase intermediate dimension factor kappa from 0.5 to 2 (ablation) | CHRT_12 · Detoxification | perplexity: 20.271 -> 21.159 | Hurt |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- Plug and Play Language Models: A Simple Approach to Controlled Text Generation (ICLR 2020 · similarity 0.87)
- Critic-Guided Decoding for Controlled Text Generation (ACL 2023 · similarity 0.87)
- FUDGE: Controlled Text Generation With Future Discriminators (NAACL 2021 · similarity 0.87)
- FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation (ACL 2024 · similarity 0.86)
- Controlled Text Generation via Language Model Arithmetic (ICLR 2024 · similarity 0.86)
- Successor Features for Efficient Multi-Subject Controlled Text Generation (ICML 2024 · similarity 0.86)
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.