arXiv:2501.13746cs.IRcs.AI2025-01被引 4

用大模型自动解析自然语言查询,高效挖掘企业知识图谱关系。

EICopilot: Search and Explore Enterprise Information over Large-scale Knowledge Graphs with LLM-driven Agents

  • 通过大模型将自然语言转为Gremlin查询脚本,实现自动化搜索。
  • 全掩码策略使语法错误率降至10.00%,执行准确率达82.14%。
  • 适合需要快速分析企业关联信息的金融、法务与风控人员。

本文提出EICopilot,一种基于智能体的解决方案,用于在大规模在线知识图谱(如企业注册信息)中高效搜索与探索企业数据。传统方法依赖文本查询和手动子图遍历,耗时且低效。EICopilot通过集成大语言模型(LLM),在百度企业搜索平台以聊天机器人形式部署,可自动解析自然语言查询并生成执行的Gremlin脚本,实现复杂企业关系的快速摘要。其核心包括:预处理流程构建代表性查询向量库以支持上下文学习(ICL);结合思维链(Chain-of-Thought)与ICL的综合推理管道,提升脚本生成能力;创新的查询掩码策略,增强意图识别精度。实证评估显示,该系统在速度与准确性上优于基线方法,其中"全掩码"变体语法错误率降至10.00%,执行正确率达82.14%。这些组件共同提升了对复杂企业数据集的查询与理解能力,标志着企业级知识图谱探索的新突破。

原文摘要 · Abstract (English)

The paper introduces EICopilot, an novel agent-based solution enhancing search and exploration of enterprise registration data within extensive online knowledge graphs like those detailing legal entities, registered capital, and major shareholders. Traditional methods necessitate text-based queries and manual subgraph explorations, often resulting in time-consuming processes. EICopilot, deployed as a chatbot via Baidu Enterprise Search, improves this landscape by utilizing Large Language Models (LLMs) to interpret natural language queries. This solution automatically generates and executes Gremlin scripts, providing efficient summaries of complex enterprise relationships. Distinct feature a data pre-processing pipeline that compiles and annotates representative queries into a vector database of examples for In-context learning (ICL), a comprehensive reasoning pipeline combining Chain-of-Thought with ICL to enhance Gremlin script generation for knowledge graph search and exploration, and a novel query masking strategy that improves intent recognition for heightened script accuracy. Empirical evaluations demonstrate the superior performance of EICopilot, including speed and accuracy, over baseline methods, with the \emph{Full Mask} variant achieving a syntax error rate reduction to as low as 10.00% and an execution correctness of up to 82.14%. These components collectively contribute to superior querying capabilities and summarization of intricate datasets, positioning EICopilot as a groundbreaking tool in the exploration and exploitation of large-scale knowledge graphs for enterprise information search.

知识图谱大模型应用企业信息智能检索

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。