mlsanityData to 7 Oct 2026

Controllable Generation from Pre-trained Language Models via Inverse Prompting

arXiv 2103.10685 ↗First posted 19 Mar 2021cs.CL cs.AI cs.LGcited by 29

Not on the map. Why?

Abstract (arXiv)

Large-scale pre-trained language models have demonstrated strong capabilities of generating realistic text. However, it remains challenging to control the generation results. Previous approaches such as prompting are far from sufficient, which limits the usage of language models. To tackle this challenge, we propose an innovative method, inverse prompting, to better control text generation. The core idea of inverse prompting is to use generated text to inversely predict the prompt during beam search, which enhances the relevance between the prompt and the generated text and provides better controllability. Empirically, we pre-train a large-scale Chinese language model to perform a systematic study using human evaluation on the tasks of open-domain poem generation and open-domain long-form question answering. Our results show that our proposed method substantially outperforms the baselines and that our generation quality is close to human performance on some of the tasks. Narrators can try our poem generation demo at https://pretrain.aminer.cn/apps/poetry.html, while our QA demo can be found at https://pretrain.aminer.cn/app/qa. For researchers, the code is provided in https://github.com/THUDM/InversePrompting.

Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). Builds on 16 of its 33 references that are in the map. First posted on arXiv 19 Mar 2021.

Builds on

16 of 33 references.

References · 16

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  7. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  8. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  9. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  10. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
  11. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
  12. 2016Dual Learning for Machine Translationcited by 146
4 more
  1. 2017CycleGAN, a Master of Steganographycited by 63
  2. 2020CPM: A Large-scale Generative Chinese Pre-trained Language Modelcited by 60
  3. 2020As Good as New. How to Successfully Recycle English GPT-2 to Make Models for Other Languagescited by 54
  4. 2020MixPoet: Diverse Poetry Generation via Learning Controllable Mixed Latent Spacecited by 17

Built on by

Cited by year

Citing papers per year: 2021: 3; 2022: 13; 2023: 4; 2024: 8; 2025: 1.

29 papers.

Sort:

By area:

  1. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
  2. 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
  3. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
  4. 2021Pre-Trained Models: Past, Present and Futurecited by 319
  5. 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 128
  6. 2024Decoding-Time Language Model Alignment with Multiple Objectivescited by 90
  7. 2022DisCup: Discriminator Cooperative Unlikelihood Prompt-tuning for Controllable Text Generationcited by 30
  8. 2023PREADD: Prefix-Adaptive Decoding for Controlled Text Generationcited by 29
  9. 2022Learning to Transfer Prompts for Text Generationcited by 22
  10. 2021RetrievalSum: A Retrieval Enhanced Framework for Abstractive Summarizationcited by 19
  11. 2024Prompt Categories Cluster for Weakly Supervised Semantic Segmentationcited by 16
  12. 2024Image Augmentation Agent for Weakly Supervised Semantic Segmentationcited by 15
17 more
  1. 2022Automatic Song Translation for Tonal Languagescited by 12
  2. 2022Context-Tuning: Learning Contextualized Prompts for Natural Language Generationcited by 11
  3. 2024SWAG: Storytelling With Action Guidancecited by 8
  4. 2024MentalAgora: A Gateway to Advanced Personalized Care in Mental Health through Multi-Agent Debating and Attribute Controlcited by 8
  5. 2023Translate the Beauty in Songs: Jointly Learning to Align Melody and Translate Lyricscited by 6
  6. 2024Towards Better Question Generation in QA-based Event Extractioncited by 6
  7. 2022Inverse is Better! Fast and Accurate Prompt for Few-shot Slot Taggingcited by 5
  8. 2024Enhancing Court View Generation with Knowledge Injection and Guidancecited by 5
  9. 2022ElitePLM: An Empirical Study on General Language Ability Evaluation of Pretrained Language Modelscited by 4
  10. 2022Multi-Modal Experience Inspired AI Creationcited by 3
  11. 2023Text-Only Training for Visual Storytellingcited by 3
  12. 2023Controllable Text Generation with Residual Memory Transformercited by 3
  13. 2022Lexical Complexity Controlled Sentence Generationcited by 2
  14. 2022A Self-Paced Mixed Distillation Method for Non-Autoregressive Generationcited by 1
  15. 2024LoFTI: Localization and Factuality Transfer to Indian Localescited by 1
  16. 2025Contrastive Prompt Clustering for Weakly Supervised Semantic Segmentationcited by 1
  17. 2022Efficient and Training-Free Control of Language Generationcited by 0