paper-with-me

홈 › Papers

Emotion-Conditioned Text Generation through Automatic Prompt Optimization

2023-08-09 · Yarik Menchaca Resendiz, Roman Klinger

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.

📄 PDF Abstract BibTeX arXiv:2308.04857

Code (0)

등록된 구현이 없습니다.

Tasks

Conditional Text GenerationFew-Shot Text ClassificationLanguage ModelingLanguage ModellingLarge Language ModelPrompt LearningStructured Predictiontext-classificationText ClassificationText Generation

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Are Words Enough? On the semantic conditioning of affective music generation

2023-11-07 · Jorge Forero, Gilberto Bernardes, Mónica Mendes

Music has been commonly recognized as a means of expressing emotions. In this sense, an intense debate emerges from the need to verbalize musical emotions. This concern seems highly relevant today, considering the expone…

Deep LearningMusic Generation

Emotion-Aligned Generation in Diffusion Text to Speech Models via Preference-Guided Optimization

2025-09-29 · Jiacheng Shi, Hongfei Du, Yangfan He, Y. Alicia Hong 외 arxiv

Emotional text-to-speech seeks to convey affect while preserving intelligibility and prosody, yet existing methods rely on coarse labels or proxy classifiers and receive only utterance-level feedback. We introduce Emotio…

Text to Speech

Generation of lyrics lines conditioned on music audio clips

2020-09-30 · NLP4MusA 2020 10 · Olga Vechtomova, Gaurav Sahu, Dhruv Kumar

We present a system for generating novel lyrics lines conditioned on music audio. A bimodal neural network model learns to generate lines conditioned on any given short audio clip. The model consists of a spectrogram var…

ELSA: A Style Aligned Dataset for Emotionally Intelligent Language Generation

2025-04-11 · Vishal Gandhi, Sagar Gandhi

Advancements in emotion aware language processing increasingly shape vital NLP applications ranging from conversational AI and affective computing to computational psychology and creative content generation. Existing emo…

DiversityLanguage ModelingLanguage ModellingText Generation

Emotion Conditioned Creative Dialog Generation

2022-12-06 · Khalid Alnajjar, Mika Hämäläinen

We present a DialGPT based model for generating creative dialog responses that are conditioned based on one of the following emotions: anger, disgust, fear, happiness, pain, sadness and surprise. Our model is capable of …

Sentence