Paper Reading AI Learner

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

2026-02-06 13:22:40
Kerstin Sahler, Sophie Jentzsch

Abstract

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.

Abstract (translated)

大型语言模型(LLM)的突破性能力为通过情感适应型人工智能增强人机交互提供了新的机遇。然而,有意控制这些系统中的情绪仍然是一个挑战。本研究探讨了利用提示工程在由LLM生成的文本中控制情绪的潜力,并提供了一种相对于现有方法更为资源敏感且易于访问的选择。我们使用埃克曼的基本六种情感(如喜悦、厌恶)来检验各种提示技术,包括使用gpt-3.5-turbo的零样本和链式思维提示法,并将其与微调方法进行比较。我们的研究结果表明,提示工程能够有效地引导人工智能生成文本中的情绪变化,提供了一种在数据受限的情况下比微调更为实用且成本效益更高的选择。在这方面,在使用人类编写示例的情况下的少量学习提示技术最为有效,这可能是因为额外的任务特定指导的作用。这些发现为开发情感适应型AI系统提供了宝贵的见解。

URL

https://arxiv.org/abs/2602.06692

PDF

https://arxiv.org/pdf/2602.06692.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot