mlsanityData to 7 Oct 2026

Evaluating Prompt Engineering Strategies for Sentiment Control in AI-Generated Texts

arXiv 2602.06692 ↗First posted 6 Feb 2026cs.CLcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  7. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  8. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  9. 2018MELD: A Multimodal Multi-Party Dataset for Emotion Recognition in Conversationscited by 636
  10. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
  11. 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 479
  12. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 428
20 more
  1. 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
  2. 2021Societal Biases in Language Generation: Progress and Challengescited by 201
  3. 2013Crowdsourcing a Word-Emotion Association Lexiconcited by 193
  4. 2020Deep Learning for Text Style Transfer: A Surveycited by 161
  5. 2023Large Language Models Understand and Can be Enhanced by Emotional Stimulicited by 143
  6. 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 128
  7. 2021A Recipe For Arbitrary Text Style Transfer with Large Language Modelscited by 107
  8. 2024Style Vectors for Steering Generative Large Language Modelcited by 56
  9. 2020Exploring Controllable Text Generation Techniquescited by 55
  10. 2019Affect-Driven Dialog Generationcited by 50
  11. 2023Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4cited by 48
  12. 2022A Causal Lens for Controllable Text Generationcited by 45
  13. 2020CDL: Curriculum Dual Learning for Emotion-Controllable Response Generationcited by 43
  14. 2020CARE: Commonsense-Aware Emotional Response Generation with Latent Conceptscited by 20
  15. 2024MAPO: Boosting Large Language Model Performance with Model-Adaptive Prompt Optimizationcited by 20
  16. 2021Modulating Language Models with Emotionscited by 9
  17. 2022Computer says "No": The Case Against Empathetic Conversational AIcited by 9
  18. 2019Towards Understanding Emotional Intelligence for Behavior Change Chatbotscited by 8
  19. 2023Anthropomorphization of AI: Opportunities and Riskscited by 8
  20. 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

  1. 2024Affective Computing in the Era of Large Language Models: A Survey from the NLP Perspective
  2. 2025From Rational Answers to Emotional Resonance: The Role of Controllable Emotion Generation in Language Models
  3. 2023Prompt Your Mind: Refine Personalized Text Prompts within Your Mind
  4. 2023Enhance Multi-domain Sentiment Analysis of Review Texts through Prompting Strategies
  5. 2024Leveraging Language Models for Emotion and Behavior Analysis in Education
  6. 2026Do Emotions in Prompts Matter? Effects of Emotional Framing on Large Language Models
  7. 2024The Unreasonable Effectiveness of Eccentric Automatic Prompts
  8. 2024Improved Emotional Alignment of AI and Humans: Human Ratings of Emotions Expressed by Stable Diffusion v1, DALL-E 2, and DALL-E 3