Emotion-Conditioned Text Generation through Automatic Prompt Optimization
Yarik Menchaca Resendiz, Roman Klinger

TL;DR
This paper introduces an automatic prompt optimization method for emotion-conditioned text generation using instruction-fine-tuned models, significantly improving the accuracy of emotion fulfillment compared to manual prompts.
Contribution
It is the first to develop an automatic prompt optimization approach specifically for emotion-conditioned text generation with instruction-fine-tuned models.
Findings
Optimized prompts achieve 0.75 macro-average F1 in fulfilling emotion conditions.
Manual prompts only achieve 0.22 macro-average F1.
The method effectively enhances emotion adherence in generated texts.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Sentiment Analysis and Opinion Mining · Natural Language Processing Techniques
MethodsFocus
