arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.20795cs.AI
收藏

利用LLMs构建自动本体:作为混合智能系统记忆、验证和规划的外部层

Automatic Ontology Construction Using LLMs as an External Layer of Memory, Verification, and Planning for Hybrid Intelligent Systems

Pavel Salovskii, Iuliia Gorshkova

AI总结:

本文提出了一种混合架构,通过扩展LLMs的外部本体记忆层,实现结构化知识图谱的构建与维护,提升多步推理性能并支持生成-验证-修正流程。

摘要:

本文提出了一种混合架构,其中大型语言模型(LLMs)通过外部本体记忆层进行扩展。与仅依赖参数化知识和向量检索(RAG)不同,所提方法通过RDF/OWL表示构建和维护结构化知识图谱,实现持久、可验证和语义基础的推理。核心贡献是自动从异构数据源(文档、API和对话日志)构建本体的流水线,包括实体识别、关系提取、规范化和三元组生成,随后通过SHACL和OWL约束验证,并持续更新图谱。推理过程中,LLMs在结合向量检索与图推理及外部工具交互的上下文中运行。在规划任务(如汉诺塔基准)上的实验表明,本体增强在多步推理场景中优于基线LLM系统。此外,本体层可对生成输出进行形式验证,将系统转变为生成-验证-修正流程。所提架构解决了当前LLM系统的主要限制,包括缺乏长期记忆、结构理解薄弱和推理能力有限。它为构建需要持久知识、可解释性和可靠决策的代理系统、机器人应用和企业AI解决方案提供了基础。

英文摘要:

This paper presents a hybrid architecture for intelligent systems in which large language models (LLMs) are extended with an external ontological memory layer. Instead of relying solely on parametric knowledge and vector-based retrieval (RAG), the proposed approach constructs and maintains a structured knowledge graph using RDF/OWL representations, enabling persistent, verifiable, and semantically grounded reasoning. The core contribution is an automated pipeline for ontology construction from heterogeneous data sources, including documents, APIs, and dialogue logs. The system performs entity recognition, relation extraction, normalization, and triple generation, followed by validation using SHACL and OWL constraints, and continuous graph updates. During inference, LLMs operate over a combined context that integrates vector-based retrieval with graph-based reasoning and external tool interaction. Experimental observations on planning tasks, including the Tower of Hanoi benchmark, indicate that ontology augmentation improves performance in multi-step reasoning scenarios compared to baseline LLM systems. In addition, the ontology layer enables formal validation of generated outputs, transforming the system into a generation-verification-correction pipeline. The proposed architecture addresses key limitations of current LLM-based systems, including lack of long-term memory, weak structural understanding, and limited reasoning capabilities. It provides a foundation for building agent-based systems, robotics applications, and enterprise AI solutions that require persistent knowledge, explainability, and reliable decision-making.

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

↑