构建安全开源平台,评估大模型在智能工厂多机文档中的故障诊断能力。
FactoryLLM: A Safe and Open-Source AI Playground for Evaluating LLMs in Smart Factories

- 基于RAG技术,在多机器文档中推理并评估大模型性能。
- 三款模型在30个查询上均实现高于0.88的准确率。
- 适合制造业AI研究者与工程师用于本地化测试与验证。
智能工厂中的故障诊断与恢复困难,因关键信息分散于多台设备的使用手册中,且设备间通过制造流程相互关联。大型语言模型(LLM)为此提供了潜在解决方案。本文提出FactoryLLM,一个安全且开源的AI实验平台,用于评估基于检索增强生成(RAG)的LLM模型在跨设备文档分析中的表现。用户可通过双评估机制(RAGAS与NVIDIA LLM-as-a-Judge)配置并测试不同LLM,实现对多文档推理能力的量化评估。FactoryLLM确保安全性,支持本地或开源模型运行,避免敏感工业数据外泄。通过一项案例研究,涵盖一辆自主智能车辆及其移动规划软件,基于约600页跨设备文档生成30个维护查询,结果显示所有三个评估模型的可信度得分均超过0.88。完整代码与文档已公开,供社区在特定制造场景中进行测试与扩展。
原文摘要 · Abstract (English)
Fault diagnostics and recovery in smart factories is challenging because critical information is dispersed across manuals of multiple machines which are interconnected through the manufacturing process. Large Language Models (LLMs) can provide a promising approach. In this paper, we propose FactoryLLM, a safe and open-source AI playground designed for evaluating different LLM-based retrieval-augmented generation (RAG) models by analysing documents from multiple machines across the manufacturing process. FactoryLLM enables the user to configure the LLM, and assess performance when reasoning over multiple documents, through a dual evaluation setup using both RAGAS and NVIDIA's LLM-as-a-Judge metrics. FactoryLLM is safe because it allows users to run local or open-source LLMs without sharing sensitive industrial data, providing a controlled environment for experimentation. We demonstrate the efficacy of FactoryLLM through a case study which involves an Autonomous Intelligent Vehicle and its Mobile Planner software, evaluating three LLMs across 30 maintenance queries derived from approximately 600 pages of cross-machine documentation. The results suggest that FactoryLLM is effective in cross-machine document reasoning: every model achieved a groundedness score above 0.88. The full code and documentation for community to test FactoryLLM with their manufacturing specific scenarios are publicly available.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。