elib
DLR-Header
DLR-Logo -> http://www.dlr.de
DLR Portal Home | Imprint | Privacy Policy | Accessibility | Contact | Deutsch
Fontsize: [-] Text [+]

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

Sahler, Kerstin and Jentzsch, Sophie Freya (2025) Evaluating Prompt Engineering Strategies for Sentiment Control in AI-Generated Texts. In: 4th International Conference on Hybrid Human-Artificial Intelligence, HHAI 2025, 408, pp. 423-438. IOS Press. HHAI 2025: The 4th International Conference Series on Hybrid Human-Artificial Intelligence, 2025-06-09 - 2025-06-13, Pisa, Italien. doi: 10.3233/FAIA250659. ISBN 978-164368611-0. ISSN 0922-6389.

[img] PDF
642kB

Official URL: https://ebooks.iospress.nl/volumearticle/75001

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 \textit{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.

Item URL in elib:https://elib.dlr.de/215429/
Document Type:Conference or Workshop Item (Speech)
Title:Evaluating Prompt Engineering Strategies for Sentiment Control in AI-Generated Texts
Authors:
AuthorsInstitution or Email of AuthorsAuthor's ORCID iDORCID Put Code
Sahler, Kerstinkerstin.sahler (at) dlr.dehttps://orcid.org/0009-0009-5299-3669190155057
Jentzsch, Sophie FreyaSophie.Jentzsch (at) dlr.dehttps://orcid.org/0000-0001-6217-8814UNSPECIFIED
Date:13 June 2025
Journal or Publication Title:4th International Conference on Hybrid Human-Artificial Intelligence, HHAI 2025
Refereed publication:Yes
Open Access:Yes
Gold Open Access:No
In SCOPUS:Yes
In ISI Web of Science:Yes
Volume:408
DOI:10.3233/FAIA250659
Page Range:pp. 423-438
Publisher:IOS Press
Series Name:Frontiers in Artificial Intelligence and Applications
ISSN:0922-6389
ISBN:978-164368611-0
Status:Published
Keywords:Large Language Model, Generative AI, Prompt Engineering, Human-centered AI, Fine-tuning, Affect, Emotion, Sentiment
Event Title:HHAI 2025: The 4th International Conference Series on Hybrid Human-Artificial Intelligence
Event Location:Pisa, Italien
Event Type:international Conference
Event Start Date:9 June 2025
Event End Date:13 June 2025
HGF - Research field:Aeronautics, Space and Transport
HGF - Program:Space
HGF - Program Themes:Space System Technology
DLR - Research area:Raumfahrt
DLR - Program:R SY - Space System Technology
DLR - Research theme (Project):R - Synergy project DLR Foundation Models [SY]
Location: Rhein-Sieg-Kreis
Institutes and Institutions:Institute of Software Technology
Institute of Software Technology > Intelligent and Distributed Systems
Deposited By: Sahler, Kerstin
Deposited On:20 Aug 2025 11:08
Last Modified:07 Jul 2026 12:45

Repository Staff Only: item control page

Browse
Search
Help & Contact
Information
OpenAIRE Validator logo electronic library is running on EPrints
Website and database design: Copyright © German Aerospace Center (DLR). All rights reserved.