[论文解读] ChatGPT vs Gemini vs LLaMA on Multilingual Sentiment Analysis
本文比较了 ChatGPT 3.5、ChatGPT 4、Gemini Pro 和 LLaMA2 7b,在翻译成 10 种语言的 20 个细微情感场景上,并以人类回答作为基准。
Automated sentiment analysis using Large Language Model (LLM)-based models like ChatGPT, Gemini or LLaMA2 is becoming widespread, both in academic research and in industrial applications. However, assessment and validation of their performance in case of ambiguous or ironic text is still poor. In this study, we constructed nuanced and ambiguous scenarios, we translated them in 10 languages, and we predicted their associated sentiment using popular LLMs. The results are validated against post-hoc human responses. Ambiguous scenarios are often well-coped by ChatGPT and Gemini, but we recognise significant biases and inconsistent performance across models and evaluated human languages. This work provides a standardised methodology for automated sentiment analysis evaluation and makes a call for action to further improve the algorithms and their underlying data, to improve their performance, interpretability and applicability.
研究动机与目标
- 评估在复杂情感解读任务中,知名大型语言模型(ChatGPT 3.5、ChatGPT 4、Gemini Pro、LLaMA2 7b)的表现。
- 评估在跨越10种语言的情感评分中的跨语言一致性和偏见。
- 将LLM输出与本地语言使用者的判断进行比较,以衡量与母语者的一致性。
- 探究Gemini Pro的安全过滤对情感评估及偏见的影响。
提出的方法
- 开发一个包含讽刺与争议的20个细微情感场景的数据集。
- 将场景翻译成10种语言(DE、EN、ES、FR、IT、JA、PL、PT、RU、ZH),并由母语者进行验证。
- 对每个模型使用标准化的情感评分提示(1–10)并附上理由进行查询。
- 使用 Python 3.11.2 及相应的API(OpenAI 用于 ChatGPT,Google 用于 Gemini)收集回应。
- 对于 LLaMA2,使用本地部署的 7b 模型并记录硬件约束。
- 使用语言归一化的平均评分 R_l 在各场景间对结果进行归一化与比较。
实验结果
研究问题
- RQ1ChatGPT 3.5、ChatGPT 4、Gemini Pro 与 LLaMA2 7b 在 20 个细微情景中的情感评分有何差异?
- RQ2各模型在不同语言中的情感评分在多大程度上存在差异(跨语言偏见)?
- RQ3模型输出在各语言中与母语人类判断的对齐程度如何?
- RQ4Gemini Pro 的安全过滤对情感评估和观察到的偏见有何影响?
主要发现
- ChatGPT 模型的评分相近且置信区间重叠;ChatGPT 4 通常具有更小的置信区间。
- Gemini Pro 的模式类似于 ChatGPT,但在某些情景/语言中倾向于稍微更负面并经历更多的审查。
- LLaMA2 7b 给出持续正面的评分(大约 7–8/10),置信区间更窄,表明存在乐观偏见。
- ChatGPT 模型存在语言相关变异(如德语/波兰语/俄语在某些情况下更积极;法语/意大利语/日语在某些情况下更消极)。
- LLaMA2 的跨语言变异性很小但总体呈正向偏见;与之相比,母体人类在情感判断的变异性高于LLM。
- Gemini Pro 的安全过滤引入的审查随语言和情景而异,影响定量评估。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。