Context-Tuning: Learning Contextualized Prompts for Natural Language Generation
Not on the map. Why?
Abstract (arXiv)
Recently, pretrained language models (PLMs) have had exceptional success in language generation. To leverage the rich knowledge encoded by PLMs, a simple yet powerful paradigm is to use prompts in the form of either discrete tokens or continuous embeddings. In existing studies, these prompting methods are typically independent of the inputs, lacking sufficient consideration of input semantics. To address this issue, we propose a novel continuous prompting approach, called context-tuning, to fine-tuning PLMs for natural language generation. Firstly, the prompts are derived based on the input text to elicit useful knowledge from PLMs for generation. We refer to such prompts as contextualized prompts. Secondly, we use continuous inverse prompting to improve the process of natural language generation by modeling an inverse generation process from output to input, making the generated text more relevant to the inputs. Furthermore, we utilize a lightweight context-tuning method that fine-tunes only 0.12% of the parameters while maintaining good performance. Our code is publicly available at https://github.com/RUCAIBox/Context-Tuning.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 30 of its 44 references that are in the map. First posted on arXiv 21 Jan 2022.
Builds on
30 of 44 references.
References · 30
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,068
18 more
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
- 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2017Toward Controlled Generation of Textcited by 271
- 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
- 2020GSum: A General Framework for Guided Neural Abstractive Summarizationcited by 129
- 2020A Survey of Knowledge-Enhanced Text Generationcited by 119
- 2020Investigating Pretrained Language Models for Graph-to-Text Generationcited by 117
- 2020Few-Shot Text Generation with Pattern-Exploiting Trainingcited by 87
- 2016Controlling Output Length in Neural Encoder-Decoderscited by 75
- 2021Long Text Generation by Modeling Sentence-Level and Discourse-Level Coherencecited by 45
- 2020PAIR: Planning and Iterative Refinement in Pre-trained Transformers for Long Text Generationcited by 35
- 2021Controllable Generation from Pre-trained Language Models via Inverse Promptingcited by 29
- 2021TextBox: A Unified, Modularized, and Extensible Framework for Text Generationcited by 15
- 2019Generating Long and Informative Reviews with Aspect-Aware Coarse-to-Fine Decodingcited by 13
Built on by
Citing papers per year: 2022: 7; 2023: 1; 2024: 1; 2025: 0; 2026: 2.
11 papers.
- 2022Standing on the Shoulders of Giant Frozen Language Modelscited by 33
- 2022QAmeleon: Multilingual QA with Only 5 Examplescited by 25
- 2022Late Prompt Tuning: A Late Prompt Could Be Better Than Many Promptscited by 23
- 2022MVP: Multi-task Supervised Pre-training for Natural Language Generationcited by 16
- 2022Relation Extraction as Open-book Examination: Retrieval-enhanced Prompt Tuningcited by 13
- 2023Learning Combinatorial Prompts for Universal Controllable Image Captioningcited by 12
- 2022TextBox 2.0: A Text Generation Library with Pre-trained Language Modelscited by 3
- 2022Little Red Riding Hood Goes Around the Globe:Crosslingual Story Planning and Generation with Large Language Modelscited by 2
- 2024Recent Advances in Multi-Choice Machine Reading Comprehension: A Survey on Methods and Datasetscited by 0
- 2026Tape: A Cellular Automata Benchmark for Evaluating Rule-Shift Generalization in Reinforcement Learningcited by 0
- 2026RASP-Tuner: Retrieval-Augmented Soft Prompts for Context-Aware Black-Box Optimization in Non-Stationary Environmentscited by 0
- 2026RASP-Tuner: Retrieval-Augmented Soft Prompts for Context-Aware Black-Box Optimization in Non-Stationary Environments20 Apr 2026
- 2026Tape: A Cellular Automata Benchmark for Evaluating Rule-Shift Generalization in Reinforcement Learning8 Jan 2026
- 2024Recent Advances in Multi-Choice Machine Reading Comprehension: A Survey on Methods and Datasets4 Aug 2024
- 2023Learning Combinatorial Prompts for Universal Controllable Image Captioning11 Mar 2023
- 2022TextBox 2.0: A Text Generation Library with Pre-trained Language Models26 Dec 2022
- 2022Little Red Riding Hood Goes Around the Globe:Crosslingual Story Planning and Generation with Large Language Models20 Dec 2022
- 2022QAmeleon: Multilingual QA with Only 5 Examples15 Nov 2022
- 2022Late Prompt Tuning: A Late Prompt Could Be Better Than Many Prompts20 Oct 2022
- 2022MVP: Multi-task Supervised Pre-training for Natural Language Generation24 Jun 2022
- 2022Relation Extraction as Open-book Examination: Retrieval-enhanced Prompt Tuning4 May 2022
- 2022Standing on the Shoulders of Giant Frozen Language Models21 Apr 2022