Suppr超能文献

比较ChatGPT对Stack Overflow上编码问题的回答与人类回答中的情感。

Comparing emotions in ChatGPT answers and human answers to the coding questions on Stack Overflow.

作者信息

Fatahi Somayeh, Vassileva Julita, Roy Chanchal K

机构信息

Department of Computer Science, University of Saskatchewan, Saskatoon, SK, Canada.

出版信息

Front Artif Intell. 2024 Sep 16;7:1393903. doi: 10.3389/frai.2024.1393903. eCollection 2024.

Abstract

INTRODUCTION

Recent advances in generative Artificial Intelligence (AI) and Natural Language Processing (NLP) have led to the development of Large Language Models (LLMs) and AI-powered chatbots like ChatGPT, which have numerous practical applications. Notably, these models assist programmers with coding queries, debugging, solution suggestions, and providing guidance on software development tasks. Despite known issues with the accuracy of ChatGPT's responses, its comprehensive and articulate language continues to attract frequent use. This indicates potential for ChatGPT to support educators and serve as a virtual tutor for students.

METHODS

To explore this potential, we conducted a comprehensive analysis comparing the emotional content in responses from ChatGPT and human answers to 2000 questions sourced from Stack Overflow (SO). The emotional aspects of the answers were examined to understand how the emotional tone of AI responses compares to that of human responses.

RESULTS

Our analysis revealed that ChatGPT's answers are generally more positive compared to human responses. In contrast, human answers often exhibit emotions such as anger and disgust. Significant differences were observed in emotional expressions between ChatGPT and human responses, particularly in the emotions of anger, disgust, and joy. Human responses displayed a broader emotional spectrum compared to ChatGPT, suggesting greater emotional variability among humans.

DISCUSSION

The findings highlight a distinct emotional divergence between ChatGPT and human responses, with ChatGPT exhibiting a more uniformly positive tone and humans displaying a wider range of emotions. This variance underscores the need for further research into the role of emotional content in AI and human interactions, particularly in educational contexts where emotional nuances can impact learning and communication.

摘要

引言

生成式人工智能(AI)和自然语言处理(NLP)的最新进展催生了大语言模型(LLMs)以及像ChatGPT这样的人工智能驱动的聊天机器人,它们具有众多实际应用。值得注意的是,这些模型可协助程序员处理编码查询、调试、提供解决方案建议以及在软件开发任务方面提供指导。尽管已知ChatGPT的回答存在准确性问题,但其全面且清晰的语言仍吸引着人们频繁使用。这表明ChatGPT有潜力支持教育工作者并成为学生的虚拟导师。

方法

为探索这种潜力,我们进行了一项全面分析,比较了ChatGPT的回答和人类对来自Stack Overflow(SO)的2000个问题的回答中的情感内容。对回答的情感方面进行了研究,以了解人工智能回答的情感基调与人类回答的情感基调相比如何。

结果

我们的分析表明,与人类回答相比,ChatGPT的回答总体上更积极。相比之下,人类回答常常表现出愤怒和厌恶等情绪。在ChatGPT和人类回答的情感表达上观察到了显著差异,特别是在愤怒、厌恶和喜悦等情绪方面。与ChatGPT相比,人类回答展现出更广泛的情感范围,这表明人类的情感变异性更大。

讨论

研究结果凸显了ChatGPT和人类回答之间明显的情感差异,ChatGPT表现出更一致的积极基调,而人类展现出更广泛的情感范围。这种差异强调了有必要进一步研究情感内容在人工智能与人类互动中的作用,特别是在情感细微差别会影响学习和交流的教育背景下。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/c0af/11439875/0a0ecc5103d8/frai-07-1393903-g001.jpg

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验