Lune

ACL2022Top-tier venue

Fine-Grained Controllable Text Generation Using Non-Residual Prompting

Fredrik Carlsson, Joey Öhman, Fangyu Liu, Severine Verlinden, Joakim Nivre, Magnus Sahlgren

Abstract

The introduction of immensely large Causal Language Models (CLMs) has rejuvenated the interest in open-ended text generation. However, controlling the generative process for these Transformer-based models is at large an unsolved problem. Earlier work has explored either plug-and-play decoding strategies, or more powerful but blunt approaches such as prompting. There hence currently exists a trade-off between fine-grained control, and the capability for more expressive high-level instructions. To alleviate this trade-off, we propose an encoder-decoder architecture that enables intermediate text prompts at arbitrary time steps. We propose a resource-efficient method for converting a pre-trained CLM into this architecture, and demonstrate its potential on various experiments, including the novel task of contextualized word inclusion. Our method provides strong results on multiple experimental settings, proving itself to be both expressive and versatile.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Gradient-based Constrained Sampling from Language Models cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Gradient-based Constrained Sampling from Language Models cites BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
  • Gradient-based Constrained Sampling from Language Models cites CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
  • Gradient-based Constrained Sampling from Language Models cites Language Models are Few-Shot Learners
  • Benchmarking Large Language Models on Controllable Generation under Diversified Instructions cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Benchmarking Large Language Models on Controllable Generation under Diversified Instructions cites CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
  • Benchmarking Large Language Models on Controllable Generation under Diversified Instructions cites A Distributional Lens for Multi-Aspect Controllable Text Generation
  • Controllable Text Generation via Probability Density Estimation in the Latent Space cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text Generation cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text Generation cites Language Models are Few-Shot Learners
  • A Distributional Lens for Multi-Aspect Controllable Text Generation cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • A Distributional Lens for Multi-Aspect Controllable Text Generation cites Language Models are Few-Shot Learners
  • KG-BART: Knowledge Graph-Augmented BART for Generative Commonsense Reasoning cites CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
  • KG-BART: Knowledge Graph-Augmented BART for Generative Commonsense Reasoning cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Benchmarking Large Language Models on Controllable Generation under Diversified InstructionsYihan Chen, Benfeng Xu, Quan Wang, Yi Liu et al.AAAI 2024 · 42 citations
  2. Gradient-based Constrained Sampling from Language ModelsSachin Kumar, Biswajit Paria, Yulia TsvetkovEMNLP 2022 · 22 citations
  3. A Distributional Lens for Multi-Aspect Controllable Text GenerationYuxuan Gu, Xiaocheng Feng, Sicheng Ma, Lingyuan Zhang et al.EMNLP 2022 · 16 citations
  4. Controllable Text Generation via Probability Density Estimation in the Latent SpaceYuxuan Gu, Xiaocheng Feng, Sicheng Ma, Lingyuan Zhang et al.ACL 2023 · 8 citations
  5. Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text GenerationTianqi Zhong, Quan Wang, Jingxuan Han, Yongdong Zhang et al.EMNLP 2023 · 7 citations

Builds on9

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
  3. Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung et al.ICLR 2020 · 1,166 citations
  4. CommonGen: A Constrained Text Generation Challenge for Generative Commonsense ReasoningBill Yuchen Lin, Wangchunshu Zhou, Ming Shen, Pei Zhou et al.EMNLP Findings 2020 · 239 citations
  5. KG-BART: Knowledge Graph-Augmented BART for Generative Commonsense ReasoningYe Liu, Yao Wan, Lifang He, Hao Peng et al.AAAI 2021 · 220 citations

Related papers

  1. Controllable Text Generation with Residual Memory TransformerHanqing Zhang, Si Sun, Haiming Wu, Dawei SongACL Findings 2024 · 2 citations
  2. XC-Cache: Cross-Attending to Cached Context for Efficient LLM InferenceJoão Monteiro, Étienne Marcotte, Pierre-André Noël, Valentina Zantedeschi et al.EMNLP Findings 2024
  3. A Plug-and-Play Method for Controlled Text GenerationDamian Pascual, Beni Egressy, Clara Meister, Ryan Cotterell et al.EMNLP Findings 2021 · 67 citations
  4. Controllable Generation from Pre-trained Language Models via Inverse PromptingXu Zou, Da Yin, Qingyang Zhong, Hongxia Yang et al.KDD 2021 · 29 citations
  5. FlexCAD: Unified and Versatile Controllable CAD Generation with Fine-tuned Large Language ModelsZhanwei Zhang, Shizhao Sun, Wenxiao Wang, Deng Cai et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines