mlsanityData to 7 Oct 2026

Emotion-Conditioned Text Generation through Automatic Prompt Optimization

arXiv 2308.04857 ↗First posted 9 Aug 2023cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Conditional natural language generation methods often require either expensive fine-tuning or training a large language model from scratch. Both are unlikely to lead to good results without a substantial amount of data and computational resources. Prompt learning without changing the parameters of a large language model presents a promising alternative. It is a cost-effective approach, while still achieving competitive results. While this procedure is now established for zero- and few-shot text classification and structured prediction, it has received limited attention in conditional text generation. We present the first automatic prompt optimization approach for emotion-conditioned text generation with instruction-fine-tuned models. Our method uses an iterative optimization procedure that changes the prompt by adding, removing, or replacing tokens. As objective function, we only require a text classifier that measures the realization of the conditional variable in the generated text. We evaluate the method on emotion-conditioned text generation with a focus on event reports and compare it to manually designed prompts that also act as the seed for the optimization procedure. The optimized prompts achieve 0.75 macro-average F1 to fulfill the emotion condition in contrast to manually designed seed prompts with only 0.22 macro-average F1.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 19 of its 30 references that are in the map. First posted on arXiv 9 Aug 2023.

Builds on

19 of 30 references.

References · 19

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  5. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
  6. 2019Benchmarking Zero-shot Text Classification: Datasets, Evaluation and Entailment Approachcited by 299
  7. 2022UL2: Unifying Language Learning Paradigmscited by 292
  8. 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
  9. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  10. 2017Emotional Chatting Machine: Emotional Conversation Generation with Internal and External Memorycited by 167
  11. 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
  12. 2021Planning with Learned Entity Prompts for Abstractive Summarizationcited by 75
7 more
  1. 2021A Plug-and-Play Method for Controlled Text Generationcited by 55
  2. 2017Affect-LM: A Neural Language Model for Customizable Affective Text Generationcited by 50
  3. 2022Dimensional Modeling of Emotions in Text with Appraisal Theories: Corpus Creation, Annotation Reliability, and Predictioncited by 45
  4. 2022Towards Unified Prompt Tuning for Few-shot Text Classificationcited by 18
  5. 2022Contrastive Learning for Prompt-Based Few-Shot Language Learnerscited by 17
  6. 2022Natural Language Inference Prompts for Zero-shot Emotion Classification in Text across Corporacited by 13
  7. 2023Affective Natural Language Generation of Event Descriptions through Fine-grained Appraisal Conditionscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 2.

6 papers.