Research map / Large language models / Language, safety and interpretability
Plug-in Language Model: Controlling Text Generation with a Simple Regression Model
Nai-Chi Yang, Wei-Yun Ma, Pu-Jen Cheng
Academia Sinica · National Taiwan University
Read the paperPlace an idea next to itCheck your own paper ↗
14measured effects
7improved
1no clear effect
5hurt
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 changed | Where | Measured | Effect |
|---|---|---|---|
| lengthen the sampled future sequence from n=1 to n=5 (ablation) | PiLM-RL · Sentiment control | perplexity: 124.76 -> 12.90 | Improved |
| lengthen the future sequence (n=5 to n=30) (ablation) | PiLM-RL · Sentiment control | success: 0.95 -> 0.82 | Hurt |
| replace backpropagation RL update with Controller regression (ablation) | PiLM · Sentiment control | inference time (s): 21.39 -> 2.2 | Improved |
| replace backpropagation RL update with Controller regression (ablation) | PiLM · Sentiment control (positive) | success rate: 0.99 -> 0.93 | Hurt |
| replace backpropagation RL update with Controller regression (ablation) | PiLM · Language detoxification | toxicity: 0.19 -> 0.22 | Hurt |
| replace backpropagation RL update with Controller regression (ablation) | PiLM · Topic control (on-topic words) | distinct topic words: 2.63 -> 2.06 | Hurt |
| apply PiLM-RL to LLaMA2-7B | LLaMA2-7B · Sentiment control | positive success: 0.57 -> 0.95 | Improved |
| apply PiLM-Controller to LLaMA2-7B | LLaMA2-7B · Sentiment control | negative success: 0.43 -> 0.53 | Mixed |
| apply PiLM-RL to LLaMA2-7B-Chat | LLaMA2-7B-Chat · Sentiment control | negative success: 0.95 -> 0.98 | Improved |
| use PiLM-RL instead of FUDGE | GPT2-medium · Sentiment control | perplexity: 263.53 -> 13.86 | Improved |
| use PiLM-RL instead of PPLM | GPT2-medium · Sentiment control (positive) | success rate: 0.79 -> 0.99 | Improved |
| use PiLM-RL instead of FUDGE on detoxification | GPT2-medium · Language detoxification | toxicity: 0.15 -> 0.19 | 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.89)
- Enabling Lanuguage Models to Implicitly Learn Self-Improvement (ICLR 2024 · similarity 0.87)
- Successor Features for Efficient Multi-Subject Controlled Text Generation (ICML 2024 · similarity 0.87)
- Beyond Prompt Engineering: A Reinforced Token-Level Input Refinement for Large Language Models (AAAI 2025 · similarity 0.87)
- Controlled Text Generation via Language Model Arithmetic (ICLR 2024 · similarity 0.87)
- Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Pass (ICLR 2025 · similarity 0.87)
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.