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

比较开源与商业LLM在领域特定分析和报告中的应用:软件工程挑战与设计权衡

Comparing Open-Source and Commercial LLMs for Domain-Specific Analysis and Reporting: Software Engineering Challenges and Design Trade-offs

Chalmers University of Technology(查尔姆斯理工大学);The University of Gothenburg(哥德堡大学);Mid Sweden University(瑞典中部大学)

Theo Koraag, Niklas Wagner, Felix Dobslaw, Lucas Gren

AI总结:

本研究以财务报告分析为案例,比较开源多智能体LLM系统与商业GPT-4o,揭示二者在性能、隐私、合规和工程成本上的设计权衡。

摘要:

背景:大型语言模型(LLM)能够实现跨领域复杂自然语言处理的自动化,但针对金融等领域特定应用的研究仍然有限。目标:本研究探索了用于财务报告分析和评论生成的开源与商业LLM,重点关注实施过程中的软件工程挑战。方法:采用设计科学研究方法,通过一项探索性案例研究迭代设计并评估了两个基于LLM的系统:一个在多智能体工作流中使用本地开源模型,另一个使用商业GPT-4o。两者均通过专家对真实财务报告用例的评估进行考核。结果:LLM在自动化财务报告任务方面展现出强大潜力,但集成带来了重大挑战。迭代开发揭示了提示词设计、上下文依赖和实施权衡等问题。基于云的模型提供更优的流畅性和可用性,但引发数据隐私和外部依赖方面的担忧。本地开源模型提供更好的数据控制与合规性,但需要显著更多的工程投入来保证可靠性和可用性。结论:LLM在财务报告自动化方面展现出强大潜力,但成功集成需要审慎关注架构、提示词设计和系统可靠性。实施成功取决于通过量身定制的验证机制和工程策略应对领域特定挑战,从而平衡准确性、控制与合规性。

英文摘要:

Context: Large Language Models (LLMs) enable automation of complex natural language processing across domains, but research on domain-specific applications like Finance remains limited. Objectives: This study explored open-source and commercial LLMs for financial report analysis and commentary generation, focusing on software engineering challenges in implementation. Methods: Using Design Science Research methodology, an exploratory case study iteratively designed and evaluated two LLM-based systems: one with local open-source models in a multi-agent workflow, another using commercial GPT-4o. Both were assessed through expert evaluation of real-world financial reporting use cases. Results: LLMs demonstrated strong potential for automating financial reporting tasks, but integration presented significant challenges. Iterative development revealed issues including prompt design, contextual dependency, and implementation trade-offs. Cloud-based models offered superior fluency and usability but raised data privacy and external dependency concerns. Local open-source models provided better data control and compliance but required substantially more engineering effort for reliability and usability. Conclusion: LLMs show strong potential for financial reporting automation, but successful integration requires careful attention to architecture, prompt design, and system reliability. Implementation success depends on addressing domain-specific challenges through tailored validation mechanisms and engineering strategies that balance accuracy, control, and compliance.

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

↑