paper-with-me

홈 › Papers

Enhancing Sentiment Classification and Irony Detection in Large Language Models through Advanced Prompt Engineering Techniques

2026-01-13 · Marvin Schmitt, Anne Schwerk, Sebastian Lempert arxiv

This study investigates the use of prompt engineering to enhance large language models (LLMs), specifically GPT-4o-mini and gemini-1.5-flash, in sentiment analysis tasks. It evaluates advanced prompting techniques like few-shot learning, chain-of-thought prompting, and self-consistency against a baseline. Key tasks include sentiment classification, aspect-based sentiment analysis, and detecting subtle nuances such as irony. The research details the theoretical background, datasets, and methods used, assessing performance of LLMs as measured by accuracy, recall, precision, and F1 score. Findings reveal that advanced prompting significantly improves sentiment analysis, with the few-shot approach excelling in GPT-4o-mini and chain-of-thought prompting boosting irony detection in gemini-1.5-flash by up to 46%. Thus, while advanced prompting techniques overall improve performance, the fact that few-shot prompting works best for GPT-4o-mini and chain-of-thought excels in gemini-1.5-flash for irony detection suggests that prompting strategies must be tailored to both the model and the task. This highlights the importance of aligning prompt design with both the LLM's architecture and the semantic complexity of the task.

📄 PDF Abstract BibTeX arXiv:2601.08302

Code (0)

등록된 구현이 없습니다.

Tasks

Sentiment AnalysisPrompt EngineeringFew-Shot Learning

Similar Papers 제목 키워드 기반

We Usually Don't Like Going to the Dentist: Using Common Sense to Detect Irony on Twitter

2018-12-01 · CL 2018 12 · Cynthia Van Hee, Els Lefever, V{\'e}ronique Hoste

Although common sense and connotative knowledge come naturally to most people, computers still struggle to perform well on tasks for which such extratextual information is required. Automatic approaches to sentiment anal…

Common Sense ReasoningGeneral ClassificationSentiment AnalysisWorld Knowledge

Baseline English and Maltese-English Classification Models for Subjectivity Detection, Sentiment Analysis, Emotion Analysis, Sarcasm Detection, and Irony Detection

2022-06-01 · SIGUL (LREC) 2022 6 · Keith Cortis, Brian Davis

This paper presents baseline classification models for subjectivity detection, sentiment analysis, emotion analysis, sarcasm detection, and irony detection. All models are trained on user-generated content gathered from …

ClassificationEmotion RecognitionregressionSarcasm Detection+1

SSN MLRG1 at SemEval-2018 Task 3: Irony Detection in English Tweets Using MultiLayer Perceptron

2018-06-01 · SEMEVAL 2018 6 · Rajalakshmi S, Angel Deborah S, S Milton Rajendram, Mirnalinee T T

Sentiment analysis plays an important role in E-commerce. Identifying ironic and sarcastic content in text plays a vital role in inferring the actual intention of the user, and is necessary to increase the accuracy of se…

feature selectionOpinion MiningSarcasm DetectionSentiment Analysis

Historical Ink: Exploring Large Language Models for Irony Detection in 19th-Century Spanish

2025-03-28 · Kevin Cohen, Laura Manrique-Gómez, Rubén Manrique

This study explores the use of large language models (LLMs) to enhance datasets and improve irony detection in 19th-century Latin American newspapers. Two strategies were employed to evaluate the efficacy of BERT and GPT…

Binary ClassificationSentiment Analysis

\#NonDicevoSulSerio at SemEval-2018 Task 3: Exploiting Emojis and Affective Content for Irony Detection in English Tweets

2018-06-01 · SEMEVAL 2018 6 · Endang Wahyu Pamungkas, Viviana Patti

This paper describes the participation of the {\#}NonDicevoSulSerio team at SemEval2018-Task3, which focused on Irony Detection in English Tweets and was articulated in two tasks addressing the identification of irony at…

Binary ClassificationGeneral ClassificationSentiment Analysis