arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.10873cs.SE
收藏

大语言模型的开发者挑战:基于 Stack Overflow 与 OpenAI 开发者论坛帖子的研究

Developer Challenges on Large Language Models: A Study of Stack Overflow and OpenAI Developer Forum Posts

Khairul Alam, Kartik Mittal, Banani Roy, Chanchal Roy

AI总结:

本文通过 BERTopic 分析 Stack Overflow 和 OpenAI 开发者论坛帖子,识别出 LLM 开发者在 API 使用、微调、训练等方面的九类和 17 类挑战,揭示其高未解决率和长响应时间,并呼吁加强社区支持与针对性资源建设。

摘要:

大语言模型(LLMs)因其在聊天机器人、医疗保健、教育、内容生成和自动化支持系统等多个领域的卓越能力而获得广泛普及。然而,开发者在将这些模型实现、微调并集成到实际应用中时会遇到诸多挑战。本研究通过分析 Stack Overflow 和 OpenAI 开发者论坛上的社区互动,调查 LLM 开发者面临的挑战,并采用 BERTopic 建模来识别和分类开发者讨论。我们的分析在 Stack Overflow 上得出九类挑战(例如 LLM 生态系统与挑战、API 使用、基于框架的 LLM 训练),在 OpenAI 开发者论坛上得出 17 类挑战(例如 API 使用与错误处理、微调与数据集管理)。结果表明,开发者经常转向 Stack Overflow 寻求实现指导,而 OpenAI 论坛则侧重于故障排除。值得注意的是,API 和功能问题主导了 OpenAI 论坛上的讨论,许多帖子需要多次回复,反映出 LLM 相关问题的复杂性。我们发现,与 LLM 相关的查询往往表现出很高的难度,有相当大比例的帖子未得到解决(例如 Stack Overflow 上为 79.03%),并且响应时间较长,尤其是对于“Llama 索引与 GPU 利用”以及“智能体与工具交互”等复杂主题。相比之下,移动开发和安全等成熟领域享有更快的解决速度和更强的社区参与度。这些发现凸显了改进社区支持和提供针对性资源的必要性,以帮助 LLM 开发者克服这一快速发展领域不断演变的挑战。本研究为困难领域提供了见解,为未来研究和工具开发以更好地支持 LLM 开发者社区铺平了道路。

英文摘要:

Large Language Models (LLMs) have gained widespread popularity due to their exceptional capabilities across various domains, including chatbots, healthcare, education, content generation, and automated support systems. However, developers encounter numerous challenges when implementing, fine-tuning, and integrating these models into real-world applications. This study investigates LLM developers' challenges by analyzing community interactions on Stack Overflow and OpenAI Developer Forum, employing BERTopic modeling to identify and categorize developer discussions. Our analysis yields nine challenges on Stack Overflow (e.g., LLM Ecosystem and Challenges, API Usage, LLM Training with Frameworks) and 17 on the OpenAI Developer Forum (e.g., API Usage and Error Handling, Fine-Tuning and Dataset Management). Results indicate that developers frequently turn to Stack Overflow for implementation guidance, while OpenAI's forum focuses on troubleshooting. Notably, API and functionality issues dominate discussions on the OpenAI forum, with many posts requiring multiple responses, reflecting the complexity of LLM-related problems. We find that LLM-related queries often exhibit great difficulty, with a substantial percentage of unresolved posts (e.g., 79.03\% on Stack Overflow) and prolonged response times, particularly for complex topics like 'Llama Indexing and GPU Utilization' and 'Agents and Tool Interactions'. In contrast, established fields like Mobile Development and Security enjoy quicker resolutions and stronger community engagement. These findings highlight the need for improved community support and targeted resources to assist LLM developers in overcoming the evolving challenges of this rapidly growing field. This study provides insights into areas of difficulty, paving the way for future research and tool development to better support the LLM developer community.

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

↑