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

如何通过将编码化的人类专家领域知识与大语言模型结合来构建AI代理?一种软件工程框架

How to Build AI Agents by Augmenting LLMs with Codified Human Expert Domain Knowledge? A Software Engineering Framework

Department of Computer Science and Engineering, Chalmers University of Technology(计算机科学与工程系,查尔姆斯理工大学);Department of Mathematics and Computer Science, Eindhoven University of Technology(数学与计算机科学系,埃因霍温理工大学);Department of Computer Science and Media Technology, Malmö University(计算机科学与媒体技术系,马尔默大学)

Choro Ulan uulu, Mikhail Kulyabin, Iris Fuhrmann, Jan Joosten, Nuno Miguel Martins Pacheco, Filippos Petridis, Rebecca Johnson, Jan Bosch, Helena Holmström Olsson

AI总结:

本文提出一种软件工程框架,通过增强大语言模型与编码化专家知识,构建能自主生成可视化内容的AI代理,实现非专家在专业领域内达到专家水平的成果。

摘要:

关键的领域知识通常只由少数专家掌握,这在可扩展性和决策制定方面造成了组织瓶颈。非专家难以创建有效的可视化,导致次优洞察并分散专家时间。本文探讨了如何通过工业案例研究将人类领域知识捕获并嵌入到AI代理系统中。我们提出了一种软件工程框架,通过增强大语言模型(LLM)的请求分类器、检索增强生成(RAG)系统用于代码生成、编码化专家规则和可视化设计原则,统一在一个代理中,以实现自主、反应性、前瞻性和社会性行为。在涵盖多个工程领域的五个场景中,通过12名评估者评估,结果显示输出质量提高了206%,我们的代理在所有情况下均达到专家水平评分,而基线表现较差,同时保持了较高的代码质量并具有较低的方差。我们的贡献是:一种自动化基于代理的可视化生成系统,以及一个经过验证的框架,用于系统地捕获人类领域知识并将其编码化为AI代理,证明非专家可以在专业领域内达到专家水平的成果。

英文摘要:

Critical domain knowledge typically resides with few experts, creating organizational bottlenecks in scalability and decision-making. Non-experts struggle to create effective visualizations, leading to suboptimal insights and diverting expert time. This paper investigates how to capture and embed human domain knowledge into AI agent systems through an industrial case study. We propose a software engineering framework to capture human domain knowledge for engineering AI agents in simulation data visualization by augmenting a Large Language Model (LLM) with a request classifier, Retrieval-Augmented Generation (RAG) system for code generation, codified expert rules, and visualization design principles unified in an agent demonstrating autonomous, reactive, proactive, and social behavior. Evaluation across five scenarios spanning multiple engineering domains with 12 evaluators demonstrates 206% improvement in output quality, with our agent achieving expert-level ratings in all cases versus baseline's poor performance, while maintaining superior code quality with lower variance. Our contributions are: an automated agent-based system for visualization generation and a validated framework for systematically capturing human domain knowledge and codifying tacit expert knowledge into AI agents, demonstrating that non-experts can achieve expert-level outcomes in specialized domains.

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

↑