arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.21933cs.SEcs.AI
收藏

对话模型与人类在回答技术问题上的比较:Firefox 案例

A Comparison of Conversational Models and Humans in Answering Technical Questions: the Firefox Case

Pontifical Catholic University(天主教大学);Mozilla Corporation(Mozilla公司);Federal University of Rio de Janeiro(里约热内卢联邦大学);Oregon State University(俄勒冈州立大学);Northern Arizona University(北亚利桑那大学)

Joao Correia, Daniel Coutinho, Marco Castelluccio, Caio Barbosa, Rafael de Mello, Anita Sarma, Alessandro Garcia, Marco Gerosa, Igor Steinmacher

AI总结:

本研究通过Mozilla Firefox真实查询对比人类、标准GPT与RAG增强GPT的回答,发现RAG回答更全面且帮助性相近,但不够简洁,表明其有潜力减轻开源维护者负担。

摘要:

近年来,使用大型语言模型(LLM)支持软件开发任务的情况稳步增加。从协助开发人员进行编码活动,到提供回答新手问题的对话代理。本研究与Mozilla基金会合作,评估了检索增强生成(RAG)在Mozilla Firefox项目中协助开发人员的有效性。我们进行了一项实证分析,使用Mozilla开发者聊天室中的真实查询,比较了人类开发人员、标准GPT模型以及增强RAG的GPT模型的回答。为确保严格评估,Mozilla专家根据帮助性、全面性和简洁性对回答进行了评估。结果显示,RAG辅助回答比人类开发人员更全面(62.50%对54.17%),且帮助性几乎相当(75.00%对79.17%),表明RAG在增强开发人员协助方面的潜力。然而,RAG回答不够简洁,往往冗长。结果表明,将基于RAG的工具应用于开源软件(OSS)以减少核心维护者负担而不损失回答质量具有潜力。未来在像Mozilla Firefox这样的大型项目中,降低检索机制的强度并使回答更加简短,将能增强开发人员协助。

英文摘要:

The use of Large Language Models (LLMs) to support tasks in software development has steadily increased over recent years. From assisting developers in coding activities to providing conversational agents that answer newcomers' questions. In collaboration with the Mozilla Foundation, this study evaluates the effectiveness of Retrieval-Augmented Generation (RAG) in assisting developers within the Mozilla Firefox project. We conducted an empirical analysis comparing responses from human developers, a standard GPT model, and a GPT model enhanced with RAG, using real queries from Mozilla's developer chat rooms. To ensure a rigorous evaluation, Mozilla experts assessed the responses based on helpfulness, comprehensiveness, and conciseness. The results show that RAG-assisted responses were more comprehensive than human developers (62.50% to 54.17%) and almost as helpful (75.00% to 79.17%), suggesting RAG's potential to enhance developer assistance. However, the RAG responses were not as concise and often verbose. The results show the potential to apply RAG-based tools to Open Source Software (OSS) to minimize the load to core maintainers without losing answer quality. Toning down retrieval mechanisms and making responses even shorter in the future would enhance developer assistance in massive projects like Mozilla Firefox.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑