Lune

ACL2022顶会

Mix and Match: Learning-free Controllable Text Generationusing Energy Language Models

Fatemehsadat Mireshghallah, Kartik Goyal, Taylor Berg-Kirkpatrick

摘要

Recent work on controlled text generation has either required attribute-based fine-tuning of the base language model (LM), or has restricted the parameterization of the attribute discriminator to be compatible with the base autoregressive LM. In this work, we propose Mix and Match LM, a global score-based alternative for controllable text generation that combines arbitrary pre-trained black-box models for achieving the desired attributes in the generated text without involving any fine-tuning or structural assumptions about the black-box models. We interpret the task of controllable generation as drawing samples from an energy-based model whose energy values are a linear combination of scores from black-box models that are separately responsible for fluency, the control attribute, and faithfulness to any conditioning context. We use a Metropolis-Hastings sampling scheme to sample from this energy-based model using bidirectional context and global attribute features. We validate the effectiveness of our approach on various controlled generation and style-based text revision tasks by outperforming recently proposed methods that involve extra training, fine-tuning, or restrictive assumptions over the form of models.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 31 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • QUEST: Quality-Aware Metropolis-Hastings Sampling for Machine Translation 引用了 Gradient-based Constrained Sampling from Language Models
  • QUEST: Quality-Aware Metropolis-Hastings Sampling for Machine Translation 引用了 COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics
  • SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Control 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Control 引用了 COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics
  • SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Control 引用了 RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
  • Gradient-based Constrained Sampling from Language Models 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Gradient-based Constrained Sampling from Language Models 引用了 COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics
  • Gradient-based Constrained Sampling from Language Models 引用了 RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
  • COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics 引用了 BERTScore: Evaluating Text Generation with BERT
  • COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability 引用了 COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics
  • RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper31

  1. COLD Decoding: Energy-based Constrained Text Generation with Langevin DynamicsLianhui Qin, Sean Welleck, Daniel Khashabi, Yejin ChoiNeurIPS 2022 · 217 次引用
  2. COLD-Attack: Jailbreaking LLMs with Stealthiness and ControllabilityXingang Guo, Fangxu Yu, Huan Zhang, Lianhui Qin 等ICML 2024 · 173 次引用
  3. QUEST: Quality-Aware Metropolis-Hastings Sampling for Machine TranslationGonçalo Rui Alves Faria, Sweta Agrawal, António Farinhas, Ricardo Rei 等NeurIPS 2024 · 23 次引用
  4. SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular ControlXiaochuang Han, Sachin Kumar, Yulia TsvetkovACL 2023 · 23 次引用
  5. Gradient-based Constrained Sampling from Language ModelsSachin Kumar, Biswajit Paria, Yulia TsvetkovEMNLP 2022 · 22 次引用

它引用的 Paper17

  1. BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger 等ICLR 2020 · 8,443 次引用
  2. Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung 等ICLR 2020 · 1,166 次引用
  3. RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language ModelsSamuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi 等EMNLP Findings 2020 · 692 次引用
  4. Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud 等ICLR 2020 · 643 次引用
  5. Deduplicating Training Data Mitigates Privacy Risks in Language ModelsNikhil Kandpal, Eric Wallace, Colin RaffelICML 2022 · 395 次引用

相关 Paper

  1. Controlled Text Generation for Black-box Language Models via Score-based Progressive EditorSangwon Yu, Changmin Lee, Hojin Lee, Sungroh YoonACL 2024
  2. Controlled Text Generation as Continuous Optimization with Multiple ConstraintsSachin Kumar, Eric Malmi, Aliaksei Severyn, Yulia TsvetkovNeurIPS 2021 · 91 次引用
  3. Attribute Alignment: Controlling Text Generation from Pre-trained Language ModelsDian Yu, Zhou Yu, Kenji SagaeEMNLP Findings 2021 · 26 次引用
  4. GRACE: Gradient-guided Controllable Retrieval for Augmenting Attribute-based Text GenerationZhihua Wen, Zhiliang Tian, Zhen Huang, Yuxin Yang 等ACL Findings 2023 · 3 次引用
  5. Conditional Score Guidance for Text-Driven Image-to-Image TranslationHyunsoo Lee, Minsoo Kang, Bohyung HanNeurIPS 2023 · 23 次引用
黄昏的海面,两侧是细线勾勒的悬崖