Evaluating Prompt Engineering Strategies for Sentiment Control in AI-Generated Texts
Not on the map. Why?
Abstract (arXiv)
The groundbreaking capabilities of Large Language Models (LLMs) offer new opportunities for enhancing human-computer interaction through emotion-adaptive Artificial Intelligence (AI). However, deliberately controlling the sentiment in these systems remains challenging. The present study investigates the potential of prompt engineering for controlling sentiment in LLM-generated text, providing a resource-sensitive and accessible alternative to existing methods. Using Ekman's six basic emotions (e.g., joy, disgust), we examine various prompting techniques, including Zero-Shot and Chain-of-Thought prompting using gpt-3.5-turbo, and compare it to fine-tuning. Our results indicate that prompt engineering effectively steers emotions in AI-generated texts, offering a practical and cost-effective alternative to fine-tuning, especially in data-constrained settings. In this regard, Few-Shot prompting with human-written examples was the most effective among other techniques, likely due to the additional task-specific guidance. The findings contribute valuable insights towards developing emotion-adaptive AI systems.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 32 of its 54 references that are in the map. First posted on arXiv 6 Feb 2026.
Builds on
32 of 54 references.
References · 32
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2018MELD: A Multimodal Multi-Party Dataset for Emotion Recognition in Conversationscited by 636
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
- 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 479
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 428
20 more
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
- 2021Societal Biases in Language Generation: Progress and Challengescited by 201
- 2013Crowdsourcing a Word-Emotion Association Lexiconcited by 193
- 2020Deep Learning for Text Style Transfer: A Surveycited by 161
- 2023Large Language Models Understand and Can be Enhanced by Emotional Stimulicited by 143
- 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 128
- 2021A Recipe For Arbitrary Text Style Transfer with Large Language Modelscited by 107
- 2024Style Vectors for Steering Generative Large Language Modelcited by 56
- 2020Exploring Controllable Text Generation Techniquescited by 55
- 2019Affect-Driven Dialog Generationcited by 50
- 2023Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4cited by 48
- 2022A Causal Lens for Controllable Text Generationcited by 45
- 2020CDL: Curriculum Dual Learning for Emotion-Controllable Response Generationcited by 43
- 2020CARE: Commonsense-Aware Emotional Response Generation with Latent Conceptscited by 20
- 2024MAPO: Boosting Large Language Model Performance with Model-Adaptive Prompt Optimizationcited by 20
- 2021Modulating Language Models with Emotionscited by 9
- 2022Computer says "No": The Case Against Empathetic Conversational AIcited by 9
- 2019Towards Understanding Emotional Intelligence for Behavior Change Chatbotscited by 8
- 2023Anthropomorphization of AI: Opportunities and Riskscited by 8
- 2023Emotion-Conditioned Text Generation through Automatic Prompt Optimizationcited by 6
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Affective Computing in the Era of Large Language Models: A Survey from the NLP Perspective
- 2025From Rational Answers to Emotional Resonance: The Role of Controllable Emotion Generation in Language Models
- 2023Prompt Your Mind: Refine Personalized Text Prompts within Your Mind
- 2023Enhance Multi-domain Sentiment Analysis of Review Texts through Prompting Strategies
- 2024Leveraging Language Models for Emotion and Behavior Analysis in Education
- 2026Do Emotions in Prompts Matter? Effects of Emotional Framing on Large Language Models
- 2024The Unreasonable Effectiveness of Eccentric Automatic Prompts
- 2024Improved Emotional Alignment of AI and Humans: Human Ratings of Emotions Expressed by Stable Diffusion v1, DALL-E 2, and DALL-E 3