mlsanityData to 14 Oct 2026

Trusting CHATGPT: how minor tweaks in the prompts lead to major differences in sentiment classification

arXiv 2504.12180 ↗First posted 16 Apr 2025cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

One fundamental question for the social sciences today is: how much can we trust highly complex predictive models like ChatGPT? This study tests the hypothesis that subtle changes in the structure of prompts do not produce significant variations in the classification results of sentiment polarity analysis generated by the Large Language Model GPT-4o mini. Using a dataset of 100.000 comments in Spanish on four Latin American presidents, the model classified the comments as positive, negative, or neutral on 10 occasions, varying the prompts slightly each time. The experimental methodology included exploratory and confirmatory analyses to identify significant discrepancies among classifications. The results reveal that even minor modifications to prompts such as lexical, syntactic, or modal changes, or even their lack of structure impact the classifications. In certain cases, the model produced inconsistent responses, such as mixing categories, providing unsolicited explanations, or using languages other than Spanish. Statistical analysis using Chi-square tests confirmed significant differences in most comparisons between prompts, except in one case where linguistic structures were highly similar. These findings challenge the robustness and trust of Large Language Models for classification tasks, highlighting their vulnerability to variations in instructions. Moreover, it was evident that the lack of structured grammar in prompts increases the frequency of hallucinations. The discussion underscores that trust in Large Language Models is based not only on technical performance but also on the social and institutional relationships underpinning their use.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 56 references that are in the map. First posted on arXiv 16 Apr 2025.

Builds on

12 of 56 references.

References · 12

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  3. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  4. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
  5. 2023Sentiment Analysis in the Era of Large Language Models: A Reality Checkcited by 268
  6. 2023Large Language Model Guided Tree-of-Thoughtcited by 221
  7. 2021Generated Knowledge Prompting for Commonsense Reasoningcited by 214
  8. 2023A Categorical Archive of ChatGPT Failurescited by 168
  9. 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
  10. 2023The language of prompting: What linguistic properties make a prompt successful?cited by 44
  11. 2023Toxic Bias: Perspective API Misreads German as More Toxiccited by 21
  12. 2024RAmBLA: A Framework for Evaluating the Reliability of LLMs as Assistants in the Biomedical Domaincited by 4

Built on by

Not cited yet.